@verdocs/web-sdk 5.0.13 → 5.0.14
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/Datastore-4448f6ef.js +2 -0
- package/dist/cjs/Datastore-4448f6ef.js.map +1 -0
- package/dist/cjs/Icons-9a6f2f7c.js +2 -0
- package/dist/cjs/Icons-9a6f2f7c.js.map +1 -0
- package/dist/cjs/Toast-d84d7bd3.js +2 -0
- package/dist/cjs/Toast-d84d7bd3.js.map +1 -0
- package/dist/cjs/Types-7a726ff3.js +2 -0
- package/dist/cjs/Types-7a726ff3.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-e6ff1d6e.js +2 -0
- package/dist/cjs/_commonjsHelpers-e6ff1d6e.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +2 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/errors-017fb835.js +2 -0
- package/dist/cjs/errors-017fb835.js.map +1 -0
- package/dist/cjs/format-dc0f3757.js +2 -0
- package/dist/cjs/format-dc0f3757.js.map +1 -0
- package/dist/cjs/index-ccac8641.js +2 -0
- package/dist/cjs/index-ccac8641.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/interact.min-e6956f8b.js +2 -0
- package/dist/cjs/interact.min-e6956f8b.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/popper-31badbf8.js +2 -0
- package/dist/cjs/popper-31badbf8.js.map +1 -0
- package/dist/cjs/utils-746daf30.js +2 -0
- package/dist/cjs/utils-746daf30.js.map +1 -0
- package/dist/cjs/verdocs-auth.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-build.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-build.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-button_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-checkbox_6.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-checkbox_6.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-field-payment.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-preview_6.cjs.entry.js +4 -1
- package/dist/cjs/verdocs-preview_6.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-radio-button.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-search-box.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-search-box.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-spinner.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-spinner.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-table.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-table.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-card.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-card.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-create.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-create.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-star.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-star.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-template-tags.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-templates-list.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-toggle.cjs.entry.js +2 -0
- package/dist/cjs/verdocs-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-web-sdk.cjs.js +2 -0
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +1 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js.map +1 -0
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +1 -0
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js.map +1 -0
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +1 -0
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js.map +1 -0
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +1 -0
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js.map +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +1 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js.map +1 -0
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +1 -0
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js.map +1 -0
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +1 -0
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js.map +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +1 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js.map +1 -0
- package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.js +1 -0
- package/dist/collection/components/controls/verdocs-menu-panel/verdocs-menu-panel.js.map +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +1 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js.map +1 -0
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +1 -0
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js.map +1 -0
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +1 -0
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js.map +1 -0
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +1 -0
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js.map +1 -0
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +1 -0
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js.map +1 -0
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +1 -0
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js.map +1 -0
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +1 -0
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js.map +1 -0
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +1 -0
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js.map +1 -0
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js +1 -0
- package/dist/collection/components/controls/verdocs-switch/verdocs-switch.js.map +1 -0
- package/dist/collection/components/controls/verdocs-table/verdocs-table.js +1 -0
- package/dist/collection/components/controls/verdocs-table/verdocs-table.js.map +1 -0
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +1 -0
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js.map +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +1 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js.map +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +1 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js.map +1 -0
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +1 -0
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js.map +1 -0
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +1 -0
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js.map +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +1 -0
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js.map +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +1 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.js +1 -0
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.js +1 -0
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-send/role-flow.js +1 -0
- package/dist/collection/components/embeds/verdocs-send/role-flow.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +1 -0
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +1 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +1 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +1 -0
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.js +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +1 -0
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +1 -0
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-status-indicator/recipient-flow.js +1 -0
- package/dist/collection/components/envelopes/verdocs-status-indicator/recipient-flow.js.map +1 -0
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +1 -0
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-attachment/verdocs-field-attachment.js +1 -0
- package/dist/collection/components/fields/verdocs-field-attachment/verdocs-field-attachment.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js +1 -0
- package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +1 -0
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.js +1 -0
- package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-initial/verdocs-field-initial.js +1 -0
- package/dist/collection/components/fields/verdocs-field-initial/verdocs-field-initial.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-payment/verdocs-field-payment.js +1 -0
- package/dist/collection/components/fields/verdocs-field-payment/verdocs-field-payment.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-radio/verdocs-field-radio.js +1 -0
- package/dist/collection/components/fields/verdocs-field-radio/verdocs-field-radio.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.js +1 -0
- package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.js +1 -0
- package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.js +1 -0
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.js.map +1 -0
- package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.js +1 -0
- package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js +1 -0
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.js +1 -0
- package/dist/collection/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -0
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +1 -0
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +1 -0
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +1 -0
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +1 -0
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +1 -0
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +3 -1
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -0
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js.map +1 -0
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -0
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js.map +1 -0
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +1 -0
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/Datastore.js +1 -0
- package/dist/collection/utils/Datastore.js.map +1 -0
- package/dist/collection/utils/Icons.js +1 -0
- package/dist/collection/utils/Icons.js.map +1 -0
- package/dist/collection/utils/Templates.js +1 -0
- package/dist/collection/utils/Templates.js.map +1 -0
- package/dist/collection/utils/Toast.js +1 -0
- package/dist/collection/utils/Toast.js.map +1 -0
- package/dist/collection/utils/Types.js +1 -0
- package/dist/collection/utils/Types.js.map +1 -0
- package/dist/collection/utils/errors.js +1 -0
- package/dist/collection/utils/errors.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-022b87d3.js +2 -0
- package/dist/components/p-022b87d3.js.map +1 -0
- package/dist/components/p-04c07b7b.js +2 -0
- package/dist/components/p-04c07b7b.js.map +1 -0
- package/dist/components/p-070bebd7.js +2 -0
- package/dist/components/p-070bebd7.js.map +1 -0
- package/dist/components/p-0e332769.js +2 -0
- package/dist/components/p-0e332769.js.map +1 -0
- package/dist/components/p-0ed0ac8b.js +2 -0
- package/dist/components/p-0ed0ac8b.js.map +1 -0
- package/dist/components/p-12bab948.js +2 -0
- package/dist/components/p-12bab948.js.map +1 -0
- package/dist/components/p-14c80ae8.js +2 -0
- package/dist/components/p-14c80ae8.js.map +1 -0
- package/dist/components/p-176a07b2.js +2 -0
- package/dist/components/p-176a07b2.js.map +1 -0
- package/dist/components/p-1ae5d7e0.js +2 -0
- package/dist/components/p-1ae5d7e0.js.map +1 -0
- package/dist/components/p-211fa3e2.js +2 -0
- package/dist/components/p-211fa3e2.js.map +1 -0
- package/dist/components/p-22da6d14.js +2 -0
- package/dist/components/p-22da6d14.js.map +1 -0
- package/dist/components/p-261521bc.js +2 -0
- package/dist/components/p-261521bc.js.map +1 -0
- package/dist/components/p-27548ebd.js +2 -0
- package/dist/components/p-27548ebd.js.map +1 -0
- package/dist/components/p-2ddf4d5b.js +2 -0
- package/dist/components/p-2ddf4d5b.js.map +1 -0
- package/dist/components/p-2ef2d490.js +2 -0
- package/dist/components/p-2ef2d490.js.map +1 -0
- package/dist/components/p-314d698d.js +2 -0
- package/dist/components/p-314d698d.js.map +1 -0
- package/dist/components/p-3201d529.js +2 -0
- package/dist/components/p-3201d529.js.map +1 -0
- package/dist/components/p-324ed895.js +2 -0
- package/dist/components/p-324ed895.js.map +1 -0
- package/dist/components/p-325b3828.js +2 -0
- package/dist/components/p-325b3828.js.map +1 -0
- package/dist/components/p-41a75ad6.js +2 -0
- package/dist/components/p-41a75ad6.js.map +1 -0
- package/dist/components/p-44ae3c75.js +2 -0
- package/dist/components/p-44ae3c75.js.map +1 -0
- package/dist/components/p-4d3b9ee9.js +2 -0
- package/dist/components/p-4d3b9ee9.js.map +1 -0
- package/dist/components/p-4dd750e9.js +2 -0
- package/dist/components/p-4dd750e9.js.map +1 -0
- package/dist/components/p-5182136e.js +2 -0
- package/dist/components/p-5182136e.js.map +1 -0
- package/dist/components/{p-56e4effa.js → p-570895a8.js} +4 -1
- package/dist/components/p-570895a8.js.map +1 -0
- package/dist/components/p-58d027d1.js +2 -0
- package/dist/components/p-58d027d1.js.map +1 -0
- package/dist/components/p-5e378f0e.js +2 -0
- package/dist/components/p-5e378f0e.js.map +1 -0
- package/dist/components/p-62743fd3.js +2 -0
- package/dist/components/p-62743fd3.js.map +1 -0
- package/dist/components/p-6719b0d7.js +2 -0
- package/dist/components/p-6719b0d7.js.map +1 -0
- package/dist/components/p-68a5aaff.js +2 -0
- package/dist/components/p-68a5aaff.js.map +1 -0
- package/dist/components/p-6c4fe42c.js +2 -0
- package/dist/components/p-6c4fe42c.js.map +1 -0
- package/dist/components/p-6fcd99d1.js +2 -0
- package/dist/components/p-6fcd99d1.js.map +1 -0
- package/dist/components/p-7cd6c0ce.js +2 -0
- package/dist/components/p-7cd6c0ce.js.map +1 -0
- package/dist/components/p-7f32e087.js +2 -0
- package/dist/components/p-7f32e087.js.map +1 -0
- package/dist/components/p-84ae0283.js +2 -0
- package/dist/components/p-84ae0283.js.map +1 -0
- package/dist/components/p-85aa8e05.js +2 -0
- package/dist/components/p-85aa8e05.js.map +1 -0
- package/dist/components/p-9bcf9620.js +2 -0
- package/dist/components/p-9bcf9620.js.map +1 -0
- package/dist/components/p-9c0b30f8.js +2 -0
- package/dist/components/p-9c0b30f8.js.map +1 -0
- package/dist/components/p-9cfd8022.js +2 -0
- package/dist/components/p-9cfd8022.js.map +1 -0
- package/dist/components/p-9fb98ea2.js +2 -0
- package/dist/components/p-9fb98ea2.js.map +1 -0
- package/dist/components/p-a2f6d2c6.js +2 -0
- package/dist/components/p-a2f6d2c6.js.map +1 -0
- package/dist/components/p-a55f08ad.js +2 -0
- package/dist/components/p-a55f08ad.js.map +1 -0
- package/dist/components/p-a901dff2.js +2 -0
- package/dist/components/p-a901dff2.js.map +1 -0
- package/dist/components/p-adf1586f.js +2 -0
- package/dist/components/p-adf1586f.js.map +1 -0
- package/dist/components/p-af5ecc92.js +2 -0
- package/dist/components/p-af5ecc92.js.map +1 -0
- package/dist/components/p-b0766439.js +2 -0
- package/dist/components/p-b0766439.js.map +1 -0
- package/dist/components/p-b7d080eb.js +2 -0
- package/dist/components/p-b7d080eb.js.map +1 -0
- package/dist/components/p-b99b485b.js +2 -0
- package/dist/components/p-b99b485b.js.map +1 -0
- package/dist/components/p-be261487.js +2 -0
- package/dist/components/p-be261487.js.map +1 -0
- package/dist/components/p-c00770e6.js +2 -0
- package/dist/components/p-c00770e6.js.map +1 -0
- package/dist/components/p-c1159428.js +2 -0
- package/dist/components/p-c1159428.js.map +1 -0
- package/dist/components/p-c662e5f4.js +2 -0
- package/dist/components/p-c662e5f4.js.map +1 -0
- package/dist/components/p-c76fab71.js +2 -0
- package/dist/components/p-c76fab71.js.map +1 -0
- package/dist/components/p-c7ee88c7.js +2 -0
- package/dist/components/p-c7ee88c7.js.map +1 -0
- package/dist/components/p-cce871bf.js +2 -0
- package/dist/components/p-cce871bf.js.map +1 -0
- package/dist/components/p-d8340641.js +2 -0
- package/dist/components/p-d8340641.js.map +1 -0
- package/dist/components/p-d9a2e920.js +2 -0
- package/dist/components/p-d9a2e920.js.map +1 -0
- package/dist/components/p-efa3b8ac.js +2 -0
- package/dist/components/p-efa3b8ac.js.map +1 -0
- package/dist/components/p-f0f6e862.js +2 -0
- package/dist/components/p-f0f6e862.js.map +1 -0
- package/dist/components/p-f4e068a9.js +2 -0
- package/dist/components/p-f4e068a9.js.map +1 -0
- package/dist/components/p-fd97809c.js +2 -0
- package/dist/components/p-fd97809c.js.map +1 -0
- package/dist/components/verdocs-auth.js +2 -0
- package/dist/components/verdocs-auth.js.map +1 -0
- package/dist/components/verdocs-build.js +3 -1
- package/dist/components/verdocs-build.js.map +1 -0
- package/dist/components/verdocs-button-panel.js +2 -0
- package/dist/components/verdocs-button-panel.js.map +1 -0
- package/dist/components/verdocs-button.js +2 -0
- package/dist/components/verdocs-button.js.map +1 -0
- package/dist/components/verdocs-checkbox.js +2 -0
- package/dist/components/verdocs-checkbox.js.map +1 -0
- package/dist/components/verdocs-component-error.js +2 -0
- package/dist/components/verdocs-component-error.js.map +1 -0
- package/dist/components/verdocs-contact-picker.js +2 -0
- package/dist/components/verdocs-contact-picker.js.map +1 -0
- package/dist/components/verdocs-dialog.js +2 -0
- package/dist/components/verdocs-dialog.js.map +1 -0
- package/dist/components/verdocs-dropdown.js +2 -0
- package/dist/components/verdocs-dropdown.js.map +1 -0
- package/dist/components/verdocs-envelope-document-page.js +2 -0
- package/dist/components/verdocs-envelope-document-page.js.map +1 -0
- package/dist/components/verdocs-envelope-recipient-link.js +2 -0
- package/dist/components/verdocs-envelope-recipient-link.js.map +1 -0
- package/dist/components/verdocs-envelope-recipient-summary.js +2 -0
- package/dist/components/verdocs-envelope-recipient-summary.js.map +1 -0
- package/dist/components/verdocs-envelope-sidebar.js +2 -0
- package/dist/components/verdocs-envelope-sidebar.js.map +1 -0
- package/dist/components/verdocs-envelopes-list.js +2 -0
- package/dist/components/verdocs-envelopes-list.js.map +1 -0
- package/dist/components/verdocs-field-attachment.js +2 -0
- package/dist/components/verdocs-field-attachment.js.map +1 -0
- package/dist/components/verdocs-field-checkbox.js +2 -0
- package/dist/components/verdocs-field-checkbox.js.map +1 -0
- package/dist/components/verdocs-field-date.js +2 -0
- package/dist/components/verdocs-field-date.js.map +1 -0
- package/dist/components/verdocs-field-dropdown.js +2 -0
- package/dist/components/verdocs-field-dropdown.js.map +1 -0
- package/dist/components/verdocs-field-initial.js +2 -0
- package/dist/components/verdocs-field-initial.js.map +1 -0
- package/dist/components/verdocs-field-payment.js +2 -0
- package/dist/components/verdocs-field-payment.js.map +1 -0
- package/dist/components/verdocs-field-radio.js +2 -0
- package/dist/components/verdocs-field-radio.js.map +1 -0
- package/dist/components/verdocs-field-signature.js +2 -0
- package/dist/components/verdocs-field-signature.js.map +1 -0
- package/dist/components/verdocs-field-textarea.js +2 -0
- package/dist/components/verdocs-field-textarea.js.map +1 -0
- package/dist/components/verdocs-field-textbox.js +2 -0
- package/dist/components/verdocs-field-textbox.js.map +1 -0
- package/dist/components/verdocs-field-timestamp.js +2 -0
- package/dist/components/verdocs-field-timestamp.js.map +1 -0
- package/dist/components/verdocs-file-chooser.js +2 -0
- package/dist/components/verdocs-file-chooser.js.map +1 -0
- package/dist/components/verdocs-help-icon.js +2 -0
- package/dist/components/verdocs-help-icon.js.map +1 -0
- package/dist/components/verdocs-initial-dialog.js +2 -0
- package/dist/components/verdocs-initial-dialog.js.map +1 -0
- package/dist/components/verdocs-kba-dialog.js +2 -0
- package/dist/components/verdocs-kba-dialog.js.map +1 -0
- package/dist/components/verdocs-loader.js +2 -0
- package/dist/components/verdocs-loader.js.map +1 -0
- package/dist/components/verdocs-menu-panel.js +2 -0
- package/dist/components/verdocs-menu-panel.js.map +1 -0
- package/dist/components/verdocs-ok-dialog.js +2 -0
- package/dist/components/verdocs-ok-dialog.js.map +1 -0
- package/dist/components/verdocs-organization-card.js +2 -0
- package/dist/components/verdocs-organization-card.js.map +1 -0
- package/dist/components/verdocs-pagination.js +2 -0
- package/dist/components/verdocs-pagination.js.map +1 -0
- package/dist/components/verdocs-portal.js +2 -0
- package/dist/components/verdocs-portal.js.map +1 -0
- package/dist/components/verdocs-preview.js +2 -0
- package/dist/components/verdocs-preview.js.map +1 -0
- package/dist/components/verdocs-progress-bar.js +2 -0
- package/dist/components/verdocs-progress-bar.js.map +1 -0
- package/dist/components/verdocs-quick-filter.js +2 -0
- package/dist/components/verdocs-quick-filter.js.map +1 -0
- package/dist/components/verdocs-quick-functions.js +2 -0
- package/dist/components/verdocs-quick-functions.js.map +1 -0
- package/dist/components/verdocs-radio-button.js +2 -0
- package/dist/components/verdocs-radio-button.js.map +1 -0
- package/dist/components/verdocs-search-box.js +2 -0
- package/dist/components/verdocs-search-box.js.map +1 -0
- package/dist/components/verdocs-search-tabs.js +2 -0
- package/dist/components/verdocs-search-tabs.js.map +1 -0
- package/dist/components/verdocs-select-input.js +2 -0
- package/dist/components/verdocs-select-input.js.map +1 -0
- package/dist/components/verdocs-send.js +2 -0
- package/dist/components/verdocs-send.js.map +1 -0
- package/dist/components/verdocs-sign.js +2 -0
- package/dist/components/verdocs-sign.js.map +1 -0
- package/dist/components/verdocs-signature-dialog.js +2 -0
- package/dist/components/verdocs-signature-dialog.js.map +1 -0
- package/dist/components/verdocs-spinner.js +2 -0
- package/dist/components/verdocs-spinner.js.map +1 -0
- package/dist/components/verdocs-status-indicator.js +2 -0
- package/dist/components/verdocs-status-indicator.js.map +1 -0
- package/dist/components/verdocs-switch.js +2 -0
- package/dist/components/verdocs-switch.js.map +1 -0
- package/dist/components/verdocs-table.js +2 -0
- package/dist/components/verdocs-table.js.map +1 -0
- package/dist/components/verdocs-tabs.js +2 -0
- package/dist/components/verdocs-tabs.js.map +1 -0
- package/dist/components/verdocs-template-attachments.js +2 -0
- package/dist/components/verdocs-template-attachments.js.map +1 -0
- package/dist/components/verdocs-template-build-tabs.js +2 -0
- package/dist/components/verdocs-template-build-tabs.js.map +1 -0
- package/dist/components/verdocs-template-card.js +2 -0
- package/dist/components/verdocs-template-card.js.map +1 -0
- package/dist/components/verdocs-template-create.js +2 -0
- package/dist/components/verdocs-template-create.js.map +1 -0
- package/dist/components/verdocs-template-document-page.js +2 -0
- package/dist/components/verdocs-template-document-page.js.map +1 -0
- package/dist/components/verdocs-template-field-properties.js +2 -0
- package/dist/components/verdocs-template-field-properties.js.map +1 -0
- package/dist/components/verdocs-template-fields.js +2 -0
- package/dist/components/verdocs-template-fields.js.map +1 -0
- package/dist/components/verdocs-template-role-properties.js +2 -0
- package/dist/components/verdocs-template-role-properties.js.map +1 -0
- package/dist/components/verdocs-template-roles.js +3 -1
- package/dist/components/verdocs-template-roles.js.map +1 -0
- package/dist/components/verdocs-template-star.js +2 -0
- package/dist/components/verdocs-template-star.js.map +1 -0
- package/dist/components/verdocs-template-tags.js +2 -0
- package/dist/components/verdocs-template-tags.js.map +1 -0
- package/dist/components/verdocs-templates-list.js +2 -0
- package/dist/components/verdocs-templates-list.js.map +1 -0
- package/dist/components/verdocs-text-input.js +2 -0
- package/dist/components/verdocs-text-input.js.map +1 -0
- package/dist/components/verdocs-toggle-button.js +2 -0
- package/dist/components/verdocs-toggle-button.js.map +1 -0
- package/dist/components/verdocs-toggle.js +2 -0
- package/dist/components/verdocs-toggle.js.map +1 -0
- package/dist/components/verdocs-toolbar-icon.js +2 -0
- package/dist/components/verdocs-toolbar-icon.js.map +1 -0
- package/dist/components/verdocs-upload-dialog.js +2 -0
- package/dist/components/verdocs-upload-dialog.js.map +1 -0
- package/dist/components/verdocs-view.js +2 -0
- package/dist/components/verdocs-view.js.map +1 -0
- package/dist/custom-elements.json +2156 -0
- package/dist/esm/Datastore-b55570ff.js +2 -0
- package/dist/esm/Datastore-b55570ff.js.map +1 -0
- package/dist/esm/Icons-faf0377f.js +2 -0
- package/dist/esm/Icons-faf0377f.js.map +1 -0
- package/dist/esm/Toast-c4843828.js +2 -0
- package/dist/esm/Toast-c4843828.js.map +1 -0
- package/dist/esm/Types-95d86a44.js +2 -0
- package/dist/esm/Types-95d86a44.js.map +1 -0
- package/dist/esm/_commonjsHelpers-bdec4bbd.js +2 -0
- package/dist/esm/_commonjsHelpers-bdec4bbd.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +2 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/errors-887f1e88.js +2 -0
- package/dist/esm/errors-887f1e88.js.map +1 -0
- package/dist/esm/format-b8602175.js +2 -0
- package/dist/esm/format-b8602175.js.map +1 -0
- package/dist/esm/index-272d51a4.js +2 -0
- package/dist/esm/index-272d51a4.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interact.min-a71beb3d.js +2 -0
- package/dist/esm/interact.min-a71beb3d.js.map +1 -0
- package/dist/esm/loader.js +2 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/popper-0fbeff6d.js +2 -0
- package/dist/esm/popper-0fbeff6d.js.map +1 -0
- package/dist/esm/utils-bd656c37.js +2 -0
- package/dist/esm/utils-bd656c37.js.map +1 -0
- package/dist/esm/verdocs-auth.entry.js +2 -0
- package/dist/esm/verdocs-auth.entry.js.map +1 -0
- package/dist/esm/verdocs-build.entry.js +2 -0
- package/dist/esm/verdocs-build.entry.js.map +1 -0
- package/dist/esm/verdocs-button-panel_2.entry.js +2 -0
- package/dist/esm/verdocs-button-panel_2.entry.js.map +1 -0
- package/dist/esm/verdocs-button_2.entry.js +2 -0
- package/dist/esm/verdocs-button_2.entry.js.map +1 -0
- package/dist/esm/verdocs-checkbox_6.entry.js +2 -0
- package/dist/esm/verdocs-checkbox_6.entry.js.map +1 -0
- package/dist/esm/verdocs-contact-picker_2.entry.js +2 -0
- package/dist/esm/verdocs-contact-picker_2.entry.js.map +1 -0
- package/dist/esm/verdocs-dialog.entry.js +2 -0
- package/dist/esm/verdocs-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-dropdown.entry.js +2 -0
- package/dist/esm/verdocs-dropdown.entry.js.map +1 -0
- package/dist/esm/verdocs-envelope-document-page.entry.js +2 -0
- package/dist/esm/verdocs-envelope-document-page.entry.js.map +1 -0
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +2 -0
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js.map +1 -0
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +2 -0
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js.map +1 -0
- package/dist/esm/verdocs-envelope-sidebar.entry.js +2 -0
- package/dist/esm/verdocs-envelope-sidebar.entry.js.map +1 -0
- package/dist/esm/verdocs-envelopes-list.entry.js +2 -0
- package/dist/esm/verdocs-envelopes-list.entry.js.map +1 -0
- package/dist/esm/verdocs-field-attachment_13.entry.js +2 -0
- package/dist/esm/verdocs-field-attachment_13.entry.js.map +1 -0
- package/dist/esm/verdocs-field-payment.entry.js +2 -0
- package/dist/esm/verdocs-field-payment.entry.js.map +1 -0
- package/dist/esm/verdocs-file-chooser_2.entry.js +2 -0
- package/dist/esm/verdocs-file-chooser_2.entry.js.map +1 -0
- package/dist/esm/verdocs-kba-dialog_2.entry.js +2 -0
- package/dist/esm/verdocs-kba-dialog_2.entry.js.map +1 -0
- package/dist/esm/verdocs-menu-panel_2.entry.js +2 -0
- package/dist/esm/verdocs-menu-panel_2.entry.js.map +1 -0
- package/dist/esm/verdocs-ok-dialog.entry.js +2 -0
- package/dist/esm/verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-organization-card_2.entry.js +2 -0
- package/dist/esm/verdocs-organization-card_2.entry.js.map +1 -0
- package/dist/esm/verdocs-pagination_2.entry.js +2 -0
- package/dist/esm/verdocs-pagination_2.entry.js.map +1 -0
- package/dist/esm/verdocs-preview_6.entry.js +4 -1
- package/dist/esm/verdocs-preview_6.entry.js.map +1 -0
- package/dist/esm/verdocs-quick-functions.entry.js +2 -0
- package/dist/esm/verdocs-quick-functions.entry.js.map +1 -0
- package/dist/esm/verdocs-radio-button.entry.js +2 -0
- package/dist/esm/verdocs-radio-button.entry.js.map +1 -0
- package/dist/esm/verdocs-search-box.entry.js +2 -0
- package/dist/esm/verdocs-search-box.entry.js.map +1 -0
- package/dist/esm/verdocs-search-tabs.entry.js +2 -0
- package/dist/esm/verdocs-search-tabs.entry.js.map +1 -0
- package/dist/esm/verdocs-sign.entry.js +2 -0
- package/dist/esm/verdocs-sign.entry.js.map +1 -0
- package/dist/esm/verdocs-spinner.entry.js +2 -0
- package/dist/esm/verdocs-spinner.entry.js.map +1 -0
- package/dist/esm/verdocs-status-indicator.entry.js +2 -0
- package/dist/esm/verdocs-status-indicator.entry.js.map +1 -0
- package/dist/esm/verdocs-table.entry.js +2 -0
- package/dist/esm/verdocs-table.entry.js.map +1 -0
- package/dist/esm/verdocs-template-card.entry.js +2 -0
- package/dist/esm/verdocs-template-card.entry.js.map +1 -0
- package/dist/esm/verdocs-template-create.entry.js +2 -0
- package/dist/esm/verdocs-template-create.entry.js.map +1 -0
- package/dist/esm/verdocs-template-document-page_2.entry.js +2 -0
- package/dist/esm/verdocs-template-document-page_2.entry.js.map +1 -0
- package/dist/esm/verdocs-template-star.entry.js +2 -0
- package/dist/esm/verdocs-template-star.entry.js.map +1 -0
- package/dist/esm/verdocs-template-tags.entry.js +2 -0
- package/dist/esm/verdocs-template-tags.entry.js.map +1 -0
- package/dist/esm/verdocs-templates-list.entry.js +2 -0
- package/dist/esm/verdocs-templates-list.entry.js.map +1 -0
- package/dist/esm/verdocs-toggle.entry.js +2 -0
- package/dist/esm/verdocs-toggle.entry.js.map +1 -0
- package/dist/esm/verdocs-web-sdk.js +2 -0
- package/dist/esm/verdocs-web-sdk.js.map +1 -0
- package/dist/esm-es5/Datastore-b55570ff.js +2 -1
- package/dist/esm-es5/Datastore-b55570ff.js.map +1 -0
- package/dist/esm-es5/Icons-faf0377f.js +2 -1
- package/dist/esm-es5/Icons-faf0377f.js.map +1 -0
- package/dist/esm-es5/Toast-c4843828.js +2 -1
- package/dist/esm-es5/Toast-c4843828.js.map +1 -0
- package/dist/esm-es5/Types-95d86a44.js +2 -1
- package/dist/esm-es5/Types-95d86a44.js.map +1 -0
- package/dist/esm-es5/_commonjsHelpers-bdec4bbd.js +2 -1
- package/dist/esm-es5/_commonjsHelpers-bdec4bbd.js.map +1 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +2 -1
- package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm-es5/errors-887f1e88.js +2 -1
- package/dist/esm-es5/errors-887f1e88.js.map +1 -0
- package/dist/esm-es5/format-b8602175.js +2 -1
- package/dist/esm-es5/format-b8602175.js.map +1 -0
- package/dist/esm-es5/index-272d51a4.js +2 -1
- package/dist/esm-es5/index-272d51a4.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/interact.min-a71beb3d.js +2 -1
- package/dist/esm-es5/interact.min-a71beb3d.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/popper-0fbeff6d.js +2 -1
- package/dist/esm-es5/popper-0fbeff6d.js.map +1 -0
- package/dist/esm-es5/utils-bd656c37.js +2 -1
- package/dist/esm-es5/utils-bd656c37.js.map +1 -0
- package/dist/esm-es5/verdocs-auth.entry.js +2 -1
- package/dist/esm-es5/verdocs-auth.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-build.entry.js +2 -1
- package/dist/esm-es5/verdocs-build.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-button_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-button_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-checkbox_6.entry.js +2 -1
- package/dist/esm-es5/verdocs-checkbox_6.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-dropdown.entry.js +2 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +2 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +2 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +2 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +2 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +2 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-field-payment.entry.js +2 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +2 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-pagination_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-preview_6.entry.js +2 -1
- package/dist/esm-es5/verdocs-preview_6.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-quick-functions.entry.js +2 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-radio-button.entry.js +2 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-search-box.entry.js +2 -1
- package/dist/esm-es5/verdocs-search-box.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-search-tabs.entry.js +2 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-sign.entry.js +2 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-spinner.entry.js +2 -1
- package/dist/esm-es5/verdocs-spinner.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-status-indicator.entry.js +2 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-table.entry.js +2 -1
- package/dist/esm-es5/verdocs-table.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-card.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-card.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-create.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-create.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-star.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-star.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-template-tags.entry.js +2 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-templates-list.entry.js +2 -1
- package/dist/esm-es5/verdocs-templates-list.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-toggle.entry.js +2 -1
- package/dist/esm-es5/verdocs-toggle.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-web-sdk.js +2 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -0
- package/dist/verdocs-web-sdk/index.esm.js +2 -0
- package/dist/verdocs-web-sdk/index.esm.js.map +1 -0
- package/dist/verdocs-web-sdk/p-00ed440b.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-00ed440b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-03399c69.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-03399c69.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-04c07b7b.js +2 -1
- package/dist/verdocs-web-sdk/p-04c07b7b.js.map +1 -0
- package/dist/verdocs-web-sdk/p-0c45b79c.js +13 -1
- package/dist/verdocs-web-sdk/p-0c45b79c.js.map +1 -0
- package/dist/verdocs-web-sdk/p-0c5b881a.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-0c5b881a.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-123c5de2.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-123c5de2.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-12bab948.js +2 -1
- package/dist/verdocs-web-sdk/p-12bab948.js.map +1 -0
- package/dist/verdocs-web-sdk/p-12ce49c2.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-12ce49c2.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1794d2fa.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1794d2fa.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-17f35bcb.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-17f35bcb.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-19462841.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-19462841.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1d5b9103.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-1d5b9103.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-1e191c20.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-1e191c20.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-21b1acec.system.js +2 -1
- package/dist/verdocs-web-sdk/p-21b1acec.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-24f2d2e2.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-24f2d2e2.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-277a93d5.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-277a93d5.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-2c5350ec.system.js +2 -1
- package/dist/verdocs-web-sdk/p-2c5350ec.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-2eae32d9.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-2eae32d9.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-306bde40.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-306bde40.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-35dcb386.system.js +2 -1
- package/dist/verdocs-web-sdk/p-35dcb386.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-3649ddc2.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-3649ddc2.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-3834fa6a.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-3834fa6a.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-3cc50f0b.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-3cc50f0b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-3fd9d933.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-3fd9d933.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-417f71da.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-417f71da.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-41f22b0a.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-41f22b0a.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-e77c1fcc.system.entry.js → p-4685955a.system.entry.js} +2 -1
- package/dist/verdocs-web-sdk/p-4685955a.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-49cc9ac5.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-49cc9ac5.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-4e9e154f.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-4e9e154f.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-50ea2036.system.js +2 -1
- package/dist/verdocs-web-sdk/p-50ea2036.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-53ed63e9.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-53ed63e9.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-53f4c7c3.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-53f4c7c3.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-546daa8b.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-546daa8b.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-56ba5cbf.system.js +2 -1
- package/dist/verdocs-web-sdk/p-56ba5cbf.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-5824962b.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-5824962b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-58d027d1.js +2 -1
- package/dist/verdocs-web-sdk/p-58d027d1.js.map +1 -0
- package/dist/verdocs-web-sdk/p-6237ce51.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-6237ce51.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-68a5aaff.js +2 -1
- package/dist/verdocs-web-sdk/p-68a5aaff.js.map +1 -0
- package/dist/verdocs-web-sdk/p-6b4de004.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-6b4de004.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-70751089.system.js +2 -1
- package/dist/verdocs-web-sdk/p-70751089.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-761f6656.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-761f6656.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-76c044c8.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-76c044c8.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-7b1e00e5.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-7b1e00e5.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-83e567cb.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-83e567cb.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-85aa8e05.js +2 -1
- package/dist/verdocs-web-sdk/p-85aa8e05.js.map +1 -0
- package/dist/verdocs-web-sdk/p-882aa754.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-882aa754.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-88baf4d1.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-88baf4d1.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-8bdd951b.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-8bdd951b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-8d7d61ee.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-8d7d61ee.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-8f5c17b6.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-8f5c17b6.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-9021fc7b.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-9021fc7b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-90bc3ad0.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-90bc3ad0.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-9186f42e.system.js +2 -1
- package/dist/verdocs-web-sdk/p-9186f42e.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-9227d400.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-9227d400.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-94fe5817.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-94fe5817.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-9750edd6.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-9750edd6.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-9b26e4e0.system.js +2 -1
- package/dist/verdocs-web-sdk/p-9b26e4e0.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-a168645d.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-a168645d.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-a6113c3f.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-a6113c3f.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-a901dff2.js +2 -1
- package/dist/verdocs-web-sdk/p-a901dff2.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ab473697.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-ab473697.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ab65c67b.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-ab65c67b.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ac6ecfad.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-ac6ecfad.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ad3d07a6.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-ad3d07a6.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-b0766439.js +2 -1
- package/dist/verdocs-web-sdk/p-b0766439.js.map +1 -0
- package/dist/verdocs-web-sdk/p-b0fbfc24.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-b0fbfc24.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-b9654a5e.js +3 -2
- package/dist/verdocs-web-sdk/p-b9654a5e.js.map +1 -0
- package/dist/verdocs-web-sdk/p-bbf30adc.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-bbf30adc.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-bfc815d0.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-bfc815d0.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c0cd186e.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-c0cd186e.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c2bca18a.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-c2bca18a.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c53701b7.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-c53701b7.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c7ee88c7.js +2 -1
- package/dist/verdocs-web-sdk/p-c7ee88c7.js.map +1 -0
- package/dist/verdocs-web-sdk/p-c8a15cb7.system.js +2 -1
- package/dist/verdocs-web-sdk/p-c8a15cb7.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ca15a050.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-ca15a050.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ca8aef1d.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-ca8aef1d.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-cbb75c5e.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-cbb75c5e.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-cd546dbe.system.js +2 -1
- package/dist/verdocs-web-sdk/p-cd546dbe.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d23b5949.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-d23b5949.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d58010a4.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-d58010a4.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d5870e33.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-d5870e33.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d738b5db.system.js +2 -1
- package/dist/verdocs-web-sdk/p-d738b5db.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-d8dae4e9.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-d8dae4e9.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-dced30fa.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-dced30fa.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-df3f235d.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-df3f235d.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e0ac9edf.system.js +2 -1
- package/dist/verdocs-web-sdk/p-e0ac9edf.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e1255160.js +2 -1
- package/dist/verdocs-web-sdk/p-e1255160.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e2b70dfb.system.js +2 -1
- package/dist/verdocs-web-sdk/p-e2b70dfb.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e3077c5e.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-e3077c5e.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e438bd02.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-e438bd02.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-e6d711e0.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-e6d711e0.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-ea078594.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-ea078594.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-eb3ceb39.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-eb3ceb39.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f12b428b.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f12b428b.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f29eb00a.system.js +2 -1
- package/dist/verdocs-web-sdk/p-f29eb00a.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f2b16ddf.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f2b16ddf.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f84932fd.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-f84932fd.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-fd97809c.js +2 -1
- package/dist/verdocs-web-sdk/p-fd97809c.js.map +1 -0
- package/dist/verdocs-web-sdk/p-fda9c437.system.entry.js +2 -1
- package/dist/verdocs-web-sdk/p-fda9c437.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-fedcc413.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-fedcc413.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +2 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -0
- package/package.json +1 -1
- package/dist/verdocs-web-sdk/p-152b9acd.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1e495c60.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1eb501c3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2d7d0805.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2f73c9de.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-35903760.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-39b72c10.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-47f32221.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4a960ba5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4b36ca30.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-553a341c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5f1a000c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6da00869.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7688bc89.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-76cc40fe.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-786bacad.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7abbdb69.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-899fa588.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-91977069.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-92364765.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-92ce6180.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-98ab739b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-99b819ad.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a4b05f08.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-af1802b6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b0436bc7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bdd7b3d3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-be4ec401.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bf0b5dbc.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-c1728f5c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c3593d47.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-db4c36aa.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-dc558be5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e6dbb0f7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ea75f159.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ef7813ed.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-f6b77cd1.entry.js +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as i,H as n}from"./p-b9654a5e.js";import{formatFullName as s}from"@verdocs/js-sdk";import{c as e}from"./p-68a5aaff.js";const r={},h=[];function o(t,i){if(Array.isArray(t))for(const n of t)o(n,i);else if("object"!=typeof t)c(Object.getOwnPropertyNames(i)),r[t]=Object.assign(r[t]||{},i);else for(const i in t)o(i,t[i])}function u(t){return r[t]||{}}function c(t){h.push(...t)}function l(t,i){let n;const s=t.length,e=[];for(n=0;n<s;n++)e.push(i(t[n]));return e}function a(t){return t%360*Math.PI/180}function f(t){return t.charAt(0).toUpperCase()+t.slice(1)}function d(t,i,n,s){return null!=i&&null!=n||(s=s||t.bbox(),null==i?i=s.width/s.height*n:null==n&&(n=s.height/s.width*i)),{width:i,height:n}}function w(t,i){const n=t.origin;let s=null!=t.ox?t.ox:null!=t.originX?t.originX:"center",e=null!=t.oy?t.oy:null!=t.originY?t.originY:"center";null!=n&&([s,e]=Array.isArray(n)?n:"object"==typeof n?[n.x,n.y]:[n,n]);const r="string"==typeof s,h="string"==typeof e;if(r||h){const{height:t,width:n,x:o,y:u}=i.bbox();r&&(s=s.includes("left")?o:s.includes("right")?o+n:o+n/2),h&&(e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2)}return[s,e]}const p=new Set(["desc","metadata","title"]),C=t=>p.has(t.nodeName),g=(t,i,n={})=>{const s={...i};for(const t in s)s[t].valueOf()===n[t]&&delete s[t];Object.keys(s).length?t.node.setAttribute("data-svgjs",JSON.stringify(s)):(t.node.removeAttribute("data-svgjs"),t.node.removeAttribute("svgjs:data"))},m="http://www.w3.org/2000/svg",y="http://www.w3.org/2000/xmlns/",x="http://www.w3.org/1999/xlink",v={window:"undefined"==typeof window?null:window,document:"undefined"==typeof document?null:document};class b{}const M={},k="___SYMBOL___ROOT___";function _(t,i=m){return v.document.createElementNS(i,t)}function j(t,i=!1){if(t instanceof b)return t;if("object"==typeof t)return L(t);if(null==t)return new M[k];if("string"==typeof t&&"<"!==t.charAt(0))return L(v.document.querySelector(t));const n=i?v.document.createElement("div"):_("svg");return n.innerHTML=t,t=L(n.firstChild),n.removeChild(n.firstChild),t}function A(t,i){return i&&(i instanceof v.window.Node||i.ownerDocument&&i instanceof i.ownerDocument.defaultView.Node)?i:_(t)}function O(t){if(!t)return null;if(t.instance instanceof b)return t.instance;if("#document-fragment"===t.nodeName)return new M.Fragment(t);let i=f(t.nodeName||"Dom");return"LinearGradient"===i||"RadialGradient"===i?i="Gradient":M[i]||(i="Dom"),new M[i](t)}let L=O;function S(t,i=t.name,n=!1){return M[i]=t,n&&(M[k]=t),c(Object.getOwnPropertyNames(t.prototype)),t}let E=1e3;function T(t){return"Svgjs"+f(t)+E++}function H(t){for(let i=t.children.length-1;i>=0;i--)H(t.children[i]);return t.id?(t.id=T(t.nodeName),t):t}function V(t,i){let n,s;for(s=(t=Array.isArray(t)?t:[t]).length-1;s>=0;s--)for(n in i)t[s].prototype[n]=i[n]}function D(t){return function(...i){const n=i[i.length-1];return!n||n.constructor!==Object||n instanceof Array?t.apply(this,i):t.apply(this,i.slice(0,-1)).attr(n)}}o("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const t=this.position();return this.parent().add(this.remove(),t+1),this},backward:function(){const t=this.position();return this.parent().add(this.remove(),t?t-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(t){(t=j(t)).remove();const i=this.position();return this.parent().add(t,i),this},after:function(t){(t=j(t)).remove();const i=this.position();return this.parent().add(t,i+1),this},insertBefore:function(t){return(t=j(t)).before(this),this},insertAfter:function(t){return(t=j(t)).after(this),this}});const B=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,z=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,F=/rgb\((\d+),(\d+),(\d+)\)/,Z=/(#[a-z_][a-z0-9\-_]*)/i,$=/\)\s*,?\s*/,N=/\s/g,P=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,I=/^rgb\(/,R=/^(\s+)?$/,G=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Y=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,X=/[\s,]+/,Q=/[MLHVCSQTAZ]/i;function q(t){const i=Math.round(t),n=Math.max(0,Math.min(255,i)).toString(16);return 1===n.length?"0"+n:n}function J(t,i){for(let n=i.length;n--;)if(null==t[i[n]])return!1;return!0}function U(t,i,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(i-t)*n:n<.5?i:n<2/3?t+(i-t)*(2/3-n)*6:t}o("Dom",{classes:function(){const t=this.attr("class");return null==t?[]:t.trim().split(X)},hasClass:function(t){return-1!==this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){const i=this.classes();i.push(t),this.attr("class",i.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter((function(i){return i!==t})).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}}),o("Dom",{css:function(t,i){const n={};if(0===arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const i=t.split(/\s*:\s*/);n[i[0]]=i[1]})),n;if(arguments.length<2){if(Array.isArray(t)){for(const i of t)n[i]=this.node.style.getPropertyValue(i);return n}if("string"==typeof t)return this.node.style.getPropertyValue(t);if("object"==typeof t)for(const i in t)this.node.style.setProperty(i,null==t[i]||R.test(t[i])?"":t[i])}return 2===arguments.length&&this.node.style.setProperty(t,null==i||R.test(i)?"":i),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return"none"!==this.css("display")}}),o("Dom",{data:function(t,i,n){if(null==t)return this.data(l(function(t){let i;const n=t.length,s=[];for(i=0;i<n;i++)0===t[i].nodeName.indexOf("data-")&&s.push(t[i]);return s}(this.node.attributes),(t=>t.nodeName.slice(5))));if(t instanceof Array){const i={};for(const n of t)i[n]=this.data(n);return i}if("object"==typeof t)for(i in t)this.data(i,t[i]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(i){return this.attr("data-"+t)}else this.attr("data-"+t,null===i?null:!0===n||"string"==typeof i||"number"==typeof i?i:JSON.stringify(i));return this}}),o("Dom",{remember:function(t,i){if("object"==typeof arguments[0])for(const i in t)this.remember(i,t[i]);else{if(1===arguments.length)return this.memory()[t];this.memory()[t]=i}return this},forget:function(){if(0===arguments.length)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory=this._memory||{}}});class W{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof W||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b}static random(t="vibrant",i){const{random:n,round:s,sin:e,PI:r}=Math;if("vibrant"===t){const t=24*n()+57,i=38*n()+45,s=360*n();return new W(t,i,s,"lch")}if("sine"===t){const t=s(80*e(2*r*(i=null==i?n():i)/.5+.01)+150),h=s(50*e(2*r*i/.5+4.6)+200),o=s(100*e(2*r*i/.5+2.3)+150);return new W(t,h,o)}if("pastel"===t){const t=8*n()+86,i=17*n()+9,s=360*n();return new W(t,i,s,"lch")}if("dark"===t){const t=10+10*n(),i=50*n()+86,s=360*n();return new W(t,i,s,"lch")}if("rgb"===t){const t=255*n(),i=255*n(),s=255*n();return new W(t,i,s)}if("lab"===t){const t=100*n(),i=256*n()-128,s=256*n()-128;return new W(t,i,s,"lab")}if("grey"===t){const t=255*n();return new W(t,t,t)}throw new Error("Unsupported random color mode")}static test(t){return"string"==typeof t&&(P.test(t)||I.test(t))}cmyk(){const{_a:t,_b:i,_c:n}=this.rgb(),[s,e,r]=[t,i,n].map((t=>t/255)),h=Math.min(1-s,1-e,1-r);return 1===h?new W(0,0,0,1,"cmyk"):new W((1-s-h)/(1-h),(1-e-h)/(1-h),(1-r-h)/(1-h),h,"cmyk")}hsl(){const{_a:t,_b:i,_c:n}=this.rgb(),[s,e,r]=[t,i,n].map((t=>t/255)),h=Math.max(s,e,r),o=Math.min(s,e,r),u=(h+o)/2,c=h===o,l=h-o;return new W(360*(c?0:h===s?((e-r)/l+(e<r?6:0))/6:h===e?((r-s)/l+2)/6:h===r?((s-e)/l+4)/6:0),100*(c?0:u>.5?l/(2-h-o):l/(h+o)),100*u,"hsl")}init(t=0,i=0,n=0,s=0,e="rgb"){if(t=t||0,this.space)for(const t in this.space)delete this[this.space[t]];if("number"==typeof t)e="string"==typeof s?s:e,s="string"==typeof s?0:s,Object.assign(this,{_a:t,_b:i,_c:n,_d:s,space:e});else if(t instanceof Array)this.space=i||("string"==typeof t[3]?t[3]:t[4])||"rgb",Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0});else if(t instanceof Object){const n=function(t,i){const n=J(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:J(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:J(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:J(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:J(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:J(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return n.space=i||n.space,n}(t,i);Object.assign(this,n)}else if("string"==typeof t)if(I.test(t)){const i=t.replace(N,""),[n,s,e]=F.exec(i).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:n,_b:s,_c:e,_d:0,space:"rgb"})}else{if(!P.test(t))throw Error("Unsupported string format, can't construct Color");{const i=t=>parseInt(t,16),[,n,s,e]=z.exec(function(t){return 4===t.length?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}(t)).map(i);Object.assign(this,{_a:n,_b:s,_c:e,_d:0,space:"rgb"})}}const{_a:r,_b:h,_c:o,_d:u}=this;Object.assign(this,"rgb"===this.space?{r,g:h,b:o}:"xyz"===this.space?{x:r,y:h,z:o}:"hsl"===this.space?{h:r,s:h,l:o}:"lab"===this.space?{l:r,a:h,b:o}:"lch"===this.space?{l:r,c:h,h:o}:"cmyk"===this.space?{c:r,m:h,y:o,k:u}:{})}lab(){const{x:t,y:i,z:n}=this.xyz();return new W(116*i-16,500*(t-i),200*(i-n),"lab")}lch(){const{l:t,a:i,b:n}=this.lab(),s=Math.sqrt(i**2+n**2);let e=180*Math.atan2(n,i)/Math.PI;return e<0&&(e*=-1,e=360-e),new W(t,s,e,"lch")}rgb(){if("rgb"===this.space)return this;if("lab"===(t=this.space)||"xyz"===t||"lch"===t){let{x:t,y:i,z:n}=this;if("lab"===this.space||"lch"===this.space){let{l:s,a:e,b:r}=this;if("lch"===this.space){const{c:t,h:i}=this,n=Math.PI/180;e=t*Math.cos(n*i),r=t*Math.sin(n*i)}const h=(s+16)/116,o=e/500+h,u=h-r/200,c=16/116,l=.008856,a=7.787;t=.95047*(o**3>l?o**3:(o-c)/a),i=1*(h**3>l?h**3:(h-c)/a),n=1.08883*(u**3>l?u**3:(u-c)/a)}const s=3.2406*t+-1.5372*i+-.4986*n,e=-.9689*t+1.8758*i+.0415*n,r=.0557*t+-.204*i+1.057*n,h=Math.pow,o=.0031308,u=s>o?1.055*h(s,1/2.4)-.055:12.92*s,c=e>o?1.055*h(e,1/2.4)-.055:12.92*e,l=r>o?1.055*h(r,1/2.4)-.055:12.92*r;return new W(255*u,255*c,255*l)}if("hsl"===this.space){let{h:t,s:i,l:n}=this;if(t/=360,i/=100,n/=100,0===i)return n*=255,new W(n,n,n);const s=n<.5?n*(1+i):n+i-n*i,e=2*n-s,r=255*U(e,s,t+1/3),h=255*U(e,s,t),o=255*U(e,s,t-1/3);return new W(r,h,o)}if("cmyk"===this.space){const{c:t,m:i,y:n,k:s}=this,e=255*(1-Math.min(1,t*(1-s)+s)),r=255*(1-Math.min(1,i*(1-s)+s)),h=255*(1-Math.min(1,n*(1-s)+s));return new W(e,r,h)}return this;var t}toArray(){const{_a:t,_b:i,_c:n,_d:s,space:e}=this;return[t,i,n,s,e]}toHex(){const[t,i,n]=this._clamped().map(q);return`#${t}${i}${n}`}toRgb(){const[t,i,n]=this._clamped();return`rgb(${t},${i},${n})`}toString(){return this.toHex()}xyz(){const{_a:t,_b:i,_c:n}=this.rgb(),[s,e,r]=[t,i,n].map((t=>t/255)),h=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,o=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=(.4124*h+.3576*o+.1805*u)/.95047,l=(.2126*h+.7152*o+.0722*u)/1,a=(.0193*h+.1192*o+.9505*u)/1.08883,f=c>.008856?Math.pow(c,1/3):7.787*c+16/116,d=l>.008856?Math.pow(l,1/3):7.787*l+16/116,w=a>.008856?Math.pow(a,1/3):7.787*a+16/116;return new W(f,d,w,"xyz")}_clamped(){const{_a:t,_b:i,_c:n}=this.rgb(),{max:s,min:e,round:r}=Math;return[t,i,n].map((t=>s(0,e(r(t),255))))}}class K{constructor(...t){this.init(...t)}clone(){return new K(this)}init(t,i){const n=Array.isArray(t)?{x:t[0],y:t[1]}:"object"==typeof t?{x:t.x,y:t.y}:{x:t,y:i};return this.x=null==n.x?0:n.x,this.y=null==n.y?0:n.y,this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){it.isMatrixLike(t)||(t=new it(t));const{x:i,y:n}=this;return this.x=t.a*i+t.c*n+t.e,this.y=t.b*i+t.d*n+t.f,this}}function tt(t,i){return Math.abs(i-t)<1e-6}class it{constructor(...t){this.init(...t)}static formatTransforms(t){const i="both"===t.flip||!0===t.flip,n=t.flip&&(i||"x"===t.flip)?-1:1,s=t.flip&&(i||"y"===t.flip)?-1:1,e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0,r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0,h=t.scale&&t.scale.length?t.scale[0]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleX)?t.scaleX*n:n,o=t.scale&&t.scale.length?t.scale[1]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleY)?t.scaleY*s:s,u=t.shear||0,c=t.rotate||t.theta||0,l=new K(t.origin||t.around||t.ox||t.originX,t.oy||t.originY),a=l.x,f=l.y,d=new K(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN),w=d.x,p=d.y,C=new K(t.translate||t.tx||t.translateX,t.ty||t.translateY),g=C.x,m=C.y,y=new K(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:h,scaleY:o,skewX:e,skewY:r,shear:u,theta:c,rx:y.x,ry:y.y,tx:g,ty:m,ox:a,oy:f,px:w,py:p}}static fromArray(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}static isMatrixLike(t){return null!=t.a||null!=t.b||null!=t.c||null!=t.d||null!=t.e||null!=t.f}static matrixMultiply(t,i,n){const s=t.b*i.a+t.d*i.b,e=t.a*i.c+t.c*i.d,r=t.b*i.c+t.d*i.d,h=t.e+t.a*i.e+t.c*i.f,o=t.f+t.b*i.e+t.d*i.f;return n.a=t.a*i.a+t.c*i.b,n.b=s,n.c=e,n.d=r,n.e=h,n.f=o,n}around(t,i,n){return this.clone().aroundO(t,i,n)}aroundO(t,i,n){const s=t||0,e=i||0;return this.translateO(-s,-e).lmultiplyO(n).translateO(s,e)}clone(){return new it(this)}decompose(t=0,i=0){const n=this.a,s=this.b,e=this.c,r=this.d,h=this.e,o=this.f,u=n*r-s*e,c=u>0?1:-1,l=c*Math.sqrt(n*n+s*s),a=Math.atan2(c*s,c*n),f=180/Math.PI*a,d=Math.cos(a),w=Math.sin(a),p=(n*e+s*r)/u,C=e*l/(p*n-s)||r*l/(p*s+n);return{scaleX:l,scaleY:C,shear:p,rotate:f,translateX:h-t+t*d*l+i*(p*d*l-w*C),translateY:o-i+t*w*l+i*(p*w*l+d*C),originX:t,originY:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return!0;const i=new it(t);return tt(this.a,i.a)&&tt(this.b,i.b)&&tt(this.c,i.c)&&tt(this.d,i.d)&&tt(this.e,i.e)&&tt(this.f,i.f)}flip(t,i){return this.clone().flipO(t,i)}flipO(t,i){return"x"===t?this.scaleO(-1,1,i,0):"y"===t?this.scaleO(1,-1,0,i):this.scaleO(-1,-1,t,i||t)}init(t){const i=it.fromArray([1,0,0,1,0,0]);return t=t instanceof Mt?t.matrixify():"string"==typeof t?it.fromArray(t.split(X).map(parseFloat)):Array.isArray(t)?it.fromArray(t):"object"==typeof t&&it.isMatrixLike(t)?t:"object"==typeof t?(new it).transform(t):6===arguments.length?it.fromArray([].slice.call(arguments)):i,this.a=null!=t.a?t.a:i.a,this.b=null!=t.b?t.b:i.b,this.c=null!=t.c?t.c:i.c,this.d=null!=t.d?t.d:i.d,this.e=null!=t.e?t.e:i.e,this.f=null!=t.f?t.f:i.f,this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a,i=this.b,n=this.c,s=this.d,e=this.e,r=this.f,h=t*s-i*n;if(!h)throw new Error("Cannot invert "+this);const o=s/h,u=-i/h,c=-n/h,l=t/h,a=-(o*e+c*r),f=-(u*e+l*r);return this.a=o,this.b=u,this.c=c,this.d=l,this.e=a,this.f=f,this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const i=t instanceof it?t:new it(t);return it.matrixMultiply(i,this,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const i=t instanceof it?t:new it(t);return it.matrixMultiply(this,i,this)}rotate(t,i,n){return this.clone().rotateO(t,i,n)}rotateO(t,i=0,n=0){t=a(t);const s=Math.cos(t),e=Math.sin(t),{a:r,b:h,c:o,d:u,e:c,f:l}=this;return this.a=r*s-h*e,this.b=h*s+r*e,this.c=o*s-u*e,this.d=u*s+o*e,this.e=c*s-l*e+n*e-i*s+i,this.f=l*s+c*e-i*e-n*s+n,this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,i=t,n=0,s=0){3===arguments.length&&(s=n,n=i,i=t);const{a:e,b:r,c:h,d:o,e:u,f:c}=this;return this.a=e*t,this.b=r*i,this.c=h*t,this.d=o*i,this.e=u*t-n*t+n,this.f=c*i-s*i+s,this}shear(t,i,n){return this.clone().shearO(t,i,n)}shearO(t,i=0,n=0){const{a:s,b:e,c:r,d:h,e:o,f:u}=this;return this.a=s+e*t,this.c=r+h*t,this.e=o+u*t-n*t,this}skew(){return this.clone().skewO(...arguments)}skewO(t,i=t,n=0,s=0){3===arguments.length&&(s=n,n=i,i=t),t=a(t),i=a(i);const e=Math.tan(t),r=Math.tan(i),{a:h,b:o,c:u,d:c,e:l,f}=this;return this.a=h+o*e,this.b=o+h*r,this.c=u+c*e,this.d=c+u*r,this.e=l+f*e-s*e,this.f=f+l*r-n*r,this}skewX(t,i,n){return this.skew(t,0,i,n)}skewY(t,i,n){return this.skew(0,t,i,n)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(t){if(it.isMatrixLike(t))return new it(t).multiplyO(this);const i=it.formatTransforms(t),{x:n,y:s}=new K(i.ox,i.oy).transform(this),e=(new it).translateO(i.rx,i.ry).lmultiplyO(this).translateO(-n,-s).scaleO(i.scaleX,i.scaleY).skewO(i.skewX,i.skewY).shearO(i.shear).rotateO(i.theta).translateO(n,s);if(isFinite(i.px)||isFinite(i.py)){const t=new K(n,s).transform(e),r=isFinite(i.px)?i.px-t.x:0,h=isFinite(i.py)?i.py-t.y:0;e.translateO(r,h)}return e.translateO(i.tx,i.ty),e}translate(t,i){return this.clone().translateO(t,i)}translateO(t,i){return this.e+=t||0,this.f+=i||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function nt(){if(!nt.nodes){const t=j().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),t.attr("focusable","false"),t.attr("aria-hidden","true");const i=t.path().node;nt.nodes={svg:t,path:i}}return nt.nodes.svg.node.parentNode||nt.nodes.svg.addTo(v.document.body||v.document.documentElement),nt.nodes}function st(t){return!(t.width||t.height||t.x||t.y)}S(it,"Matrix");class et{constructor(...t){this.init(...t)}addOffset(){return this.x+=v.window.pageXOffset,this.y+=v.window.pageYOffset,new et(this)}init(t){return t="string"==typeof t?t.split(X).map(parseFloat):Array.isArray(t)?t:"object"==typeof t?[null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height]:4===arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=t[0]||0,this.y=t[1]||0,this.width=this.w=t[2]||0,this.height=this.h=t[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return st(this)}merge(t){const i=Math.min(this.x,t.x),n=Math.min(this.y,t.y),s=Math.max(this.x+this.width,t.x+t.width)-i,e=Math.max(this.y+this.height,t.y+t.height)-n;return new et(i,n,s,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){t instanceof it||(t=new it(t));let i=1/0,n=-1/0,s=1/0,e=-1/0;return[new K(this.x,this.y),new K(this.x2,this.y),new K(this.x,this.y2),new K(this.x2,this.y2)].forEach((function(r){r=r.transform(t),i=Math.min(i,r.x),n=Math.max(n,r.x),s=Math.min(s,r.y),e=Math.max(e,r.y)})),new et(i,s,n-i,e-s)}}function rt(t,i,n){let s;try{if(s=i(t.node),st(s)&&(e=t.node)!==v.document&&!(v.document.documentElement.contains||function(t){for(;t.parentNode;)t=t.parentNode;return t===v.document}).call(v.document.documentElement,e))throw new Error("Element not in the dom")}catch(i){s=n(t)}var e;return s}o({viewbox:{viewbox(t,i,n,s){return null==t?new et(this.attr("viewBox")):this.attr("viewBox",new et(t,i,n,s))},zoom(t,i){let{width:n,height:s}=this.attr(["width","height"]);if((n||s)&&"string"!=typeof n&&"string"!=typeof s||(n=this.node.clientWidth,s=this.node.clientHeight),!n||!s)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const e=this.viewbox(),r=n/e.width,h=s/e.height,o=Math.min(r,h);if(null==t)return o;let u=o/t;u===1/0&&(u=Number.MAX_SAFE_INTEGER/100),i=i||new K(n/2/r+e.x,s/2/h+e.y);const c=new et(e).transform(new it({scale:u,origin:i}));return this.viewbox(c)}}}),S(et,"Box");class ht extends Array{constructor(t=[],...i){if(super(t,...i),"number"==typeof t)return this;this.length=0,this.push(...t)}}V([ht],{each(t,...i){return this.map("function"==typeof t?(i,n,s)=>t.call(i,i,n,s):n=>n[t](...i))},toArray(){return Array.prototype.concat.apply([],this)}});const ot=["toArray","constructor","each"];function ut(t,i){return new ht(l((i||v.document).querySelectorAll(t),(function(t){return O(t)})))}ht.extend=function(t){t=t.reduce(((t,i)=>(ot.includes(i)||"_"===i[0]||(i in Array.prototype&&(t["$"+i]=Array.prototype[i]),t[i]=function(...t){return this.each(i,...t)}),t)),{}),V([ht],t)};let ct=0;const lt={};function at(t){let i=t.getEventHolder();return i===v.window&&(i=lt),i.events||(i.events={}),i.events}function ft(t){return t.getEventTarget()}function dt(t,i,n,s,e){const r=n.bind(s||t),h=j(t),o=at(h),u=ft(h);i=Array.isArray(i)?i:i.split(X),n._svgjsListenerId||(n._svgjsListenerId=++ct),i.forEach((function(t){const i=t.split(".")[0],s=t.split(".")[1]||"*";o[i]=o[i]||{},o[i][s]=o[i][s]||{},o[i][s][n._svgjsListenerId]=r,u.addEventListener(i,r,e||!1)}))}function wt(t,i,n,s){const e=j(t),r=at(e),h=ft(e);("function"!=typeof n||(n=n._svgjsListenerId))&&(i=Array.isArray(i)?i:(i||"").split(X)).forEach((function(t){const i=t&&t.split(".")[0],o=t&&t.split(".")[1];let u,c;if(n)r[i]&&r[i][o||"*"]&&(h.removeEventListener(i,r[i][o||"*"][n],s||!1),delete r[i][o||"*"][n]);else if(i&&o){if(r[i]&&r[i][o]){for(c in r[i][o])wt(h,[i,o].join("."),c);delete r[i][o]}}else if(o)for(t in r)for(u in r[t])o===u&&wt(h,[t,o].join("."));else if(i){if(r[i]){for(u in r[i])wt(h,[i,u].join("."));delete r[i]}}else{for(t in r)wt(h,t);!function(t){let i=t.getEventHolder();i===v.window&&(i=lt),i.events&&(i.events={})}(e)}}))}class pt extends b{addEventListener(){}dispatch(t,i,n){return function(t,i,n,s){const e=ft(t);return i instanceof v.window.Event||(i=new v.window.CustomEvent(i,{detail:n,cancelable:!0,...s})),e.dispatchEvent(i),i}(this,t,i,n)}dispatchEvent(t){const i=this.getEventHolder().events;if(!i)return!0;const n=i[t.type];for(const i in n)for(const s in n[i])n[i][s](t);return!t.defaultPrevented}fire(t,i,n){return this.dispatch(t,i,n),this}getEventHolder(){return this}getEventTarget(){return this}off(t,i,n){return wt(this,t,i,n),this}on(t,i,n,s){return dt(this,t,i,n,s),this}removeEventListener(){}}function Ct(){}S(pt,"EventTarget");const gt={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class mt extends Array{constructor(...t){super(...t),this.init(...t)}clone(){return new this.constructor(this)}init(t){return"number"==typeof t||(this.length=0,this.push(...this.parse(t))),this}parse(t=[]){return t instanceof Array?t:t.trim().split(X).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];return t.push(...this),t}}class yt{constructor(...t){this.init(...t)}convert(t){return new yt(this.value,t)}divide(t){return t=new yt(t),new yt(this/t,this.unit||t.unit)}init(t,i){return i=Array.isArray(t)?t[1]:i,t=Array.isArray(t)?t[0]:t,this.value=0,this.unit=i||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"==typeof t?(i=t.match(B))&&(this.value=parseFloat(i[1]),"%"===i[5]?this.value/=100:"s"===i[5]&&(this.value*=1e3),this.unit=i[5]):t instanceof yt&&(this.value=t.valueOf(),this.unit=t.unit),this}minus(t){return t=new yt(t),new yt(this-t,this.unit||t.unit)}plus(t){return t=new yt(t),new yt(this+t,this.unit||t.unit)}times(t){return t=new yt(t),new yt(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const xt=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),vt=[];class bt extends pt{constructor(t,i){super(),this.node=t,this.type=t.nodeName,i&&t!==i&&this.attr(i)}add(t,i){return(t=j(t)).removeNamespace&&this.node instanceof v.window.SVGElement&&t.removeNamespace(),null==i?this.node.appendChild(t.node):t.node!==this.node.childNodes[i]&&this.node.insertBefore(t.node,this.node.childNodes[i]),this}addTo(t,i){return j(t).put(this,i)}children(){return new ht(l(this.node.children,(function(t){return O(t)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(t=!0,i=!0){this.writeDataToDom();let n=this.node.cloneNode(t);return i&&(n=H(n)),new this.constructor(n)}each(t,i){const n=this.children();let s,e;for(s=0,e=n.length;s<e;s++)t.apply(n[s],[s,n]),i&&n[s].each(t,i);return this}element(t,i){return this.put(new bt(_(t),i))}first(){return O(this.node.firstChild)}get(t){return O(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,i){return this.xml(t,i,"http://www.w3.org/1999/xhtml")}id(t){return void 0!==t||this.node.id||(this.node.id=T(this.type)),this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return O(this.node.lastChild)}matches(t){const i=this.node,n=i.matches||i.matchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||null;return n&&n.call(i,t)}parent(t){let i=this;if(!i.node.parentNode)return null;if(i=O(i.node.parentNode),!t)return i;do{if("string"==typeof t?i.matches(t):i instanceof t)return i}while(i=O(i.node.parentNode));return i}put(t,i){return t=j(t),this.add(t,i),t}putIn(t,i){return j(t).add(this,i)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(t){return this.node.removeChild(t.node),this}replace(t){return t=j(t),this.node.parentNode&&this.node.parentNode.replaceChild(t.node,this.node),t}round(t=2,i=null){const n=10**t,s=this.attr(i);for(const t in s)"number"==typeof s[t]&&(s[t]=Math.round(s[t]*n)/n);return this.attr(s),this}svg(t,i){return this.xml(t,i,m)}toString(){return this.id()}words(t){return this.node.textContent=t,this}wrap(t){const i=this.parent();if(!i)return this.addTo(t);const n=i.index(this);return i.put(t,n).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(t,i,n){if("boolean"==typeof t&&(n=i,i=t,t=null),null==t||"function"==typeof t){i=null==i||i,this.writeDataToDom();let n=this;if(null!=t){if(n=O(n.node.cloneNode(!0)),i){const i=t(n);if(n=i||n,!1===i)return""}n.each((function(){const i=t(this),n=i||this;!1===i?this.remove():i&&this!==n&&this.replace(n)}),!0)}return i?n.node.outerHTML:n.node.innerHTML}i=null!=i&&i;const s=_("wrapper",n),e=v.document.createDocumentFragment();s.innerHTML=t;for(let t=s.children.length;t--;)e.appendChild(s.firstElementChild);const r=this.parent();return i?this.replace(e)&&r:this.add(e)}}V(bt,{attr:function(t,i,n){if(null==t){t={},i=this.node.attributes;for(const n of i)t[n.nodeName]=G.test(n.nodeValue)?parseFloat(n.nodeValue):n.nodeValue;return t}if(t instanceof Array)return t.reduce(((t,i)=>(t[i]=this.attr(i),t)),{});if("object"==typeof t&&t.constructor===Object)for(i in t)this.attr(i,t[i]);else if(null===i)this.node.removeAttribute(t);else{if(null==i)return null==(i=this.node.getAttribute(t))?gt[t]:G.test(i)?parseFloat(i):i;"number"==typeof(i=vt.reduce(((i,n)=>n(t,i,this)),i))?i=new yt(i):xt.has(t)&&W.isColor(i)?i=new W(i):i.constructor===Array&&(i=new mt(i)),"leading"===t?this.leading&&this.leading(i):"string"==typeof n?this.node.setAttributeNS(n,t,i.toString()):this.node.setAttribute(t,i.toString()),!this.rebuild||"font-size"!==t&&"x"!==t||this.rebuild()}return this},find:function(t){return ut(t,this.node)},findOne:function(t){return O(this.node.querySelector(t))}}),S(bt,"Dom");class Mt extends bt{constructor(t,i){super(t,i),this.dom={},this.node.instance=this,(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}center(t,i){return this.cx(t).cy(i)}cx(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,i){return this.dx(t).dy(i)}dx(t=0){return this.x(new yt(t).plus(this.x()))}dy(t=0){return this.y(new yt(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,i){return this.x(t).y(i)}parents(t=this.root()){const i="string"==typeof t;i||(t=j(t));const n=new ht;let s=this;for(;(s=s.parent())&&s.node!==v.document&&"#document-fragment"!==s.nodeName&&(n.push(s),i||s.node!==t.node)&&(!i||!s.matches(t));)if(s.node===this.root().node)return null;return n}reference(t){if(!(t=this.attr(t)))return null;const i=(t+"").match(Z);return i?j(i[1]):null}root(){const t=this.parent(M[k]);return t&&t.root()}setData(t){return this.dom=t,this}size(t,i){const n=d(this,t,i);return this.width(new yt(n.width)).height(new yt(n.height))}width(t){return this.attr("width",t)}writeDataToDom(){return g(this,this.dom),super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}V(Mt,{bbox:function(){const t=rt(this,(t=>t.getBBox()),(t=>{try{const i=t.clone().addTo(nt().svg).show(),n=i.node.getBBox();return i.remove(),n}catch(i){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${i.toString()}`)}}));return new et(t)},rbox:function(t){const i=rt(this,(t=>t.getBoundingClientRect()),(t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)})),n=new et(i);return t?n.transform(t.screenCTM().inverseO()):n.addOffset()},inside:function(t,i){const n=this.bbox();return t>n.x&&i>n.y&&t<n.x+n.width&&i<n.y+n.height},point:function(t,i){return new K(t,i).transformO(this.screenCTM().inverseO())},ctm:function(){return new it(this.node.getCTM())},screenCTM:function(){try{if("function"==typeof this.isRoot&&!this.isRoot()){const t=this.rect(1,1),i=t.node.getScreenCTM();return t.remove(),new it(i)}return new it(this.node.getScreenCTM())}catch(t){return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new it}}}),S(Mt,"Element");const kt={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,i){return"color"===i?t:t+"-"+i}};["fill","stroke"].forEach((function(t){const i={};let n;i[t]=function(i){if(void 0===i)return this.attr(t);if("string"==typeof i||i instanceof W||W.isRgb(i)||i instanceof Mt)this.attr(t,i);else for(n=kt[t].length-1;n>=0;n--)null!=i[kt[t][n]]&&this.attr(kt.prefix(t,kt[t][n]),i[kt[t][n]]);return this},o(["Element","Runner"],i)})),o(["Element","Runner"],{matrix:function(t,i,n,s,e,r){return null==t?new it(this):this.attr("transform",new it(t,i,n,s,e,r))},rotate:function(t,i,n){return this.transform({rotate:t,ox:i,oy:n},!0)},skew:function(t,i,n,s){return this.transform(1===arguments.length||3===arguments.length?{skew:t,ox:i,oy:n}:{skew:[t,i],ox:n,oy:s},!0)},shear:function(t,i,n){return this.transform({shear:t,ox:i,oy:n},!0)},scale:function(t,i,n,s){return this.transform(1===arguments.length||3===arguments.length?{scale:t,ox:i,oy:n}:{scale:[t,i],ox:n,oy:s},!0)},translate:function(t,i){return this.transform({translate:[t,i]},!0)},relative:function(t,i){return this.transform({relative:[t,i]},!0)},flip:function(t="both",i="center"){return-1==="xybothtrue".indexOf(t)&&(i=t,t="both"),this.transform({flip:t,origin:i},!0)},opacity:function(t){return this.attr("opacity",t)}}),o("radius",{radius:function(t,i=t){return"radialGradient"===(this._element||this).type?this.attr("r",new yt(t)):this.rx(t).ry(i)}}),o("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new K(this.node.getPointAtLength(t))}}),o(["Element","Runner"],{font:function(t,i){if("object"==typeof t){for(i in t)this.font(i,t[i]);return this}return"leading"===t?this.leading(i):this.attr("anchor"===t?"text-anchor":"size"===t||"family"===t||"weight"===t||"stretch"===t||"variant"===t||"style"===t?"font-"+t:t,i)}}),o("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,i){return t[i]=function(t){return null===t?this.off(i):this.on(i,t),this},t}),{})),o("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split($).slice(0,-1).map((function(t){const i=t.trim().split("(");return[i[0],i[1].split(X).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,i){return"matrix"===i[0]?t.lmultiply(it.fromArray(i[1])):t[i[0]].apply(t,i[1])}),new it)},toParent:function(t,i){if(this===t)return this;if(C(this.node))return this.addTo(t,i);const n=this.screenCTM(),s=t.screenCTM().inverse();return this.addTo(t,i).untransform().transform(s.multiply(n)),this},toRoot:function(t){return this.toParent(this.root(),t)},transform:function(t,i){if(null==t||"string"==typeof t){const i=new it(this).decompose();return null==t?i:i[t]}it.isMatrixLike(t)||(t={...t,origin:w(t,this)});const n=new it(!0===i?this:i||!1).transform(t);return this.attr("transform",n)}});class _t extends Mt{flatten(){return this.each((function(){if(this instanceof _t)return this.flatten().ungroup()})),this}ungroup(t=this.parent(),i=t.index(this)){return i=-1===i?t.children().length:i,this.each((function(n,s){return s[s.length-n-1].toParent(t,i)})),this.remove()}}S(_t,"Container");class jt extends _t{constructor(t,i=t){super(A("defs",t),i)}flatten(){return this}ungroup(){return this}}S(jt,"Defs");class At extends Mt{}function Ot(t){return this.attr("rx",t)}function Lt(t){return this.attr("ry",t)}function St(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())}function Et(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())}function Tt(t){return this.attr("cx",t)}function Ht(t){return this.attr("cy",t)}function Vt(t){return null==t?2*this.rx():this.rx(new yt(t).divide(2))}function Dt(t){return null==t?2*this.ry():this.ry(new yt(t).divide(2))}S(At,"Shape");var Bt={__proto__:null,cx:Tt,cy:Ht,height:Dt,rx:Ot,ry:Lt,width:Vt,x:St,y:Et};class zt extends At{constructor(t,i=t){super(A("ellipse",t),i)}size(t,i){const n=d(this,t,i);return this.rx(new yt(n.width).divide(2)).ry(new yt(n.height).divide(2))}}V(zt,Bt),o("Container",{ellipse:D((function(t=0,i=t){return this.put(new zt).size(t,i).move(0,0)}))}),S(zt,"Ellipse");class Ft extends bt{constructor(t=v.document.createDocumentFragment()){super(t)}xml(t,i,n){if("boolean"==typeof t&&(n=i,i=t,t=null),null==t||"function"==typeof t){const t=new bt(_("wrapper",n));return t.add(this.node.cloneNode(!0)),t.xml(!1,n)}return super.xml(t,!1,n)}}function Zt(t,i){return this.attr("radialGradient"===(this._element||this).type?{fx:new yt(t),fy:new yt(i)}:{x1:new yt(t),y1:new yt(i)})}function $t(t,i){return this.attr("radialGradient"===(this._element||this).type?{cx:new yt(t),cy:new yt(i)}:{x2:new yt(t),y2:new yt(i)})}S(Ft,"Fragment");var Nt={__proto__:null,from:Zt,to:$t};class Pt extends _t{constructor(t,i){super(A(t+"Gradient","string"==typeof t?null:t),i)}attr(t,i,n){return"transform"===t&&(t="gradientTransform"),super.attr(t,i,n)}bbox(){return new et}targets(){return ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return"url(#"+this.id()+")"}}V(Pt,Nt),o({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:D((function(t,i){return this.put(new Pt(t)).update(i)}))}}),S(Pt,"Gradient");class It extends _t{constructor(t,i=t){super(A("pattern",t),i)}attr(t,i,n){return"transform"===t&&(t="patternTransform"),super.attr(t,i,n)}bbox(){return new et}targets(){return ut("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return"url(#"+this.id()+")"}}o({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:D((function(t,i,n){return this.put(new It).update(n).attr({x:0,y:0,width:t,height:i,patternUnits:"userSpaceOnUse"})}))}}),S(It,"Pattern");class Rt extends At{constructor(t,i=t){super(A("image",t),i)}load(t,i){if(!t)return this;const n=new v.window.Image;return dt(n,"load",(function(t){const s=this.parent(It);0===this.width()&&0===this.height()&&this.size(n.width,n.height),s instanceof It&&0===s.width()&&0===s.height()&&s.size(this.width(),this.height()),"function"==typeof i&&i.call(this,t)}),this),dt(n,"load error",(function(){wt(n)})),this.attr("href",n.src=t,x)}}vt.push((function(t,i,n){return"fill"!==t&&"stroke"!==t||Y.test(i)&&(i=n.root().defs().image(i)),i instanceof Rt&&(i=n.root().defs().pattern(0,0,(t=>{t.add(i)}))),i})),o({Container:{image:D((function(t,i){return this.put(new Rt).size(0,0).load(t,i)}))}}),S(Rt,"Image");class Gt extends mt{bbox(){let t=-1/0,i=-1/0,n=1/0,s=1/0;return this.forEach((function(e){t=Math.max(e[0],t),i=Math.max(e[1],i),n=Math.min(e[0],n),s=Math.min(e[1],s)})),new et(n,s,t-n,i-s)}move(t,i){const n=this.bbox();if(t-=n.x,i-=n.y,!isNaN(t)&&!isNaN(i))for(let n=this.length-1;n>=0;n--)this[n]=[this[n][0]+t,this[n][1]+i];return this}parse(t=[0,0]){const i=[];(t=t instanceof Array?Array.prototype.concat.apply([],t):t.trim().split(X).map(parseFloat)).length%2!=0&&t.pop();for(let n=0,s=t.length;n<s;n+=2)i.push([t[n],t[n+1]]);return i}size(t,i){let n;const s=this.bbox();for(n=this.length-1;n>=0;n--)s.width&&(this[n][0]=(this[n][0]-s.x)*t/s.width+s.x),s.height&&(this[n][1]=(this[n][1]-s.y)*i/s.height+s.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let i=0,n=this.length;i<n;i++)t.push(this[i].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){it.isMatrixLike(t)||(t=new it(t));for(let i=this.length;i--;){const[n,s]=this[i];this[i][0]=t.a*n+t.c*s+t.e,this[i][1]=t.b*n+t.d*s+t.f}return this}}var Yt={__proto__:null,MorphArray:Gt,height:function(t){const i=this.bbox();return null==t?i.height:this.size(i.width,t)},width:function(t){const i=this.bbox();return null==t?i.width:this.size(t,i.height)},x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}};class Xt extends At{constructor(t,i=t){super(A("line",t),i)}array(){return new Gt([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,i){return this.attr(this.array().move(t,i).toLine())}plot(t,i,n,s){return null==t?this.array():(t=void 0!==i?{x1:t,y1:i,x2:n,y2:s}:new Gt(t).toLine(),this.attr(t))}size(t,i){const n=d(this,t,i);return this.attr(this.array().size(n.width,n.height).toLine())}}V(Xt,Yt),o({Container:{line:D((function(...t){return Xt.prototype.plot.apply(this.put(new Xt),null!=t[0]?t:[0,0,0,0])}))}}),S(Xt,"Line");class Qt extends _t{constructor(t,i=t){super(A("marker",t),i)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,i){return this.attr("refX",t).attr("refY",i)}toString(){return"url(#"+this.id()+")"}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}width(t){return this.attr("markerWidth",t)}}function qt(t,i){return function(n){return null==n?this[t]:(this[t]=n,i&&i.call(this),this)}}o({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:D((function(t,i,n){return this.put(new Qt).size(t,i).ref(t/2,i/2).viewbox(0,0,t,i).attr("orient","auto").update(n)}))},marker:{marker(t,i,n,s){let e=["marker"];return"all"!==t&&e.push(t),e=e.join("-"),t=arguments[1]instanceof Qt?arguments[1]:this.defs().marker(i,n,s),this.attr(e,t)}}}),S(Qt,"Marker");const Jt={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)},bezier:function(t,i,n,s){return function(e){return e<0?t>0?i/t*e:n>0?s/n*e:0:e>1?n<1?(1-s)/(1-n)*e+(s-n)/(1-n):t<1?(1-i)/(1-t)*e+(i-t)/(1-t):1:3*e*(1-e)**2*i+3*e**2*(1-e)*s+e**3}},steps:function(t,i="end"){i=i.split("-").reverse()[0];let n=t;return"none"===i?--n:"both"===i&&++n,(s,e=!1)=>{let r=Math.floor(s*t);const h=s*r%1==0;return"start"!==i&&"both"!==i||++r,e&&h&&--r,s>=0&&r<0&&(r=0),s<=1&&r>n&&(r=n),r/n}}};class Ut{done(){return!1}}class Wt extends Ut{constructor(t=">"){super(),this.ease=Jt[t]||t}step(t,i,n){return"number"!=typeof t?n<1?t:i:t+(i-t)*this.ease(n)}}class Kt extends Ut{constructor(t){super(),this.stepper=t}done(t){return t.done}step(t,i,n,s){return this.stepper(t,i,n,s)}}function ti(){const t=(this._duration||500)/1e3,i=Math.PI,n=Math.log((this._overshoot||0)/100+1e-10),s=-n/Math.sqrt(i*i+n*n),e=3.9/(s*t);this.d=2*s*e,this.k=e*e}V(class extends Kt{constructor(t=500,i=0){super(),this.duration(t).overshoot(i)}step(t,i,n,s){if("string"==typeof t)return t;if(s.done=n===1/0,n===1/0)return i;if(0===n)return t;n>100&&(n=16);const e=s.velocity||0,r=-this.d*e-this.k*(t-i),h=t+e*(n/=1e3)+r*n*n/2;return s.velocity=e+r*n,s.done=Math.abs(i-h)+Math.abs(e)<.002,s.done?i:h}},{duration:qt("_duration",ti),overshoot:qt("_overshoot",ti)}),V(class extends Kt{constructor(t=.1,i=.01,n=0,s=1e3){super(),this.p(t).i(i).d(n).windup(s)}step(t,i,n,s){if("string"==typeof t)return t;if(s.done=n===1/0,n===1/0)return i;if(0===n)return t;const e=i-t;let r=(s.integral||0)+e*n;const h=(e-(s.error||0))/n,o=this._windup;return!1!==o&&(r=Math.max(-o,Math.min(r,o))),s.error=e,s.integral=r,s.done=Math.abs(e)<.001,s.done?i:t+(this.P*e+this.I*r+this.D*h)}},{windup:qt("_windup"),p:qt("P"),i:qt("I"),d:qt("D")});const ii={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},ni={M:function(t,i,n){return i.x=n.x=t[0],i.y=n.y=t[1],["M",i.x,i.y]},L:function(t,i){return i.x=t[0],i.y=t[1],["L",t[0],t[1]]},H:function(t,i){return i.x=t[0],["H",t[0]]},V:function(t,i){return i.y=t[0],["V",t[0]]},C:function(t,i){return i.x=t[4],i.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,i){return i.x=t[2],i.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,i){return i.x=t[2],i.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,i){return i.x=t[0],i.y=t[1],["T",t[0],t[1]]},Z:function(t,i,n){return i.x=n.x,i.y=n.y,["Z"]},A:function(t,i){return i.x=t[5],i.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},si="mlhvqtcsaz".split("");for(let t=0,i=si.length;t<i;++t)ni[si[t]]=function(t){return function(i,n,s){if("H"===t)i[0]=i[0]+n.x;else if("V"===t)i[0]=i[0]+n.y;else if("A"===t)i[5]=i[5]+n.x,i[6]=i[6]+n.y;else for(let t=0,s=i.length;t<s;++t)i[t]=i[t]+(t%2?n.y:n.x);return ni[t](i,n,s)}}(si[t].toUpperCase());function ei(t){return t.segment.length&&t.segment.length-1===ii[t.segment[0].toUpperCase()]}function ri(t,i){t.inNumber&&hi(t,!1);const n=Q.test(i);if(n)t.segment=[i];else{const i=t.lastCommand,n=i.toLowerCase();t.segment=["m"===n?i===n?"l":"L":i]}return t.inSegment=!0,t.lastCommand=t.segment[0],n}function hi(t,i){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number)),t.inNumber=i,t.number="",t.pointSeen=!1,t.hasExponent=!1,ei(t)&&oi(t)}function oi(t){t.inSegment=!1,t.absolute&&(t.segment=function(t){return ni[t.segment[0]](t.segment.slice(1),t.p,t.p0)}(t)),t.segments.push(t.segment)}function ui(t){if(!t.segment.length)return!1;const i="A"===t.segment[0].toUpperCase(),n=t.segment.length;return i&&(4===n||5===n)}function ci(t){return"E"===t.lastToken.toUpperCase()}const li=new Set([" ",",","\t","\n","\r","\f"]);class ai extends mt{bbox(){return nt().path.setAttribute("d",this.toString()),new et(nt.nodes.path.getBBox())}move(t,i){const n=this.bbox();if(t-=n.x,i-=n.y,!isNaN(t)&&!isNaN(i))for(let n,s=this.length-1;s>=0;s--)n=this[s][0],"M"===n||"L"===n||"T"===n?(this[s][1]+=t,this[s][2]+=i):"H"===n?this[s][1]+=t:"V"===n?this[s][1]+=i:"C"===n||"S"===n||"Q"===n?(this[s][1]+=t,this[s][2]+=i,this[s][3]+=t,this[s][4]+=i,"C"===n&&(this[s][5]+=t,this[s][6]+=i)):"A"===n&&(this[s][6]+=t,this[s][7]+=i);return this}parse(t="M0 0"){return Array.isArray(t)&&(t=Array.prototype.concat.apply([],t).toString()),function(t,i=!0){let n=0,s="";const e={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:i,p0:new K,p:new K};for(;e.lastToken=s,s=t.charAt(n++);)if(e.inSegment||!ri(e,s))if("."!==s)if(isNaN(parseInt(s)))if(li.has(s))e.inNumber&&hi(e,!1);else if("-"!==s&&"+"!==s)if("E"!==s.toUpperCase()){if(Q.test(s)){if(e.inNumber)hi(e,!1);else{if(!ei(e))throw new Error("parser Error");oi(e)}--n}}else e.number+=s,e.hasExponent=!0;else{if(e.inNumber&&!ci(e)){hi(e,!1),--n;continue}e.number+=s,e.inNumber=!0}else{if("0"===e.number||ui(e)){e.inNumber=!0,e.number=s,hi(e,!0);continue}e.inNumber=!0,e.number+=s}else{if(e.pointSeen||e.hasExponent){hi(e,!1),--n;continue}e.inNumber=!0,e.pointSeen=!0,e.number+=s}return e.inNumber&&hi(e,!1),e.inSegment&&ei(e)&&oi(e),e.segments}(t)}size(t,i){const n=this.bbox();let s,e;for(n.width=0===n.width?1:n.width,n.height=0===n.height?1:n.height,s=this.length-1;s>=0;s--)e=this[s][0],"M"===e||"L"===e||"T"===e?(this[s][1]=(this[s][1]-n.x)*t/n.width+n.x,this[s][2]=(this[s][2]-n.y)*i/n.height+n.y):"H"===e?this[s][1]=(this[s][1]-n.x)*t/n.width+n.x:"V"===e?this[s][1]=(this[s][1]-n.y)*i/n.height+n.y:"C"===e||"S"===e||"Q"===e?(this[s][1]=(this[s][1]-n.x)*t/n.width+n.x,this[s][2]=(this[s][2]-n.y)*i/n.height+n.y,this[s][3]=(this[s][3]-n.x)*t/n.width+n.x,this[s][4]=(this[s][4]-n.y)*i/n.height+n.y,"C"===e&&(this[s][5]=(this[s][5]-n.x)*t/n.width+n.x,this[s][6]=(this[s][6]-n.y)*i/n.height+n.y)):"A"===e&&(this[s][1]=this[s][1]*t/n.width,this[s][2]=this[s][2]*i/n.height,this[s][6]=(this[s][6]-n.x)*t/n.width+n.x,this[s][7]=(this[s][7]-n.y)*i/n.height+n.y);return this}toString(){return function(t){let i="";for(let n=0,s=t.length;n<s;n++)i+=t[n][0],null!=t[n][1]&&(i+=t[n][1],null!=t[n][2]&&(i+=" ",i+=t[n][2],null!=t[n][3]&&(i+=" ",i+=t[n][3],i+=" ",i+=t[n][4],null!=t[n][5]&&(i+=" ",i+=t[n][5],i+=" ",i+=t[n][6],null!=t[n][7]&&(i+=" ",i+=t[n][7])))));return i+" "}(this)}}const fi=t=>{const i=typeof t;return"number"===i?yt:"string"===i?W.isColor(t)?W:X.test(t)?Q.test(t)?ai:mt:B.test(t)?yt:wi:mi.indexOf(t.constructor)>-1?t.constructor:Array.isArray(t)?mt:"object"===i?gi:wi};class di{constructor(t){this._stepper=t||new Wt("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(t,i){return t&&i}),!0)}from(t){return null==t?this._from:(this._from=this._set(t),this)}stepper(t){return null==t?this._stepper:(this._stepper=t,this)}to(t){return null==t?this._to:(this._to=this._set(t),this)}type(t){return null==t?this._type:(this._type=t,this)}_set(t){this._type||this.type(fi(t));let i=new this._type(t);return this._type===W&&(i=this._to?i[this._to[4]]():this._from?i[this._from[4]]():i),this._type===gi&&(i=this._to?i.align(this._to):this._from?i.align(this._from):i),i=i.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(i.length)).map(Object).map((function(t){return t.done=!0,t})),i}}class wi{constructor(...t){this.init(...t)}init(t){return t=Array.isArray(t)?t[0]:t,this.value=t,this}toArray(){return[this.value]}valueOf(){return this.value}}class pi{constructor(...t){this.init(...t)}init(t){return Array.isArray(t)&&(t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}),Object.assign(this,pi.defaults,t),this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}pi.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Ci=(t,i)=>t[0]<i[0]?-1:t[0]>i[0]?1:0;class gi{constructor(...t){this.init(...t)}align(t){const i=this.values;for(let n=0,s=i.length;n<s;++n){if(i[n+1]===t[n+1]){if(i[n+1]===W&&t[n+7]!==i[n+7]){const i=t[n+7],s=new W(this.values.splice(n+3,5))[i]().toArray();this.values.splice(n+3,0,...s)}n+=i[n+2]+2;continue}if(!t[n+1])return this;const s=(new t[n+1]).toArray();i.splice(n,i[n+2]+3,t[n],t[n+1],t[n+2],...s),n+=i[n+2]+2}return this}init(t){if(this.values=[],Array.isArray(t))return void(this.values=t.slice());t=t||{};const i=[];for(const n in t){const s=fi(t[n]),e=new s(t[n]).toArray();i.push([n,s,e.length,...e])}return i.sort(Ci),this.values=i.reduce(((t,i)=>t.concat(i)),[]),this}toArray(){return this.values}valueOf(){const t={},i=this.values;for(;i.length;){const n=i.shift(),s=i.shift(),e=i.shift(),r=i.splice(0,e);t[n]=new s(r)}return t}}const mi=[wi,pi,gi];class yi extends At{constructor(t,i=t){super(A("path",t),i)}array(){return this._array||(this._array=new ai(this.attr("d")))}clear(){return delete this._array,this}height(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}move(t,i){return this.attr("d",this.array().move(t,i))}plot(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new ai(t))}size(t,i){const n=d(this,t,i);return this.attr("d",this.array().size(n.width,n.height))}width(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)}x(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}y(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}}yi.prototype.MorphArray=ai,o({Container:{path:D((function(t){return this.put(new yi).plot(t||new ai)}))}}),S(yi,"Path");var xi={__proto__:null,array:function(){return this._array||(this._array=new Gt(this.attr("points")))},clear:function(){return delete this._array,this},move:function(t,i){return this.attr("points",this.array().move(t,i))},plot:function(t){return null==t?this.array():this.clear().attr("points","string"==typeof t?t:this._array=new Gt(t))},size:function(t,i){const n=d(this,t,i);return this.attr("points",this.array().size(n.width,n.height))}};class vi extends At{constructor(t,i=t){super(A("polygon",t),i)}}o({Container:{polygon:D((function(t){return this.put(new vi).plot(t||new Gt)}))}}),V(vi,Yt),V(vi,xi),S(vi,"Polygon");class bi extends At{constructor(t,i=t){super(A("polyline",t),i)}}o({Container:{polyline:D((function(t){return this.put(new bi).plot(t||new Gt)}))}}),V(bi,Yt),V(bi,xi),S(bi,"Polyline");class Mi extends At{constructor(t,i=t){super(A("rect",t),i)}}V(Mi,{rx:Ot,ry:Lt}),o({Container:{rect:D((function(t,i){return this.put(new Mi).size(t,i)}))}}),S(Mi,"Rect");class ki{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const i=void 0!==t.next?t:{value:t,next:null,prev:null};return this._last?(i.prev=this._last,this._last.next=i,this._last=i):(this._last=i,this._first=i),i}remove(t){t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next),t.prev=null,t.next=null}shift(){const t=this._first;return t?(this._first=t.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,t.value):null}}const _i={nextDraw:null,frames:new ki,timeouts:new ki,immediates:new ki,timer:()=>v.window.performance||v.window.Date,transforms:[],frame(t){const i=_i.frames.push({run:t});return null===_i.nextDraw&&(_i.nextDraw=v.window.requestAnimationFrame(_i._draw)),i},timeout(t,i){i=i||0;const n=_i.timer().now()+i,s=_i.timeouts.push({run:t,time:n});return null===_i.nextDraw&&(_i.nextDraw=v.window.requestAnimationFrame(_i._draw)),s},immediate(t){const i=_i.immediates.push(t);return null===_i.nextDraw&&(_i.nextDraw=v.window.requestAnimationFrame(_i._draw)),i},cancelFrame(t){null!=t&&_i.frames.remove(t)},clearTimeout(t){null!=t&&_i.timeouts.remove(t)},cancelImmediate(t){null!=t&&_i.immediates.remove(t)},_draw(t){let i=null;const n=_i.timeouts.last();for(;(i=_i.timeouts.shift())&&(t>=i.time?i.run():_i.timeouts.push(i),i!==n););let s=null;const e=_i.frames.last();for(;s!==e&&(s=_i.frames.shift());)s.run(t);let r=null;for(;r=_i.immediates.shift();)r();_i.nextDraw=_i.timeouts.first()||_i.frames.first()?v.window.requestAnimationFrame(_i._draw):null}},ji=function(t){const i=t.start,n=t.runner.duration();return{start:i,duration:n,end:i+n,runner:t.runner}},Ai=function(){const t=v.window;return(t.performance||t.Date).now()};class Oi extends pt{constructor(t=Ai){super(),this._timeSource=t,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const t=this.getLastRunnerInfo(),i=t?t.runner.duration():0;return(t?t.start:this._time)+i}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){return this._paused=!0,this._continue()}persist(t){return null==t?this._persist:(this._persist=t,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(t){const i=this.speed();if(null==t)return this.speed(-i);const n=Math.abs(i);return this.speed(t?-n:n)}schedule(t,i,n){if(null==t)return this._runners.map(ji);let s=0;const e=this.getEndTime();if(i=i||0,null==n||"last"===n||"after"===n)s=e;else if("absolute"===n||"start"===n)s=i,i=0;else if("now"===n)s=this._time;else if("relative"===n){const n=this.getRunnerInfoById(t.id);n&&(s=n.start+i,i=0)}else{if("with-last"!==n)throw new Error('Invalid value for the "when" parameter');{const t=this.getLastRunnerInfo();s=t?t.start:this._time}}t.unschedule(),t.timeline(this);const r=t.persist(),h={persist:null===r?this._persist:r,start:s+i,runner:t};return this._lastRunnerId=t.id,this._runners.push(h),this._runners.sort(((t,i)=>t.start-i.start)),this._runnerIds=this._runners.map((t=>t.runner.id)),this.updateTime()._continue(),this}seek(t){return this.time(this._time+t)}source(t){return null==t?this._timeSource:(this._timeSource=t,this)}speed(t){return null==t?this._speed:(this._speed=t,this)}stop(){return this.time(0),this.pause()}time(t){return null==t?this._time:(this._time=t,this._continue(!0))}unschedule(t){const i=this._runnerIds.indexOf(t.id);return i<0||(this._runners.splice(i,1),this._runnerIds.splice(i,1),t.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(t=!1){return _i.cancelFrame(this._nextFrame),this._nextFrame=null,t?this._stepImmediate():(this._paused||(this._nextFrame=_i.frame(this._step)),this)}_stepFn(t=!1){const i=this._timeSource();let n=i-this._lastSourceTime;t&&(n=0);const s=this._speed*n+(this._time-this._lastStepTime);this._lastSourceTime=i,t||(this._time+=s,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let t=this._runners.length;t--;){const i=this._runners[t];this._time-i.start<=0&&i.runner.reset()}let e=!1;for(let t=0,i=this._runners.length;t<i;t++){const n=this._runners[t],r=n.runner;let h=s;const o=this._time-n.start;o<=0?e=!0:(o<h&&(h=o),r.active()&&(r.step(h).done?!0!==n.persist&&r.duration()-r.time()+this._time+n.persist<this._time&&(r.unschedule(),--t,--i):e=!0))}return e&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}o({Element:{timeline:function(t){return null==t?(this._timeline=this._timeline||new Oi,this._timeline):(this._timeline=t,this)}}});class Li extends pt{constructor(t){super(),this.id=Li.id++,t="function"==typeof(t=null==t?400:t)?new Kt(t):t,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"==typeof t&&t,this._isDeclarative=t instanceof Kt,this._stepper=this._isDeclarative?t:new Wt,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new it,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(t,i,n){let s=1,e=!1,r=0;return i=i??0,n=n||"last","object"!=typeof(t=t??400)||t instanceof Ut||(i=t.delay??i,n=t.when??n,e=t.swing||e,s=t.times??s,r=t.wait??r,t=t.duration??400),{duration:t,delay:i,swing:e,times:s,wait:r,when:n}}active(t){return null==t?this.enabled:(this.enabled=t,this)}addTransform(t){return this.transforms.lmultiplyO(t),this}after(t){return this.on("finished",t)}animate(t,i,n){const s=Li.sanitise(t,i,n),e=new Li(s.duration);return this._timeline&&e.timeline(this._timeline),this._element&&e.element(this._element),e.loop(s).schedule(s.delay,s.when)}clearTransform(){return this.transforms=new it,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((t=>!t.isTransform)))}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){return this._stepper=new Wt(t),this}element(t){return null==t?this._element:(this._element=t,t._prepareRunner(),this)}finish(){return this.step(1/0)}loop(t,i,n){return"object"==typeof t&&(i=t.swing,n=t.wait,t=t.times),this._times=t||1/0,this._swing=i||!1,this._wait=n||0,!0===this._times&&(this._times=1/0),this}loops(t){const i=this._duration+this._wait;if(null==t){const t=Math.floor(this._time/i);return Math.min(t+(this._time-t*i)/this._duration,this._times)}const n=Math.floor(t);return this.time(i*n+this._duration*(t%1))}persist(t){return null==t?this._persist:(this._persist=t,this)}position(t){const i=this._time,n=this._duration,s=this._wait,e=this._swing,r=this._reverse;let h;if(null==t){const t=function(t){const i=e*Math.floor(t%(2*(s+n))/(s+n)),h=i&&!r||!i&&r,o=Math.pow(-1,h)*(t%(s+n))/n+h;return Math.max(Math.min(o,1),0)},o=this._times*(s+n)-s;return h=i<=0?Math.round(t(1e-5)):i<o?t(i):Math.round(t(o-1e-5)),h}const o=Math.floor(this.loops()),u=e&&o%2==0;return h=o+(u&&!r||r&&u?t:1-t),this.loops(h)}progress(t){return null==t?Math.min(1,this._time/this.duration()):this.time(t*this.duration())}queue(t,i,n,s){return this._queue.push({initialiser:t||Ct,runner:i||Ct,retarget:n,isTransform:s,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(t){return this._reverse=null==t?!this._reverse:t,this}schedule(t,i,n){if(t instanceof Oi||(n=i,i=t,t=this.timeline()),!t)throw Error("Runner cannot be scheduled without timeline");return t.schedule(this,i,n),this}step(t){if(!this.enabled)return this;this._time+=t=null==t?16:t;const i=this.position(),n=this._lastPosition!==i&&this._time>=0;this._lastPosition=i;const s=this.duration(),e=this._lastTime<=0&&this._time>0,r=this._lastTime<s&&this._time>=s;this._lastTime=this._time,e&&this.fire("start",this);const h=this._isDeclarative;this.done=!h&&!r&&this._time>=s,this._reseted=!1;let o=!1;return(n||h)&&(this._initialise(n),this.transforms=new it,o=this._run(h?t:i),this.fire("step",this)),this.done=this.done||o&&h,r&&this.fire("finished",this),this}time(t){return null==t?this._time:(this.step(t-this._time),this)}timeline(t){return void 0===t?this._timeline:(this._timeline=t,this)}unschedule(){const t=this.timeline();return t&&t.unschedule(this),this}_initialise(t){if(t||this._isDeclarative)for(let i=0,n=this._queue.length;i<n;++i){const n=this._queue[i],s=this._isDeclarative||!n.initialised&&t;t=!n.finished,s&&t&&(n.initialiser.call(this),n.initialised=!0)}}_rememberMorpher(t,i){if(this._history[t]={morpher:i,caller:this._queue[this._queue.length-1]},this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let i=!0;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n],e=s.runner.call(this,t);s.finished=s.finished||!0===e,i=i&&s.finished}return i}_tryRetarget(t,i,n){if(this._history[t]){if(!this._history[t].caller.initialised){const i=this._queue.indexOf(this._history[t].caller);return this._queue.splice(i,1),!1}this._history[t].caller.retarget?this._history[t].caller.retarget.call(this,i,n):this._history[t].morpher.to(i),this._history[t].caller.finished=!1;const s=this.timeline();return s&&s.play(),!0}return!1}}Li.id=0;class Si{constructor(t=new it,i=-1,n=!0){this.transforms=t,this.id=i,this.done=n}clearTransformsFromQueue(){}}V([Li,Si],{mergeWith(t){return new Si(t.transforms.lmultiply(this.transforms),t.id)}});const Ei=(t,i)=>t.lmultiplyO(i),Ti=t=>t.transforms;function Hi(){const t=this._transformationRunners.runners.map(Ti).reduce(Ei,new it);this.transform(t),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class Vi{constructor(){this.runners=[],this.ids=[]}add(t){if(this.runners.includes(t))return;const i=t.id+1;return this.runners.push(t),this.ids.push(i),this}clearBefore(t){const i=this.ids.indexOf(t+1)||1;return this.ids.splice(0,i,0),this.runners.splice(0,i,new Si).forEach((t=>t.clearTransformsFromQueue())),this}edit(t,i){const n=this.ids.indexOf(t+1);return this.ids.splice(n,1,t+1),this.runners.splice(n,1,i),this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let i=0;i<this.runners.length;++i){const n=this.runners[i];if(!(t&&n.done&&t.done)||n._timeline&&n._timeline._runnerIds.includes(n.id)||t._timeline&&t._timeline._runnerIds.includes(t.id))t=n;else{this.remove(n.id);const s=n.mergeWith(t);this.edit(t.id,s),t=s,--i}}return this}remove(t){const i=this.ids.indexOf(t+1);return this.ids.splice(i,1),this.runners.splice(i,1),this}}o({Element:{animate(t,i,n){const s=Li.sanitise(t,i,n),e=this.timeline();return new Li(s.duration).loop(s).element(this).timeline(e.play()).schedule(s.delay,s.when)},delay(t,i){return this.animate(0,t,i)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((i=>i.id<=t.id)).map(Ti).reduce(Ei,new it)},_addRunner(t){this._transformationRunners.add(t),_i.cancelImmediate(this._frameId),this._frameId=_i.immediate(Hi.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=(new Vi).add(new Si(new it(this))))}}}),V(Li,{attr(t,i){return this.styleAttr("attr",t,i)},css(t,i){return this.styleAttr("css",t,i)},styleAttr(t,i,n){if("string"==typeof i)return this.styleAttr(t,{[i]:n});let s=i;if(this._tryRetarget(t,s))return this;let e=new di(this._stepper).to(s),r=Object.keys(s);return this.queue((function(){e=e.from(this.element()[t](r))}),(function(i){return this.element()[t](e.at(i).valueOf()),e.done()}),(function(i){const n=Object.keys(i),h=(o=r,n.filter((t=>!o.includes(t))));var o;if(h.length){const i=this.element()[t](h),n=new gi(e.from()).valueOf();Object.assign(n,i),e.from(n)}const u=new gi(e.to()).valueOf();Object.assign(u,i),e.to(u),r=n,s=i})),this._rememberMorpher(t,e),this},zoom(t,i){if(this._tryRetarget("zoom",t,i))return this;let n=new di(this._stepper).to(new yt(t));return this.queue((function(){n=n.from(this.element().zoom())}),(function(t){return this.element().zoom(n.at(t),i),n.done()}),(function(t,s){i=s,n.to(t)})),this._rememberMorpher("zoom",n),this},transform(t,i,n){if(i=t.relative||i,this._isDeclarative&&!i&&this._tryRetarget("transform",t))return this;const s=it.isMatrixLike(t);n=null!=t.affine?t.affine:null!=n?n:!s;const e=new di(this._stepper).type(n?pi:it);let r,h,o,u,c;return this.queue((function(){h=h||this.element(),r=r||w(t,h),c=new it(i?void 0:h),h._addRunner(this),i||h._clearTransformRunnersBefore(this)}),(function(l){i||this.clearTransform();const{x:a,y:f}=new K(r).transform(h._currentTransform(this));let d=new it({...t,origin:[a,f]}),w=this._isDeclarative&&o?o:c;if(n){d=d.decompose(a,f),w=w.decompose(a,f);const t=d.rotate,i=w.rotate,n=[t-360,t,t+360],s=n.map((t=>Math.abs(t-i))),e=Math.min(...s),r=s.indexOf(e);d.rotate=n[r]}i&&(s||(d.rotate=t.rotate||0),this._isDeclarative&&u&&(w.rotate=u)),e.from(w),e.to(d);const p=e.at(l);return u=p.rotate,o=new it(p),this.addTransform(o),h._addRunner(this),e.done()}),(function(i){(i.origin||"center").toString()!==(t.origin||"center").toString()&&(r=w(i,h)),t={...i,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",e),this},x(t){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},ax(t){return this._queueNumber("ax",t)},ay(t){return this._queueNumber("ay",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,i){return this.dx(t).dy(i)},_queueNumberDelta(t,i){if(i=new yt(i),this._tryRetarget(t,i))return this;const n=new di(this._stepper).to(i);let s=null;return this.queue((function(){s=this.element()[t](),n.from(s),n.to(s+i)}),(function(i){return this.element()[t](n.at(i)),n.done()}),(function(t){n.to(s+new yt(t))})),this._rememberMorpher(t,n),this},_queueObject(t,i){if(this._tryRetarget(t,i))return this;const n=new di(this._stepper).to(i);return this.queue((function(){n.from(this.element()[t]())}),(function(i){return this.element()[t](n.at(i)),n.done()})),this._rememberMorpher(t,n),this},_queueNumber(t,i){return this._queueObject(t,new yt(i))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,i){return this.x(t).y(i)},amove(t,i){return this.ax(t).ay(i)},center(t,i){return this.cx(t).cy(i)},size(t,i){let n;return t&&i||(n=this._element.bbox()),t||(t=n.width/n.height*i),i||(i=n.height/n.width*t),this.width(t).height(i)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,i,n,s){if(4===arguments.length)return this.plot([t,i,n,s]);if(this._tryRetarget("plot",t))return this;const e=new di(this._stepper).type(this._element.MorphArray).to(t);return this.queue((function(){e.from(this._element.array())}),(function(t){return this._element.plot(e.at(t)),e.done()})),this._rememberMorpher("plot",e),this},leading(t){return this._queueNumber("leading",t)},viewbox(t,i,n,s){return this._queueObject("viewbox",new et(t,i,n,s))},update(t){return"object"!=typeof t?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset),this)}}),V(Li,{rx:Ot,ry:Lt,from:Zt,to:$t}),S(Li,"Runner");class Di extends _t{constructor(t,i=t){super(A("svg",t),i),this.namespace()}defs(){return this.isRoot()?O(this.node.querySelector("defs"))||this.put(new jt):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof v.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:m,version:"1.1"}).attr("xmlns:xlink",x,y):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,y).attr("xmlns:svgjs",null,y)}root(){return this.isRoot()?this:super.root()}}o({Container:{nested:D((function(){return this.put(new Di)}))}}),S(Di,"Svg",!0);class Bi extends _t{constructor(t,i=t){super(A("symbol",t),i)}}o({Container:{symbol:D((function(){return this.put(new Bi)}))}}),S(Bi,"Symbol");var zi={__proto__:null,amove:function(t,i){return this.ax(t).ay(i)},ax:function(t){return this.attr("x",t)},ay:function(t){return this.attr("y",t)},build:function(t){return this._build=!!t,this},center:function(t,i,n=this.bbox()){return this.cx(t,n).cy(i,n)},cx:function(t,i=this.bbox()){return null==t?i.cx:this.attr("x",this.attr("x")+t-i.cx)},cy:function(t,i=this.bbox()){return null==t?i.cy:this.attr("y",this.attr("y")+t-i.cy)},length:function(){return this.node.getComputedTextLength()},move:function(t,i,n=this.bbox()){return this.x(t,n).y(i,n)},plain:function(t){return!1===this._build&&this.clear(),this.node.appendChild(v.document.createTextNode(t)),this},x:function(t,i=this.bbox()){return null==t?i.x:this.attr("x",this.attr("x")+t-i.x)},y:function(t,i=this.bbox()){return null==t?i.y:this.attr("y",this.attr("y")+t-i.y)}};class Fi extends At{constructor(t,i=t){super(A("text",t),i),this.dom.leading=this.dom.leading??new yt(1.3),this._rebuild=!0,this._build=!1}leading(t){return null==t?this.dom.leading:(this.dom.leading=new yt(t),this.rebuild())}rebuild(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){const t=this;let i=0;const n=this.dom.leading;this.each((function(s){if(C(this.node))return;const e=v.window.getComputedStyle(this.node).getPropertyValue("font-size"),r=n*new yt(e);this.dom.newLined&&(this.attr("x",t.attr("x")),"\n"===this.text()?i+=r:(this.attr("dy",s?r+i:0),i=0))})),this.fire("rebuild")}return this}setData(t){return this.dom=t,this.dom.leading=new yt(t.leading||1.3),this}writeDataToDom(){return g(this,this.dom,{leading:1.3}),this}text(t){if(void 0===t){const i=this.node.childNodes;let n=0;t="";for(let s=0,e=i.length;s<e;++s)"textPath"===i[s].nodeName||C(i[s])?0===s&&(n=s+1):(s!==n&&3!==i[s].nodeType&&!0===O(i[s]).dom.newLined&&(t+="\n"),t+=i[s].textContent);return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else for(let i=0,n=(t=(t+"").split("\n")).length;i<n;i++)this.newLine(t[i]);return this.build(!1).rebuild()}}V(Fi,zi),o({Container:{text:D((function(t=""){return this.put(new Fi).text(t)})),plain:D((function(t=""){return this.put(new Fi).plain(t)}))}}),S(Fi,"Text");class Zi extends At{constructor(t,i=t){super(A("tspan",t),i),this._build=!1}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=!0;const t=this.parent();if(!(t instanceof Fi))return this;const i=t.index(this),n=v.window.getComputedStyle(this.node).getPropertyValue("font-size"),s=t.dom.leading*new yt(n);return this.dy(i?s:0).attr("x",t.x())}text(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?(this.clear().build(!0),t.call(this,this),this.build(!1)):this.plain(t),this)}}V(Zi,zi),o({Tspan:{tspan:D((function(t=""){const i=new Zi;return this._build||this.clear(),this.put(i).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}}),S(Zi,"Tspan");class $i extends At{constructor(t,i=t){super(A("circle",t),i)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new yt(t).divide(2))}}V($i,{x:St,y:Et,cx:Tt,cy:Ht,width:Vt,height:Dt}),o({Container:{circle:D((function(t=0){return this.put(new $i).size(t).move(0,0)}))}}),S($i,"Circle");class Ni extends _t{constructor(t,i=t){super(A("clipPath",t),i)}remove(){return this.targets().forEach((function(t){t.unclip()})),super.remove()}targets(){return ut("svg [clip-path*="+this.id()+"]")}}o({Container:{clip:D((function(){return this.defs().put(new Ni)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const i=t instanceof Ni?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+i.id()+")")},unclip(){return this.attr("clip-path",null)}}}),S(Ni,"ClipPath");class Pi extends Mt{constructor(t,i=t){super(A("foreignObject",t),i)}}o({Container:{foreignObject:D((function(t,i){return this.put(new Pi).size(t,i)}))}}),S(Pi,"ForeignObject");var Ii={__proto__:null,dmove:function(t,i){return this.children().forEach((n=>{let s;try{s=n.node instanceof v.window.SVGSVGElement?new et(n.attr(["x","y","width","height"])):n.bbox()}catch(t){return}const e=new it(n),r=e.translate(t,i).transform(e.inverse()),h=new K(s.x,s.y).transform(r);n.move(h.x,h.y)})),this},dx:function(t){return this.dmove(t,0)},dy:function(t){return this.dmove(0,t)},height:function(t,i=this.bbox()){return null==t?i.height:this.size(i.width,t,i)},move:function(t=0,i=0,n=this.bbox()){return this.dmove(t-n.x,i-n.y)},size:function(t,i,n=this.bbox()){const s=d(this,t,i,n),e=s.width/n.width,r=s.height/n.height;return this.children().forEach((t=>{const i=new K(n).transform(new it(t).inverse());t.scale(e,r,i.x,i.y)})),this},width:function(t,i=this.bbox()){return null==t?i.width:this.size(t,i.height,i)},x:function(t,i=this.bbox()){return null==t?i.x:this.move(t,i.y,i)},y:function(t,i=this.bbox()){return null==t?i.y:this.move(i.x,t,i)}};class Ri extends _t{constructor(t,i=t){super(A("g",t),i)}}V(Ri,Ii),o({Container:{group:D((function(){return this.put(new Ri)}))}}),S(Ri,"G");class Gi extends _t{constructor(t,i=t){super(A("a",t),i)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,x)}}V(Gi,Ii),o({Container:{link:D((function(t){return this.put(new Gi).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const i=t.parent();if(!i)return this.remove();const n=i.index(t);return i.add(this,n),t.remove(),this},linkTo(t){let i=this.linker();return i||(i=new Gi,this.wrap(i)),"function"==typeof t?t.call(i,i):i.to(t),this},linker(){const t=this.parent();return t&&"a"===t.node.nodeName.toLowerCase()?t:null}}}),S(Gi,"A");class Yi extends _t{constructor(t,i=t){super(A("mask",t),i)}remove(){return this.targets().forEach((function(t){t.unmask()})),super.remove()}targets(){return ut("svg [mask*="+this.id()+"]")}}o({Container:{mask:D((function(){return this.defs().put(new Yi)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const i=t instanceof Yi?t:this.parent().mask().add(t);return this.attr("mask","url(#"+i.id()+")")},unmask(){return this.attr("mask",null)}}}),S(Yi,"Mask");class Xi extends Mt{constructor(t,i=t){super(A("stop",t),i)}update(t){return("number"==typeof t||t instanceof yt)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new yt(t.offset)),this}}o({Gradient:{stop:function(t,i,n){return this.put(new Xi).update(t,i,n)}}}),S(Xi,"Stop");class Qi extends Mt{constructor(t,i=t){super(A("style",t),i)}addText(t=""){return this.node.textContent+=t,this}font(t,i,n={}){return this.rule("@font-face",{fontFamily:t,src:i,...n})}rule(t,i){return this.addText(function(t,i){if(!t)return"";if(!i)return t;let n=t+"{";for(const t in i)n+=t.replace(/([A-Z])/g,(function(t,i){return"-"+i.toLowerCase()}))+":"+i[t]+";";return n+="}",n}(t,i))}}o("Dom",{style(t,i){return this.put(new Qi).rule(t,i)},fontface(t,i,n){return this.put(new Qi).font(t,i,n)}}),S(Qi,"Style");class qi extends Fi{constructor(t,i=t){super(A("textPath",t),i)}array(){const t=this.track();return t?t.array():null}plot(t){const i=this.track();let n=null;return i&&(n=i.plot(t)),null==t?n:this}track(){return this.reference("href")}}o({Container:{textPath:D((function(t,i){return t instanceof Fi||(t=this.text(t)),t.path(i)}))},Text:{path:D((function(t,i=!0){const n=new qi;let s;if(t instanceof yi||(t=this.defs().path(t)),n.attr("href","#"+t,x),i)for(;s=this.node.firstChild;)n.node.appendChild(s);return this.put(n)})),textPath(){return this.findOne("textPath")}},Path:{text:D((function(t){return t instanceof Fi||(t=(new Fi).addTo(this.parent()).text(t)),t.path(this)})),targets(){return ut("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}}),qi.prototype.MorphArray=ai,S(qi,"TextPath");class Ji extends At{constructor(t,i=t){super(A("use",t),i)}use(t,i){return this.attr("href",(i||"")+"#"+t,x)}}o({Container:{use:D((function(t,i){return this.put(new Ji).use(t,i)}))}}),S(Ji,"Use");const Ui=j;function Wi(){let t,i={entities:[]},n=[];function s(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function e(t,i){const n=t.entity.attr("width"),s=t.entity.attr("x");switch(i){case"top":case"bottom":return s+n/2;default:return s-n/2}}function r(t,i){const n=t.entity.attr("height"),s=t.entity.attr("y");switch(i){case"top":default:return s;case"bottom":return s+n}}function h(){t.entities.forEach((t=>t.remove())),t.entities=[],n=[],i.labels||(i.labels=[]),i.labels=i.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"}))),i.entities.map((t=>{t.type=t.type?t.type:"entity","operation"===t.type&&(t.height=t.width)})),i.labels&&i.labels.length>0&&i.labels.forEach((i=>{t.labels.text(i.value).x(i.x).y(i.y)})),i.entities.forEach((i=>function(t,i){const n=t.group().attr({id:i.id});t.entities.push(n),i.background_color=i.background_color?i.background_color:"#f06",i.color=i.color?i.color:"#ffffff",i.radius=i.radius?i.radius:0,n.entity=n.rect(i.width,i.height).cx(i.width/2).cy(i.height/2).attr({fill:"#ffffff",stroke:i.color,"stroke-width":2}).radius(i.radius),i.class&&n.entity.attr("class",i.class),n.plain(i.text).cx(14).cy(i.height/2+6).attr({fill:i.color}),n.move(i.x,i.y)}(t,i))),n=i.lines,function(t,i){i.forEach((i=>function(t,i){let n="";const h=i.color||"#4c56cb",o=t.findOne("#"+i.from.element),u=t.findOne("#"+i.to.element),c=function(t,i,n){const h=[],o=r(i,t.from.point),u=r(n,t.to.point),c=e(i,t.from.point),l=e(n,t.to.point),a=s(t.from.point)-s(t.to.point);return 0===a&&("top"===t.from.point?o<=u?(h.push({x:c,y:o-20}),h.push({x:l,y:o-20})):(h.push({x:c,y:u-20}),h.push({x:l,y:u-20})):"bottom"===t.from.point?o<=u?(h.push({x:c,y:u+20}),h.push({x:l,y:u+20})):(h.push({x:c,y:o+20}),h.push({x:l,y:o+20})):c<=l?(h.push({x:l+20,y:o}),h.push({x:l+20,y:u})):(h.push({x:c+20,y:o}),h.push({x:c+20,y:u}))),2!==a&&-2!==a||c!==l&&(h.push({x:c,y:u+(o-u)/2}),h.push({x:l,y:u+(o-u)/2})),1!==a&&-1!==a&&3!==a&&-3!==a||("top"===t.from.point&&(o<u+20?(h.push({x:c,y:o-20}),h.push({x:l+20,y:o-20}),h.push({x:l+20,y:u})):h.push({x:c,y:u})),"bottom"===t.from.point&&(o>u-20?(h.push({x:c,y:o+20}),h.push({x:l+20,y:o+20}),h.push({x:l+20,y:u})):h.push({x:c,y:u}))),h}(i,o,u);n+=e(o,i.from.point)+","+r(o,i.from.point)+" ",c.forEach((t=>n+=t.x+","+t.y+" ")),n+=e(u,i.to.point)+","+r(u,i.to.point)+" ",i.polyline?i.polyline.plot(n):i.polyline=t.lines.polyline(n).fill("none").stroke({color:h,width:2,linecap:"round",linejoin:"round"}).attr("id",i.id)}(t,i)))}(t,n)}return{initalize:function(i,n,s){t=Ui().addTo(i).size(n,s),t.entities=[],t.lines=t.group(),t.labels=t.group()},update:function(t){i=t,h()}}}V([Di,Bi,Rt,It,Qt],u("viewbox")),V([Xt,bi,vi,yi],u("marker")),V(Fi,u("Text")),V(yi,u("Path")),V(jt,u("Defs")),V([Fi,Zi],u("Tspan")),V([Mi,zt,Pt,Li],u("radius")),V(pt,u("EventTarget")),V(bt,u("Dom")),V(Mt,u("Element")),V(At,u("Shape")),V([_t,Ft],u("Container")),V(Pt,u("Gradient")),V(Li,u("Runner")),ht.extend([...new Set(h)]),function(t=[]){mi.push(...[].concat(t))}([yt,W,et,it,mt,Gt,ai,K]),V(mi,{to(t){return(new di).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){return this.init(t),this},toConsumable(){return this.toArray()},morph(t,i,n,s,e){return this.fromArray(t.map((function(t,r){return s.step(t,i[r],n,e[r],e)})))}});const Ki=class{constructor(i){t(this,i),this.recipientStatusIcons=[],this.size="normal",this.theme="light",this.status=void 0,this.envelope=void 0,this.isOpen=void 0,this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`}componentDidLoad(){var t;if(this.popper=e(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]}),null===(t=this.envelope)||void 0===t?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((i=>{const n=i.sequence-1;t[n]||(t[n]=[]);const s=`r-${n}-${t[n].length}`;t[n].push({...i,id:s})}));const i=Object.keys(t).length,n=40*i+40*(i+1);let e=0;Object.values(t).forEach((t=>{let i=140*t.length+40*(t.length+1);i>e&&(e=i)}));const r=[],h=[],o=[];let u=40;Object.entries(t).forEach((([i,n])=>{const c=20+(e-180*n.length)/2;n.forEach(((n,e)=>{var l;const a=s(n),f={id:n.id,text:a,icon:this.getStatusIcon(n.status),x:180*e+c,y:u,width:140,height:40,color:this.getStatusColor(n.status),radius:8};r.push(f),o.push({icon:this.getStatusIcon(n.status),x:180*e+c+108,y:u+20-13}),null===(l=t[+i-1])||void 0===l||l.forEach((t=>{const i={id:`line-${t.id}-${f.id}`,from:{element:t.id,point:"bottom"},to:{element:f.id,point:"top"},color:this.getStatusColor(n.status)};h.push(i)}))})),u+=80})),this.recipientStatusIcons=o;const c=Wi();c.initalize(`#${this.containerId}`,e,n),c.update({entities:r,lines:h})}}showDropdown(){var t,i;this.isOpen=!0,this.detailPanel.setAttribute("data-show",""),this.detailPanel.removeAttribute("aria-hidden"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),null===(i=this.popper)||void 0===i||i.update()}handleHideDropdown(t){var i,n;"button"===(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.localName)&&"arrow"===(null===(n=null==t?void 0:t.target)||void 0===n?void 0:n.className)||this.hide()}toggleDropdown(){this.isOpen?this.hide():this.showDropdown()}hide(){var t;this.isOpen=!1,this.detailPanel.removeAttribute("data-show"),this.detailPanel.setAttribute("aria-hidden","true"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>';case"complete":case"submitted":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>';case"in progress":case"invited":return"light"===this.theme?'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>':'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';case"canceled":return'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>';case"declined":return"light"===this.theme?'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>':'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>';case"opened":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>';case"signed":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>';case"some-signed":return"light"===this.theme?'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>':'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';default:return"light"===this.theme?'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>':'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";case"pending":return"Pending";default:return t}}render(){var t,s;let e=this.status||(null===(t=this.envelope)||void 0===t?void 0:t.status)||"pending";if(!this.status&&(null===(s=this.envelope)||void 0===s?void 0:s.recipients)){const t=this.envelope.recipients.filter((t=>"submitted"===t.status));t.length>0&&t.length!==this.envelope.recipients.length&&(e="some-signed")}const r=this.getStatusIcon(e),h=this.getStatusMessage(e);return i(n,{key:"be375ccdc720fedd0cba1427888a7ee73ef0bbcc",ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.envelope?"has-document":""}`,"aria-label":"Click to View Details",onClick:t=>{t.stopPropagation(),t.preventDefault(),this.envelope&&this.toggleDropdown()},onBlur:t=>this.envelope&&this.handleHideDropdown(t)},i("span",{key:"48857f123ba352d9e1e544ee74179bb082fa41dd",class:"icon",innerHTML:r}),i("span",{key:"c08378b893e264fa86e62fa0462180e407999a8d",class:"content"},h),i("div",{key:"648501cd3b785a4132c39a5a652955a063f7b8a0",class:"detail-panel",ref:t=>this.detailPanel=t},i("div",{key:"a55f6ba2d3bd49004f00e7264f27253be8d87aaa",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>i("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};Ki.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}';export{Ki as verdocs_status_indicator}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,c as t,h as s}from"./p-b9654a5e.js";import{VerdocsEndpoint as i,createProfile as o,verifyEmail as a,authenticate as r,getMyUser as l,resendVerification as n,resetPassword as d}from"@verdocs/js-sdk";import{V as c}from"./p-04c07b7b.js";import{S as h}from"./p-fd97809c.js";const u=class{constructor(s){e(this,s),this.authenticated=t(this,"authenticated",7),this.sdkError=t(this,"sdkError",7),this.resendDisabledTimer=null,this.tempAuthEndpoint=new i({baseURL:i.getDefault().getBaseURL(),persist:!1}),this.endpoint=i.getDefault(),this.visible=!0,this.logo="https://app.verdocs.com/assets/blue-logo.svg",this.displayMode="login",this.org_name="",this.first_name="",this.last_name="",this.email="",this.verificationCode="",this.newPassword="",this.password="",this.confirmpass="",this.submitting=!1,this.resendDisabled=!1,this.session=null,this.profile=null}componentWillLoad(){this.endpoint.loadSession(),i.getDefault().onSessionChanged(((e,t,s)=>{var i,o;this.session=t,this.profile=s,t?null===(i=this.authenticated)||void 0===i||i.emit({authenticated:!0,session:t,profile:s}):null===(o=this.authenticated)||void 0===o||o.emit({authenticated:!1,session:t,profile:s})}))}isPasswordComplex(e){const t=e=>/[A-Z]/.test(e),s=e=>/[a-z]/.test(e),i=e=>/[`!@#$%^&*()_\-+=\[\]{};':"\\|,.<>\/?~ ]/.test(e);let o=0,a=0,r=0;for(let l=0;l<e.length;l++){let n=e.charAt(l);t(n)?o++:s(n)?a++:i(n)&&r++}return e.length>=8&&a>0&&o>0&&r>0}handleSignup(){this.isPasswordComplex(this.password)?this.password===this.confirmpass?(this.submitting=!0,this.tempAuthEndpoint.clearSession(),o(this.tempAuthEndpoint,{email:this.email,password:this.password,first_name:this.first_name,last_name:this.last_name,org_name:this.org_name}).then((e=>{console.log("[AUTH] Profile creation result",e),this.tempAuthEndpoint.setToken(e.access_token),this.password="",this.first_name="",this.last_name="",this.org_name="",this.displayMode="verify",this.submitting=!1})).catch((e=>{var t,s,i,o,a,r;console.log("[AUTH] Signup error",e.response),this.submitting=!1,null===(t=this.authenticated)||void 0===t||t.emit({authenticated:!1,profile:null,session:null}),null===(s=this.sdkError)||void 0===s||s.emit(new h(e.message,null===(i=e.response)||void 0===i?void 0:i.status,null===(o=e.response)||void 0===o?void 0:o.data)),c("Signup failed: "+(null===(r=null===(a=e.response)||void 0===a?void 0:a.data)||void 0===r?void 0:r.error)||"Unknown Error",{style:"error"})}))):c("Passwords do not match.",{style:"error"}):c("Password must be at least 8 characters long and contain at least one uppercase, one lowercase, and one special character.",{style:"error"})}async handleVerification(){this.submitting=!0;try{this.submitting=!1;const e=await a(this.tempAuthEndpoint,{email:this.email,token:this.verificationCode});c("Thank you for verifying your email address.",{style:"success"}),this.completeLogin(e)}catch(e){this.submitting=!1,console.log("Verification error",e),c("Verification error, please check the code and try again.")}}completeLogin(e){this.clearForms(),this.tempAuthEndpoint.clearSession(),this.endpoint.setToken(e.access_token)}async loginAndCheckVerification(){var e;if(!this.submitting){this.submitting=!0,this.tempAuthEndpoint.clearSession();try{this.submitting=!1;const e=await r(this.tempAuthEndpoint,{username:this.email,password:this.password,grant_type:"password"});console.log("[AUTH] Authenticated, checking email verification"),this.tempAuthEndpoint.setToken(e.access_token);const t=await l(this.tempAuthEndpoint);console.log("Got user",t),t.email_verified?(console.log("[AUTH] Email address is verified, completing login"),this.completeLogin(e)):(console.log("[AUTH] Logged in, pending email address verification"),this.displayMode="verify")}catch(t){this.submitting=!1,console.log("[AUTH] Auth failure",(null===(e=t.response)||void 0===e?void 0:e.data)||t),c("Login failed. Please check your credentials and try again.",{style:"error"})}}}clearForms(){this.submitting=!1,this.resendDisabled=!1,this.email="",this.password="",this.newPassword="",this.confirmpass="",this.verificationCode="",this.first_name="",this.last_name="",this.org_name=""}handleLogout(){console.log("logging out"),this.endpoint.clearSession(),this.tempAuthEndpoint.clearSession(),this.clearForms(),this.displayMode="login"}handleResendVerification(){this.resendDisabled=!0,this.resendDisabledTimer=setTimeout((()=>{this.resendDisabled=!1,this.resendDisabledTimer=null}),3e4),n(this.tempAuthEndpoint).then((e=>{console.log("[AUTH] Verification request resent",e),c("Please check your email for a verification code.",{style:"info"})})).catch((e=>{console.log("[AUTH] Unable to resend verification",e),c("Unable to resend code. Please try again later.",{style:"error"})}))}handleResendReset(){this.resendDisabled=!0,this.resendDisabledTimer=setTimeout((()=>{this.resendDisabled=!1,this.resendDisabledTimer=null}),3e4),d(this.tempAuthEndpoint,{email:this.email}).then((e=>{console.log("[AUTH] Resend-code request resent",e),c("Please check your email again for a verification code.",{style:"info"})})).catch((e=>{console.log("[AUTH] Unable to resend reset request",e),c("Unable to resend code. Please try again later.",{style:"error"})}))}async handleResetGetCode(){this.submitting=!0,this.confirmpass="",this.newPassword="";try{this.submitting=!1;const e=await d(this.endpoint,{email:this.email});console.log("[AUTH] Reset result",e),c("Please check your email inbox for a password reset code.",{style:"success"}),this.verificationCode="",this.confirmpass="",this.newPassword="",this.displayMode="reset"}catch(e){this.submitting=!1,console.log("Reset request error",e),c("Request failed. Please check your email address and try again.")}}async handleResetPassword(){if(this.isPasswordComplex(this.newPassword))if(this.newPassword===this.confirmpass){this.submitting=!0;try{this.submitting=!1;const e=await d(this.endpoint,{email:this.email,code:this.verificationCode,new_password:this.newPassword});console.log("reset result",e),c("Your password has been reset. You may now use your new password to login.",{style:"success"}),this.verificationCode="",this.confirmpass="",this.newPassword="",this.password="",this.displayMode="login"}catch(e){this.submitting=!1,console.log("Verification error",e),c("Verification error, please check the code and try again.")}}else c("Passwords do not match.",{style:"error"});else c("Password must be at least 8 characters long and contain at least one uppercase, one lowercase, and one special character.",{style:"error"})}async handleReset(){this.submitting=!0;try{const e=await d(this.endpoint,{email:this.email});console.log("[AUTH] Reset sent",e),this.submitting=!1,this.displayMode="login",c("If your email address is registered, you will receive instructions on resetting your password shortly.",{style:"info"})}catch(e){console.log("[AUTH] Unable to reset password",e),this.submitting=!1,c("Unable to reset password. Please check your email address and try again.",{style:"error"})}}render(){if(!this.visible)return s("div",{style:{display:"none"}},"Authenticated");if(this.session)return s("verdocs-button",{label:"Sign Out",disabled:this.submitting,onClick:()=>this.handleLogout(),style:{display:"flex",justifyContent:"center",margin:"30px auto 0"}});if("signup"===this.displayMode){const e=this.submitting||!this.first_name||!this.last_name||!this.email||!this.password||!this.confirmpass||!this.org_name;return s("div",{class:"form"},s("a",{href:"https://verdocs.com/en/"},s("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"})),s("h3",null,"Sign up for a free account"),s("div",{class:"already-have"},"Already have an account?",s("verdocs-button",{label:"Log In",variant:"text",onClick:()=>this.displayMode="login",disabled:this.submitting})),s("form",{onSubmit:()=>this.handleSignup()},s("div",{style:{display:"flex",flexDirection:"row",columnGap:"20px"}},s("verdocs-text-input",{label:"First Name",autocomplete:"first",required:!0,value:this.first_name,onInput:e=>this.first_name=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Last Name",autocomplete:"last",required:!0,value:this.last_name,onInput:e=>this.last_name=e.target.value,disabled:this.submitting})),s("verdocs-text-input",{label:"Email Address",autocomplete:"email",required:!0,value:this.email,onInput:e=>this.email=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Password",type:"password",required:!0,autocomplete:"new-password",value:this.password,onInput:e=>this.password=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Confirm Password",type:"password",required:!0,autocomplete:"off",value:this.confirmpass,onInput:e=>this.confirmpass=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Organization Name",autocomplete:"org",required:!0,value:this.org_name,onInput:e=>this.org_name=e.target.value,disabled:this.submitting,style:{flex:"1"}}),s("div",{style:{marginTop:"30px"}}),s("verdocs-button",{label:"Next",disabled:e,onClick:e?()=>{}:()=>this.handleSignup(),style:{display:"flex",justifyContent:"center",margin:"30px auto 0"}})))}return"verify"===this.displayMode?s("div",{class:"form"},s("form",{onSubmit:()=>this.handleVerification()},s("p",null,"Please check your e-mail inbox for a verification code and enter it below."),s("verdocs-text-input",{label:"Verification Code",required:!0,value:this.verificationCode,onInput:e=>this.verificationCode=e.target.value,disabled:this.submitting}),s("div",{class:"buttons"},s("verdocs-button",{label:"Sign Out",variant:"outline",disabled:this.submitting,onClick:()=>this.handleLogout()}),s("verdocs-button",{label:"Verify",disabled:this.submitting||!this.verificationCode||6!==this.verificationCode.length,onClick:()=>this.handleVerification()})),s("div",{class:"buttons"},s("verdocs-button",{variant:"text",label:"Resend Code",disabled:this.resendDisabled||this.submitting,onClick:()=>this.handleResendVerification()})))):"forgot"===this.displayMode?s("div",{class:"form"},s("a",{href:"https://verdocs.com/en/"},s("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"})),s("h3",null,"Forgot your password?"),s("p",null,"Enter your e-mail address below. If the e-mail address is valid, a password reset code will be sent to your inbox. Please allow up to 15 minutes to arrive, and check your spam folder if you do not receive the message."),s("form",{onSubmit:()=>this.handleResetGetCode()},s("verdocs-text-input",{label:"Email Address",autocomplete:"email",required:!0,value:this.email,onInput:e=>this.email=e.target.value,disabled:this.submitting}),s("div",{style:{marginTop:"30px"}}),s("div",{class:"buttons"},s("verdocs-button",{size:"small",label:"Cancel",variant:"outline",disabled:this.submitting,onClick:()=>this.displayMode="login"}),s("verdocs-button",{size:"small",label:"Request Code",disabled:this.submitting,onClick:()=>this.handleResetGetCode()})))):"reset"===this.displayMode?s("div",{class:"form"},s("a",{href:"https://verdocs.com/en/"},s("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"})),s("h3",null,"Forgot your password?"),s("p",null,"Enter your e-mail address below, and reset instructions will be sent to your Inbox. Please allow up to 15 minutes to arrive. Check your spam folder if you do not receive the message."),s("form",{onSubmit:()=>this.handleResetPassword()},s("verdocs-text-input",{label:"Verification Code",required:!0,value:this.verificationCode,onInput:e=>this.verificationCode=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Password",type:"password",required:!0,autocomplete:"off",value:this.newPassword,onInput:e=>this.newPassword=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Confirm Password",type:"password",required:!0,autocomplete:"off",value:this.confirmpass,onInput:e=>this.confirmpass=e.target.value,disabled:this.submitting}),s("div",{style:{marginTop:"30px"}}),s("div",{class:"buttons"},s("verdocs-button",{label:"Cancel",variant:"outline",disabled:this.submitting,onClick:()=>this.displayMode="login"}),s("verdocs-button",{label:"Reset",disabled:this.submitting,onClick:()=>this.handleResetPassword()})),s("div",{class:"buttons"},s("verdocs-button",{variant:"text",label:"Resend Code",disabled:this.resendDisabled||this.submitting,onClick:()=>this.handleResendReset()})))):s("div",{class:"form"},s("a",{href:"https://verdocs.com/en/"},s("img",{src:this.logo,alt:"Verdocs Logo",class:"logo"})),s("h3",null,"Log in to your account"),s("div",{class:"already-have"},"Don't have an account?",s("verdocs-button",{label:"Sign Up",variant:"text",onClick:()=>this.displayMode="signup",disabled:this.submitting})),s("form",{onSubmit:()=>this.loginAndCheckVerification()},s("verdocs-text-input",{label:"Email",autocomplete:"username",value:this.email,onInput:e=>this.email=e.target.value,disabled:this.submitting}),s("verdocs-text-input",{label:"Password",type:"password",autocomplete:"current-password",value:this.password,onInput:e=>this.password=e.target.value,disabled:this.submitting}),s("verdocs-button",{label:"Forgot Your Password?",variant:"text",onClick:()=>this.displayMode="forgot",disabled:this.submitting,style:{display:"flex",justifyContent:"center",margin:"10px auto 20px"}}),s("verdocs-button",{label:"Login",disabled:this.submitting,onClick:()=>this.loginAndCheckVerification(),style:{display:"flex",justifyContent:"center",margin:"10px auto 0"}})))}};u.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-auth{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}verdocs-auth .form{width:320px;display:-ms-flexbox;display:flex;padding:20px;max-width:90%;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-pack:center;justify-content:center;background:#ffffff}verdocs-auth .logo{width:128px;max-width:100%;margin:20px 0 30px}verdocs-auth h3{text-align:center;font-weight:400;font-size:18px;line-height:1.75;margin:0}verdocs-auth em{font-size:14px;margin:15px 0}verdocs-auth .buttons{gap:20px;margin:20px 0 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth .status-result{display:none}verdocs-auth .status-result.debug{white-space:pre-wrap;font-size:14px;background:#fff;padding:10px;display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}verdocs-auth form{width:100%}verdocs-auth verdocs-text-input{margin-bottom:10px}verdocs-auth .account-option{gap:8px;margin:20px 0 8px 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-auth p{margin:1em 0;font-size:14px}verdocs-auth p+p{margin-top:0}verdocs-auth verdocs-help-icon{margin-top:18px;display:-ms-flexbox;display:flex;width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px}verdocs-auth .already-have{margin:0.5em 0;font-size:14px}';export{u as verdocs_auth}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,c as i,h as s,F as t,H as n}from"./p-b9654a5e.js";import{VerdocsEndpoint as o,getEnvelope as l,resendInvitation as a,cancelEnvelope as r,formatFullName as d,updateEnvelope as c,userIsEnvelopeOwner as v,capitalize as p}from"@verdocs/js-sdk";import{F as h}from"./p-c7ee88c7.js";import{V as m}from"./p-04c07b7b.js";import{S as w}from"./p-fd97809c.js";import{S as g}from"./p-58d027d1.js";import{f as b}from"./p-12bab948.js";const x=864e5,f={visibility:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>',pencil:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>',mail:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',contact_mail:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',done:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>',send:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>',gesture:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>',clear:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',check_circle:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>',link:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>',cancel:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>',done_all:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>',create:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>',perm_identity:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>',people:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>',contact_email:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>',textsms:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>',verified_user:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>',account_circle:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>'},u=class{constructor(s){e(this,s),this.sdkError=i(this,"sdkError",7),this.envelopeUpdated=i(this,"envelopeUpdated",7),this.toggle=i(this,"toggle",7),this.another=i(this,"another",7),this.envelopeListenerId=null,this.endpoint=o.getDefault(),this.envelopeId="",this.activeTab=1,this.panelOpen=!1,this.showRecipientDialog="",this.showCancelDialog=!1,this.remindersEnabled=!1,this.updatingReminders=!1,this.initialReminder=null,this.followupReminders=null,this.loading=!0,this.envelope=null}async componentWillLoad(){var e,i,s;try{if(this.endpoint.loadSession(),!this.envelopeId)return void console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);if(!this.endpoint.session)return void console.log("[SIDEBAR] Unable to start session, must be authenticated");this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t),null===(e=this.sdkError)||void 0===e||e.emit(new w(t.message,null===(i=t.response)||void 0===i?void 0:i.status,null===(s=t.response)||void 0===s?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId),this.unlistenToEnvelope(),g.subscribe("envelopes",this.envelopeId,(()=>l(this.endpoint,this.envelopeId)),!1,(e=>{var i,s;this.envelope=e,this.loading=!1,this.sortEnvelopeRecipients(),this.initialReminder=null===(i=this.envelope)||void 0===i?void 0:i.initial_reminder,this.followupReminders=null===(s=this.envelope)||void 0===s?void 0:s.followup_reminders,this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){this.envelopeListenerId&&(g.store.delListener(this.envelopeListenerId),this.envelopeListenerId=null)}sortEnvelopeRecipients(){var e;((null===(e=this.envelope)||void 0===e?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen,null===(i=this.toggle)||void 0===i||i.emit({open:this.panelOpen}),this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes(null===(i=this.envelope)||void 0===i?void 0:i.status)}handleRecipientAction(e,i){var s;switch(console.log("[SIDEBAR] Recipient action",i,e),i){case"reminder":a(this.endpoint,this.envelopeId,e.role_name).then((()=>{m("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e),m("Error resending invitation: "+e.message,{style:"error"})}));break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":case"details":m("This feature will be enabled in a future release. Please try again later.",{style:"info"})}null===(s=this.envelopeUpdated)||void 0===s||s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=!0,r(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e),m("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled",g.updateEnvelope(this.envelopeId,s),this.loading=!1,this.panelOpen=!1,null===(i=this.envelopeUpdated)||void 0===i||i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e),this.loading=!1,m("Error canceling envelope: "+e.message,{style:"error"})}))}prepareHistoryEntries(){var e,i,s,t,n,o;const l=[],a=(null===(e=this.envelope)||void 0===e?void 0:e.history_entries)||[];l.push({icon:"pencil",message:"Envelope created.",date:new Date(null===(i=this.envelope)||void 0===i?void 0:i.created_at)}),"complete"===(null===(s=this.envelope)||void 0===s?void 0:s.status)&&l.push({icon:"pencil",message:"Envelope completed.",date:new Date(null===(t=this.envelope)||void 0===t?void 0:t.updated_at)});const r=a.some((e=>"owner:canceled"===e.event));return"canceled"!==(null===(n=this.envelope)||void 0===n?void 0:n.status)||r||l.push({icon:"pencil",message:"Envelope Cancelled.",date:new Date(null===(o=this.envelope)||void 0===o?void 0:o.canceled_at)}),a.forEach((e=>{var i;const s=((null===(i=this.envelope)||void 0===i?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name)),t=d(s);switch(e.event.toLowerCase()){case"recipient:signed":l.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":l.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":l.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":l.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":l.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":l.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:l.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":l.push("approver"===e.event_detail?{icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)}:{icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break;case"recipient:prepared":l.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":"guest"===e.event_detail?l.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)}):"profile"===e.event_detail&&l.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)});break;case"recipient:agreed":l.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":l.push("sms"===e.event_detail?{icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)}:{icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)});break;case"recipient:reminder":l.push("sms"===e.event_detail?{icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)}:{icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)});break;case"invitation:resent":l.push({icon:"mail",message:`Invitation was resent to ${t}${"reminder"===e.event_detail?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":l.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":l.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":case"owner:updated_recipient_info":l.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":l.push({icon:"create",message:"Envelope was created.",date:new Date(e.created_at)});break;case"completed":l.push({icon:"done_all",message:"Envelope was completed.",date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":l.push({icon:"cancel",message:"Envelope was canceled by the creator.",date:new Date(e.created_at)});break;case"owner:get_in_person_link":l.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e)}})),l.sort(((e,i)=>i.date.getTime()-e.date.getTime())),l}handleToggleReminders(){return this.remindersEnabled?this.handleSetReminders(null,null):this.handleSetReminders(x,2592e5)}handleSetReminders(e,i){console.log("Updating reminders..."),this.updatingReminders=!0,c(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e),g.updateEnvelope(this.envelopeId,e),this.initialReminder=e.initial_reminder,this.followupReminders=e.followup_reminders,this.remindersEnabled=!!e.initial_reminder,this.updatingReminders=!1})).catch((e=>{var i,s,t;console.log("Error updating envelope",e),this.initialReminder=null===(i=this.envelope)||void 0===i?void 0:i.initial_reminder,this.followupReminders=null===(s=this.envelope)||void 0===s?void 0:s.followup_reminders,this.remindersEnabled=!!(null===(t=this.envelope)||void 0===t?void 0:t.initial_reminder),this.updatingReminders=!1,alert(e.response.data.error)}))}render(){var e,i,o,l,a,r,c,m,w,g,u,y;if(this.loading)return s(n,null);const k=v(this.endpoint.profile,this.envelope),z=this.prepareHistoryEntries(),M="pending"!==(null===(e=this.envelope)||void 0===e?void 0:e.status)&&"in progress"!==(null===(i=this.envelope)||void 0===i?void 0:i.status);return s(n,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:1===this.activeTab?"active":"",onClick:()=>this.setTab(1),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>'}),s("button",{class:2===this.activeTab?"active":"",onClick:()=>this.setTab(2),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>'}),s("button",{class:3===this.activeTab?"active":"",onClick:()=>this.setTab(3),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>'})),1===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},null===(o=this.envelope)||void 0===o?void 0:o.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},b(new Date(null===(l=this.envelope)||void 0===l?void 0:l.created_at),h)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},b(new Date(null===(a=this.envelope)||void 0===a?void 0:a.updated_at),h)),s("div",{class:"label"},"Status"),s("div",{class:"value"},p(null===(r=this.envelope)||void 0===r?void 0:r.status)),s("div",{class:"label"},"Owner ID"),s("div",{class:"value"},null===(c=this.envelope)||void 0===c?void 0:c.profile_id),s("div",{class:"label"},"Owner Name"),s("div",{class:"value"},d(null===(m=this.envelope)||void 0===m?void 0:m.profile)),s("div",{class:"label"},"Owner Email"),s("div",{class:"value"},null===(g=null===(w=this.envelope)||void 0===w?void 0:w.profile)||void 0===g?void 0:g.email)),2===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),null===(u=this.envelope)||void 0===u?void 0:u.recipients.map(((e,i)=>{const t="submitted"!==e.status&&"canceled"!==e.status&&"declined"!==e.status,n=this.canResendRecipient(e),o=d(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-name"},e.role_name),s("div",{class:{"recipient-status":!0,[e.status]:!0}},e.status),k&&!M&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"reminder",label:"Send Reminder",disabled:!n},{id:"inperson",label:"Get In-Person Link",disabled:!t}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},o),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),k&&s("div",{class:"reminders"},s("div",{class:"form-row"},s("div",{class:"reminders-label"},"Reminders"),s("verdocs-switch",{disabled:M||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&s(t,null,s("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),s("div",{class:"form-row"},s("div",{class:"form-label"},"Initial Reminder (days):"),s("verdocs-text-input",{placeholder:"In hours...",disabled:M||this.updatingReminders,value:String(Math.floor(this.initialReminder/x)),onBlur:e=>{this.initialReminder=Number(e.target.value)*x,this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Follow-up Reminders:"),s("verdocs-text-input",{placeholder:"In hours...",disabled:M||this.updatingReminders,value:String(Math.floor(this.followupReminders/x)),onBlur:e=>{this.followupReminders=Number(e.target.value)*x,this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Next Reminder:"),s("div",{style:{color:"#dddddd"}},b(new Date(null===(y=this.envelope)||void 0===y?void 0:y.next_reminder),"P p"))))),k&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!M,disabled:M})),3===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"History"),z.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:f[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},b(e.date,h))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=!1,this.handleCancelEnvelope()}}))}};u.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-sidebar{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;font-size:14px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:6px;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-name{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:0 0 100px;flex:0 0 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}verdocs-envelope-sidebar .reminders{margin:15px 0 30px 0}verdocs-envelope-sidebar .reminders .form-row{margin:8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-sidebar .reminders .form-row .reminders-label{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row .form-label{-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row verdocs-text-input{margin:0;width:100px}';export{u as verdocs_envelope_sidebar}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,c as i,h as s,F as t,H as o,g as l}from"./p-b9654a5e.js";import{VerdocsEndpoint as d,getEnvelope as a,getDocumentDownloadLink as n,cancelEnvelope as r,userCanCancelEnvelope as c,integerSequence as h}from"@verdocs/js-sdk";import{s as p}from"./p-0c45b79c.js";import{S as v}from"./p-fd97809c.js";import{S as x}from"./p-58d027d1.js";import"./p-85aa8e05.js";import"./p-c7ee88c7.js";import"./p-12bab948.js";const b='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>',g=class{constructor(s){e(this,s),this.exit=i(this,"exit",7),this.pinEntered=i(this,"pinEntered",7),this.next=i(this,"next",7),this.step=1,this.steps=3,this.helptitle="Previous Addresses",this.helptext="Please select the address below that you have most recently lived at.",this.mode="choice",this.label="PIN",this.placeholder="Enter your PIN...",this.recipient=null,this.choices=["553 Arbor Dr","18 Lacey Ln","23A Ball Ct","2375 Cavallo Blvd","23-1 RR-7","151 Boulder Rd"],this.response="",this.updatedRecipient=null}componentDidLoad(){this.updatedRecipient={...this.recipient||{}}}handleCancel(){this.exit.emit()}handleDismiss(e){"background-overlay"===e.target.class&&(e.preventDefault(),this.handleCancel())}handleDone(){this.next.emit(this.response),this.response=""}handleConfirmID(){this.next.emit(this.updatedRecipient)}render(){var e,i,l,d,a,n,r,c,h,p,v;return s(o,null,s("div",{class:"background-overlay",onClick:e=>this.handleDismiss(e)},"choice"===this.mode?s("div",{class:"dialog"},s("div",{class:"heading"},"Confirm Your Identity",this.steps>1?s("span",{class:"step"},"(",this.step,"/",this.steps,")"):s(t,null)),!!this.helptitle&&s("div",{class:"help-box"},s("div",{class:"help-icon",innerHTML:b}),s("div",{class:"help-details"},s("div",{class:"help-title"},this.helptitle),s("div",{class:"help-text"},this.helptext))),s("div",{class:"choices"},this.choices.map((e=>s("div",{class:"choice "+(e===this.response?"selected":""),onClick:()=>{console.log("Selected",e),this.response=e}},e)))),s("div",{class:"buttons"},s("verdocs-button",{label:"Cancel",variant:"outline",onClick:()=>this.handleCancel()}),s("verdocs-button",{label:this.step<this.steps?"Next":"Submit",onClick:()=>this.handleDone(),disabled:!this.response}))):"identity"===this.mode?s("div",{class:"dialog"},s("div",{class:"heading"},"Confirm Your Identity"),!!this.helptitle&&s("div",{class:"help-box"},s("div",{class:"help-icon",innerHTML:b}),s("div",{class:"help-details"},s("div",{class:"help-title"},"Identity verification is required"),s("div",{class:"help-text"},"NOTE: Only four fields are required, but providing more details will allow us to complete the verification process more quickly."))),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-first"},"Your Name:",s("span",{class:"required"},"*")),s("input",{required:!0,type:"text",id:"verdocs-kba-first",name:"verdocs-kba-first",placeholder:"First name...",value:null===(e=this.updatedRecipient)||void 0===e?void 0:e.first_name,onInput:e=>this.updatedRecipient={...this.updatedRecipient,first_name:e.target.value}}),s("input",{type:"text",id:"verdocs-kba-last",name:"verdocs-kba-last",placeholder:"Last name...",required:!0,value:null===(i=this.updatedRecipient)||void 0===i?void 0:i.last_name,onInput:e=>this.updatedRecipient={...this.updatedRecipient,last_name:e.target.value}})),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-address"},"Address:",s("span",{class:"required"},"*")),s("input",{type:"text",id:"verdocs-kba-address",name:"verdocs-kba-address",placeholder:"Address...",value:null===(l=this.updatedRecipient)||void 0===l?void 0:l.address,onInput:e=>this.updatedRecipient={...this.updatedRecipient,address:e.target.value}})),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-city"},"City:"),s("input",{type:"text",id:"verdocs-kba-city",name:"verdocs-kba-city",placeholder:"City...",value:null===(d=this.updatedRecipient)||void 0===d?void 0:d.city,onInput:e=>this.updatedRecipient={...this.updatedRecipient,city:e.target.value}})),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-state"},"State:"),s("input",{type:"text",id:"verdocs-kba-state",name:"verdocs-kba-state",placeholder:"State...",value:null===(a=this.updatedRecipient)||void 0===a?void 0:a.state,onInput:e=>this.updatedRecipient={...this.updatedRecipient,state:e.target.value}})),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-zip"},"Zip Code:",s("span",{class:"required"},"*")),s("input",{type:"text",id:"verdocs-kba-zip",name:"verdocs-kba-zip",placeholder:"Zip Code...",required:!0,value:null===(n=this.updatedRecipient)||void 0===n?void 0:n.zip,onInput:e=>this.updatedRecipient={...this.updatedRecipient,zip:e.target.value}})),s("div",{class:"field"},s("label",{htmlFor:"verdocs-kba-address"},"SSN Last 4:"),s("input",{type:"text",id:"verdocs-kba-state",name:"verdocs-kba-state",placeholder:"Last 4 digits of your SSN...",value:null===(r=this.updatedRecipient)||void 0===r?void 0:r.ssn_last_4,onInput:e=>this.updatedRecipient={...this.updatedRecipient,ssn_last_4:e.target.value}})),s("div",{class:"buttons"},s("verdocs-button",{label:"Submit",onClick:()=>this.handleConfirmID(),disabled:!((null===(c=this.updatedRecipient)||void 0===c?void 0:c.first_name)&&(null===(h=this.updatedRecipient)||void 0===h?void 0:h.last_name)&&(null===(p=this.updatedRecipient)||void 0===p?void 0:p.address)&&(null===(v=this.updatedRecipient)||void 0===v?void 0:v.zip))}))):s("div",{class:"dialog"},s("div",{class:"heading"},"Please Confirm Your Identity",this.steps>1?s("span",{class:"step"},"(",this.step,"/",this.steps,")"):s(t,null)),!!this.helptitle&&s("div",{class:"help-box"},s("div",{class:"help-icon",innerHTML:b}),s("div",{class:"help-details"},s("div",{class:"help-title"},this.helptitle),s("div",{class:"help-text"},this.helptext))),s("div",{class:"input"},s("label",{htmlFor:"verdocs-kba-input"},this.label),s("input",{type:"text",id:"verdocs-kba-input",name:"verdocs-kba-input",placeholder:this.placeholder,value:this.response,onInput:e=>this.response=e.target.value})),s("div",{class:"buttons"},s("verdocs-button",{label:"Cancel",variant:"outline",onClick:()=>this.handleCancel()}),s("verdocs-button",{label:"Submit",onClick:()=>this.handleDone(),disabled:!this.response})))))}};g.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-kba-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:14px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:2px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-kba-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-kba-dialog .field label{-ms-flex:0 0 100px;flex:0 0 100px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-kba-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:2px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}';const u=class{constructor(s){e(this,s),this.sdkError=i(this,"sdkError",7),this.envelopeUpdated=i(this,"envelopeUpdated",7),this.another=i(this,"another",7),this.view=i(this,"view",7),this.next=i(this,"next",7),this.envelopeListenerId=null,this.endpoint=null,this.envelopeId="",this.headerTargetId=null,this.canceling=!1,this.showCancelDone=!1,this.showLoadError=!1,this.loading=!0,this.envelope=null}async componentWillLoad(){var e,i,s;if(this.endpoint||(this.endpoint=d.getDefault(),this.endpoint.loadSession()),this.envelopeId){if(this.listenToEnvelope(),!this.envelope)try{console.log("[VIEW] Loading envelope..."),this.envelope=await a(this.endpoint,this.envelopeId),console.log("[VIEW] Loaded envelope",this.envelope)}catch(t){this.showLoadError=!0,null===(e=this.sdkError)||void 0===e||e.emit(new v(t.message,null===(i=t.response)||void 0===i?void 0:i.status,null===(s=t.response)||void 0===s?void 0:s.data))}}else console.error("[VIEW] Missing required envelopeId")}componentDidRender(){const e=this.headerTargetId?document.getElementById(this.headerTargetId):null,i=document.getElementById("verdocs-view-header");e&&i&&(console.log("[VIEW] Moving header"),i.remove(),e.append(i))}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId),this.unlistenToEnvelope(),x.subscribe("envelopes",this.envelopeId,(()=>a(this.endpoint,this.envelopeId)),!1,(e=>{this.envelope=e,this.loading=!1}))}unlistenToEnvelope(){this.envelopeListenerId&&(x.store.delListener(this.envelopeListenerId),this.envelopeListenerId=null)}handlePageRendered(e){}async handleOptionSelected(e){var i,s;switch(e.detail.id){case"cancel":confirm("Are you sure you wish to cancel this envelope? This action cannot be undone.")&&(this.canceling=!0,r(this.endpoint,this.envelopeId).then((e=>(this.canceling=!1,console.log("[VIEW] Envelope canceled",e),a(this.endpoint,this.envelopeId)))).then((e=>{console.log("[VIEW] Loaded new envelope details",e),this.envelope=e})).catch((e=>{var i,s,t;this.canceling=!1,console.log("[VIEW] Error canceling envelope",e),null===(i=this.sdkError)||void 0===i||i.emit(new v(e.message,null===(s=e.response)||void 0===s?void 0:s.status,null===(t=e.response)||void 0===t?void 0:t.data))})),this.showCancelDone=!0,null===(i=this.envelopeUpdated)||void 0===i||i.emit({endpoint:this.endpoint,envelope:this.envelope,event:"canceled"}));break;case"print":window.print(),null===(s=this.envelopeUpdated)||void 0===s||s.emit({endpoint:this.endpoint,envelope:this.envelope,event:"printed"});break;case"download-attachments":{const e=this.envelope.documents.find((e=>"attachment"===e.type));if(e){const i=await n(this.endpoint,this.envelopeId,e.id);window.open(i,"_blank")}}break;case"download-certificate":{const e=this.envelope.documents.find((e=>"certificate"===e.type));if(e){const i=await n(this.endpoint,this.envelopeId,e.id);window.open(i,"_blank")}}break;case"download-all":p(this.endpoint,[this.envelope]).then((()=>{var e;null===(e=this.envelopeUpdated)||void 0===e||e.emit({endpoint:this.endpoint,envelope:this.envelope,event:"downloaded"})})).catch((e=>{console.log("Error downloading Zip",e)}))}}render(){var e;if(this.loading)return s(o,null,s("verdocs-loader",null));if(this.showLoadError)return s(o,null,s("verdocs-ok-dialog",{heading:"Unable to View Envelope",message:"Sorry, that envelope is not valid.",buttonLabel:"OK",onNext:()=>{this.showLoadError=!1}}));if(!this.envelope)return s(o,null,s("img",{src:"https://public-assets.verdocs.com/loading-placeholder.png",style:{width:"612px",height:"792px",boxShadow:"0 0 10px 5px #0000000f",marginTop:"15px"},alt:"Placeholder page"}));const i=[{id:"print",label:"Print"}];c(this.endpoint.profile,this.envelope)&&i.push({id:"cancel",label:"Cancel"});const l=this.envelope.documents.length>0,d=this.envelope.documents.filter((e=>"attachment"===e.type)).length,a=void 0!==this.envelope.documents.find((e=>"certificate"===e.type));return(l||a)&&(i.push({label:""}),l&&i.push({id:"download-attachments",label:d>1?"Download Documents":"Download Document"}),a&&i.push({id:"download-certificate",label:"Download Certificate"}),l&&a&&i.push({id:"download-all",label:"Download All Files"})),s(o,null,s("div",{id:"verdocs-view-header"},s("div",{class:"inner"},s("img",{src:"https://verdocs.com/assets/white-logo.svg",alt:"Verdocs Logo",class:"logo"}),s("div",{class:"title"},this.envelope.name),s("div",{style:{flex:"1"}}),s("div",{style:{marginLeft:"10px"}}),s("verdocs-dropdown",{options:i,onOptionSelected:e=>this.handleOptionSelected(e)}))),s("div",{class:"document",style:{paddingTop:this.headerTargetId?"70px":"15px"}},((null===(e=this.envelope)||void 0===e?void 0:e.documents)||[]).filter((e=>"certificate"!==e.type)).map((e=>{const i=h(1,e.pages);return s(t,null,i.map((i=>{var t;const o=(null===(t=e.page_sizes)||void 0===t?void 0:t[i])||{width:612,height:792};return s("verdocs-envelope-document-page",{envelopeId:this.envelopeId,documentId:e.id,endpoint:this.endpoint,type:"filled",virtualWidth:o.width,virtualHeight:o.height,pageNumber:i,onPageRendered:e=>this.handlePageRendered(e),layers:[{name:"page",type:"canvas"},{name:"controls",type:"div"}]})})))}))),this.showCancelDone&&s("verdocs-ok-dialog",{heading:"Cancelled",message:"This envelope has been cancelled successfully.",onNext:()=>{this.showCancelDone=!1}}),this.canceling&&s("div",{class:"loading-indicator"},s("verdocs-loader",null)))}get component(){return l(this)}};u.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-view{display:-ms-flexbox;display:flex;overflow:hidden;min-height:600px;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-view div,verdocs-view canvas{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-view .document{-ms-flex:1;flex:1;width:100%;height:100%;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;max-width:1200px;position:relative;overflow-y:scroll;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-view .document .inner{width:100%;max-width:1028px}verdocs-view .loading-indicator{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:fixed;background-color:rgba(0, 0, 0, 0.7)}#verdocs-view-header{width:100%;color:#fff;display:-ms-flexbox;display:flex;z-index:1000;-ms-flex:0 0 56px;flex:0 0 56px;padding:0 20px;font-size:12px;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-transition:all 0.25s;transition:all 0.25s;background-color:#33354c;-webkit-box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12);box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12)}@media all and (max-width: 500px){#verdocs-view-header{padding:0 10px}}#verdocs-view-header .inner{width:100%;display:-ms-flexbox;display:flex;margin:0 auto;padding:0 20px;max-width:1200px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media all and (max-width: 500px){#verdocs-view-header .inner{padding:0 10px}}#verdocs-view-header .logo{width:80px;display:none;margin:-6px 0 0 0}#verdocs-view-header .title{font-size:18px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}';export{g as verdocs_kba_dialog,u as verdocs_view}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,c as e,h as r,H as s}from"./p-b9654a5e.js";import{VerdocsEndpoint as a,toggleStar as o}from"@verdocs/js-sdk";const i=class{constructor(r){t(this,r),this.starChange=e(this,"starChange",7),this.sdkError=e(this,"sdkError",7),this.endpoint=a.getDefault(),this.template=void 0,this.updating=!1}async componentWillLoad(){this.endpoint.loadSession(),this.endpoint.session||console.log("[TEMPLATES] Must be authenticated")}toggle(t){t.stopPropagation(),this.updating=!0,o(a.getDefault(),this.template.id).then((t=>{this.updating=!1,this.template.star_counter=t.star_counter,this.starChange.emit({templateId:this.template.id,starred:t.star_counter>0,count:t.star_counter})})).catch((t=>{this.updating=!1,console.log("[STAR] Error toggling template star",t.message),this.sdkError.emit(t)}))}render(){return r(s,{key:"4b2e5c3bc4bbbbdeb699f23d36af8bd409677d02"},r("div",{key:"cac3bad8a37bcf044e037391bee73932b95931d1",class:"star "+(this.updating?"updating":""),innerHTML:this.template.star_counter?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z" clip-rule="evenodd" /></svg>':'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z" /></svg>',onClick:t=>this.toggle(t)}),r("div",{key:"3b947e3b3e0a8fe4a91aeba068bc10a86dbe82f5",class:"count"},this.template.star_counter||"--"))}};i.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-star{display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-template-star .star{line-height:10px}verdocs-template-star .star.updating{-webkit-animation:spinningStar 2s infinite linear;animation:spinningStar 2s infinite linear}verdocs-template-star .star svg{width:24px;height:24px}verdocs-template-star .count{color:#595c5d;font-size:14px;margin-left:10px}@-webkit-keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}';export{i as verdocs_template_star}
|