@verdocs/web-sdk 5.0.48 → 5.0.51
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/{index-01ae8e85.js → index-2b9aa26f.js} +213 -133
- package/dist/cjs/index-2b9aa26f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-checkbox_6.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-link.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-sign.cjs.entry.js +61 -110
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-create.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +3 -3
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +61 -111
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-06bacd3b.js → p-03b81b12.js} +2 -2
- package/dist/components/{p-06bacd3b.js.map → p-03b81b12.js.map} +1 -1
- package/dist/components/{p-acb41a2e.js → p-062e67e6.js} +2 -2
- package/dist/components/{p-acb41a2e.js.map → p-062e67e6.js.map} +1 -1
- package/dist/components/{p-4a4de8d8.js → p-07214348.js} +11 -11
- package/dist/components/{p-4a4de8d8.js.map → p-07214348.js.map} +1 -1
- package/dist/components/{p-4fb8b22d.js → p-15ac7314.js} +10 -10
- package/dist/components/{p-4fb8b22d.js.map → p-15ac7314.js.map} +1 -1
- package/dist/components/{p-9c650a78.js → p-1c3c3f01.js} +11 -11
- package/dist/components/{p-9c650a78.js.map → p-1c3c3f01.js.map} +1 -1
- package/dist/components/{p-a5c69199.js → p-200b75fc.js} +3 -3
- package/dist/components/{p-a5c69199.js.map → p-200b75fc.js.map} +1 -1
- package/dist/components/{p-cf95858b.js → p-207fff69.js} +11 -11
- package/dist/components/{p-cf95858b.js.map → p-207fff69.js.map} +1 -1
- package/dist/components/{p-1f51246d.js → p-20f1beff.js} +198 -136
- package/dist/components/p-20f1beff.js.map +1 -0
- package/dist/components/{p-ef2df3fa.js → p-27f3b733.js} +2 -2
- package/dist/components/{p-ef2df3fa.js.map → p-27f3b733.js.map} +1 -1
- package/dist/components/{p-8e44cb14.js → p-31e18593.js} +4 -4
- package/dist/components/{p-8e44cb14.js.map → p-31e18593.js.map} +1 -1
- package/dist/components/{p-968df95c.js → p-43fb3b33.js} +27 -27
- package/dist/components/{p-968df95c.js.map → p-43fb3b33.js.map} +1 -1
- package/dist/components/{p-a8f59e9d.js → p-44712551.js} +11 -11
- package/dist/components/{p-a8f59e9d.js.map → p-44712551.js.map} +1 -1
- package/dist/components/{p-18086502.js → p-44853d05.js} +6 -6
- package/dist/components/{p-18086502.js.map → p-44853d05.js.map} +1 -1
- package/dist/components/{p-ed777fb7.js → p-4b831194.js} +3 -3
- package/dist/components/{p-ed777fb7.js.map → p-4b831194.js.map} +1 -1
- package/dist/components/{p-96774726.js → p-4f96a7dc.js} +2 -2
- package/dist/components/{p-96774726.js.map → p-4f96a7dc.js.map} +1 -1
- package/dist/components/{p-1d98c6e0.js → p-50bc76e3.js} +2 -2
- package/dist/components/{p-1d98c6e0.js.map → p-50bc76e3.js.map} +1 -1
- package/dist/components/{p-497ceba2.js → p-53900f81.js} +2 -2
- package/dist/components/{p-497ceba2.js.map → p-53900f81.js.map} +1 -1
- package/dist/components/{p-71b30a91.js → p-571fe280.js} +13 -13
- package/dist/components/{p-71b30a91.js.map → p-571fe280.js.map} +1 -1
- package/dist/components/{p-84929e4a.js → p-5d0a3040.js} +2 -2
- package/dist/components/{p-84929e4a.js.map → p-5d0a3040.js.map} +1 -1
- package/dist/components/{p-4fff9f15.js → p-62c5c0fe.js} +11 -11
- package/dist/components/{p-4fff9f15.js.map → p-62c5c0fe.js.map} +1 -1
- package/dist/components/{p-1354c984.js → p-6a4881ef.js} +2 -2
- package/dist/components/{p-1354c984.js.map → p-6a4881ef.js.map} +1 -1
- package/dist/components/{p-0d7860de.js → p-73ed27aa.js} +5 -5
- package/dist/components/{p-0d7860de.js.map → p-73ed27aa.js.map} +1 -1
- package/dist/components/{p-f5ccf125.js → p-77b37d23.js} +2 -2
- package/dist/components/{p-f5ccf125.js.map → p-77b37d23.js.map} +1 -1
- package/dist/components/{p-01c8196b.js → p-7957064d.js} +6 -6
- package/dist/components/{p-01c8196b.js.map → p-7957064d.js.map} +1 -1
- package/dist/components/{p-728ec158.js → p-7b258587.js} +3 -3
- package/dist/components/{p-728ec158.js.map → p-7b258587.js.map} +1 -1
- package/dist/components/{p-cb2e0f23.js → p-7cfaefe1.js} +2 -2
- package/dist/components/{p-cb2e0f23.js.map → p-7cfaefe1.js.map} +1 -1
- package/dist/components/{p-2b0d2fbd.js → p-8203a6af.js} +5 -5
- package/dist/components/{p-2b0d2fbd.js.map → p-8203a6af.js.map} +1 -1
- package/dist/components/{p-39480096.js → p-82c79267.js} +2 -2
- package/dist/components/{p-39480096.js.map → p-82c79267.js.map} +1 -1
- package/dist/components/{p-83ecee53.js → p-83430ada.js} +2 -2
- package/dist/components/{p-83ecee53.js.map → p-83430ada.js.map} +1 -1
- package/dist/components/{p-bcbe0f6b.js → p-843f0198.js} +12 -12
- package/dist/components/{p-bcbe0f6b.js.map → p-843f0198.js.map} +1 -1
- package/dist/components/{p-fcfbb327.js → p-937de867.js} +9 -9
- package/dist/components/{p-fcfbb327.js.map → p-937de867.js.map} +1 -1
- package/dist/components/{p-6507fba9.js → p-998e0ccd.js} +8 -8
- package/dist/components/{p-6507fba9.js.map → p-998e0ccd.js.map} +1 -1
- package/dist/components/{p-2985ae11.js → p-a45f6086.js} +2 -2
- package/dist/components/{p-2985ae11.js.map → p-a45f6086.js.map} +1 -1
- package/dist/components/{p-f303f8bf.js → p-a61ffe46.js} +4 -4
- package/dist/components/{p-f303f8bf.js.map → p-a61ffe46.js.map} +1 -1
- package/dist/components/{p-008472ce.js → p-a7f85081.js} +6 -6
- package/dist/components/{p-008472ce.js.map → p-a7f85081.js.map} +1 -1
- package/dist/components/{p-c5fc58ab.js → p-b61d0bd7.js} +4 -4
- package/dist/components/{p-c5fc58ab.js.map → p-b61d0bd7.js.map} +1 -1
- package/dist/components/{p-3d027cc9.js → p-ba5ba657.js} +2 -2
- package/dist/components/{p-3d027cc9.js.map → p-ba5ba657.js.map} +1 -1
- package/dist/components/{p-4bcb364c.js → p-bae61eb2.js} +2 -2
- package/dist/components/{p-4bcb364c.js.map → p-bae61eb2.js.map} +1 -1
- package/dist/components/{p-d5eae4db.js → p-bbf082ec.js} +2 -2
- package/dist/components/{p-d5eae4db.js.map → p-bbf082ec.js.map} +1 -1
- package/dist/components/{p-73629a90.js → p-c0e75957.js} +2 -2
- package/dist/components/{p-73629a90.js.map → p-c0e75957.js.map} +1 -1
- package/dist/components/{p-1c5981db.js → p-cd5b046b.js} +3 -3
- package/dist/components/{p-1c5981db.js.map → p-cd5b046b.js.map} +1 -1
- package/dist/components/{p-7f6c97d5.js → p-cd8c3571.js} +2 -2
- package/dist/components/{p-7f6c97d5.js.map → p-cd8c3571.js.map} +1 -1
- package/dist/components/{p-162ae711.js → p-d666322a.js} +11 -11
- package/dist/components/{p-162ae711.js.map → p-d666322a.js.map} +1 -1
- package/dist/components/{p-e098ba1d.js → p-d9fd90cc.js} +8 -8
- package/dist/components/{p-e098ba1d.js.map → p-d9fd90cc.js.map} +1 -1
- package/dist/components/{p-ec06fbd7.js → p-db50e7f0.js} +3 -3
- package/dist/components/{p-ec06fbd7.js.map → p-db50e7f0.js.map} +1 -1
- package/dist/components/{p-02f67734.js → p-debf0a8a.js} +2 -2
- package/dist/components/{p-02f67734.js.map → p-debf0a8a.js.map} +1 -1
- package/dist/components/{p-c696e5d7.js → p-e8f6e5b7.js} +9 -9
- package/dist/components/{p-c696e5d7.js.map → p-e8f6e5b7.js.map} +1 -1
- package/dist/components/{p-3077aff3.js → p-e90316c8.js} +12 -12
- package/dist/components/{p-3077aff3.js.map → p-e90316c8.js.map} +1 -1
- package/dist/components/{p-d47ac4f2.js → p-f1ccb5e1.js} +11 -11
- package/dist/components/{p-d47ac4f2.js.map → p-f1ccb5e1.js.map} +1 -1
- package/dist/components/{p-515f8afb.js → p-f3d501b9.js} +10 -10
- package/dist/components/{p-515f8afb.js.map → p-f3d501b9.js.map} +1 -1
- package/dist/components/{p-956fb355.js → p-f9789855.js} +26 -26
- package/dist/components/{p-956fb355.js.map → p-f9789855.js.map} +1 -1
- package/dist/components/{p-c83a272f.js → p-ffa430d4.js} +25 -25
- package/dist/components/{p-c83a272f.js.map → p-ffa430d4.js.map} +1 -1
- package/dist/components/verdocs-auth.js +4 -4
- package/dist/components/verdocs-build.js +43 -43
- package/dist/components/verdocs-button-panel.js +1 -1
- package/dist/components/verdocs-button.js +1 -1
- package/dist/components/verdocs-checkbox.js +1 -1
- package/dist/components/verdocs-component-error.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-date-input.js +2 -2
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-dropdown.js +1 -1
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelope-recipient-link.js +1 -1
- package/dist/components/verdocs-envelope-recipient-summary.js +2 -2
- package/dist/components/verdocs-envelope-sidebar.js +9 -9
- package/dist/components/verdocs-envelopes-list.js +11 -11
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-checkbox.js +1 -1
- package/dist/components/verdocs-field-date.js +1 -1
- package/dist/components/verdocs-field-dropdown.js +1 -1
- package/dist/components/verdocs-field-initial.js +1 -1
- package/dist/components/verdocs-field-payment.js +10 -10
- package/dist/components/verdocs-field-radio.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-field-textarea.js +1 -1
- package/dist/components/verdocs-field-textbox.js +1 -1
- package/dist/components/verdocs-field-timestamp.js +1 -1
- package/dist/components/verdocs-file-chooser.js +1 -1
- package/dist/components/verdocs-help-icon.js +1 -1
- package/dist/components/verdocs-initial-dialog.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-loader.js +1 -1
- package/dist/components/verdocs-menu-panel.js +1 -1
- package/dist/components/verdocs-multiselect.js +1 -1
- package/dist/components/verdocs-ok-dialog.js +1 -1
- package/dist/components/verdocs-organization-card.js +2 -2
- package/dist/components/verdocs-pagination.js +1 -1
- package/dist/components/verdocs-portal.js +1 -1
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-progress-bar.js +1 -1
- package/dist/components/verdocs-quick-filter.js +1 -1
- package/dist/components/verdocs-quick-functions.js +1 -1
- package/dist/components/verdocs-radio-button.js +1 -1
- package/dist/components/verdocs-search-box.js +1 -1
- package/dist/components/verdocs-search-tabs.js +1 -1
- package/dist/components/verdocs-select-input.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign.js +73 -123
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/components/verdocs-signature-dialog.js +1 -1
- package/dist/components/verdocs-spinner.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-switch.js +1 -1
- package/dist/components/verdocs-table.js +1 -1
- package/dist/components/verdocs-tabs.js +1 -1
- package/dist/components/verdocs-template-attachments.js +1 -1
- package/dist/components/verdocs-template-build-tabs.js +1 -1
- package/dist/components/verdocs-template-card.js +1 -1
- package/dist/components/verdocs-template-create.js +5 -5
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-field-properties.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-template-role-properties.js +1 -1
- package/dist/components/verdocs-template-roles.js +1 -1
- package/dist/components/verdocs-template-settings.js +1 -1
- package/dist/components/verdocs-template-star.js +1 -1
- package/dist/components/verdocs-template-tags.js +1 -1
- package/dist/components/verdocs-templates-list.js +11 -11
- package/dist/components/verdocs-text-input.js +1 -1
- package/dist/components/verdocs-toggle-button.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-toolbar-icon.js +1 -1
- package/dist/components/verdocs-upload-dialog.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/esm/{index-2cd5f887.js → index-24c3207f.js} +213 -133
- package/dist/esm/index-24c3207f.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/verdocs-auth.entry.js +1 -1
- package/dist/esm/verdocs-build.entry.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-button_2.entry.js +1 -1
- package/dist/esm/verdocs-checkbox_6.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm/verdocs-date-input.entry.js +1 -1
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-link.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-kba-dialog_2.entry.js +1 -1
- package/dist/esm/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_7.entry.js +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm/verdocs-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm/verdocs-sign.entry.js +62 -111
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm/verdocs-switch.entry.js +1 -1
- package/dist/esm/verdocs-table.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +1 -1
- package/dist/esm/verdocs-template-create.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-star.entry.js +1 -1
- package/dist/esm/verdocs-template-tags.entry.js +1 -1
- package/dist/esm/verdocs-templates-list.entry.js +1 -1
- package/dist/esm/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +4 -4
- package/dist/esm/verdocs-web-sdk.js.map +1 -1
- package/dist/esm-es5/index-24c3207f.js +2 -0
- package/dist/esm-es5/index-24c3207f.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_6.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-switch.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +3 -2
- package/dist/verdocs-web-sdk/{p-0fd9da1e.entry.js → p-017ae3bc.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-471dd447.entry.js → p-0b5effa9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5239a35e.system.entry.js → p-10cbb44d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d35f678.system.entry.js → p-19655c9c.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2e23e747.system.entry.js → p-1bbd9c7f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1247fd39.entry.js → p-219bf34b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ebec3bc1.system.entry.js → p-227fdd3a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7e0fa3ae.entry.js → p-2386d60c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-79d2f425.system.entry.js → p-23a9bd36.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d63b3dc0.system.entry.js → p-267c78f0.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d2c8ad7.system.entry.js → p-299bb90e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2edf05fe.entry.js → p-2cc55fbf.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f3d09408.system.entry.js → p-2d892f93.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4c5b836b.entry.js → p-2f9ba82a.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d444d37b.system.entry.js → p-307e74f5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d33c2b26.entry.js → p-315286a7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-04790b68.entry.js → p-32253c51.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e3687c26.system.entry.js → p-3630f3f8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c3e2d722.entry.js → p-3645b498.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-245bdf6f.system.entry.js → p-366c2acc.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-39d89ec1.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-39d89ec1.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-7b7451fb.entry.js → p-3ab01b3c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e8184f76.system.entry.js → p-3c045101.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b0220f11.system.entry.js → p-410a6003.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2f5b24db.entry.js → p-46001697.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-840b6fbe.entry.js → p-4e022197.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fc79bf91.entry.js → p-538d5113.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-66feba8c.entry.js → p-55a9d59f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-576f984d.js +3 -0
- package/dist/verdocs-web-sdk/p-576f984d.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-a75f7e9e.system.entry.js → p-594d3edb.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6ddcf3fe.system.entry.js → p-5eedc1ec.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-88f4ee7b.system.entry.js → p-61228412.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8ec57eff.entry.js → p-6136bba2.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9f684d65.entry.js → p-6b716052.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3cc309a8.entry.js → p-6c54aa71.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f406e916.entry.js → p-6ccb6567.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-19ee9379.system.entry.js → p-6fe49e4a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-72152009.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-72152009.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-d6f70ede.entry.js → p-76d1f275.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e388f2eb.entry.js → p-7b7be644.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-cf413e96.entry.js → p-7b84d96d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-296b3f1d.system.entry.js → p-7cb92285.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-11a30de3.entry.js → p-7d394848.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b198c703.system.entry.js → p-825259ba.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7f1edca3.entry.js → p-8669ce44.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ed106cc9.entry.js → p-8691ca6d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0974b1cf.system.entry.js → p-8721cc28.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b43ede8b.system.entry.js → p-8982eb1c.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js +2 -0
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-9880e3e4.system.entry.js → p-937ca715.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c9ec99df.system.entry.js → p-9440be53.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d33195d.system.entry.js → p-94e05472.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c242e25e.entry.js → p-96031d13.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-99ed75fb.system.js +3 -0
- package/dist/verdocs-web-sdk/p-99ed75fb.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-ad9dd116.system.entry.js → p-9b13c31e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2e2e6d95.entry.js → p-9b66d3c4.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d7cafbfe.entry.js → p-9c6cb6c8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-35384b77.entry.js → p-9f7cf5ad.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-50e49464.system.entry.js → p-a058e16b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-bd7b3d7b.system.entry.js → p-a7a02f3a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0e8bbe05.system.entry.js → p-b1017ac3.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4f16d741.system.entry.js → p-b74625c3.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3a2bd43c.entry.js → p-b8ccd4e5.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-45dd5527.system.entry.js → p-ba50bdcf.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-248ffe5c.system.entry.js → p-c26ae935.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-35fc5f53.entry.js → p-ca822ac7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-05a1dce1.system.entry.js → p-cf962273.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-dea4b888.entry.js → p-d032fa7b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e8c4cb36.entry.js → p-d0c3630f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b4441084.system.entry.js → p-d5bba6f8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-158808e1.entry.js → p-d99ddf68.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-06775d41.entry.js → p-db2dc75e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9363cc19.system.entry.js → p-e06a796b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d67c3a58.system.entry.js → p-e39d4e16.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-344ff0ba.entry.js → p-e46ccb3d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-efda4a21.entry.js → p-e4a8707d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-db383816.system.entry.js → p-e4a9ac73.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b17b12c5.entry.js → p-e7cf98ed.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-dcf0049c.entry.js → p-eb70e2b3.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d3dea986.system.entry.js → p-f2ff2588.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d0e964b.system.entry.js → p-f3b22922.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7b0281af.entry.js → p-f4a233b8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a175597c.system.entry.js → p-f63a9489.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/index-01ae8e85.js.map +0 -1
- package/dist/components/p-1f51246d.js.map +0 -1
- package/dist/custom-elements.json +0 -2231
- package/dist/esm/index-2cd5f887.js.map +0 -1
- package/dist/esm-es5/index-2cd5f887.js +0 -2
- package/dist/esm-es5/index-2cd5f887.js.map +0 -1
- package/dist/verdocs-web-sdk/p-0c1898f6.system.js +0 -2
- package/dist/verdocs-web-sdk/p-0c1898f6.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-60387e15.system.js +0 -3
- package/dist/verdocs-web-sdk/p-60387e15.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-8ed58724.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-8ed58724.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-dad790a1.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-dad790a1.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-ddadabfb.js +0 -3
- package/dist/verdocs-web-sdk/p-ddadabfb.js.map +0 -1
- /package/dist/verdocs-web-sdk/{p-0fd9da1e.entry.js.map → p-017ae3bc.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-471dd447.entry.js.map → p-0b5effa9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5239a35e.system.entry.js.map → p-10cbb44d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d35f678.system.entry.js.map → p-19655c9c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2e23e747.system.entry.js.map → p-1bbd9c7f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1247fd39.entry.js.map → p-219bf34b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ebec3bc1.system.entry.js.map → p-227fdd3a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7e0fa3ae.entry.js.map → p-2386d60c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-79d2f425.system.entry.js.map → p-23a9bd36.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d63b3dc0.system.entry.js.map → p-267c78f0.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d2c8ad7.system.entry.js.map → p-299bb90e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2edf05fe.entry.js.map → p-2cc55fbf.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f3d09408.system.entry.js.map → p-2d892f93.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4c5b836b.entry.js.map → p-2f9ba82a.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d444d37b.system.entry.js.map → p-307e74f5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d33c2b26.entry.js.map → p-315286a7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-04790b68.entry.js.map → p-32253c51.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e3687c26.system.entry.js.map → p-3630f3f8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c3e2d722.entry.js.map → p-3645b498.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-245bdf6f.system.entry.js.map → p-366c2acc.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7b7451fb.entry.js.map → p-3ab01b3c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e8184f76.system.entry.js.map → p-3c045101.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b0220f11.system.entry.js.map → p-410a6003.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2f5b24db.entry.js.map → p-46001697.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-840b6fbe.entry.js.map → p-4e022197.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fc79bf91.entry.js.map → p-538d5113.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-66feba8c.entry.js.map → p-55a9d59f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a75f7e9e.system.entry.js.map → p-594d3edb.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6ddcf3fe.system.entry.js.map → p-5eedc1ec.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-88f4ee7b.system.entry.js.map → p-61228412.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8ec57eff.entry.js.map → p-6136bba2.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9f684d65.entry.js.map → p-6b716052.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3cc309a8.entry.js.map → p-6c54aa71.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f406e916.entry.js.map → p-6ccb6567.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-19ee9379.system.entry.js.map → p-6fe49e4a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d6f70ede.entry.js.map → p-76d1f275.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e388f2eb.entry.js.map → p-7b7be644.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cf413e96.entry.js.map → p-7b84d96d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-296b3f1d.system.entry.js.map → p-7cb92285.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-11a30de3.entry.js.map → p-7d394848.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b198c703.system.entry.js.map → p-825259ba.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7f1edca3.entry.js.map → p-8669ce44.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ed106cc9.entry.js.map → p-8691ca6d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0974b1cf.system.entry.js.map → p-8721cc28.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b43ede8b.system.entry.js.map → p-8982eb1c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9880e3e4.system.entry.js.map → p-937ca715.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c9ec99df.system.entry.js.map → p-9440be53.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d33195d.system.entry.js.map → p-94e05472.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c242e25e.entry.js.map → p-96031d13.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ad9dd116.system.entry.js.map → p-9b13c31e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2e2e6d95.entry.js.map → p-9b66d3c4.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d7cafbfe.entry.js.map → p-9c6cb6c8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-35384b77.entry.js.map → p-9f7cf5ad.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-50e49464.system.entry.js.map → p-a058e16b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-bd7b3d7b.system.entry.js.map → p-a7a02f3a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0e8bbe05.system.entry.js.map → p-b1017ac3.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4f16d741.system.entry.js.map → p-b74625c3.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3a2bd43c.entry.js.map → p-b8ccd4e5.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-45dd5527.system.entry.js.map → p-ba50bdcf.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-248ffe5c.system.entry.js.map → p-c26ae935.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-35fc5f53.entry.js.map → p-ca822ac7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-05a1dce1.system.entry.js.map → p-cf962273.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dea4b888.entry.js.map → p-d032fa7b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e8c4cb36.entry.js.map → p-d0c3630f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b4441084.system.entry.js.map → p-d5bba6f8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-158808e1.entry.js.map → p-d99ddf68.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-06775d41.entry.js.map → p-db2dc75e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9363cc19.system.entry.js.map → p-e06a796b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d67c3a58.system.entry.js.map → p-e39d4e16.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-344ff0ba.entry.js.map → p-e46ccb3d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-efda4a21.entry.js.map → p-e4a8707d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-db383816.system.entry.js.map → p-e4a9ac73.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b17b12c5.entry.js.map → p-e7cf98ed.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dcf0049c.entry.js.map → p-eb70e2b3.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d3dea986.system.entry.js.map → p-f2ff2588.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d0e964b.system.entry.js.map → p-f3b22922.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7b0281af.entry.js.map → p-f4a233b8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a175597c.system.entry.js.map → p-f63a9489.system.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r as t,h as n,H as s}from"./p-ddadabfb.js";import{formatFullName as i}from"@verdocs/js-sdk";import{c as e}from"./p-68a5aaff.js";const r={};const o=[];function h(t,n){if(Array.isArray(t)){for(const s of t){h(s,n)}return}if(typeof t==="object"){for(const n in t){h(n,t[n])}return}l(Object.getOwnPropertyNames(n));r[t]=Object.assign(r[t]||{},n)}function u(t){return r[t]||{}}function c(){return[...new Set(o)]}function l(t){o.push(...t)}function f(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){e.push(n(t[s]))}return e}function a(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){if(n(t[s])){e.push(t[s])}}return e}function d(t){return t%360*Math.PI/180}function C(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function p(t,n,s,i){if(n==null||s==null){i=i||t.bbox();if(n==null){n=i.width/i.height*s}else if(s==null){s=i.height/i.width*n}}return{width:n,height:s}}function g(t,n){const s=t.origin;let i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(s!=null){[i,e]=Array.isArray(s)?s:typeof s==="object"?[s.x,s.y]:[s,s]}const r=typeof i==="string";const o=typeof e==="string";if(r||o){const{height:t,width:s,x:h,y:u}=n.bbox();if(r){i=i.includes("left")?h:i.includes("right")?h+s:h+s/2}if(o){e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2}}return[i,e]}const m=new Set(["desc","metadata","title"]);const y=t=>m.has(t.nodeName);const x=(t,n,s={})=>{const i={...n};for(const t in i){if(i[t].valueOf()===s[t]){delete i[t]}}if(Object.keys(i).length){t.node.setAttribute("data-svgjs",JSON.stringify(i))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};const v="http://www.w3.org/2000/svg";const b="http://www.w3.org/1999/xhtml";const M="http://www.w3.org/2000/xmlns/";const k="http://www.w3.org/1999/xlink";const _={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function j(){return _.window}class L{}const A={};const O="___SYMBOL___ROOT___";function V(t,n=v){return _.document.createElementNS(n,t)}function E(t,n=false){if(t instanceof L)return t;if(typeof t==="object"){return H(t)}if(t==null){return new A[O]}if(typeof t==="string"&&t.charAt(0)!=="<"){return H(_.document.querySelector(t))}const s=n?_.document.createElement("div"):V("svg");s.innerHTML=t;t=H(s.firstChild);s.removeChild(s.firstChild);return t}function S(t,n){return n&&(n instanceof _.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:V(t)}function T(t){if(!t)return null;if(t.instance instanceof L)return t.instance;if(t.nodeName==="#document-fragment"){return new A.Fragment(t)}let n=w(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient"){n="Gradient"}else if(!A[n]){n="Dom"}return new A[n](t)}let H=T;function B(t,n=t.name,s=false){A[n]=t;if(s)A[O]=t;l(Object.getOwnPropertyNames(t.prototype));return t}function D(t){return A[t]}let z=1e3;function I(t){return"Svgjs"+w(t)+z++}function Z(t){for(let n=t.children.length-1;n>=0;n--){Z(t.children[n])}if(t.id){t.id=I(t.nodeName);return t}return t}function F(t,n){let s,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--){for(s in n){t[i].prototype[s]=n[s]}}}function $(t){return function(...n){const s=n[n.length-1];if(s&&s.constructor===Object&&!(s instanceof Array)){return t.apply(this,n.slice(0,-1)).attr(s)}else{return t.apply(this,n)}}}function N(){return this.parent().children()}function P(){return this.parent().index(this)}function R(){return this.siblings()[this.position()+1]}function G(){return this.siblings()[this.position()-1]}function Y(){const t=this.position();const n=this.parent();n.add(this.remove(),t+1);return this}function X(){const t=this.position();const n=this.parent();n.add(this.remove(),t?t-1:0);return this}function Q(){const t=this.parent();t.add(this.remove());return this}function q(){const t=this.parent();t.add(this.remove(),0);return this}function J(t){t=E(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function U(t){t=E(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function W(t){t=E(t);t.before(this);return this}function K(t){t=E(t);t.after(this);return this}h("Dom",{siblings:N,position:P,next:R,prev:G,forward:Y,backward:X,front:Q,back:q,before:J,after:U,insertBefore:W,insertAfter:K});const tt=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const nt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const st=/rgb\((\d+),(\d+),(\d+)\)/;const it=/(#[a-z_][a-z0-9\-_]*)/i;const et=/\)\s*,?\s*/;const rt=/\s/g;const ot=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const ht=/^rgb\(/;const ut=/^(\s+)?$/;const ct=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const lt=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const ft=/[\s,]+/;const at=/[MLHVCSQTAZ]/i;function dt(){const t=this.attr("class");return t==null?[]:t.trim().split(ft)}function Ct(t){return this.classes().indexOf(t)!==-1}function wt(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function pt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "))}return this}function gt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}h("Dom",{classes:dt,hasClass:Ct,addClass:wt,removeClass:pt,toggleClass:gt});function mt(t,n){const s={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const n=t.split(/\s*:\s*/);s[n[0]]=n[1]}));return s}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=n;s[n]=this.node.style.getPropertyValue(t)}return s}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(const n in t){this.node.style.setProperty(n,t[n]==null||ut.test(t[n])?"":t[n])}}}if(arguments.length===2){this.node.style.setProperty(t,n==null||ut.test(n)?"":n)}return this}function yt(){return this.css("display","")}function xt(){return this.css("display","none")}function vt(){return this.css("display")!=="none"}h("Dom",{css:mt,show:yt,hide:xt,visible:vt});function bt(t,n,s){if(t==null){return this.data(f(a(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))))}else if(t instanceof Array){const n={};for(const s of t){n[s]=this.data(s)}return n}else if(typeof t==="object"){for(n in t){this.data(n,t[n])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}}else{this.attr("data-"+t,n===null?null:s===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n))}return this}h("Dom",{data:bt});function Mt(t,n){if(typeof arguments[0]==="object"){for(const n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=n}return this}function kt(){if(arguments.length===0){this._memory={}}else{for(let t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function _t(){return this._memory=this._memory||{}}h("Dom",{remember:Mt,forget:kt,memory:_t});function jt(t){return t.length===4?["#",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}function Lt(t){const n=Math.round(t);const s=Math.max(0,Math.min(255,n));const i=s.toString(16);return i.length===1?"0"+i:i}function At(t,n){for(let s=n.length;s--;){if(t[n[s]]==null){return false}}return true}function Ot(t,n){const s=At(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:At(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:At(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:At(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:At(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:At(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};s.space=n||s.space;return s}function Vt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Et(t,n,s){if(s<0)s+=1;if(s>1)s-=1;if(s<1/6)return t+(n-t)*6*s;if(s<1/2)return n;if(s<2/3)return t+(n-t)*(2/3-s)*6;return t}class St{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof St||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(t="vibrant",n){const{random:s,round:i,sin:e,PI:r}=Math;if(t==="vibrant"){const t=(81-57)*s()+57;const n=(83-45)*s()+45;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="sine"){n=n==null?s():n;const t=i(80*e(2*r*n/.5+.01)+150);const o=i(50*e(2*r*n/.5+4.6)+200);const h=i(100*e(2*r*n/.5+2.3)+150);const u=new St(t,o,h);return u}else if(t==="pastel"){const t=(94-86)*s()+86;const n=(26-9)*s()+9;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="dark"){const t=10+10*s();const n=(125-75)*s()+86;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="rgb"){const t=255*s();const n=255*s();const i=255*s();const e=new St(t,n,i);return e}else if(t==="lab"){const t=100*s();const n=256*s()-128;const i=256*s()-128;const e=new St(t,n,i,"lab");return e}else if(t==="grey"){const t=255*s();const n=new St(t,t,t);return n}else{throw new Error("Unsupported random color mode")}}static test(t){return typeof t==="string"&&(ot.test(t)||ht.test(t))}cmyk(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.min(1-i,1-e,1-r);if(o===1){return new St(0,0,0,1,"cmyk")}const h=(1-i-o)/(1-o);const u=(1-e-o)/(1-o);const c=(1-r-o)/(1-o);const l=new St(h,u,c,o,"cmyk");return l}hsl(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.max(i,e,r);const h=Math.min(i,e,r);const u=(o+h)/2;const c=o===h;const l=o-h;const f=c?0:u>.5?l/(2-o-h):l/(o+h);const a=c?0:o===i?((e-r)/l+(e<r?6:0))/6:o===e?((r-i)/l+2)/6:o===r?((i-e)/l+4)/6:0;const d=new St(360*a,100*f,100*u,"hsl");return d}init(t=0,n=0,s=0,i=0,e="rgb"){t=!t?0:t;if(this.space){for(const t in this.space){delete this[this.space[t]]}}if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:s,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?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 s=Ot(t,n);Object.assign(this,s)}else if(typeof t==="string"){if(ht.test(t)){const n=t.replace(rt,"");const[s,i,e]=st.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else if(ot.test(t)){const n=t=>parseInt(t,16);const[,s,i,e]=nt.exec(jt(t)).map(n);Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}const{_a:r,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r,g:o,b:h}:this.space==="xyz"?{x:r,y:o,z:h}:this.space==="hsl"?{h:r,s:o,l:h}:this.space==="lab"?{l:r,a:o,b:h}:this.space==="lch"?{l:r,c:o,h}:this.space==="cmyk"?{c:r,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:t,y:n,z:s}=this.xyz();const i=116*n-16;const e=500*(t-n);const r=200*(n-s);const o=new St(i,e,r,"lab");return o}lch(){const{l:t,a:n,b:s}=this.lab();const i=Math.sqrt(n**2+s**2);let e=180*Math.atan2(s,n)/Math.PI;if(e<0){e*=-1;e=360-e}const r=new St(t,i,e,"lch");return r}rgb(){if(this.space==="rgb"){return this}else if(Vt(this.space)){let{x:t,y:n,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:i,a:e,b:r}=this;if(this.space==="lch"){const{c:t,h:n}=this;const s=Math.PI/180;e=t*Math.cos(s*n);r=t*Math.sin(s*n)}const o=(i+16)/116;const h=e/500+o;const u=o-r/200;const c=16/116;const l=.008856;const f=7.787;t=.95047*(h**3>l?h**3:(h-c)/f);n=1*(o**3>l?o**3:(o-c)/f);s=1.08883*(u**3>l?u**3:(u-c)/f)}const i=t*3.2406+n*-1.5372+s*-.4986;const e=t*-.9689+n*1.8758+s*.0415;const r=t*.0557+n*-.204+s*1.057;const o=Math.pow;const h=.0031308;const u=i>h?1.055*o(i,1/2.4)-.055:12.92*i;const c=e>h?1.055*o(e,1/2.4)-.055:12.92*e;const l=r>h?1.055*o(r,1/2.4)-.055:12.92*r;const f=new St(255*u,255*c,255*l);return f}else if(this.space==="hsl"){let{h:t,s:n,l:s}=this;t/=360;n/=100;s/=100;if(n===0){s*=255;const t=new St(s,s,s);return t}const i=s<.5?s*(1+n):s+n-s*n;const e=2*s-i;const r=255*Et(e,i,t+1/3);const o=255*Et(e,i,t);const h=255*Et(e,i,t-1/3);const u=new St(r,o,h);return u}else if(this.space==="cmyk"){const{c:t,m:n,y:s,k:i}=this;const e=255*(1-Math.min(1,t*(1-i)+i));const r=255*(1-Math.min(1,n*(1-i)+i));const o=255*(1-Math.min(1,s*(1-i)+i));const h=new St(e,r,o);return h}else{return this}}toArray(){const{_a:t,_b:n,_c:s,_d:i,space:e}=this;return[t,n,s,i,e]}toHex(){const[t,n,s]=this._clamped().map(Lt);return`#${t}${n}${s}`}toRgb(){const[t,n,s]=this._clamped();const i=`rgb(${t},${n},${s})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;const c=(o*.4124+h*.3576+u*.1805)/.95047;const l=(o*.2126+h*.7152+u*.0722)/1;const f=(o*.0193+h*.1192+u*.9505)/1.08883;const a=c>.008856?Math.pow(c,1/3):7.787*c+16/116;const d=l>.008856?Math.pow(l,1/3):7.787*l+16/116;const C=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const w=new St(a,d,C,"xyz");return w}_clamped(){const{_a:t,_b:n,_c:s}=this.rgb();const{max:i,min:e,round:r}=Math;const o=t=>i(0,e(r(t),255));return[t,n,s].map(o)}}class Tt{constructor(...t){this.init(...t)}clone(){return new Tt(this)}init(t,n){const s={x:0,y:0};const i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?s.x:i.x;this.y=i.y==null?s.y:i.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!Dt.isMatrixLike(t)){t=new Dt(t)}const{x:n,y:s}=this;this.x=t.a*n+t.c*s+t.e;this.y=t.b*n+t.d*s+t.f;return this}}function Ht(t,n){return new Tt(t,n).transformO(this.screenCTM().inverseO())}function Bt(t,n,s){return Math.abs(n-t)<1e-6}class Dt{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const s=t.flip&&(n||t.flip==="x")?-1:1;const i=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s;const h=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i;const u=t.shear||0;const c=t.rotate||t.theta||0;const l=new Tt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=l.x;const a=l.y;const d=new Tt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);const C=d.x;const w=d.y;const p=new Tt(t.translate||t.tx||t.translateX,t.ty||t.translateY);const g=p.x;const m=p.y;const y=new Tt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);const x=y.x;const v=y.y;return{scaleX:o,scaleY:h,skewX:e,skewY:r,shear:u,theta:c,rx:x,ry:v,tx:g,ty:m,ox:f,oy:a,px:C,py:w}}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 t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,s){const i=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const r=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;s.a=i;s.b=e;s.c=r;s.d=o;s.e=h;s.f=u;return s}around(t,n,s){return this.clone().aroundO(t,n,s)}aroundO(t,n,s){const i=t||0;const e=n||0;return this.translateO(-i,-e).lmultiplyO(s).translateO(i,e)}clone(){return new Dt(this)}decompose(t=0,n=0){const s=this.a;const i=this.b;const e=this.c;const r=this.d;const o=this.e;const h=this.f;const u=s*r-i*e;const c=u>0?1:-1;const l=c*Math.sqrt(s*s+i*i);const f=Math.atan2(c*i,c*s);const a=180/Math.PI*f;const d=Math.cos(f);const C=Math.sin(f);const w=(s*e+i*r)/u;const p=e*l/(w*s-i)||r*l/(w*i+s);const g=o-t+t*d*l+n*(w*d*l-C*p);const m=h-n+t*C*l+n*(w*C*l+d*p);return{scaleX:l,scaleY:p,shear:w,rotate:a,translateX:g,translateY:m,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return true;const n=new Dt(t);return Bt(this.a,n.a)&&Bt(this.b,n.b)&&Bt(this.c,n.c)&&Bt(this.d,n.d)&&Bt(this.e,n.e)&&Bt(this.f,n.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(t){const n=Dt.fromArray([1,0,0,1,0,0]);t=t instanceof mn?t.matrixify():typeof t==="string"?Dt.fromArray(t.split(ft).map(parseFloat)):Array.isArray(t)?Dt.fromArray(t):typeof t==="object"&&Dt.isMatrixLike(t)?t:typeof t==="object"?(new Dt).transform(t):arguments.length===6?Dt.fromArray([].slice.call(arguments)):n;this.a=t.a!=null?t.a:n.a;this.b=t.b!=null?t.b:n.b;this.c=t.c!=null?t.c:n.c;this.d=t.d!=null?t.d:n.d;this.e=t.e!=null?t.e:n.e;this.f=t.f!=null?t.f:n.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const s=this.c;const i=this.d;const e=this.e;const r=this.f;const o=t*i-n*s;if(!o)throw new Error("Cannot invert "+this);const h=i/o;const u=-n/o;const c=-s/o;const l=t/o;const f=-(h*e+c*r);const a=-(u*e+l*r);this.a=h;this.b=u;this.c=c;this.d=l;this.e=f;this.f=a;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const n=this;const s=t instanceof Dt?t:new Dt(t);return Dt.matrixMultiply(s,n,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const n=this;const s=t instanceof Dt?t:new Dt(t);return Dt.matrixMultiply(n,s,this)}rotate(t,n,s){return this.clone().rotateO(t,n,s)}rotateO(t,n=0,s=0){t=d(t);const i=Math.cos(t);const e=Math.sin(t);const{a:r,b:o,c:h,d:u,e:c,f:l}=this;this.a=r*i-o*e;this.b=o*i+r*e;this.c=h*i-u*e;this.d=u*i+h*e;this.e=c*i-l*e+s*e-n*i+n;this.f=l*i+c*e-n*e-s*i+s;return this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}const{a:e,b:r,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=r*n;this.c=o*t;this.d=h*n;this.e=u*t-s*t+s;this.f=c*n-i*n+i;return this}shear(t,n,s){return this.clone().shearO(t,n,s)}shearO(t,n=0,s=0){const{a:i,b:e,c:r,d:o,e:h,f:u}=this;this.a=i+e*t;this.c=r+o*t;this.e=h+u*t-s*t;return this}skew(){return this.clone().skewO(...arguments)}skewO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}t=d(t);n=d(n);const e=Math.tan(t);const r=Math.tan(n);const{a:o,b:h,c:u,d:c,e:l,f}=this;this.a=o+h*e;this.b=h+o*r;this.c=u+c*e;this.d=c+u*r;this.e=l+f*e-i*e;this.f=f+l*r-s*r;return this}skewX(t,n,s){return this.skew(t,0,n,s)}skewY(t,n,s){return this.skew(0,t,n,s)}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(Dt.isMatrixLike(t)){const n=new Dt(t);return n.multiplyO(this)}const n=Dt.formatTransforms(t);const s=this;const{x:i,y:e}=new Tt(n.ox,n.oy).transform(s);const r=(new Dt).translateO(n.rx,n.ry).lmultiplyO(s).translateO(-i,-e).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(i,e);if(isFinite(n.px)||isFinite(n.py)){const t=new Tt(i,e).transform(r);const s=isFinite(n.px)?n.px-t.x:0;const o=isFinite(n.py)?n.py-t.y:0;r.translateO(s,o)}r.translateO(n.tx,n.ty);return r}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function zt(){return new Dt(this.node.getCTM())}function It(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new Dt(n)}return new Dt(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new Dt}}B(Dt,"Matrix");function Zt(){if(!Zt.nodes){const t=E().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 n=t.path().node;Zt.nodes={svg:t,path:n}}if(!Zt.nodes.svg.node.parentNode){const t=_.document.body||_.document.documentElement;Zt.nodes.svg.addTo(t)}return Zt.nodes}function Ft(t){return!t.width&&!t.height&&!t.x&&!t.y}function $t(t){return t===_.document||(_.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===_.document}).call(_.document.documentElement,t)}class Nt{constructor(...t){this.init(...t)}addOffset(){this.x+=_.window.pageXOffset;this.y+=_.window.pageYOffset;return new Nt(this)}init(t){const n=[0,0,0,0];t=typeof t==="string"?t.split(ft).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):n;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;return this}isNulled(){return Ft(this)}merge(t){const n=Math.min(this.x,t.x);const s=Math.min(this.y,t.y);const i=Math.max(this.x+this.width,t.x+t.width)-n;const e=Math.max(this.y+this.height,t.y+t.height)-s;return new Nt(n,s,i,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){if(!(t instanceof Dt)){t=new Dt(t)}let n=Infinity;let s=-Infinity;let i=Infinity;let e=-Infinity;const r=[new Tt(this.x,this.y),new Tt(this.x2,this.y),new Tt(this.x,this.y2),new Tt(this.x2,this.y2)];r.forEach((function(r){r=r.transform(t);n=Math.min(n,r.x);s=Math.max(s,r.x);i=Math.min(i,r.y);e=Math.max(e,r.y)}));return new Nt(n,i,s-n,e-i)}}function Pt(t,n,s){let i;try{i=n(t.node);if(Ft(i)&&!$t(t.node)){throw new Error("Element not in the dom")}}catch(n){i=s(t)}return i}function Rt(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo(Zt().svg).show();const s=n.node.getBBox();n.remove();return s}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const s=Pt(this,t,n);const i=new Nt(s);return i}function Gt(t){const n=t=>t.getBoundingClientRect();const s=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const i=Pt(this,n,s);const e=new Nt(i);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function Yt(t,n){const s=this.bbox();return t>s.x&&n>s.y&&t<s.x+s.width&&n<s.y+s.height}h({viewbox:{viewbox(t,n,s,i){if(t==null)return new Nt(this.attr("viewBox"));return this.attr("viewBox",new Nt(t,n,s,i))},zoom(t,n){let{width:s,height:i}=this.attr(["width","height"]);if(!s&&!i||typeof s==="string"||typeof i==="string"){s=this.node.clientWidth;i=this.node.clientHeight}if(!s||!i){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();const r=s/e.width;const o=i/e.height;const h=Math.min(r,o);if(t==null){return h}let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new Tt(s/2/r+e.x,i/2/o+e.y);const c=new Nt(e).transform(new Dt({scale:u,origin:n}));return this.viewbox(c)}}});B(Nt,"Box");class Xt extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}}F([Xt],{each(t,...n){if(typeof t==="function"){return this.map(((n,s,i)=>t.call(n,n,s,i)))}else{return this.map((s=>s[t](...n)))}},toArray(){return Array.prototype.concat.apply([],this)}});const Qt=["toArray","constructor","each"];Xt.extend=function(t){t=t.reduce(((t,n)=>{if(Qt.includes(n))return t;if(n[0]==="_")return t;if(n in Array.prototype){t["$"+n]=Array.prototype[n]}t[n]=function(...t){return this.each(n,...t)};return t}),{});F([Xt],t)};function qt(t,n){return new Xt(f((n||_.document).querySelectorAll(t),(function(t){return T(t)})))}function Jt(t){return qt(t,this.node)}function Ut(t){return T(this.node.querySelector(t))}let Wt=0;const Kt={};function tn(t){let n=t.getEventHolder();if(n===_.window)n=Kt;if(!n.events)n.events={};return n.events}function nn(t){return t.getEventTarget()}function sn(t){let n=t.getEventHolder();if(n===_.window)n=Kt;if(n.events)n.events={}}function en(t,n,s,i,e){const r=s.bind(i||t);const o=E(t);const h=tn(o);const u=nn(o);n=Array.isArray(n)?n:n.split(ft);if(!s._svgjsListenerId){s._svgjsListenerId=++Wt}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";h[n]=h[n]||{};h[n][i]=h[n][i]||{};h[n][i][s._svgjsListenerId]=r;u.addEventListener(n,r,e||false)}))}function rn(t,n,s,i){const e=E(t);const r=tn(e);const o=nn(e);if(typeof s==="function"){s=s._svgjsListenerId;if(!s)return}n=Array.isArray(n)?n:(n||"").split(ft);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(s){if(r[n]&&r[n][h||"*"]){o.removeEventListener(n,r[n][h||"*"][s],i||false);delete r[n][h||"*"][s]}}else if(n&&h){if(r[n]&&r[n][h]){for(c in r[n][h]){rn(o,[n,h].join("."),c)}delete r[n][h]}}else if(h){for(t in r){for(u in r[t]){if(h===u){rn(o,[t,h].join("."))}}}}else if(n){if(r[n]){for(u in r[n]){rn(o,[n,u].join("."))}delete r[n]}}else{for(t in r){rn(o,t)}sn(e)}}))}function on(t,n,s,i){const e=nn(t);if(n instanceof _.window.Event){e.dispatchEvent(n)}else{n=new _.window.CustomEvent(n,{detail:s,cancelable:true,...i});e.dispatchEvent(n)}return n}class hn extends L{addEventListener(){}dispatch(t,n,s){return on(this,t,n,s)}dispatchEvent(t){const n=this.getEventHolder().events;if(!n)return true;const s=n[t.type];for(const n in s){for(const i in s[n]){s[n][i](t)}}return!t.defaultPrevented}fire(t,n,s){this.dispatch(t,n,s);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,s){rn(this,t,n,s);return this}on(t,n,s,i){en(this,t,n,s,i);return this}removeEventListener(){}}B(hn,"EventTarget");function un(){}const cn={duration:400,ease:">",delay:0};const ln={"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 fn extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(ft).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}}class an{constructor(...t){this.init(...t)}convert(t){return new an(this.value,t)}divide(t){t=new an(t);return new an(this/t,this.unit||t.unit)}init(t,n){n=Array.isArray(t)?t[1]:n;t=Array.isArray(t)?t[0]:t;this.value=0;this.unit=n||"";if(typeof t==="number"){this.value=isNaN(t)?0:!isFinite(t)?t<0?-34e37:+34e37:t}else if(typeof t==="string"){n=t.match(tt);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(t instanceof an){this.value=t.valueOf();this.unit=t.unit}}return this}minus(t){t=new an(t);return new an(this-t,this.unit||t.unit)}plus(t){t=new an(t);return new an(this+t,this.unit||t.unit)}times(t){t=new an(t);return new an(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const dn=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const Cn=[];function wn(t){Cn.push(t)}function pn(t,n,s){if(t==null){t={};n=this.node.attributes;for(const s of n){t[s.nodeName]=ct.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(n in t)this.attr(n,t[n])}else if(n===null){this.node.removeAttribute(t)}else if(n==null){n=this.node.getAttribute(t);return n==null?ln[t]:ct.test(n)?parseFloat(n):n}else{n=Cn.reduce(((n,s)=>s(t,n,this)),n);if(typeof n==="number"){n=new an(n)}else if(dn.has(t)&&St.isColor(n)){n=new St(n)}else if(n.constructor===Array){n=new fn(n)}if(t==="leading"){if(this.leading){this.leading(n)}}else{typeof s==="string"?this.node.setAttributeNS(s,t,n.toString()):this.node.setAttribute(t,n.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}class gn extends hn{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n){this.attr(n)}}add(t,n){t=E(t);if(t.removeNamespace&&this.node instanceof _.window.SVGElement){t.removeNamespace()}if(n==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[n]){this.node.insertBefore(t.node,this.node.childNodes[n])}return this}addTo(t,n){return E(t).put(this,n)}children(){return new Xt(f(this.node.children,(function(t){return T(t)})))}clear(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this}clone(t=true,n=true){this.writeDataToDom();let s=this.node.cloneNode(t);if(n){s=Z(s)}return new this.constructor(s)}each(t,n){const s=this.children();let i,e;for(i=0,e=s.length;i<e;i++){t.apply(s[i],[i,s]);if(n){s[i].each(t,n)}}return this}element(t,n){return this.put(new gn(V(t),n))}first(){return T(this.node.firstChild)}get(t){return T(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,b)}id(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=I(this.type)}return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return T(this.node.lastChild)}matches(t){const n=this.node;const s=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return s&&s.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=T(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=T(n.node.parentNode));return n}put(t,n){t=E(t);this.add(t,n);return t}putIn(t,n){return E(t).add(this,n)}remove(){if(this.parent()){this.parent().removeElement(this)}return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=E(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t}round(t=2,n=null){const s=10**t;const i=this.attr(n);for(const t in i){if(typeof i[t]==="number"){i[t]=Math.round(i[t]*s)/s}}this.attr(i);return this}svg(t,n){return this.xml(t,n,v)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n){return this.addTo(t)}const s=n.index(this);return n.put(t,s).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let s=this;if(t!=null){s=T(s.node.cloneNode(true));if(n){const n=t(s);s=n||s;if(n===false)return""}s.each((function(){const n=t(this);const s=n||this;if(n===false){this.remove()}else if(n&&this!==s){this.replace(s)}}),true)}return n?s.node.outerHTML:s.node.innerHTML}n=n==null?false:n;const i=V("wrapper",s);const e=_.document.createDocumentFragment();i.innerHTML=t;for(let t=i.children.length;t--;){e.appendChild(i.firstElementChild)}const r=this.parent();return n?this.replace(e)&&r:this.add(e)}}F(gn,{attr:pn,find:Jt,findOne:Ut});B(gn,"Dom");class mn extends gn{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data")){this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new an(t).plus(this.x()))}dy(t=0){return this.y(new an(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";if(!n){t=E(t)}const s=new Xt;let i=this;while((i=i.parent())&&i.node!==_.document&&i.nodeName!=="#document-fragment"){s.push(i);if(!n&&i.node===t.node){break}if(n&&i.matches(t)){break}if(i.node===this.root().node){return null}}return s}reference(t){t=this.attr(t);if(!t)return null;const n=(t+"").match(it);return n?E(n[1]):null}root(){const t=this.parent(D(O));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const s=p(this,t,n);return this.width(new an(s.width)).height(new an(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){x(this,this.dom);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}F(mn,{bbox:Rt,rbox:Gt,inside:Yt,point:Ht,ctm:zt,screenCTM:It});B(mn,"Element");const yn={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let s;n[t]=function(n){if(typeof n==="undefined"){return this.attr(t)}if(typeof n==="string"||n instanceof St||St.isRgb(n)||n instanceof mn){this.attr(t,n)}else{for(s=yn[t].length-1;s>=0;s--){if(n[yn[t][s]]!=null){this.attr(yn.prefix(t,yn[t][s]),n[yn[t][s]])}}}return this};h(["Element","Runner"],n)}));h(["Element","Runner"],{matrix:function(t,n,s,i,e,r){if(t==null){return new Dt(this)}return this.attr("transform",new Dt(t,n,s,i,e,r))},rotate:function(t,n,s){return this.transform({rotate:t,ox:n,oy:s},true)},skew:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:s},true):this.transform({skew:[t,n],ox:s,oy:i},true)},shear:function(t,n,s){return this.transform({shear:t,ox:n,oy:s},true)},scale:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:s},true):this.transform({scale:[t,n],ox:s,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});h("radius",{radius:function(t,n=t){const s=(this._element||this).type;return s==="radialGradient"?this.attr("r",new an(t)):this.rx(t).ry(n)}});h("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Tt(this.node.getPointAtLength(t))}});h(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});const xn=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){const s=function(t){if(t===null){this.off(n)}else{this.on(n,t)}return this};t[n]=s;return t}),{});h("Element",xn);function vn(){return this.attr("transform",null)}function bn(){const t=(this.attr("transform")||"").split(et).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0],n[1].split(ft).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix"){return t.lmultiply(Dt.fromArray(n[1]))}return t[n[0]].apply(t,n[1])}),new Dt);return t}function Mn(t,n){if(this===t)return this;if(y(this.node))return this.addTo(t,n);const s=this.screenCTM();const i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(s));return this}function kn(t){return this.toParent(this.root(),t)}function _n(t,n){if(t==null||typeof t==="string"){const n=new Dt(this).decompose();return t==null?n:n[t]}if(!Dt.isMatrixLike(t)){t={...t,origin:g(t,this)}}const s=n===true?this:n||false;const i=new Dt(s).transform(t);return this.attr("transform",i)}h("Element",{untransform:vn,matrixify:bn,toParent:Mn,toRoot:kn,transform:_n});class jn extends mn{flatten(){this.each((function(){if(this instanceof jn){return this.flatten().ungroup()}}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(s,i){return i[i.length-s-1].toParent(t,n)}));return this.remove()}}B(jn,"Container");class Ln extends jn{constructor(t,n=t){super(S("defs",t),n)}flatten(){return this}ungroup(){return this}}B(Ln,"Defs");class An extends mn{}B(An,"Shape");function On(t){return this.attr("rx",t)}function Vn(t){return this.attr("ry",t)}function En(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Sn(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Tn(t){return this.attr("cx",t)}function Hn(t){return this.attr("cy",t)}function Bn(t){return t==null?this.rx()*2:this.rx(new an(t).divide(2))}function Dn(t){return t==null?this.ry()*2:this.ry(new an(t).divide(2))}var zn={__proto__:null,cx:Tn,cy:Hn,height:Dn,rx:On,ry:Vn,width:Bn,x:En,y:Sn};class In extends An{constructor(t,n=t){super(S("ellipse",t),n)}size(t,n){const s=p(this,t,n);return this.rx(new an(s.width).divide(2)).ry(new an(s.height).divide(2))}}F(In,zn);h("Container",{ellipse:$((function(t=0,n=t){return this.put(new In).size(t,n).move(0,0)}))});B(In,"Ellipse");class Zn extends gn{constructor(t=_.document.createDocumentFragment()){super(t)}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new gn(V("wrapper",s));t.add(this.node.cloneNode(true));return t.xml(false,s)}return super.xml(t,false,s)}}B(Zn,"Fragment");function Fn(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new an(t),fy:new an(n)}):this.attr({x1:new an(t),y1:new an(n)})}function $n(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new an(t),cy:new an(n)}):this.attr({x2:new an(t),y2:new an(n)})}var Nn={__proto__:null,from:Fn,to:$n};class Pn extends jn{constructor(t,n){super(S(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,s){if(t==="transform")t="gradientTransform";return super.attr(t,n,s)}bbox(){return new Nt}targets(){return qt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}F(Pn,Nn);h({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:$((function(t,n){return this.put(new Pn(t)).update(n)}))}});B(Pn,"Gradient");class Rn extends jn{constructor(t,n=t){super(S("pattern",t),n)}attr(t,n,s){if(t==="transform")t="patternTransform";return super.attr(t,n,s)}bbox(){return new Nt}targets(){return qt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}h({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:$((function(t,n,s){return this.put(new Rn).update(s).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});B(Rn,"Pattern");class Gn extends An{constructor(t,n=t){super(S("image",t),n)}load(t,n){if(!t)return this;const s=new _.window.Image;en(s,"load",(function(t){const i=this.parent(Rn);if(this.width()===0&&this.height()===0){this.size(s.width,s.height)}if(i instanceof Rn){if(i.width()===0&&i.height()===0){i.size(this.width(),this.height())}}if(typeof n==="function"){n.call(this,t)}}),this);en(s,"load error",(function(){rn(s)}));return this.attr("href",s.src=t,k)}}wn((function(t,n,s){if(t==="fill"||t==="stroke"){if(lt.test(n)){n=s.root().defs().image(n)}}if(n instanceof Gn){n=s.root().defs().pattern(0,0,(t=>{t.add(n)}))}return n}));h({Container:{image:$((function(t,n){return this.put(new Gn).size(0,0).load(t,n)}))}});B(Gn,"Image");class Yn extends fn{bbox(){let t=-Infinity;let n=-Infinity;let s=Infinity;let i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);s=Math.min(e[0],s);i=Math.min(e[1],i)}));return new Nt(s,i,t-s,n-i)}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s=this.length-1;s>=0;s--){this[s]=[this[s][0]+t,this[s][1]+n]}}return this}parse(t=[0,0]){const n=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(ft).map(parseFloat)}if(t.length%2!==0)t.pop();for(let s=0,i=t.length;s<i;s=s+2){n.push([t[s],t[s+1]])}return n}size(t,n){let s;const i=this.bbox();for(s=this.length-1;s>=0;s--){if(i.width)this[s][0]=(this[s][0]-i.x)*t/i.width+i.x;if(i.height)this[s][1]=(this[s][1]-i.y)*n/i.height+i.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 n=0,s=this.length;n<s;n++){t.push(this[n].join(","))}return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!Dt.isMatrixLike(t)){t=new Dt(t)}for(let n=this.length;n--;){const[s,i]=this[n];this[n][0]=t.a*s+t.c*i+t.e;this[n][1]=t.b*s+t.d*i+t.f}return this}}const Xn=Yn;function Qn(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function qn(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Jn(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Un(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Wn={__proto__:null,MorphArray:Xn,height:Un,width:Jn,x:Qn,y:qn};class Kn extends An{constructor(t,n=t){super(S("line",t),n)}array(){return new Yn([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,s,i){if(t==null){return this.array()}else if(typeof n!=="undefined"){t={x1:t,y1:n,x2:s,y2:i}}else{t=new Yn(t).toLine()}return this.attr(t)}size(t,n){const s=p(this,t,n);return this.attr(this.array().size(s.width,s.height).toLine())}}F(Kn,Wn);h({Container:{line:$((function(...t){return Kn.prototype.plot.apply(this.put(new Kn),t[0]!=null?t:[0,0,0,0])}))}});B(Kn,"Line");class ts extends jn{constructor(t,n=t){super(S("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}width(t){return this.attr("markerWidth",t)}}h({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:$((function(t,n,s){return this.put(new ts).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(s)}))},marker:{marker(t,n,s,i){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof ts?arguments[1]:this.defs().marker(n,s,i);return this.attr(e,t)}}});B(ts,"Marker");function ns(t,n){return function(s){if(s==null)return this[t];this[t]=s;if(n)n.call(this);return this}}const ss={"-":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-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,s,i){return function(e){if(e<0){if(t>0){return n/t*e}else if(s>0){return i/s*e}else{return 0}}else if(e>1){if(s<1){return(1-i)/(1-s)*e+(i-s)/(1-s)}else if(t<1){return(1-n)/(1-t)*e+(n-t)/(1-t)}else{return 1}}else{return 3*e*(1-e)**2*n+3*e**2*(1-e)*i+e**3}}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let s=t;if(n==="none"){--s}else if(n==="both"){++s}return(i,e=false)=>{let r=Math.floor(i*t);const o=i*r%1===0;if(n==="start"||n==="both"){++r}if(e&&o){--r}if(i>=0&&r<0){r=0}if(i<=1&&r>s){r=s}return r/s}}};class is{done(){return false}}class es extends is{constructor(t=cn.ease){super();this.ease=ss[t]||t}step(t,n,s){if(typeof t!=="number"){return s<1?t:n}return t+(n-t)*this.ease(s)}}class rs extends is{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,s,i){return this.stepper(t,n,s,i)}}function os(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const s=1e-10;const i=Math.PI;const e=Math.log(n/100+s);const r=-e/Math.sqrt(i*i+e*e);const o=3.9/(r*t);this.d=2*r*o;this.k=o*o}class hs extends rs{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;if(s>100)s=16;s/=1e3;const e=i.velocity||0;const r=-this.d*e-this.k*(t-n);const o=t+e*s+r*s*s/2;i.velocity=e+r*s;i.done=Math.abs(n-o)+Math.abs(e)<.002;return i.done?n:o}}F(hs,{duration:ns("_duration",os),overshoot:ns("_overshoot",os)});class us extends rs{constructor(t=.1,n=.01,s=0,i=1e3){super();this.p(t).i(n).d(s).windup(i)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;const e=n-t;let r=(i.integral||0)+e*s;const o=(e-(i.error||0))/s;const h=this._windup;if(h!==false){r=Math.max(-h,Math.min(r,h))}i.error=e;i.integral=r;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*r+this.D*o)}}F(us,{windup:ns("_windup"),p:ns("P"),i:ns("I"),d:ns("D")});const cs={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const ls={M:function(t,n,s){n.x=s.x=t[0];n.y=s.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,s){n.x=s.x;n.y=s.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const fs="mlhvqtcsaz".split("");for(let t=0,n=fs.length;t<n;++t){ls[fs[t]]=function(t){return function(n,s,i){if(t==="H")n[0]=n[0]+s.x;else if(t==="V")n[0]=n[0]+s.y;else if(t==="A"){n[5]=n[5]+s.x;n[6]=n[6]+s.y}else{for(let t=0,i=n.length;t<i;++t){n[t]=n[t]+(t%2?s.y:s.x)}}return ls[t](n,s,i)}}(fs[t].toUpperCase())}function as(t){const n=t.segment[0];return ls[n](t.segment.slice(1),t.p,t.p0)}function ds(t){return t.segment.length&&t.segment.length-1===cs[t.segment[0].toUpperCase()]}function Cs(t,n){t.inNumber&&ws(t,false);const s=at.test(n);if(s){t.segment=[n]}else{const n=t.lastCommand;const s=n.toLowerCase();const i=n===s;t.segment=[s==="m"?i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return s}function ws(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(ds(t)){ps(t)}}function ps(t){t.inSegment=false;if(t.absolute){t.segment=as(t)}t.segments.push(t.segment)}function gs(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const s=t.segment.length;return n&&(s===4||s===5)}function ms(t){return t.lastToken.toUpperCase()==="E"}const ys=new Set([" ",",","\t","\n","\r","\f"]);function xs(t,n=true){let s=0;let i="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new Tt,p:new Tt};while(e.lastToken=i,i=t.charAt(s++)){if(!e.inSegment){if(Cs(e,i)){continue}}if(i==="."){if(e.pointSeen||e.hasExponent){ws(e,false);--s;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||gs(e)){e.inNumber=true;e.number=i;ws(e,true);continue}e.inNumber=true;e.number+=i;continue}if(ys.has(i)){if(e.inNumber){ws(e,false)}continue}if(i==="-"||i==="+"){if(e.inNumber&&!ms(e)){ws(e,false);--s;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(at.test(i)){if(e.inNumber){ws(e,false)}else if(!ds(e)){throw new Error("parser Error")}else{ps(e)}--s}}if(e.inNumber){ws(e,false)}if(e.inSegment&&ds(e)){ps(e)}return e.segments}function vs(t){let n="";for(let s=0,i=t.length;s<i;s++){n+=t[s][0];if(t[s][1]!=null){n+=t[s][1];if(t[s][2]!=null){n+=" ";n+=t[s][2];if(t[s][3]!=null){n+=" ";n+=t[s][3];n+=" ";n+=t[s][4];if(t[s][5]!=null){n+=" ";n+=t[s][5];n+=" ";n+=t[s][6];if(t[s][7]!=null){n+=" ";n+=t[s][7]}}}}}}return n+" "}class bs extends fn{bbox(){Zt().path.setAttribute("d",this.toString());return new Nt(Zt.nodes.path.getBBox())}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s,i=this.length-1;i>=0;i--){s=this[i][0];if(s==="M"||s==="L"||s==="T"){this[i][1]+=t;this[i][2]+=n}else if(s==="H"){this[i][1]+=t}else if(s==="V"){this[i][1]+=n}else if(s==="C"||s==="S"||s==="Q"){this[i][1]+=t;this[i][2]+=n;this[i][3]+=t;this[i][4]+=n;if(s==="C"){this[i][5]+=t;this[i][6]+=n}}else if(s==="A"){this[i][6]+=t;this[i][7]+=n}}}return this}parse(t="M0 0"){if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return xs(t)}size(t,n){const s=this.bbox();let i,e;s.width=s.width===0?1:s.width;s.height=s.height===0?1:s.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y}else if(e==="H"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x}else if(e==="V"){this[i][1]=(this[i][1]-s.y)*n/s.height+s.y}else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y;this[i][3]=(this[i][3]-s.x)*t/s.width+s.x;this[i][4]=(this[i][4]-s.y)*n/s.height+s.y;if(e==="C"){this[i][5]=(this[i][5]-s.x)*t/s.width+s.x;this[i][6]=(this[i][6]-s.y)*n/s.height+s.y}}else if(e==="A"){this[i][1]=this[i][1]*t/s.width;this[i][2]=this[i][2]*n/s.height;this[i][6]=(this[i][6]-s.x)*t/s.width+s.x;this[i][7]=(this[i][7]-s.y)*n/s.height+s.y}}return this}toString(){return vs(this)}}const Ms=t=>{const n=typeof t;if(n==="number"){return an}else if(n==="string"){if(St.isColor(t)){return St}else if(ft.test(t)){return at.test(t)?bs:fn}else if(tt.test(t)){return an}else{return _s}}else if(Os.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return fn}else if(n==="object"){return As}else{return _s}};class ks{constructor(t){this._stepper=t||new es("-");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(){const t=this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true);return t}from(t){if(t==null){return this._from}this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null){return this._to}this._to=this._set(t);return this}type(t){if(t==null){return this._type}this._type=t;return this}_set(t){if(!this._type){this.type(Ms(t))}let n=new this._type(t);if(this._type===St){n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n}if(this._type===As){n=this._to?n.align(this._to):this._from?n.align(this._from):n}n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}}class _s{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}}class js{constructor(...t){this.init(...t)}init(t){if(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,js.defaults,t);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}js.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Ls=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;class As{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let s=0,i=n.length;s<i;++s){if(n[s+1]===t[s+1]){if(n[s+1]===St&&t[s+7]!==n[s+7]){const n=t[s+7];const i=new St(this.values.splice(s+3,5))[n]().toArray();this.values.splice(s+3,0,...i)}s+=n[s+2]+2;continue}if(!t[s+1]){return this}const i=(new t[s+1]).toArray();const e=n[s+2]+3;n.splice(s,e,t[s],t[s+1],t[s+2],...i);s+=n[s+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const s in t){const i=Ms(t[s]);const e=new i(t[s]).toArray();n.push([s,i,e.length,...e])}n.sort(Ls);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const s=n.shift();const i=n.shift();const e=n.shift();const r=n.splice(0,e);t[s]=new i(r)}return t}}const Os=[_s,js,As];function Vs(t=[]){Os.push(...[].concat(t))}function Es(){F(Os,{to(t){return(new ks).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,s,i,e){const r=function(t,r){return i.step(t,n[r],s,e[r],e)};return this.fromArray(t.map(r))}})}class Ss extends An{constructor(t,n=t){super(S("path",t),n)}array(){return this._array||(this._array=new bs(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new bs(t))}size(t,n){const s=p(this,t,n);return this.attr("d",this.array().size(s.width,s.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}}Ss.prototype.MorphArray=bs;h({Container:{path:$((function(t){return this.put(new Ss).plot(t||new bs)}))}});B(Ss,"Path");function Ts(){return this._array||(this._array=new Yn(this.attr("points")))}function Hs(){delete this._array;return this}function Bs(t,n){return this.attr("points",this.array().move(t,n))}function Ds(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Yn(t))}function zs(t,n){const s=p(this,t,n);return this.attr("points",this.array().size(s.width,s.height))}var Is={__proto__:null,array:Ts,clear:Hs,move:Bs,plot:Ds,size:zs};class Zs extends An{constructor(t,n=t){super(S("polygon",t),n)}}h({Container:{polygon:$((function(t){return this.put(new Zs).plot(t||new Yn)}))}});F(Zs,Wn);F(Zs,Is);B(Zs,"Polygon");class Fs extends An{constructor(t,n=t){super(S("polyline",t),n)}}h({Container:{polyline:$((function(t){return this.put(new Fs).plot(t||new Yn)}))}});F(Fs,Wn);F(Fs,Is);B(Fs,"Polyline");class $s extends An{constructor(t,n=t){super(S("rect",t),n)}}F($s,{rx:On,ry:Vn});h({Container:{rect:$((function(t,n){return this.put(new $s).size(t,n)}))}});B($s,"Rect");class Ns{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}}const Ps={nextDraw:null,frames:new Ns,timeouts:new Ns,immediates:new Ns,timer:()=>_.window.performance||_.window.Date,transforms:[],frame(t){const n=Ps.frames.push({run:t});if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return n},timeout(t,n){n=n||0;const s=Ps.timer().now()+n;const i=Ps.timeouts.push({run:t,time:s});if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return i},immediate(t){const n=Ps.immediates.push(t);if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return n},cancelFrame(t){t!=null&&Ps.frames.remove(t)},clearTimeout(t){t!=null&&Ps.timeouts.remove(t)},cancelImmediate(t){t!=null&&Ps.immediates.remove(t)},_draw(t){let n=null;const s=Ps.timeouts.last();while(n=Ps.timeouts.shift()){if(t>=n.time){n.run()}else{Ps.timeouts.push(n)}if(n===s)break}let i=null;const e=Ps.frames.last();while(i!==e&&(i=Ps.frames.shift())){i.run(t)}let r=null;while(r=Ps.immediates.shift()){r()}Ps.nextDraw=Ps.timeouts.first()||Ps.frames.first()?_.window.requestAnimationFrame(Ps._draw):null}};const Rs=function(t){const n=t.start;const s=t.runner.duration();const i=n+s;return{start:n,duration:s,end:i,runner:t.runner}};const Gs=function(){const t=_.window;return(t.performance||t.Date).now()};class Ys extends hn{constructor(t=Gs){super();this._timeSource=t;this.terminate()}active(){return!!this._nextFrame}finish(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;const s=t?t.start:this._time;return s+n}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(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const s=Math.abs(n);return this.speed(t?-s:s)}schedule(t,n,s){if(t==null){return this._runners.map(Rs)}let i=0;const e=this.getEndTime();n=n||0;if(s==null||s==="last"||s==="after"){i=e}else if(s==="absolute"||s==="start"){i=n;n=0}else if(s==="now"){i=this._time}else if(s==="relative"){const s=this.getRunnerInfoById(t.id);if(s){i=s.start+n;n=0}}else if(s==="with-last"){const t=this.getLastRunnerInfo();const n=t?t.start:this._time;i=n}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);const r=t.persist();const o={persist:r===null?this._persist:r,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this}updateTime(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this}_continue(t=false){Ps.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Ps.frame(this._step);return this}_stepFn(t=false){const n=this._timeSource();let s=n-this._lastSourceTime;if(t)s=0;const i=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;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 n=this._runners[t];const s=n.runner;const i=this._time-n.start;if(i<=0){s.reset()}}let e=false;for(let t=0,n=this._runners.length;t<n;t++){const s=this._runners[t];const r=s.runner;let o=i;const h=this._time-s.start;if(h<=0){e=true;continue}else if(h<o){o=h}if(!r.active())continue;const u=r.step(o).done;if(!u){e=true}else if(s.persist!==true){const i=r.duration()-r.time()+this._time;if(i+s.persist<this._time){r.unschedule();--t;--n}}}if(e&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this}terminate(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}}h({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Ys;return this._timeline}else{this._timeline=t;return this}}}});class Xs extends hn{constructor(t){super();this.id=Xs.id++;t=t==null?cn.duration:t;t=typeof t==="function"?new rs(t):t;this._element=null;this._timeline=null;this.done=false;this._queue=[];this._duration=typeof t==="number"&&t;this._isDeclarative=t instanceof rs;this._stepper=this._isDeclarative?t:new es;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new Dt;this.transformId=1;this._haveReversed=false;this._reverse=false;this._loopsDone=0;this._swing=false;this._wait=0;this._times=1;this._frameId=null;this._persist=this._isDeclarative?true:null}static sanitise(t,n,s){let i=1;let e=false;let r=0;t=t??cn.duration;n=n??cn.delay;s=s||"last";if(typeof t==="object"&&!(t instanceof is)){n=t.delay??n;s=t.when??s;e=t.swing||e;i=t.times??i;r=t.wait??r;t=t.duration??cn.duration}return{duration:t,delay:n,swing:e,times:i,wait:r,when:s}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t){this.transforms.lmultiplyO(t);return this}after(t){return this.on("finished",t)}animate(t,n,s){const i=Xs.sanitise(t,n,s);const e=new Xs(i.duration);if(this._timeline)e.timeline(this._timeline);if(this._element)e.element(this._element);return e.loop(i).schedule(i.delay,i.when)}clearTransform(){this.transforms=new Dt;return this}clearTransformsFromQueue(){if(!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){this._stepper=new es(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){return this.step(Infinity)}loop(t,n,s){if(typeof t==="object"){n=t.swing;s=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=s||0;if(this._times===true){this._times=Infinity}return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const s=this._time-t*n;const i=s/this._duration;return Math.min(t+i,this._times)}const s=Math.floor(t);const i=t%1;const e=n*s+this._duration*i;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const s=this._duration;const i=this._wait;const e=this._times;const r=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=r*Math.floor(t%(2*(i+s))/(i+s));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(i+s))/s+e;const u=Math.max(Math.min(h,1),0);return u};const u=e*(i+s)-i;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=r&&u%2===0;const l=c&&!o||o&&c;h=u+(l?t:1-t);return this.loops(h)}progress(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())}queue(t,n,s,i){this._queue.push({initialiser:t||un,runner:n||un,retarget:s,isTransform:i,initialised:false,finished:false});const e=this.timeline();e&&this.timeline()._continue();return this}reset(){if(this._reseted)return this;this.time(0);this._reseted=true;return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,s){if(!(t instanceof Ys)){s=n;n=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,n,s);return this}step(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;const n=this.position();const s=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;const i=this.duration();const e=this._lastTime<=0&&this._time>0;const r=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e){this.fire("start",this)}const o=this._isDeclarative;this.done=!o&&!r&&this._time>=i;this._reseted=false;let h=false;if(s||o){this._initialise(s);this.transforms=new Dt;h=this._run(o?t:n);this.fire("step",this)}this.done=this.done||h&&o;if(r){this.fire("finished",this)}return this}time(t){if(t==null){return this._time}const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n];const i=this._isDeclarative||!s.initialised&&t;t=!s.finished;if(i&&t){s.initialiser.call(this);s.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let s=0,i=this._queue.length;s<i;++s){const i=this._queue[s];const e=i.runner.call(this,t);i.finished=i.finished||e===true;n=n&&i.finished}return n}_tryRetarget(t,n,s){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,n,s)}else{this._history[t].morpher.to(n)}this._history[t].caller.finished=false;const i=this.timeline();i&&i.play();return true}return false}}Xs.id=0;class Qs{constructor(t=new Dt,n=-1,s=true){this.transforms=t;this.id=n;this.done=s}clearTransformsFromQueue(){}}F([Xs,Qs],{mergeWith(t){return new Qs(t.transforms.lmultiply(this.transforms),t.id)}});const qs=(t,n)=>t.lmultiplyO(n);const Js=t=>t.transforms;function Us(){const t=this._transformationRunners.runners;const n=t.map(Js).reduce(qs,new Dt);this.transform(n);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}class Ws{constructor(){this.runners=[];this.ids=[]}add(t){if(this.runners.includes(t))return;const n=t.id+1;this.runners.push(t);this.ids.push(n);return this}clearBefore(t){const n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new Qs).forEach((t=>t.clearTransformsFromQueue()));return this}edit(t,n){const s=this.ids.indexOf(t+1);this.ids.splice(s,1,t+1);this.runners.splice(s,1,n);return this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const s=this.runners[n];const i=t&&s.done&&t.done&&(!s._timeline||!s._timeline._runnerIds.includes(s.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(s.id);const i=s.mergeWith(t);this.edit(t.id,i);t=i;--n}else{t=s}}return this}remove(t){const n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this}}h({Element:{animate(t,n,s){const i=Xs.sanitise(t,n,s);const e=this.timeline();return new Xs(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((n=>n.id<=t.id)).map(Js).reduce(qs,new Dt)},_addRunner(t){this._transformationRunners.add(t);Ps.cancelImmediate(this._frameId);this._frameId=Ps.immediate(Us.bind(this))},_prepareRunner(){if(this._frameId==null){this._transformationRunners=(new Ws).add(new Qs(new Dt(this)))}}}});const Ks=(t,n)=>t.filter((t=>!n.includes(t)));F(Xs,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,s){if(typeof n==="string"){return this.styleAttr(t,{[n]:s})}let i=n;if(this._tryRetarget(t,i))return this;let e=new ks(this._stepper).to(i);let r=Object.keys(i);this.queue((function(){e=e.from(this.element()[t](r))}),(function(n){this.element()[t](e.at(n).valueOf());return e.done()}),(function(n){const s=Object.keys(n);const o=Ks(s,r);if(o.length){const n=this.element()[t](o);const s=new As(e.from()).valueOf();Object.assign(s,n);e.from(s)}const h=new As(e.to()).valueOf();Object.assign(h,n);e.to(h);r=s;i=n}));this._rememberMorpher(t,e);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let s=new ks(this._stepper).to(new an(t));this.queue((function(){s=s.from(this.element().zoom())}),(function(t){this.element().zoom(s.at(t),n);return s.done()}),(function(t,i){n=i;s.to(t)}));this._rememberMorpher("zoom",s);return this},transform(t,n,s){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t)){return this}const i=Dt.isMatrixLike(t);s=t.affine!=null?t.affine:s!=null?s:!i;const e=new ks(this._stepper).type(s?js:Dt);let r;let o;let h;let u;let c;function l(){o=o||this.element();r=r||g(t,o);c=new Dt(n?undefined:o);o._addRunner(this);if(!n){o._clearTransformRunnersBefore(this)}}function f(l){if(!n)this.clearTransform();const{x:f,y:a}=new Tt(r).transform(o._currentTransform(this));let d=new Dt({...t,origin:[f,a]});let C=this._isDeclarative&&h?h:c;if(s){d=d.decompose(f,a);C=C.decompose(f,a);const t=d.rotate;const n=C.rotate;const s=[t-360,t,t+360];const i=s.map((t=>Math.abs(t-n)));const e=Math.min(...i);const r=i.indexOf(e);d.rotate=s[r]}if(n){if(!i){d.rotate=t.rotate||0}if(this._isDeclarative&&u){C.rotate=u}}e.from(C);e.to(d);const w=e.at(l);u=w.rotate;h=new Dt(w);this.addTransform(h);o._addRunner(this);return e.done()}function a(n){if((n.origin||"center").toString()!==(t.origin||"center").toString()){r=g(n,o)}t={...n,origin:r}}this.queue(l,f,a,true);this._isDeclarative&&this._rememberMorpher("transform",e);return 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,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new an(n);if(this._tryRetarget(t,n))return this;const s=new ks(this._stepper).to(n);let i=null;this.queue((function(){i=this.element()[t]();s.from(i);s.to(i+n)}),(function(n){this.element()[t](s.at(n));return s.done()}),(function(t){s.to(i+new an(t))}));this._rememberMorpher(t,s);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const s=new ks(this._stepper).to(n);this.queue((function(){s.from(this.element()[t]())}),(function(n){this.element()[t](s.at(n));return s.done()}));this._rememberMorpher(t,s);return this},_queueNumber(t,n){return this._queueObject(t,new an(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},amove(t,n){return this.ax(t).ay(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){let s;if(!t||!n){s=this._element.bbox()}if(!t){t=s.width/s.height*n}if(!n){n=s.height/s.width*t}return this.width(t).height(n)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,s,i){if(arguments.length===4){return this.plot([t,n,s,i])}if(this._tryRetarget("plot",t))return this;const e=new ks(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,s,i){return this._queueObject("viewbox",new Nt(t,n,s,i))},update(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});F(Xs,{rx:On,ry:Vn,from:Fn,to:$n});B(Xs,"Runner");class ti extends jn{constructor(t,n=t){super(S("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return T(this.node.querySelector("defs"))||this.put(new Ln)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof _.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:v,version:"1.1"}).attr("xmlns:xlink",k,M)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,M).attr("xmlns:svgjs",null,M)}root(){if(this.isRoot())return this;return super.root()}}h({Container:{nested:$((function(){return this.put(new ti)}))}});B(ti,"Svg",true);class ni extends jn{constructor(t,n=t){super(S("symbol",t),n)}}h({Container:{symbol:$((function(){return this.put(new ni)}))}});B(ni,"Symbol");function si(t){if(this._build===false){this.clear()}this.node.appendChild(_.document.createTextNode(t));return this}function ii(){return this.node.getComputedTextLength()}function ei(t,n=this.bbox()){if(t==null){return n.x}return this.attr("x",this.attr("x")+t-n.x)}function ri(t,n=this.bbox()){if(t==null){return n.y}return this.attr("y",this.attr("y")+t-n.y)}function oi(t,n,s=this.bbox()){return this.x(t,s).y(n,s)}function hi(t,n=this.bbox()){if(t==null){return n.cx}return this.attr("x",this.attr("x")+t-n.cx)}function ui(t,n=this.bbox()){if(t==null){return n.cy}return this.attr("y",this.attr("y")+t-n.cy)}function ci(t,n,s=this.bbox()){return this.cx(t,s).cy(n,s)}function li(t){return this.attr("x",t)}function fi(t){return this.attr("y",t)}function ai(t,n){return this.ax(t).ay(n)}function di(t){this._build=!!t;return this}var Ci={__proto__:null,amove:ai,ax:li,ay:fi,build:di,center:ci,cx:hi,cy:ui,length:ii,move:oi,plain:si,x:ei,y:ri};class wi extends An{constructor(t,n=t){super(S("text",t),n);this.dom.leading=this.dom.leading??new an(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null){return this.dom.leading}this.dom.leading=new an(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){const t=this;let n=0;const s=this.dom.leading;this.each((function(i){if(y(this.node))return;const e=_.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=s*new an(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n"){n+=r}else{this.attr("dy",i?r+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new an(t.leading||1.3);return this}writeDataToDom(){x(this,this.dom,{leading:1.3});return this}text(t){if(t===undefined){const n=this.node.childNodes;let s=0;t="";for(let i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"||y(n[i])){if(i===0)s=i+1;continue}if(i!==s&&n[i].nodeType!==3&&T(n[i]).dom.newLined===true){t+="\n"}t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(let n=0,s=t.length;n<s;n++){this.newLine(t[n])}}return this.build(false).rebuild()}}F(wi,Ci);h({Container:{text:$((function(t=""){return this.put(new wi).text(t)})),plain:$((function(t=""){return this.put(new wi).plain(t)}))}});B(wi,"Text");class pi extends An{constructor(t,n=t){super(S("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof wi)){return this}const n=t.index(this);const s=_.window.getComputedStyle(this.node).getPropertyValue("font-size");const i=t.dom.leading*new an(s);return this.dy(n?i:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this}}F(pi,Ci);h({Tspan:{tspan:$((function(t=""){const n=new pi;if(!this._build){this.clear()}return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});B(pi,"Tspan");class gi extends An{constructor(t,n=t){super(S("circle",t),n)}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 an(t).divide(2))}}F(gi,{x:En,y:Sn,cx:Tn,cy:Hn,width:Bn,height:Dn});h({Container:{circle:$((function(t=0){return this.put(new gi).size(t).move(0,0)}))}});B(gi,"Circle");class mi extends jn{constructor(t,n=t){super(S("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return qt("svg [clip-path*="+this.id()+"]")}}h({Container:{clip:$((function(){return this.defs().put(new mi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof mi?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});B(mi,"ClipPath");class yi extends mn{constructor(t,n=t){super(S("foreignObject",t),n)}}h({Container:{foreignObject:$((function(t,n){return this.put(new yi).size(t,n)}))}});B(yi,"ForeignObject");function xi(t,n){this.children().forEach((s=>{let i;try{i=s.node instanceof j().SVGSVGElement?new Nt(s.attr(["x","y","width","height"])):s.bbox()}catch(t){return}const e=new Dt(s);const r=e.translate(t,n).transform(e.inverse());const o=new Tt(i.x,i.y).transform(r);s.move(o.x,o.y)}));return this}function vi(t){return this.dmove(t,0)}function bi(t){return this.dmove(0,t)}function Mi(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function ki(t=0,n=0,s=this.bbox()){const i=t-s.x;const e=n-s.y;return this.dmove(i,e)}function _i(t,n,s=this.bbox()){const i=p(this,t,n,s);const e=i.width/s.width;const r=i.height/s.height;this.children().forEach((t=>{const n=new Tt(s).transform(new Dt(t).inverse());t.scale(e,r,n.x,n.y)}));return this}function ji(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function Li(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function Ai(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var Oi={__proto__:null,dmove:xi,dx:vi,dy:bi,height:Mi,move:ki,size:_i,width:ji,x:Li,y:Ai};class Vi extends jn{constructor(t,n=t){super(S("g",t),n)}}F(Vi,Oi);h({Container:{group:$((function(){return this.put(new Vi)}))}});B(Vi,"G");class Ei extends jn{constructor(t,n=t){super(S("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,k)}}F(Ei,Oi);h({Container:{link:$((function(t){return this.put(new Ei).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n){return this.remove()}const s=n.index(t);n.add(this,s);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new Ei;this.wrap(n)}if(typeof t==="function"){t.call(n,n)}else{n.to(t)}return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});B(Ei,"A");class Si extends jn{constructor(t,n=t){super(S("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return qt("svg [mask*="+this.id()+"]")}}h({Container:{mask:$((function(){return this.defs().put(new Si)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof Si?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});B(Si,"Mask");class Ti extends mn{constructor(t,n=t){super(S("stop",t),n)}update(t){if(typeof t==="number"||t instanceof an){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new an(t.offset));return this}}h({Gradient:{stop:function(t,n,s){return this.put(new Ti).update(t,n,s)}}});B(Ti,"Stop");function Hi(t,n){if(!t)return"";if(!n)return t;let s=t+"{";for(const t in n){s+=C(t)+":"+n[t]+";"}s+="}";return s}class Bi extends mn{constructor(t,n=t){super(S("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,s={}){return this.rule("@font-face",{fontFamily:t,src:n,...s})}rule(t,n){return this.addText(Hi(t,n))}}h("Dom",{style(t,n){return this.put(new Bi).rule(t,n)},fontface(t,n,s){return this.put(new Bi).font(t,n,s)}});B(Bi,"Style");class Di extends wi{constructor(t,n=t){super(S("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let s=null;if(n){s=n.plot(t)}return t==null?s:this}track(){return this.reference("href")}}h({Container:{textPath:$((function(t,n){if(!(t instanceof wi)){t=this.text(t)}return t.path(n)}))},Text:{path:$((function(t,n=true){const s=new Di;if(!(t instanceof Ss)){t=this.defs().path(t)}s.attr("href","#"+t,k);let i;if(n){while(i=this.node.firstChild){s.node.appendChild(i)}}return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:$((function(t){if(!(t instanceof wi)){t=(new wi).addTo(this.parent()).text(t)}return t.path(this)})),targets(){return qt("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}});Di.prototype.MorphArray=bs;B(Di,"TextPath");class zi extends An{constructor(t,n=t){super(S("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,k)}}h({Container:{use:$((function(t,n){return this.put(new zi).use(t,n)}))}});B(zi,"Use");const Ii=E;F([ti,ni,Gn,Rn,ts],u("viewbox"));F([Kn,Fs,Zs,Ss],u("marker"));F(wi,u("Text"));F(Ss,u("Path"));F(Ln,u("Defs"));F([wi,pi],u("Tspan"));F([$s,In,Pn,Xs],u("radius"));F(hn,u("EventTarget"));F(gn,u("Dom"));F(mn,u("Element"));F(An,u("Shape"));F([jn,Zn],u("Container"));F(Pn,u("Gradient"));F(Xs,u("Runner"));Xt.extend(c());Vs([an,St,Nt,Dt,fn,Yn,bs,Tt]);Es();function Zi(){let t={entities:[]};let n;let s=[];function i(t,s,i){n=Ii().addTo(t).size(s,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const s=t.group().attr({id:n.id});t.entities.push(s);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;s.entity=s.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){s.entity.attr("class",n.class)}s.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});s.move(n.x,n.y)}function r(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let s="";const i=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const r=t.findOne("#"+n.to.element);const o=u(n,e,r);s+=l(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>s+=t.x+","+t.y+" "));if(n.to.point==="top"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else if(n.to.point==="bottom"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else{s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(s).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(s)}}function u(t,n,s){const i=[];const e=f(n,t.from.point);const r=f(s,t.to.point);const o=l(n,t.from.point);const h=l(s,t.to.point);const u=c(t.from.point);const a=c(t.to.point);const d=u-a;if(d===0){if(t.from.point==="top"){if(e<=r){i.push({x:o,y:e-20});i.push({x:h,y:e-20})}else{i.push({x:o,y:r-20});i.push({x:h,y:r-20})}}else if(t.from.point==="bottom"){if(e<=r){i.push({x:o,y:r+20});i.push({x:h,y:r+20})}else{i.push({x:o,y:e+20});i.push({x:h,y:e+20})}}else{if(o<=h){i.push({x:h+20,y:e});i.push({x:h+20,y:r})}else{i.push({x:o+20,y:e});i.push({x:o+20,y:r})}}}if(d===2||d===-2){if(o!==h){i.push({x:o,y:r+(e-r)/2});i.push({x:h,y:r+(e-r)/2})}}if(d===1||d===-1||d===3||d===-3){if(t.from.point==="top"){if(e<r+20){i.push({x:o,y:e-20});i.push({x:h+20,y:e-20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}if(t.from.point==="bottom"){if(e>r-20){i.push({x:o,y:e+20});i.push({x:h+20,y:e+20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}}return i}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function l(t,n){const s=t.entity.attr("width");const i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+s/2;default:return i-s/2}}function f(t,n){const s=t.entity.attr("height");const i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+s;default:return i}}function a(){n.entities.forEach((t=>t.remove()));n.entities=[];s=[];if(!t.labels){t.labels=[]}t.labels=t.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"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));r();t.entities.forEach((t=>e(n,t)));s=t.lines;o(n,s)}function d(n){t=n;a()}return{initalize:i,update:d}}const Fi='@-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}';const $i=Fi;const Ni=`<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>`;const Pi=`<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>`;const Ri=`<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>`;const Gi=`<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>`;const Yi=`<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>`;const Xi=`<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>`;const Qi=`<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>`;const qi=`<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>`;const Ji=`<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>`;const Ui=`<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>`;const Wi=`<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>`;const Ki=`<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>`;const te=`<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>`;const ne=`<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>`;const se=`<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>`;const ie=`<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>`;const ee=`<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>`;const re=`<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>`;const oe=`<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>`;const he=`<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>`;const ue=140;const ce=40;const le=40;const fe=class{constructor(n){t(this,n);this.size="normal";this.theme="light";this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=e(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.envelope)===null||t===void 0?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((n=>{const s=n.sequence-1;t[s]||(t[s]=[]);const i=`r-${s}-${t[s].length}`;t[s].push({...n,id:i})}));const n=Object.keys(t).length;const s=n*ce+(n+1)*le;let e=0;Object.values(t).forEach((t=>{let n=t.length*ue+(t.length+1)*le;if(n>e){e=n}}));const r=[];const o=[];const h=[];let u=le;Object.entries(t).forEach((([n,s])=>{const c=s.length*(ue+le);const l=e-c;const f=le/2+l/2;s.forEach(((s,e)=>{var c;const l=i(s);const a={id:s.id,text:l,icon:this.getStatusIcon(s.status),x:e*(ue+le)+f,y:u,width:ue,height:ce,color:this.getStatusColor(s.status),radius:8};r.push(a);h.push({icon:this.getStatusIcon(s.status),x:e*(ue+le)+f+(ue-32),y:u+ce/2-13});(c=t[+n-1])===null||c===void 0?void 0:c.forEach((t=>{const n={id:`line-${t.id}-${a.id}`,from:{element:t.id,point:"bottom"},to:{element:a.id,point:"top"},color:this.getStatusColor(s.status)};o.push(n)}))}));u+=ce+le}));this.recipientStatusIcons=h;const c=Zi();c.initalize(`#${this.containerId}`,e,s);c.update({entities:r,lines:o})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,s;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((s=t===null||t===void 0?void 0:t.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}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";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?Pi:Ni;case"complete":return this.theme==="light"?Xi:Yi;case"in progress":return this.theme==="light"?Ui:Ji;case"canceled":return this.theme==="light"?Gi:Ri;case"declined":return this.theme==="light"?qi:Qi;case"invited":return this.theme==="light"?Ui:Ji;case"opened":return this.theme==="light"?Ki:Wi;case"signed":return this.theme==="light"?ie:se;case"submitted":return this.theme==="light"?he:oe;case"some-signed":return this.theme==="light"?re:ee;default:case"pending":return this.theme==="light"?ne:te}}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,i;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending"||"accepted";if(!this.status&&((i=this.envelope)===null||i===void 0?void 0:i.recipients)){const t=this.envelope.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.envelope.recipients.length){e="some-signed"}}const r=this.getStatusIcon(e);const o=this.getStatusMessage(e);return n(s,{key:"3111e544a8f287a2b5a501cae08fc88752186477",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)},n("span",{key:"2dd4397db22358d7dd8e495f601c3f31687e400e",class:"icon",innerHTML:r}),n("span",{key:"fb37993d036b1a1552f19fc2bc57565bf3026a44",class:"content"},o),n("div",{key:"5bc4ea53d9eec94c0dfd34662437bf90aaf76d60",class:"detail-panel",ref:t=>this.detailPanel=t},n("div",{key:"e073e793dc4f0bef2d9826fb5b70f62f2495fa45",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>n("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};fe.style=$i;export{fe as verdocs_status_indicator};
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r as t,h as n,H as s}from"./p-576f984d.js";import{formatFullName as i}from"@verdocs/js-sdk";import{c as e}from"./p-68a5aaff.js";const r={};const o=[];function h(t,n){if(Array.isArray(t)){for(const s of t){h(s,n)}return}if(typeof t==="object"){for(const n in t){h(n,t[n])}return}l(Object.getOwnPropertyNames(n));r[t]=Object.assign(r[t]||{},n)}function u(t){return r[t]||{}}function c(){return[...new Set(o)]}function l(t){o.push(...t)}function f(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){e.push(n(t[s]))}return e}function a(t,n){let s;const i=t.length;const e=[];for(s=0;s<i;s++){if(n(t[s])){e.push(t[s])}}return e}function d(t){return t%360*Math.PI/180}function C(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}function p(t,n,s,i){if(n==null||s==null){i=i||t.bbox();if(n==null){n=i.width/i.height*s}else if(s==null){s=i.height/i.width*n}}return{width:n,height:s}}function g(t,n){const s=t.origin;let i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";let e=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(s!=null){[i,e]=Array.isArray(s)?s:typeof s==="object"?[s.x,s.y]:[s,s]}const r=typeof i==="string";const o=typeof e==="string";if(r||o){const{height:t,width:s,x:h,y:u}=n.bbox();if(r){i=i.includes("left")?h:i.includes("right")?h+s:h+s/2}if(o){e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2}}return[i,e]}const m=new Set(["desc","metadata","title"]);const y=t=>m.has(t.nodeName);const x=(t,n,s={})=>{const i={...n};for(const t in i){if(i[t].valueOf()===s[t]){delete i[t]}}if(Object.keys(i).length){t.node.setAttribute("data-svgjs",JSON.stringify(i))}else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};const v="http://www.w3.org/2000/svg";const b="http://www.w3.org/1999/xhtml";const M="http://www.w3.org/2000/xmlns/";const k="http://www.w3.org/1999/xlink";const _={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function j(){return _.window}class L{}const A={};const O="___SYMBOL___ROOT___";function V(t,n=v){return _.document.createElementNS(n,t)}function E(t,n=false){if(t instanceof L)return t;if(typeof t==="object"){return H(t)}if(t==null){return new A[O]}if(typeof t==="string"&&t.charAt(0)!=="<"){return H(_.document.querySelector(t))}const s=n?_.document.createElement("div"):V("svg");s.innerHTML=t;t=H(s.firstChild);s.removeChild(s.firstChild);return t}function S(t,n){return n&&(n instanceof _.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:V(t)}function T(t){if(!t)return null;if(t.instance instanceof L)return t.instance;if(t.nodeName==="#document-fragment"){return new A.Fragment(t)}let n=w(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient"){n="Gradient"}else if(!A[n]){n="Dom"}return new A[n](t)}let H=T;function B(t,n=t.name,s=false){A[n]=t;if(s)A[O]=t;l(Object.getOwnPropertyNames(t.prototype));return t}function D(t){return A[t]}let z=1e3;function I(t){return"Svgjs"+w(t)+z++}function Z(t){for(let n=t.children.length-1;n>=0;n--){Z(t.children[n])}if(t.id){t.id=I(t.nodeName);return t}return t}function F(t,n){let s,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--){for(s in n){t[i].prototype[s]=n[s]}}}function $(t){return function(...n){const s=n[n.length-1];if(s&&s.constructor===Object&&!(s instanceof Array)){return t.apply(this,n.slice(0,-1)).attr(s)}else{return t.apply(this,n)}}}function N(){return this.parent().children()}function P(){return this.parent().index(this)}function R(){return this.siblings()[this.position()+1]}function G(){return this.siblings()[this.position()-1]}function Y(){const t=this.position();const n=this.parent();n.add(this.remove(),t+1);return this}function X(){const t=this.position();const n=this.parent();n.add(this.remove(),t?t-1:0);return this}function Q(){const t=this.parent();t.add(this.remove());return this}function q(){const t=this.parent();t.add(this.remove(),0);return this}function J(t){t=E(t);t.remove();const n=this.position();this.parent().add(t,n);return this}function U(t){t=E(t);t.remove();const n=this.position();this.parent().add(t,n+1);return this}function W(t){t=E(t);t.before(this);return this}function K(t){t=E(t);t.after(this);return this}h("Dom",{siblings:N,position:P,next:R,prev:G,forward:Y,backward:X,front:Q,back:q,before:J,after:U,insertBefore:W,insertAfter:K});const tt=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;const nt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;const st=/rgb\((\d+),(\d+),(\d+)\)/;const it=/(#[a-z_][a-z0-9\-_]*)/i;const et=/\)\s*,?\s*/;const rt=/\s/g;const ot=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;const ht=/^rgb\(/;const ut=/^(\s+)?$/;const ct=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;const lt=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;const ft=/[\s,]+/;const at=/[MLHVCSQTAZ]/i;function dt(){const t=this.attr("class");return t==null?[]:t.trim().split(ft)}function Ct(t){return this.classes().indexOf(t)!==-1}function wt(t){if(!this.hasClass(t)){const n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function pt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "))}return this}function gt(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}h("Dom",{classes:dt,hasClass:Ct,addClass:wt,removeClass:pt,toggleClass:gt});function mt(t,n){const s={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const n=t.split(/\s*:\s*/);s[n[0]]=n[1]}));return s}if(arguments.length<2){if(Array.isArray(t)){for(const n of t){const t=n;s[n]=this.node.style.getPropertyValue(t)}return s}if(typeof t==="string"){return this.node.style.getPropertyValue(t)}if(typeof t==="object"){for(const n in t){this.node.style.setProperty(n,t[n]==null||ut.test(t[n])?"":t[n])}}}if(arguments.length===2){this.node.style.setProperty(t,n==null||ut.test(n)?"":n)}return this}function yt(){return this.css("display","")}function xt(){return this.css("display","none")}function vt(){return this.css("display")!=="none"}h("Dom",{css:mt,show:yt,hide:xt,visible:vt});function bt(t,n,s){if(t==null){return this.data(f(a(this.node.attributes,(t=>t.nodeName.indexOf("data-")===0)),(t=>t.nodeName.slice(5))))}else if(t instanceof Array){const n={};for(const s of t){n[s]=this.data(s)}return n}else if(typeof t==="object"){for(n in t){this.data(n,t[n])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}}else{this.attr("data-"+t,n===null?null:s===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n))}return this}h("Dom",{data:bt});function Mt(t,n){if(typeof arguments[0]==="object"){for(const n in t){this.remember(n,t[n])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=n}return this}function kt(){if(arguments.length===0){this._memory={}}else{for(let t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function _t(){return this._memory=this._memory||{}}h("Dom",{remember:Mt,forget:kt,memory:_t});function jt(t){return t.length===4?["#",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}function Lt(t){const n=Math.round(t);const s=Math.max(0,Math.min(255,n));const i=s.toString(16);return i.length===1?"0"+i:i}function At(t,n){for(let s=n.length;s--;){if(t[n[s]]==null){return false}}return true}function Ot(t,n){const s=At(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:At(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:At(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:At(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:At(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:At(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};s.space=n||s.space;return s}function Vt(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Et(t,n,s){if(s<0)s+=1;if(s>1)s-=1;if(s<1/6)return t+(n-t)*6*s;if(s<1/2)return n;if(s<2/3)return t+(n-t)*(2/3-s)*6;return t}class St{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof St||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"}static random(t="vibrant",n){const{random:s,round:i,sin:e,PI:r}=Math;if(t==="vibrant"){const t=(81-57)*s()+57;const n=(83-45)*s()+45;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="sine"){n=n==null?s():n;const t=i(80*e(2*r*n/.5+.01)+150);const o=i(50*e(2*r*n/.5+4.6)+200);const h=i(100*e(2*r*n/.5+2.3)+150);const u=new St(t,o,h);return u}else if(t==="pastel"){const t=(94-86)*s()+86;const n=(26-9)*s()+9;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="dark"){const t=10+10*s();const n=(125-75)*s()+86;const i=360*s();const e=new St(t,n,i,"lch");return e}else if(t==="rgb"){const t=255*s();const n=255*s();const i=255*s();const e=new St(t,n,i);return e}else if(t==="lab"){const t=100*s();const n=256*s()-128;const i=256*s()-128;const e=new St(t,n,i,"lab");return e}else if(t==="grey"){const t=255*s();const n=new St(t,t,t);return n}else{throw new Error("Unsupported random color mode")}}static test(t){return typeof t==="string"&&(ot.test(t)||ht.test(t))}cmyk(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.min(1-i,1-e,1-r);if(o===1){return new St(0,0,0,1,"cmyk")}const h=(1-i-o)/(1-o);const u=(1-e-o)/(1-o);const c=(1-r-o)/(1-o);const l=new St(h,u,c,o,"cmyk");return l}hsl(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=Math.max(i,e,r);const h=Math.min(i,e,r);const u=(o+h)/2;const c=o===h;const l=o-h;const f=c?0:u>.5?l/(2-o-h):l/(o+h);const a=c?0:o===i?((e-r)/l+(e<r?6:0))/6:o===e?((r-i)/l+2)/6:o===r?((i-e)/l+4)/6:0;const d=new St(360*a,100*f,100*u,"hsl");return d}init(t=0,n=0,s=0,i=0,e="rgb"){t=!t?0:t;if(this.space){for(const t in this.space){delete this[this.space[t]]}}if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:s,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?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 s=Ot(t,n);Object.assign(this,s)}else if(typeof t==="string"){if(ht.test(t)){const n=t.replace(rt,"");const[s,i,e]=st.exec(n).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else if(ot.test(t)){const n=t=>parseInt(t,16);const[,s,i,e]=nt.exec(jt(t)).map(n);Object.assign(this,{_a:s,_b:i,_c:e,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}const{_a:r,_b:o,_c:h,_d:u}=this;const c=this.space==="rgb"?{r,g:o,b:h}:this.space==="xyz"?{x:r,y:o,z:h}:this.space==="hsl"?{h:r,s:o,l:h}:this.space==="lab"?{l:r,a:o,b:h}:this.space==="lch"?{l:r,c:o,h}:this.space==="cmyk"?{c:r,m:o,y:h,k:u}:{};Object.assign(this,c)}lab(){const{x:t,y:n,z:s}=this.xyz();const i=116*n-16;const e=500*(t-n);const r=200*(n-s);const o=new St(i,e,r,"lab");return o}lch(){const{l:t,a:n,b:s}=this.lab();const i=Math.sqrt(n**2+s**2);let e=180*Math.atan2(s,n)/Math.PI;if(e<0){e*=-1;e=360-e}const r=new St(t,i,e,"lch");return r}rgb(){if(this.space==="rgb"){return this}else if(Vt(this.space)){let{x:t,y:n,z:s}=this;if(this.space==="lab"||this.space==="lch"){let{l:i,a:e,b:r}=this;if(this.space==="lch"){const{c:t,h:n}=this;const s=Math.PI/180;e=t*Math.cos(s*n);r=t*Math.sin(s*n)}const o=(i+16)/116;const h=e/500+o;const u=o-r/200;const c=16/116;const l=.008856;const f=7.787;t=.95047*(h**3>l?h**3:(h-c)/f);n=1*(o**3>l?o**3:(o-c)/f);s=1.08883*(u**3>l?u**3:(u-c)/f)}const i=t*3.2406+n*-1.5372+s*-.4986;const e=t*-.9689+n*1.8758+s*.0415;const r=t*.0557+n*-.204+s*1.057;const o=Math.pow;const h=.0031308;const u=i>h?1.055*o(i,1/2.4)-.055:12.92*i;const c=e>h?1.055*o(e,1/2.4)-.055:12.92*e;const l=r>h?1.055*o(r,1/2.4)-.055:12.92*r;const f=new St(255*u,255*c,255*l);return f}else if(this.space==="hsl"){let{h:t,s:n,l:s}=this;t/=360;n/=100;s/=100;if(n===0){s*=255;const t=new St(s,s,s);return t}const i=s<.5?s*(1+n):s+n-s*n;const e=2*s-i;const r=255*Et(e,i,t+1/3);const o=255*Et(e,i,t);const h=255*Et(e,i,t-1/3);const u=new St(r,o,h);return u}else if(this.space==="cmyk"){const{c:t,m:n,y:s,k:i}=this;const e=255*(1-Math.min(1,t*(1-i)+i));const r=255*(1-Math.min(1,n*(1-i)+i));const o=255*(1-Math.min(1,s*(1-i)+i));const h=new St(e,r,o);return h}else{return this}}toArray(){const{_a:t,_b:n,_c:s,_d:i,space:e}=this;return[t,n,s,i,e]}toHex(){const[t,n,s]=this._clamped().map(Lt);return`#${t}${n}${s}`}toRgb(){const[t,n,s]=this._clamped();const i=`rgb(${t},${n},${s})`;return i}toString(){return this.toHex()}xyz(){const{_a:t,_b:n,_c:s}=this.rgb();const[i,e,r]=[t,n,s].map((t=>t/255));const o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;const h=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92;const u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;const c=(o*.4124+h*.3576+u*.1805)/.95047;const l=(o*.2126+h*.7152+u*.0722)/1;const f=(o*.0193+h*.1192+u*.9505)/1.08883;const a=c>.008856?Math.pow(c,1/3):7.787*c+16/116;const d=l>.008856?Math.pow(l,1/3):7.787*l+16/116;const C=f>.008856?Math.pow(f,1/3):7.787*f+16/116;const w=new St(a,d,C,"xyz");return w}_clamped(){const{_a:t,_b:n,_c:s}=this.rgb();const{max:i,min:e,round:r}=Math;const o=t=>i(0,e(r(t),255));return[t,n,s].map(o)}}class Tt{constructor(...t){this.init(...t)}clone(){return new Tt(this)}init(t,n){const s={x:0,y:0};const i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?s.x:i.x;this.y=i.y==null?s.y:i.y;return this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){if(!Dt.isMatrixLike(t)){t=new Dt(t)}const{x:n,y:s}=this;this.x=t.a*n+t.c*s+t.e;this.y=t.b*n+t.d*s+t.f;return this}}function Ht(t,n){return new Tt(t,n).transformO(this.screenCTM().inverseO())}function Bt(t,n,s){return Math.abs(n-t)<1e-6}class Dt{constructor(...t){this.init(...t)}static formatTransforms(t){const n=t.flip==="both"||t.flip===true;const s=t.flip&&(n||t.flip==="x")?-1:1;const i=t.flip&&(n||t.flip==="y")?-1:1;const e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;const r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;const o=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s;const h=t.scale&&t.scale.length?t.scale[1]*i:isFinite(t.scale)?t.scale*i:isFinite(t.scaleY)?t.scaleY*i:i;const u=t.shear||0;const c=t.rotate||t.theta||0;const l=new Tt(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);const f=l.x;const a=l.y;const d=new Tt(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);const C=d.x;const w=d.y;const p=new Tt(t.translate||t.tx||t.translateX,t.ty||t.translateY);const g=p.x;const m=p.y;const y=new Tt(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);const x=y.x;const v=y.y;return{scaleX:o,scaleY:h,skewX:e,skewY:r,shear:u,theta:c,rx:x,ry:v,tx:g,ty:m,ox:f,oy:a,px:C,py:w}}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 t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null}static matrixMultiply(t,n,s){const i=t.a*n.a+t.c*n.b;const e=t.b*n.a+t.d*n.b;const r=t.a*n.c+t.c*n.d;const o=t.b*n.c+t.d*n.d;const h=t.e+t.a*n.e+t.c*n.f;const u=t.f+t.b*n.e+t.d*n.f;s.a=i;s.b=e;s.c=r;s.d=o;s.e=h;s.f=u;return s}around(t,n,s){return this.clone().aroundO(t,n,s)}aroundO(t,n,s){const i=t||0;const e=n||0;return this.translateO(-i,-e).lmultiplyO(s).translateO(i,e)}clone(){return new Dt(this)}decompose(t=0,n=0){const s=this.a;const i=this.b;const e=this.c;const r=this.d;const o=this.e;const h=this.f;const u=s*r-i*e;const c=u>0?1:-1;const l=c*Math.sqrt(s*s+i*i);const f=Math.atan2(c*i,c*s);const a=180/Math.PI*f;const d=Math.cos(f);const C=Math.sin(f);const w=(s*e+i*r)/u;const p=e*l/(w*s-i)||r*l/(w*i+s);const g=o-t+t*d*l+n*(w*d*l-C*p);const m=h-n+t*C*l+n*(w*C*l+d*p);return{scaleX:l,scaleY:p,shear:w,rotate:a,translateX:g,translateY:m,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return true;const n=new Dt(t);return Bt(this.a,n.a)&&Bt(this.b,n.b)&&Bt(this.c,n.c)&&Bt(this.d,n.d)&&Bt(this.e,n.e)&&Bt(this.f,n.f)}flip(t,n){return this.clone().flipO(t,n)}flipO(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)}init(t){const n=Dt.fromArray([1,0,0,1,0,0]);t=t instanceof mn?t.matrixify():typeof t==="string"?Dt.fromArray(t.split(ft).map(parseFloat)):Array.isArray(t)?Dt.fromArray(t):typeof t==="object"&&Dt.isMatrixLike(t)?t:typeof t==="object"?(new Dt).transform(t):arguments.length===6?Dt.fromArray([].slice.call(arguments)):n;this.a=t.a!=null?t.a:n.a;this.b=t.b!=null?t.b:n.b;this.c=t.c!=null?t.c:n.c;this.d=t.d!=null?t.d:n.d;this.e=t.e!=null?t.e:n.e;this.f=t.f!=null?t.f:n.f;return this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a;const n=this.b;const s=this.c;const i=this.d;const e=this.e;const r=this.f;const o=t*i-n*s;if(!o)throw new Error("Cannot invert "+this);const h=i/o;const u=-n/o;const c=-s/o;const l=t/o;const f=-(h*e+c*r);const a=-(u*e+l*r);this.a=h;this.b=u;this.c=c;this.d=l;this.e=f;this.f=a;return this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const n=this;const s=t instanceof Dt?t:new Dt(t);return Dt.matrixMultiply(s,n,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const n=this;const s=t instanceof Dt?t:new Dt(t);return Dt.matrixMultiply(n,s,this)}rotate(t,n,s){return this.clone().rotateO(t,n,s)}rotateO(t,n=0,s=0){t=d(t);const i=Math.cos(t);const e=Math.sin(t);const{a:r,b:o,c:h,d:u,e:c,f:l}=this;this.a=r*i-o*e;this.b=o*i+r*e;this.c=h*i-u*e;this.d=u*i+h*e;this.e=c*i-l*e+s*e-n*i+n;this.f=l*i+c*e-n*e-s*i+s;return this}scale(){return this.clone().scaleO(...arguments)}scaleO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}const{a:e,b:r,c:o,d:h,e:u,f:c}=this;this.a=e*t;this.b=r*n;this.c=o*t;this.d=h*n;this.e=u*t-s*t+s;this.f=c*n-i*n+i;return this}shear(t,n,s){return this.clone().shearO(t,n,s)}shearO(t,n=0,s=0){const{a:i,b:e,c:r,d:o,e:h,f:u}=this;this.a=i+e*t;this.c=r+o*t;this.e=h+u*t-s*t;return this}skew(){return this.clone().skewO(...arguments)}skewO(t,n=t,s=0,i=0){if(arguments.length===3){i=s;s=n;n=t}t=d(t);n=d(n);const e=Math.tan(t);const r=Math.tan(n);const{a:o,b:h,c:u,d:c,e:l,f}=this;this.a=o+h*e;this.b=h+o*r;this.c=u+c*e;this.d=c+u*r;this.e=l+f*e-i*e;this.f=f+l*r-s*r;return this}skewX(t,n,s){return this.skew(t,0,n,s)}skewY(t,n,s){return this.skew(0,t,n,s)}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(Dt.isMatrixLike(t)){const n=new Dt(t);return n.multiplyO(this)}const n=Dt.formatTransforms(t);const s=this;const{x:i,y:e}=new Tt(n.ox,n.oy).transform(s);const r=(new Dt).translateO(n.rx,n.ry).lmultiplyO(s).translateO(-i,-e).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(i,e);if(isFinite(n.px)||isFinite(n.py)){const t=new Tt(i,e).transform(r);const s=isFinite(n.px)?n.px-t.x:0;const o=isFinite(n.py)?n.py-t.y:0;r.translateO(s,o)}r.translateO(n.tx,n.ty);return r}translate(t,n){return this.clone().translateO(t,n)}translateO(t,n){this.e+=t||0;this.f+=n||0;return this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function zt(){return new Dt(this.node.getCTM())}function It(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){const t=this.rect(1,1);const n=t.node.getScreenCTM();t.remove();return new Dt(n)}return new Dt(this.node.getScreenCTM())}catch(t){console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`);return new Dt}}B(Dt,"Matrix");function Zt(){if(!Zt.nodes){const t=E().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 n=t.path().node;Zt.nodes={svg:t,path:n}}if(!Zt.nodes.svg.node.parentNode){const t=_.document.body||_.document.documentElement;Zt.nodes.svg.addTo(t)}return Zt.nodes}function Ft(t){return!t.width&&!t.height&&!t.x&&!t.y}function $t(t){return t===_.document||(_.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===_.document}).call(_.document.documentElement,t)}class Nt{constructor(...t){this.init(...t)}addOffset(){this.x+=_.window.pageXOffset;this.y+=_.window.pageYOffset;return new Nt(this)}init(t){const n=[0,0,0,0];t=typeof t==="string"?t.split(ft).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):n;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;return this}isNulled(){return Ft(this)}merge(t){const n=Math.min(this.x,t.x);const s=Math.min(this.y,t.y);const i=Math.max(this.x+this.width,t.x+t.width)-n;const e=Math.max(this.y+this.height,t.y+t.height)-s;return new Nt(n,s,i,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){if(!(t instanceof Dt)){t=new Dt(t)}let n=Infinity;let s=-Infinity;let i=Infinity;let e=-Infinity;const r=[new Tt(this.x,this.y),new Tt(this.x2,this.y),new Tt(this.x,this.y2),new Tt(this.x2,this.y2)];r.forEach((function(r){r=r.transform(t);n=Math.min(n,r.x);s=Math.max(s,r.x);i=Math.min(i,r.y);e=Math.max(e,r.y)}));return new Nt(n,i,s-n,e-i)}}function Pt(t,n,s){let i;try{i=n(t.node);if(Ft(i)&&!$t(t.node)){throw new Error("Element not in the dom")}}catch(n){i=s(t)}return i}function Rt(){const t=t=>t.getBBox();const n=t=>{try{const n=t.clone().addTo(Zt().svg).show();const s=n.node.getBBox();n.remove();return s}catch(n){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${n.toString()}`)}};const s=Pt(this,t,n);const i=new Nt(s);return i}function Gt(t){const n=t=>t.getBoundingClientRect();const s=t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)};const i=Pt(this,n,s);const e=new Nt(i);if(t){return e.transform(t.screenCTM().inverseO())}return e.addOffset()}function Yt(t,n){const s=this.bbox();return t>s.x&&n>s.y&&t<s.x+s.width&&n<s.y+s.height}h({viewbox:{viewbox(t,n,s,i){if(t==null)return new Nt(this.attr("viewBox"));return this.attr("viewBox",new Nt(t,n,s,i))},zoom(t,n){let{width:s,height:i}=this.attr(["width","height"]);if(!s&&!i||typeof s==="string"||typeof i==="string"){s=this.node.clientWidth;i=this.node.clientHeight}if(!s||!i){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();const r=s/e.width;const o=i/e.height;const h=Math.min(r,o);if(t==null){return h}let u=h/t;if(u===Infinity)u=Number.MAX_SAFE_INTEGER/100;n=n||new Tt(s/2/r+e.x,i/2/o+e.y);const c=new Nt(e).transform(new Dt({scale:u,origin:n}));return this.viewbox(c)}}});B(Nt,"Box");class Xt extends Array{constructor(t=[],...n){super(t,...n);if(typeof t==="number")return this;this.length=0;this.push(...t)}}F([Xt],{each(t,...n){if(typeof t==="function"){return this.map(((n,s,i)=>t.call(n,n,s,i)))}else{return this.map((s=>s[t](...n)))}},toArray(){return Array.prototype.concat.apply([],this)}});const Qt=["toArray","constructor","each"];Xt.extend=function(t){t=t.reduce(((t,n)=>{if(Qt.includes(n))return t;if(n[0]==="_")return t;if(n in Array.prototype){t["$"+n]=Array.prototype[n]}t[n]=function(...t){return this.each(n,...t)};return t}),{});F([Xt],t)};function qt(t,n){return new Xt(f((n||_.document).querySelectorAll(t),(function(t){return T(t)})))}function Jt(t){return qt(t,this.node)}function Ut(t){return T(this.node.querySelector(t))}let Wt=0;const Kt={};function tn(t){let n=t.getEventHolder();if(n===_.window)n=Kt;if(!n.events)n.events={};return n.events}function nn(t){return t.getEventTarget()}function sn(t){let n=t.getEventHolder();if(n===_.window)n=Kt;if(n.events)n.events={}}function en(t,n,s,i,e){const r=s.bind(i||t);const o=E(t);const h=tn(o);const u=nn(o);n=Array.isArray(n)?n:n.split(ft);if(!s._svgjsListenerId){s._svgjsListenerId=++Wt}n.forEach((function(t){const n=t.split(".")[0];const i=t.split(".")[1]||"*";h[n]=h[n]||{};h[n][i]=h[n][i]||{};h[n][i][s._svgjsListenerId]=r;u.addEventListener(n,r,e||false)}))}function rn(t,n,s,i){const e=E(t);const r=tn(e);const o=nn(e);if(typeof s==="function"){s=s._svgjsListenerId;if(!s)return}n=Array.isArray(n)?n:(n||"").split(ft);n.forEach((function(t){const n=t&&t.split(".")[0];const h=t&&t.split(".")[1];let u,c;if(s){if(r[n]&&r[n][h||"*"]){o.removeEventListener(n,r[n][h||"*"][s],i||false);delete r[n][h||"*"][s]}}else if(n&&h){if(r[n]&&r[n][h]){for(c in r[n][h]){rn(o,[n,h].join("."),c)}delete r[n][h]}}else if(h){for(t in r){for(u in r[t]){if(h===u){rn(o,[t,h].join("."))}}}}else if(n){if(r[n]){for(u in r[n]){rn(o,[n,u].join("."))}delete r[n]}}else{for(t in r){rn(o,t)}sn(e)}}))}function on(t,n,s,i){const e=nn(t);if(n instanceof _.window.Event){e.dispatchEvent(n)}else{n=new _.window.CustomEvent(n,{detail:s,cancelable:true,...i});e.dispatchEvent(n)}return n}class hn extends L{addEventListener(){}dispatch(t,n,s){return on(this,t,n,s)}dispatchEvent(t){const n=this.getEventHolder().events;if(!n)return true;const s=n[t.type];for(const n in s){for(const i in s[n]){s[n][i](t)}}return!t.defaultPrevented}fire(t,n,s){this.dispatch(t,n,s);return this}getEventHolder(){return this}getEventTarget(){return this}off(t,n,s){rn(this,t,n,s);return this}on(t,n,s,i){en(this,t,n,s,i);return this}removeEventListener(){}}B(hn,"EventTarget");function un(){}const cn={duration:400,ease:">",delay:0};const ln={"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 fn extends Array{constructor(...t){super(...t);this.init(...t)}clone(){return new this.constructor(this)}init(t){if(typeof t==="number")return this;this.length=0;this.push(...this.parse(t));return this}parse(t=[]){if(t instanceof Array)return t;return t.trim().split(ft).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];t.push(...this);return t}}class an{constructor(...t){this.init(...t)}convert(t){return new an(this.value,t)}divide(t){t=new an(t);return new an(this/t,this.unit||t.unit)}init(t,n){n=Array.isArray(t)?t[1]:n;t=Array.isArray(t)?t[0]:t;this.value=0;this.unit=n||"";if(typeof t==="number"){this.value=isNaN(t)?0:!isFinite(t)?t<0?-34e37:+34e37:t}else if(typeof t==="string"){n=t.match(tt);if(n){this.value=parseFloat(n[1]);if(n[5]==="%"){this.value/=100}else if(n[5]==="s"){this.value*=1e3}this.unit=n[5]}}else{if(t instanceof an){this.value=t.valueOf();this.unit=t.unit}}return this}minus(t){t=new an(t);return new an(this-t,this.unit||t.unit)}plus(t){t=new an(t);return new an(this+t,this.unit||t.unit)}times(t){t=new an(t);return new an(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const dn=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);const Cn=[];function wn(t){Cn.push(t)}function pn(t,n,s){if(t==null){t={};n=this.node.attributes;for(const s of n){t[s.nodeName]=ct.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce(((t,n)=>{t[n]=this.attr(n);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(n in t)this.attr(n,t[n])}else if(n===null){this.node.removeAttribute(t)}else if(n==null){n=this.node.getAttribute(t);return n==null?ln[t]:ct.test(n)?parseFloat(n):n}else{n=Cn.reduce(((n,s)=>s(t,n,this)),n);if(typeof n==="number"){n=new an(n)}else if(dn.has(t)&&St.isColor(n)){n=new St(n)}else if(n.constructor===Array){n=new fn(n)}if(t==="leading"){if(this.leading){this.leading(n)}}else{typeof s==="string"?this.node.setAttributeNS(s,t,n.toString()):this.node.setAttribute(t,n.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}class gn extends hn{constructor(t,n){super();this.node=t;this.type=t.nodeName;if(n&&t!==n){this.attr(n)}}add(t,n){t=E(t);if(t.removeNamespace&&this.node instanceof _.window.SVGElement){t.removeNamespace()}if(n==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[n]){this.node.insertBefore(t.node,this.node.childNodes[n])}return this}addTo(t,n){return E(t).put(this,n)}children(){return new Xt(f(this.node.children,(function(t){return T(t)})))}clear(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this}clone(t=true,n=true){this.writeDataToDom();let s=this.node.cloneNode(t);if(n){s=Z(s)}return new this.constructor(s)}each(t,n){const s=this.children();let i,e;for(i=0,e=s.length;i<e;i++){t.apply(s[i],[i,s]);if(n){s[i].each(t,n)}}return this}element(t,n){return this.put(new gn(V(t),n))}first(){return T(this.node.firstChild)}get(t){return T(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,n){return this.xml(t,n,b)}id(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=I(this.type)}return this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return T(this.node.lastChild)}matches(t){const n=this.node;const s=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return s&&s.call(n,t)}parent(t){let n=this;if(!n.node.parentNode)return null;n=T(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=T(n.node.parentNode));return n}put(t,n){t=E(t);this.add(t,n);return t}putIn(t,n){return E(t).add(this,n)}remove(){if(this.parent()){this.parent().removeElement(this)}return this}removeElement(t){this.node.removeChild(t.node);return this}replace(t){t=E(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t}round(t=2,n=null){const s=10**t;const i=this.attr(n);for(const t in i){if(typeof i[t]==="number"){i[t]=Math.round(i[t]*s)/s}}this.attr(i);return this}svg(t,n){return this.xml(t,n,v)}toString(){return this.id()}words(t){this.node.textContent=t;return this}wrap(t){const n=this.parent();if(!n){return this.addTo(t)}const s=n.index(this);return n.put(t,s).put(this)}writeDataToDom(){this.each((function(){this.writeDataToDom()}));return this}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();let s=this;if(t!=null){s=T(s.node.cloneNode(true));if(n){const n=t(s);s=n||s;if(n===false)return""}s.each((function(){const n=t(this);const s=n||this;if(n===false){this.remove()}else if(n&&this!==s){this.replace(s)}}),true)}return n?s.node.outerHTML:s.node.innerHTML}n=n==null?false:n;const i=V("wrapper",s);const e=_.document.createDocumentFragment();i.innerHTML=t;for(let t=i.children.length;t--;){e.appendChild(i.firstElementChild)}const r=this.parent();return n?this.replace(e)&&r:this.add(e)}}F(gn,{attr:pn,find:Jt,findOne:Ut});B(gn,"Dom");class mn extends gn{constructor(t,n){super(t,n);this.dom={};this.node.instance=this;if(t.hasAttribute("data-svgjs")||t.hasAttribute("svgjs:data")){this.setData(JSON.parse(t.getAttribute("data-svgjs"))??JSON.parse(t.getAttribute("svgjs:data"))??{})}}center(t,n){return this.cx(t).cy(n)}cx(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,n){return this.dx(t).dy(n)}dx(t=0){return this.x(new an(t).plus(this.x()))}dy(t=0){return this.y(new an(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,n){return this.x(t).y(n)}parents(t=this.root()){const n=typeof t==="string";if(!n){t=E(t)}const s=new Xt;let i=this;while((i=i.parent())&&i.node!==_.document&&i.nodeName!=="#document-fragment"){s.push(i);if(!n&&i.node===t.node){break}if(n&&i.matches(t)){break}if(i.node===this.root().node){return null}}return s}reference(t){t=this.attr(t);if(!t)return null;const n=(t+"").match(it);return n?E(n[1]):null}root(){const t=this.parent(D(O));return t&&t.root()}setData(t){this.dom=t;return this}size(t,n){const s=p(this,t,n);return this.width(new an(s.width)).height(new an(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){x(this,this.dom);return super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}F(mn,{bbox:Rt,rbox:Gt,inside:Yt,point:Ht,ctm:zt,screenCTM:It});B(mn,"Element");const yn={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){const n={};let s;n[t]=function(n){if(typeof n==="undefined"){return this.attr(t)}if(typeof n==="string"||n instanceof St||St.isRgb(n)||n instanceof mn){this.attr(t,n)}else{for(s=yn[t].length-1;s>=0;s--){if(n[yn[t][s]]!=null){this.attr(yn.prefix(t,yn[t][s]),n[yn[t][s]])}}}return this};h(["Element","Runner"],n)}));h(["Element","Runner"],{matrix:function(t,n,s,i,e,r){if(t==null){return new Dt(this)}return this.attr("transform",new Dt(t,n,s,i,e,r))},rotate:function(t,n,s){return this.transform({rotate:t,ox:n,oy:s},true)},skew:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:s},true):this.transform({skew:[t,n],ox:s,oy:i},true)},shear:function(t,n,s){return this.transform({shear:t,ox:n,oy:s},true)},scale:function(t,n,s,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:s},true):this.transform({scale:[t,n],ox:s,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t="both",n="center"){if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});h("radius",{radius:function(t,n=t){const s=(this._element||this).type;return s==="radialGradient"?this.attr("r",new an(t)):this.rx(t).ry(n)}});h("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Tt(this.node.getPointAtLength(t))}});h(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});const xn=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){const s=function(t){if(t===null){this.off(n)}else{this.on(n,t)}return this};t[n]=s;return t}),{});h("Element",xn);function vn(){return this.attr("transform",null)}function bn(){const t=(this.attr("transform")||"").split(et).slice(0,-1).map((function(t){const n=t.trim().split("(");return[n[0],n[1].split(ft).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix"){return t.lmultiply(Dt.fromArray(n[1]))}return t[n[0]].apply(t,n[1])}),new Dt);return t}function Mn(t,n){if(this===t)return this;if(y(this.node))return this.addTo(t,n);const s=this.screenCTM();const i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(s));return this}function kn(t){return this.toParent(this.root(),t)}function _n(t,n){if(t==null||typeof t==="string"){const n=new Dt(this).decompose();return t==null?n:n[t]}if(!Dt.isMatrixLike(t)){t={...t,origin:g(t,this)}}const s=n===true?this:n||false;const i=new Dt(s).transform(t);return this.attr("transform",i)}h("Element",{untransform:vn,matrixify:bn,toParent:Mn,toRoot:kn,transform:_n});class jn extends mn{flatten(){this.each((function(){if(this instanceof jn){return this.flatten().ungroup()}}));return this}ungroup(t=this.parent(),n=t.index(this)){n=n===-1?t.children().length:n;this.each((function(s,i){return i[i.length-s-1].toParent(t,n)}));return this.remove()}}B(jn,"Container");class Ln extends jn{constructor(t,n=t){super(S("defs",t),n)}flatten(){return this}ungroup(){return this}}B(Ln,"Defs");class An extends mn{}B(An,"Shape");function On(t){return this.attr("rx",t)}function Vn(t){return this.attr("ry",t)}function En(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Sn(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Tn(t){return this.attr("cx",t)}function Hn(t){return this.attr("cy",t)}function Bn(t){return t==null?this.rx()*2:this.rx(new an(t).divide(2))}function Dn(t){return t==null?this.ry()*2:this.ry(new an(t).divide(2))}var zn={__proto__:null,cx:Tn,cy:Hn,height:Dn,rx:On,ry:Vn,width:Bn,x:En,y:Sn};class In extends An{constructor(t,n=t){super(S("ellipse",t),n)}size(t,n){const s=p(this,t,n);return this.rx(new an(s.width).divide(2)).ry(new an(s.height).divide(2))}}F(In,zn);h("Container",{ellipse:$((function(t=0,n=t){return this.put(new In).size(t,n).move(0,0)}))});B(In,"Ellipse");class Zn extends gn{constructor(t=_.document.createDocumentFragment()){super(t)}xml(t,n,s){if(typeof t==="boolean"){s=n;n=t;t=null}if(t==null||typeof t==="function"){const t=new gn(V("wrapper",s));t.add(this.node.cloneNode(true));return t.xml(false,s)}return super.xml(t,false,s)}}B(Zn,"Fragment");function Fn(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new an(t),fy:new an(n)}):this.attr({x1:new an(t),y1:new an(n)})}function $n(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new an(t),cy:new an(n)}):this.attr({x2:new an(t),y2:new an(n)})}var Nn={__proto__:null,from:Fn,to:$n};class Pn extends jn{constructor(t,n){super(S(t+"Gradient",typeof t==="string"?null:t),n)}attr(t,n,s){if(t==="transform")t="gradientTransform";return super.attr(t,n,s)}bbox(){return new Nt}targets(){return qt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}F(Pn,Nn);h({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:$((function(t,n){return this.put(new Pn(t)).update(n)}))}});B(Pn,"Gradient");class Rn extends jn{constructor(t,n=t){super(S("pattern",t),n)}attr(t,n,s){if(t==="transform")t="patternTransform";return super.attr(t,n,s)}bbox(){return new Nt}targets(){return qt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}url(){return"url(#"+this.id()+")"}}h({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:$((function(t,n,s){return this.put(new Rn).update(s).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});B(Rn,"Pattern");class Gn extends An{constructor(t,n=t){super(S("image",t),n)}load(t,n){if(!t)return this;const s=new _.window.Image;en(s,"load",(function(t){const i=this.parent(Rn);if(this.width()===0&&this.height()===0){this.size(s.width,s.height)}if(i instanceof Rn){if(i.width()===0&&i.height()===0){i.size(this.width(),this.height())}}if(typeof n==="function"){n.call(this,t)}}),this);en(s,"load error",(function(){rn(s)}));return this.attr("href",s.src=t,k)}}wn((function(t,n,s){if(t==="fill"||t==="stroke"){if(lt.test(n)){n=s.root().defs().image(n)}}if(n instanceof Gn){n=s.root().defs().pattern(0,0,(t=>{t.add(n)}))}return n}));h({Container:{image:$((function(t,n){return this.put(new Gn).size(0,0).load(t,n)}))}});B(Gn,"Image");class Yn extends fn{bbox(){let t=-Infinity;let n=-Infinity;let s=Infinity;let i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);s=Math.min(e[0],s);i=Math.min(e[1],i)}));return new Nt(s,i,t-s,n-i)}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s=this.length-1;s>=0;s--){this[s]=[this[s][0]+t,this[s][1]+n]}}return this}parse(t=[0,0]){const n=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(ft).map(parseFloat)}if(t.length%2!==0)t.pop();for(let s=0,i=t.length;s<i;s=s+2){n.push([t[s],t[s+1]])}return n}size(t,n){let s;const i=this.bbox();for(s=this.length-1;s>=0;s--){if(i.width)this[s][0]=(this[s][0]-i.x)*t/i.width+i.x;if(i.height)this[s][1]=(this[s][1]-i.y)*n/i.height+i.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 n=0,s=this.length;n<s;n++){t.push(this[n].join(","))}return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){if(!Dt.isMatrixLike(t)){t=new Dt(t)}for(let n=this.length;n--;){const[s,i]=this[n];this[n][0]=t.a*s+t.c*i+t.e;this[n][1]=t.b*s+t.d*i+t.f}return this}}const Xn=Yn;function Qn(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function qn(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Jn(t){const n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Un(t){const n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Wn={__proto__:null,MorphArray:Xn,height:Un,width:Jn,x:Qn,y:qn};class Kn extends An{constructor(t,n=t){super(S("line",t),n)}array(){return new Yn([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,n){return this.attr(this.array().move(t,n).toLine())}plot(t,n,s,i){if(t==null){return this.array()}else if(typeof n!=="undefined"){t={x1:t,y1:n,x2:s,y2:i}}else{t=new Yn(t).toLine()}return this.attr(t)}size(t,n){const s=p(this,t,n);return this.attr(this.array().size(s.width,s.height).toLine())}}F(Kn,Wn);h({Container:{line:$((function(...t){return Kn.prototype.plot.apply(this.put(new Kn),t[0]!=null?t:[0,0,0,0])}))}});B(Kn,"Line");class ts extends jn{constructor(t,n=t){super(S("marker",t),n)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,n){return this.attr("refX",t).attr("refY",n)}toString(){return"url(#"+this.id()+")"}update(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this}width(t){return this.attr("markerWidth",t)}}h({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:$((function(t,n,s){return this.put(new ts).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(s)}))},marker:{marker(t,n,s,i){let e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof ts?arguments[1]:this.defs().marker(n,s,i);return this.attr(e,t)}}});B(ts,"Marker");function ns(t,n){return function(s){if(s==null)return this[t];this[t]=s;if(n)n.call(this);return this}}const ss={"-":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-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,s,i){return function(e){if(e<0){if(t>0){return n/t*e}else if(s>0){return i/s*e}else{return 0}}else if(e>1){if(s<1){return(1-i)/(1-s)*e+(i-s)/(1-s)}else if(t<1){return(1-n)/(1-t)*e+(n-t)/(1-t)}else{return 1}}else{return 3*e*(1-e)**2*n+3*e**2*(1-e)*i+e**3}}},steps:function(t,n="end"){n=n.split("-").reverse()[0];let s=t;if(n==="none"){--s}else if(n==="both"){++s}return(i,e=false)=>{let r=Math.floor(i*t);const o=i*r%1===0;if(n==="start"||n==="both"){++r}if(e&&o){--r}if(i>=0&&r<0){r=0}if(i<=1&&r>s){r=s}return r/s}}};class is{done(){return false}}class es extends is{constructor(t=cn.ease){super();this.ease=ss[t]||t}step(t,n,s){if(typeof t!=="number"){return s<1?t:n}return t+(n-t)*this.ease(s)}}class rs extends is{constructor(t){super();this.stepper=t}done(t){return t.done}step(t,n,s,i){return this.stepper(t,n,s,i)}}function os(){const t=(this._duration||500)/1e3;const n=this._overshoot||0;const s=1e-10;const i=Math.PI;const e=Math.log(n/100+s);const r=-e/Math.sqrt(i*i+e*e);const o=3.9/(r*t);this.d=2*r*o;this.k=o*o}class hs extends rs{constructor(t=500,n=0){super();this.duration(t).overshoot(n)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;if(s>100)s=16;s/=1e3;const e=i.velocity||0;const r=-this.d*e-this.k*(t-n);const o=t+e*s+r*s*s/2;i.velocity=e+r*s;i.done=Math.abs(n-o)+Math.abs(e)<.002;return i.done?n:o}}F(hs,{duration:ns("_duration",os),overshoot:ns("_overshoot",os)});class us extends rs{constructor(t=.1,n=.01,s=0,i=1e3){super();this.p(t).i(n).d(s).windup(i)}step(t,n,s,i){if(typeof t==="string")return t;i.done=s===Infinity;if(s===Infinity)return n;if(s===0)return t;const e=n-t;let r=(i.integral||0)+e*s;const o=(e-(i.error||0))/s;const h=this._windup;if(h!==false){r=Math.max(-h,Math.min(r,h))}i.error=e;i.integral=r;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*r+this.D*o)}}F(us,{windup:ns("_windup"),p:ns("P"),i:ns("I"),d:ns("D")});const cs={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};const ls={M:function(t,n,s){n.x=s.x=t[0];n.y=s.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,s){n.x=s.x;n.y=s.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};const fs="mlhvqtcsaz".split("");for(let t=0,n=fs.length;t<n;++t){ls[fs[t]]=function(t){return function(n,s,i){if(t==="H")n[0]=n[0]+s.x;else if(t==="V")n[0]=n[0]+s.y;else if(t==="A"){n[5]=n[5]+s.x;n[6]=n[6]+s.y}else{for(let t=0,i=n.length;t<i;++t){n[t]=n[t]+(t%2?s.y:s.x)}}return ls[t](n,s,i)}}(fs[t].toUpperCase())}function as(t){const n=t.segment[0];return ls[n](t.segment.slice(1),t.p,t.p0)}function ds(t){return t.segment.length&&t.segment.length-1===cs[t.segment[0].toUpperCase()]}function Cs(t,n){t.inNumber&&ws(t,false);const s=at.test(n);if(s){t.segment=[n]}else{const n=t.lastCommand;const s=n.toLowerCase();const i=n===s;t.segment=[s==="m"?i?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return s}function ws(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(ds(t)){ps(t)}}function ps(t){t.inSegment=false;if(t.absolute){t.segment=as(t)}t.segments.push(t.segment)}function gs(t){if(!t.segment.length)return false;const n=t.segment[0].toUpperCase()==="A";const s=t.segment.length;return n&&(s===4||s===5)}function ms(t){return t.lastToken.toUpperCase()==="E"}const ys=new Set([" ",",","\t","\n","\r","\f"]);function xs(t,n=true){let s=0;let i="";const e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new Tt,p:new Tt};while(e.lastToken=i,i=t.charAt(s++)){if(!e.inSegment){if(Cs(e,i)){continue}}if(i==="."){if(e.pointSeen||e.hasExponent){ws(e,false);--s;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||gs(e)){e.inNumber=true;e.number=i;ws(e,true);continue}e.inNumber=true;e.number+=i;continue}if(ys.has(i)){if(e.inNumber){ws(e,false)}continue}if(i==="-"||i==="+"){if(e.inNumber&&!ms(e)){ws(e,false);--s;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(at.test(i)){if(e.inNumber){ws(e,false)}else if(!ds(e)){throw new Error("parser Error")}else{ps(e)}--s}}if(e.inNumber){ws(e,false)}if(e.inSegment&&ds(e)){ps(e)}return e.segments}function vs(t){let n="";for(let s=0,i=t.length;s<i;s++){n+=t[s][0];if(t[s][1]!=null){n+=t[s][1];if(t[s][2]!=null){n+=" ";n+=t[s][2];if(t[s][3]!=null){n+=" ";n+=t[s][3];n+=" ";n+=t[s][4];if(t[s][5]!=null){n+=" ";n+=t[s][5];n+=" ";n+=t[s][6];if(t[s][7]!=null){n+=" ";n+=t[s][7]}}}}}}return n+" "}class bs extends fn{bbox(){Zt().path.setAttribute("d",this.toString());return new Nt(Zt.nodes.path.getBBox())}move(t,n){const s=this.bbox();t-=s.x;n-=s.y;if(!isNaN(t)&&!isNaN(n)){for(let s,i=this.length-1;i>=0;i--){s=this[i][0];if(s==="M"||s==="L"||s==="T"){this[i][1]+=t;this[i][2]+=n}else if(s==="H"){this[i][1]+=t}else if(s==="V"){this[i][1]+=n}else if(s==="C"||s==="S"||s==="Q"){this[i][1]+=t;this[i][2]+=n;this[i][3]+=t;this[i][4]+=n;if(s==="C"){this[i][5]+=t;this[i][6]+=n}}else if(s==="A"){this[i][6]+=t;this[i][7]+=n}}}return this}parse(t="M0 0"){if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return xs(t)}size(t,n){const s=this.bbox();let i,e;s.width=s.width===0?1:s.width;s.height=s.height===0?1:s.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y}else if(e==="H"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x}else if(e==="V"){this[i][1]=(this[i][1]-s.y)*n/s.height+s.y}else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-s.x)*t/s.width+s.x;this[i][2]=(this[i][2]-s.y)*n/s.height+s.y;this[i][3]=(this[i][3]-s.x)*t/s.width+s.x;this[i][4]=(this[i][4]-s.y)*n/s.height+s.y;if(e==="C"){this[i][5]=(this[i][5]-s.x)*t/s.width+s.x;this[i][6]=(this[i][6]-s.y)*n/s.height+s.y}}else if(e==="A"){this[i][1]=this[i][1]*t/s.width;this[i][2]=this[i][2]*n/s.height;this[i][6]=(this[i][6]-s.x)*t/s.width+s.x;this[i][7]=(this[i][7]-s.y)*n/s.height+s.y}}return this}toString(){return vs(this)}}const Ms=t=>{const n=typeof t;if(n==="number"){return an}else if(n==="string"){if(St.isColor(t)){return St}else if(ft.test(t)){return at.test(t)?bs:fn}else if(tt.test(t)){return an}else{return _s}}else if(Os.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return fn}else if(n==="object"){return As}else{return _s}};class ks{constructor(t){this._stepper=t||new es("-");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(){const t=this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true);return t}from(t){if(t==null){return this._from}this._from=this._set(t);return this}stepper(t){if(t==null)return this._stepper;this._stepper=t;return this}to(t){if(t==null){return this._to}this._to=this._set(t);return this}type(t){if(t==null){return this._type}this._type=t;return this}_set(t){if(!this._type){this.type(Ms(t))}let n=new this._type(t);if(this._type===St){n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n}if(this._type===As){n=this._to?n.align(this._to):this._from?n.align(this._from):n}n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n}}class _s{constructor(...t){this.init(...t)}init(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this}toArray(){return[this.value]}valueOf(){return this.value}}class js{constructor(...t){this.init(...t)}init(t){if(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,js.defaults,t);return this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}js.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Ls=(t,n)=>t[0]<n[0]?-1:t[0]>n[0]?1:0;class As{constructor(...t){this.init(...t)}align(t){const n=this.values;for(let s=0,i=n.length;s<i;++s){if(n[s+1]===t[s+1]){if(n[s+1]===St&&t[s+7]!==n[s+7]){const n=t[s+7];const i=new St(this.values.splice(s+3,5))[n]().toArray();this.values.splice(s+3,0,...i)}s+=n[s+2]+2;continue}if(!t[s+1]){return this}const i=(new t[s+1]).toArray();const e=n[s+2]+3;n.splice(s,e,t[s],t[s+1],t[s+2],...i);s+=n[s+2]+2}return this}init(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};const n=[];for(const s in t){const i=Ms(t[s]);const e=new i(t[s]).toArray();n.push([s,i,e.length,...e])}n.sort(Ls);this.values=n.reduce(((t,n)=>t.concat(n)),[]);return this}toArray(){return this.values}valueOf(){const t={};const n=this.values;while(n.length){const s=n.shift();const i=n.shift();const e=n.shift();const r=n.splice(0,e);t[s]=new i(r)}return t}}const Os=[_s,js,As];function Vs(t=[]){Os.push(...[].concat(t))}function Es(){F(Os,{to(t){return(new ks).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){this.init(t);return this},toConsumable(){return this.toArray()},morph(t,n,s,i,e){const r=function(t,r){return i.step(t,n[r],s,e[r],e)};return this.fromArray(t.map(r))}})}class Ss extends An{constructor(t,n=t){super(S("path",t),n)}array(){return this._array||(this._array=new bs(this.attr("d")))}clear(){delete this._array;return this}height(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)}move(t,n){return this.attr("d",this.array().move(t,n))}plot(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new bs(t))}size(t,n){const s=p(this,t,n);return this.attr("d",this.array().size(s.width,s.height))}width(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)}x(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}y(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}}Ss.prototype.MorphArray=bs;h({Container:{path:$((function(t){return this.put(new Ss).plot(t||new bs)}))}});B(Ss,"Path");function Ts(){return this._array||(this._array=new Yn(this.attr("points")))}function Hs(){delete this._array;return this}function Bs(t,n){return this.attr("points",this.array().move(t,n))}function Ds(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new Yn(t))}function zs(t,n){const s=p(this,t,n);return this.attr("points",this.array().size(s.width,s.height))}var Is={__proto__:null,array:Ts,clear:Hs,move:Bs,plot:Ds,size:zs};class Zs extends An{constructor(t,n=t){super(S("polygon",t),n)}}h({Container:{polygon:$((function(t){return this.put(new Zs).plot(t||new Yn)}))}});F(Zs,Wn);F(Zs,Is);B(Zs,"Polygon");class Fs extends An{constructor(t,n=t){super(S("polyline",t),n)}}h({Container:{polyline:$((function(t){return this.put(new Fs).plot(t||new Yn)}))}});F(Fs,Wn);F(Fs,Is);B(Fs,"Polyline");class $s extends An{constructor(t,n=t){super(S("rect",t),n)}}F($s,{rx:On,ry:Vn});h({Container:{rect:$((function(t,n){return this.put(new $s).size(t,n)}))}});B($s,"Rect");class Ns{constructor(){this._first=null;this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n}remove(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null}shift(){const t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value}}const Ps={nextDraw:null,frames:new Ns,timeouts:new Ns,immediates:new Ns,timer:()=>_.window.performance||_.window.Date,transforms:[],frame(t){const n=Ps.frames.push({run:t});if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return n},timeout(t,n){n=n||0;const s=Ps.timer().now()+n;const i=Ps.timeouts.push({run:t,time:s});if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return i},immediate(t){const n=Ps.immediates.push(t);if(Ps.nextDraw===null){Ps.nextDraw=_.window.requestAnimationFrame(Ps._draw)}return n},cancelFrame(t){t!=null&&Ps.frames.remove(t)},clearTimeout(t){t!=null&&Ps.timeouts.remove(t)},cancelImmediate(t){t!=null&&Ps.immediates.remove(t)},_draw(t){let n=null;const s=Ps.timeouts.last();while(n=Ps.timeouts.shift()){if(t>=n.time){n.run()}else{Ps.timeouts.push(n)}if(n===s)break}let i=null;const e=Ps.frames.last();while(i!==e&&(i=Ps.frames.shift())){i.run(t)}let r=null;while(r=Ps.immediates.shift()){r()}Ps.nextDraw=Ps.timeouts.first()||Ps.frames.first()?_.window.requestAnimationFrame(Ps._draw):null}};const Rs=function(t){const n=t.start;const s=t.runner.duration();const i=n+s;return{start:n,duration:s,end:i,runner:t.runner}};const Gs=function(){const t=_.window;return(t.performance||t.Date).now()};class Ys extends hn{constructor(t=Gs){super();this._timeSource=t;this.terminate()}active(){return!!this._nextFrame}finish(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()}getEndTime(){const t=this.getLastRunnerInfo();const n=t?t.runner.duration():0;const s=t?t.start:this._time;return s+n}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(){this._paused=true;return this._continue()}persist(t){if(t==null)return this._persist;this._persist=t;return this}play(){this._paused=false;return this.updateTime()._continue()}reverse(t){const n=this.speed();if(t==null)return this.speed(-n);const s=Math.abs(n);return this.speed(t?-s:s)}schedule(t,n,s){if(t==null){return this._runners.map(Rs)}let i=0;const e=this.getEndTime();n=n||0;if(s==null||s==="last"||s==="after"){i=e}else if(s==="absolute"||s==="start"){i=n;n=0}else if(s==="now"){i=this._time}else if(s==="relative"){const s=this.getRunnerInfoById(t.id);if(s){i=s.start+n;n=0}}else if(s==="with-last"){const t=this.getLastRunnerInfo();const n=t?t.start:this._time;i=n}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);const r=t.persist();const o={persist:r===null?this._persist:r,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(o);this._runners.sort(((t,n)=>t.start-n.start));this._runnerIds=this._runners.map((t=>t.runner.id));this.updateTime()._continue();return this}seek(t){return this.time(this._time+t)}source(t){if(t==null)return this._timeSource;this._timeSource=t;return this}speed(t){if(t==null)return this._speed;this._speed=t;return this}stop(){this.time(0);return this.pause()}time(t){if(t==null)return this._time;this._time=t;return this._continue(true)}unschedule(t){const n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this}updateTime(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this}_continue(t=false){Ps.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Ps.frame(this._step);return this}_stepFn(t=false){const n=this._timeSource();let s=n-this._lastSourceTime;if(t)s=0;const i=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;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 n=this._runners[t];const s=n.runner;const i=this._time-n.start;if(i<=0){s.reset()}}let e=false;for(let t=0,n=this._runners.length;t<n;t++){const s=this._runners[t];const r=s.runner;let o=i;const h=this._time-s.start;if(h<=0){e=true;continue}else if(h<o){o=h}if(!r.active())continue;const u=r.step(o).done;if(!u){e=true}else if(s.persist!==true){const i=r.duration()-r.time()+this._time;if(i+s.persist<this._time){r.unschedule();--t;--n}}}if(e&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this}terminate(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)}}h({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Ys;return this._timeline}else{this._timeline=t;return this}}}});class Xs extends hn{constructor(t){super();this.id=Xs.id++;t=t==null?cn.duration:t;t=typeof t==="function"?new rs(t):t;this._element=null;this._timeline=null;this.done=false;this._queue=[];this._duration=typeof t==="number"&&t;this._isDeclarative=t instanceof rs;this._stepper=this._isDeclarative?t:new es;this._history={};this.enabled=true;this._time=0;this._lastTime=0;this._reseted=true;this.transforms=new Dt;this.transformId=1;this._haveReversed=false;this._reverse=false;this._loopsDone=0;this._swing=false;this._wait=0;this._times=1;this._frameId=null;this._persist=this._isDeclarative?true:null}static sanitise(t,n,s){let i=1;let e=false;let r=0;t=t??cn.duration;n=n??cn.delay;s=s||"last";if(typeof t==="object"&&!(t instanceof is)){n=t.delay??n;s=t.when??s;e=t.swing||e;i=t.times??i;r=t.wait??r;t=t.duration??cn.duration}return{duration:t,delay:n,swing:e,times:i,wait:r,when:s}}active(t){if(t==null)return this.enabled;this.enabled=t;return this}addTransform(t){this.transforms.lmultiplyO(t);return this}after(t){return this.on("finished",t)}animate(t,n,s){const i=Xs.sanitise(t,n,s);const e=new Xs(i.duration);if(this._timeline)e.timeline(this._timeline);if(this._element)e.element(this._element);return e.loop(i).schedule(i.delay,i.when)}clearTransform(){this.transforms=new Dt;return this}clearTransformsFromQueue(){if(!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){this._stepper=new es(t);return this}element(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this}finish(){return this.step(Infinity)}loop(t,n,s){if(typeof t==="object"){n=t.swing;s=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=s||0;if(this._times===true){this._times=Infinity}return this}loops(t){const n=this._duration+this._wait;if(t==null){const t=Math.floor(this._time/n);const s=this._time-t*n;const i=s/this._duration;return Math.min(t+i,this._times)}const s=Math.floor(t);const i=t%1;const e=n*s+this._duration*i;return this.time(e)}persist(t){if(t==null)return this._persist;this._persist=t;return this}position(t){const n=this._time;const s=this._duration;const i=this._wait;const e=this._times;const r=this._swing;const o=this._reverse;let h;if(t==null){const t=function(t){const n=r*Math.floor(t%(2*(i+s))/(i+s));const e=n&&!o||!n&&o;const h=Math.pow(-1,e)*(t%(i+s))/s+e;const u=Math.max(Math.min(h,1),0);return u};const u=e*(i+s)-i;h=n<=0?Math.round(t(1e-5)):n<u?t(n):Math.round(t(u-1e-5));return h}const u=Math.floor(this.loops());const c=r&&u%2===0;const l=c&&!o||o&&c;h=u+(l?t:1-t);return this.loops(h)}progress(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())}queue(t,n,s,i){this._queue.push({initialiser:t||un,runner:n||un,retarget:s,isTransform:i,initialised:false,finished:false});const e=this.timeline();e&&this.timeline()._continue();return this}reset(){if(this._reseted)return this;this.time(0);this._reseted=true;return this}reverse(t){this._reverse=t==null?!this._reverse:t;return this}schedule(t,n,s){if(!(t instanceof Ys)){s=n;n=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,n,s);return this}step(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;const n=this.position();const s=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;const i=this.duration();const e=this._lastTime<=0&&this._time>0;const r=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e){this.fire("start",this)}const o=this._isDeclarative;this.done=!o&&!r&&this._time>=i;this._reseted=false;let h=false;if(s||o){this._initialise(s);this.transforms=new Dt;h=this._run(o?t:n);this.fire("step",this)}this.done=this.done||h&&o;if(r){this.fire("finished",this)}return this}time(t){if(t==null){return this._time}const n=t-this._time;this.step(n);return this}timeline(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this}unschedule(){const t=this.timeline();t&&t.unschedule(this);return this}_initialise(t){if(!t&&!this._isDeclarative)return;for(let n=0,s=this._queue.length;n<s;++n){const s=this._queue[n];const i=this._isDeclarative||!s.initialised&&t;t=!s.finished;if(i&&t){s.initialiser.call(this);s.initialised=true}}}_rememberMorpher(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let n=true;for(let s=0,i=this._queue.length;s<i;++s){const i=this._queue[s];const e=i.runner.call(this,t);i.finished=i.finished||e===true;n=n&&i.finished}return n}_tryRetarget(t,n,s){if(this._history[t]){if(!this._history[t].caller.initialised){const n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,n,s)}else{this._history[t].morpher.to(n)}this._history[t].caller.finished=false;const i=this.timeline();i&&i.play();return true}return false}}Xs.id=0;class Qs{constructor(t=new Dt,n=-1,s=true){this.transforms=t;this.id=n;this.done=s}clearTransformsFromQueue(){}}F([Xs,Qs],{mergeWith(t){return new Qs(t.transforms.lmultiply(this.transforms),t.id)}});const qs=(t,n)=>t.lmultiplyO(n);const Js=t=>t.transforms;function Us(){const t=this._transformationRunners.runners;const n=t.map(Js).reduce(qs,new Dt);this.transform(n);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}class Ws{constructor(){this.runners=[];this.ids=[]}add(t){if(this.runners.includes(t))return;const n=t.id+1;this.runners.push(t);this.ids.push(n);return this}clearBefore(t){const n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new Qs).forEach((t=>t.clearTransformsFromQueue()));return this}edit(t,n){const s=this.ids.indexOf(t+1);this.ids.splice(s,1,t+1);this.runners.splice(s,1,n);return this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let n=0;n<this.runners.length;++n){const s=this.runners[n];const i=t&&s.done&&t.done&&(!s._timeline||!s._timeline._runnerIds.includes(s.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(i){this.remove(s.id);const i=s.mergeWith(t);this.edit(t.id,i);t=i;--n}else{t=s}}return this}remove(t){const n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this}}h({Element:{animate(t,n,s){const i=Xs.sanitise(t,n,s);const e=this.timeline();return new Xs(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((n=>n.id<=t.id)).map(Js).reduce(qs,new Dt)},_addRunner(t){this._transformationRunners.add(t);Ps.cancelImmediate(this._frameId);this._frameId=Ps.immediate(Us.bind(this))},_prepareRunner(){if(this._frameId==null){this._transformationRunners=(new Ws).add(new Qs(new Dt(this)))}}}});const Ks=(t,n)=>t.filter((t=>!n.includes(t)));F(Xs,{attr(t,n){return this.styleAttr("attr",t,n)},css(t,n){return this.styleAttr("css",t,n)},styleAttr(t,n,s){if(typeof n==="string"){return this.styleAttr(t,{[n]:s})}let i=n;if(this._tryRetarget(t,i))return this;let e=new ks(this._stepper).to(i);let r=Object.keys(i);this.queue((function(){e=e.from(this.element()[t](r))}),(function(n){this.element()[t](e.at(n).valueOf());return e.done()}),(function(n){const s=Object.keys(n);const o=Ks(s,r);if(o.length){const n=this.element()[t](o);const s=new As(e.from()).valueOf();Object.assign(s,n);e.from(s)}const h=new As(e.to()).valueOf();Object.assign(h,n);e.to(h);r=s;i=n}));this._rememberMorpher(t,e);return this},zoom(t,n){if(this._tryRetarget("zoom",t,n))return this;let s=new ks(this._stepper).to(new an(t));this.queue((function(){s=s.from(this.element().zoom())}),(function(t){this.element().zoom(s.at(t),n);return s.done()}),(function(t,i){n=i;s.to(t)}));this._rememberMorpher("zoom",s);return this},transform(t,n,s){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t)){return this}const i=Dt.isMatrixLike(t);s=t.affine!=null?t.affine:s!=null?s:!i;const e=new ks(this._stepper).type(s?js:Dt);let r;let o;let h;let u;let c;function l(){o=o||this.element();r=r||g(t,o);c=new Dt(n?undefined:o);o._addRunner(this);if(!n){o._clearTransformRunnersBefore(this)}}function f(l){if(!n)this.clearTransform();const{x:f,y:a}=new Tt(r).transform(o._currentTransform(this));let d=new Dt({...t,origin:[f,a]});let C=this._isDeclarative&&h?h:c;if(s){d=d.decompose(f,a);C=C.decompose(f,a);const t=d.rotate;const n=C.rotate;const s=[t-360,t,t+360];const i=s.map((t=>Math.abs(t-n)));const e=Math.min(...i);const r=i.indexOf(e);d.rotate=s[r]}if(n){if(!i){d.rotate=t.rotate||0}if(this._isDeclarative&&u){C.rotate=u}}e.from(C);e.to(d);const w=e.at(l);u=w.rotate;h=new Dt(w);this.addTransform(h);o._addRunner(this);return e.done()}function a(n){if((n.origin||"center").toString()!==(t.origin||"center").toString()){r=g(n,o)}t={...n,origin:r}}this.queue(l,f,a,true);this._isDeclarative&&this._rememberMorpher("transform",e);return 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,n){return this.dx(t).dy(n)},_queueNumberDelta(t,n){n=new an(n);if(this._tryRetarget(t,n))return this;const s=new ks(this._stepper).to(n);let i=null;this.queue((function(){i=this.element()[t]();s.from(i);s.to(i+n)}),(function(n){this.element()[t](s.at(n));return s.done()}),(function(t){s.to(i+new an(t))}));this._rememberMorpher(t,s);return this},_queueObject(t,n){if(this._tryRetarget(t,n))return this;const s=new ks(this._stepper).to(n);this.queue((function(){s.from(this.element()[t]())}),(function(n){this.element()[t](s.at(n));return s.done()}));this._rememberMorpher(t,s);return this},_queueNumber(t,n){return this._queueObject(t,new an(n))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,n){return this.x(t).y(n)},amove(t,n){return this.ax(t).ay(n)},center(t,n){return this.cx(t).cy(n)},size(t,n){let s;if(!t||!n){s=this._element.bbox()}if(!t){t=s.width/s.height*n}if(!n){n=s.height/s.width*t}return this.width(t).height(n)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,n,s,i){if(arguments.length===4){return this.plot([t,n,s,i])}if(this._tryRetarget("plot",t))return this;const e=new ks(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading(t){return this._queueNumber("leading",t)},viewbox(t,n,s,i){return this._queueObject("viewbox",new Nt(t,n,s,i))},update(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});F(Xs,{rx:On,ry:Vn,from:Fn,to:$n});B(Xs,"Runner");class ti extends jn{constructor(t,n=t){super(S("svg",t),n);this.namespace()}defs(){if(!this.isRoot())return this.root().defs();return T(this.node.querySelector("defs"))||this.put(new Ln)}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof _.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:v,version:"1.1"}).attr("xmlns:xlink",k,M)}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,M).attr("xmlns:svgjs",null,M)}root(){if(this.isRoot())return this;return super.root()}}h({Container:{nested:$((function(){return this.put(new ti)}))}});B(ti,"Svg",true);class ni extends jn{constructor(t,n=t){super(S("symbol",t),n)}}h({Container:{symbol:$((function(){return this.put(new ni)}))}});B(ni,"Symbol");function si(t){if(this._build===false){this.clear()}this.node.appendChild(_.document.createTextNode(t));return this}function ii(){return this.node.getComputedTextLength()}function ei(t,n=this.bbox()){if(t==null){return n.x}return this.attr("x",this.attr("x")+t-n.x)}function ri(t,n=this.bbox()){if(t==null){return n.y}return this.attr("y",this.attr("y")+t-n.y)}function oi(t,n,s=this.bbox()){return this.x(t,s).y(n,s)}function hi(t,n=this.bbox()){if(t==null){return n.cx}return this.attr("x",this.attr("x")+t-n.cx)}function ui(t,n=this.bbox()){if(t==null){return n.cy}return this.attr("y",this.attr("y")+t-n.cy)}function ci(t,n,s=this.bbox()){return this.cx(t,s).cy(n,s)}function li(t){return this.attr("x",t)}function fi(t){return this.attr("y",t)}function ai(t,n){return this.ax(t).ay(n)}function di(t){this._build=!!t;return this}var Ci={__proto__:null,amove:ai,ax:li,ay:fi,build:di,center:ci,cx:hi,cy:ui,length:ii,move:oi,plain:si,x:ei,y:ri};class wi extends An{constructor(t,n=t){super(S("text",t),n);this.dom.leading=this.dom.leading??new an(1.3);this._rebuild=true;this._build=false}leading(t){if(t==null){return this.dom.leading}this.dom.leading=new an(t);return this.rebuild()}rebuild(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){const t=this;let n=0;const s=this.dom.leading;this.each((function(i){if(y(this.node))return;const e=_.window.getComputedStyle(this.node).getPropertyValue("font-size");const r=s*new an(e);if(this.dom.newLined){this.attr("x",t.attr("x"));if(this.text()==="\n"){n+=r}else{this.attr("dy",i?r+n:0);n=0}}}));this.fire("rebuild")}return this}setData(t){this.dom=t;this.dom.leading=new an(t.leading||1.3);return this}writeDataToDom(){x(this,this.dom,{leading:1.3});return this}text(t){if(t===undefined){const n=this.node.childNodes;let s=0;t="";for(let i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"||y(n[i])){if(i===0)s=i+1;continue}if(i!==s&&n[i].nodeType!==3&&T(n[i]).dom.newLined===true){t+="\n"}t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(let n=0,s=t.length;n<s;n++){this.newLine(t[n])}}return this.build(false).rebuild()}}F(wi,Ci);h({Container:{text:$((function(t=""){return this.put(new wi).text(t)})),plain:$((function(t=""){return this.put(new wi).plain(t)}))}});B(wi,"Text");class pi extends An{constructor(t,n=t){super(S("tspan",t),n);this._build=false}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=true;const t=this.parent();if(!(t instanceof wi)){return this}const n=t.index(this);const s=_.window.getComputedStyle(this.node).getPropertyValue("font-size");const i=t.dom.leading*new an(s);return this.dy(n?i:0).attr("x",t.x())}text(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this}}F(pi,Ci);h({Tspan:{tspan:$((function(t=""){const n=new pi;if(!this._build){this.clear()}return this.put(n).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}});B(pi,"Tspan");class gi extends An{constructor(t,n=t){super(S("circle",t),n)}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 an(t).divide(2))}}F(gi,{x:En,y:Sn,cx:Tn,cy:Hn,width:Bn,height:Dn});h({Container:{circle:$((function(t=0){return this.put(new gi).size(t).move(0,0)}))}});B(gi,"Circle");class mi extends jn{constructor(t,n=t){super(S("clipPath",t),n)}remove(){this.targets().forEach((function(t){t.unclip()}));return super.remove()}targets(){return qt("svg [clip-path*="+this.id()+"]")}}h({Container:{clip:$((function(){return this.defs().put(new mi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const n=t instanceof mi?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip(){return this.attr("clip-path",null)}}});B(mi,"ClipPath");class yi extends mn{constructor(t,n=t){super(S("foreignObject",t),n)}}h({Container:{foreignObject:$((function(t,n){return this.put(new yi).size(t,n)}))}});B(yi,"ForeignObject");function xi(t,n){this.children().forEach((s=>{let i;try{i=s.node instanceof j().SVGSVGElement?new Nt(s.attr(["x","y","width","height"])):s.bbox()}catch(t){return}const e=new Dt(s);const r=e.translate(t,n).transform(e.inverse());const o=new Tt(i.x,i.y).transform(r);s.move(o.x,o.y)}));return this}function vi(t){return this.dmove(t,0)}function bi(t){return this.dmove(0,t)}function Mi(t,n=this.bbox()){if(t==null)return n.height;return this.size(n.width,t,n)}function ki(t=0,n=0,s=this.bbox()){const i=t-s.x;const e=n-s.y;return this.dmove(i,e)}function _i(t,n,s=this.bbox()){const i=p(this,t,n,s);const e=i.width/s.width;const r=i.height/s.height;this.children().forEach((t=>{const n=new Tt(s).transform(new Dt(t).inverse());t.scale(e,r,n.x,n.y)}));return this}function ji(t,n=this.bbox()){if(t==null)return n.width;return this.size(t,n.height,n)}function Li(t,n=this.bbox()){if(t==null)return n.x;return this.move(t,n.y,n)}function Ai(t,n=this.bbox()){if(t==null)return n.y;return this.move(n.x,t,n)}var Oi={__proto__:null,dmove:xi,dx:vi,dy:bi,height:Mi,move:ki,size:_i,width:ji,x:Li,y:Ai};class Vi extends jn{constructor(t,n=t){super(S("g",t),n)}}F(Vi,Oi);h({Container:{group:$((function(){return this.put(new Vi)}))}});B(Vi,"G");class Ei extends jn{constructor(t,n=t){super(S("a",t),n)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,k)}}F(Ei,Oi);h({Container:{link:$((function(t){return this.put(new Ei).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const n=t.parent();if(!n){return this.remove()}const s=n.index(t);n.add(this,s);t.remove();return this},linkTo(t){let n=this.linker();if(!n){n=new Ei;this.wrap(n)}if(typeof t==="function"){t.call(n,n)}else{n.to(t)}return this},linker(){const t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});B(Ei,"A");class Si extends jn{constructor(t,n=t){super(S("mask",t),n)}remove(){this.targets().forEach((function(t){t.unmask()}));return super.remove()}targets(){return qt("svg [mask*="+this.id()+"]")}}h({Container:{mask:$((function(){return this.defs().put(new Si)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const n=t instanceof Si?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask(){return this.attr("mask",null)}}});B(Si,"Mask");class Ti extends mn{constructor(t,n=t){super(S("stop",t),n)}update(t){if(typeof t==="number"||t instanceof an){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new an(t.offset));return this}}h({Gradient:{stop:function(t,n,s){return this.put(new Ti).update(t,n,s)}}});B(Ti,"Stop");function Hi(t,n){if(!t)return"";if(!n)return t;let s=t+"{";for(const t in n){s+=C(t)+":"+n[t]+";"}s+="}";return s}class Bi extends mn{constructor(t,n=t){super(S("style",t),n)}addText(t=""){this.node.textContent+=t;return this}font(t,n,s={}){return this.rule("@font-face",{fontFamily:t,src:n,...s})}rule(t,n){return this.addText(Hi(t,n))}}h("Dom",{style(t,n){return this.put(new Bi).rule(t,n)},fontface(t,n,s){return this.put(new Bi).font(t,n,s)}});B(Bi,"Style");class Di extends wi{constructor(t,n=t){super(S("textPath",t),n)}array(){const t=this.track();return t?t.array():null}plot(t){const n=this.track();let s=null;if(n){s=n.plot(t)}return t==null?s:this}track(){return this.reference("href")}}h({Container:{textPath:$((function(t,n){if(!(t instanceof wi)){t=this.text(t)}return t.path(n)}))},Text:{path:$((function(t,n=true){const s=new Di;if(!(t instanceof Ss)){t=this.defs().path(t)}s.attr("href","#"+t,k);let i;if(n){while(i=this.node.firstChild){s.node.appendChild(i)}}return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:$((function(t){if(!(t instanceof wi)){t=(new wi).addTo(this.parent()).text(t)}return t.path(this)})),targets(){return qt("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}});Di.prototype.MorphArray=bs;B(Di,"TextPath");class zi extends An{constructor(t,n=t){super(S("use",t),n)}use(t,n){return this.attr("href",(n||"")+"#"+t,k)}}h({Container:{use:$((function(t,n){return this.put(new zi).use(t,n)}))}});B(zi,"Use");const Ii=E;F([ti,ni,Gn,Rn,ts],u("viewbox"));F([Kn,Fs,Zs,Ss],u("marker"));F(wi,u("Text"));F(Ss,u("Path"));F(Ln,u("Defs"));F([wi,pi],u("Tspan"));F([$s,In,Pn,Xs],u("radius"));F(hn,u("EventTarget"));F(gn,u("Dom"));F(mn,u("Element"));F(An,u("Shape"));F([jn,Zn],u("Container"));F(Pn,u("Gradient"));F(Xs,u("Runner"));Xt.extend(c());Vs([an,St,Nt,Dt,fn,Yn,bs,Tt]);Es();function Zi(){let t={entities:[]};let n;let s=[];function i(t,s,i){n=Ii().addTo(t).size(s,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){const s=t.group().attr({id:n.id});t.entities.push(s);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;s.entity=s.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr({fill:"#ffffff",stroke:n.color,["stroke-width"]:2}).radius(n.radius);if(n.class){s.entity.attr("class",n.class)}s.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});s.move(n.x,n.y)}function r(){if(t.labels&&t.labels.length>0){t.labels.forEach((t=>{n.labels.text(t.value).x(t.x).y(t.y)}))}}function o(t,n){n.forEach((n=>h(t,n)))}function h(t,n){let s="";const i=n.color||"#4c56cb";const e=t.findOne("#"+n.from.element);const r=t.findOne("#"+n.to.element);const o=u(n,e,r);s+=l(e,n.from.point)+","+f(e,n.from.point)+" ";o.forEach((t=>s+=t.x+","+t.y+" "));if(n.to.point==="top"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else if(n.to.point==="bottom"){s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}else{s+=l(r,n.to.point)+","+f(r,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(s).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(s)}}function u(t,n,s){const i=[];const e=f(n,t.from.point);const r=f(s,t.to.point);const o=l(n,t.from.point);const h=l(s,t.to.point);const u=c(t.from.point);const a=c(t.to.point);const d=u-a;if(d===0){if(t.from.point==="top"){if(e<=r){i.push({x:o,y:e-20});i.push({x:h,y:e-20})}else{i.push({x:o,y:r-20});i.push({x:h,y:r-20})}}else if(t.from.point==="bottom"){if(e<=r){i.push({x:o,y:r+20});i.push({x:h,y:r+20})}else{i.push({x:o,y:e+20});i.push({x:h,y:e+20})}}else{if(o<=h){i.push({x:h+20,y:e});i.push({x:h+20,y:r})}else{i.push({x:o+20,y:e});i.push({x:o+20,y:r})}}}if(d===2||d===-2){if(o!==h){i.push({x:o,y:r+(e-r)/2});i.push({x:h,y:r+(e-r)/2})}}if(d===1||d===-1||d===3||d===-3){if(t.from.point==="top"){if(e<r+20){i.push({x:o,y:e-20});i.push({x:h+20,y:e-20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}if(t.from.point==="bottom"){if(e>r-20){i.push({x:o,y:e+20});i.push({x:h+20,y:e+20});i.push({x:h+20,y:r})}else{i.push({x:o,y:r})}}}return i}function c(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function l(t,n){const s=t.entity.attr("width");const i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+s/2;default:return i-s/2}}function f(t,n){const s=t.entity.attr("height");const i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+s;default:return i}}function a(){n.entities.forEach((t=>t.remove()));n.entities=[];s=[];if(!t.labels){t.labels=[]}t.labels=t.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"})));t.entities.map((t=>{t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));r();t.entities.forEach((t=>e(n,t)));s=t.lines;o(n,s)}function d(n){t=n;a()}return{initalize:i,update:d}}const Fi='@-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}';const $i=Fi;const Ni=`<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>`;const Pi=`<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>`;const Ri=`<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>`;const Gi=`<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>`;const Yi=`<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>`;const Xi=`<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>`;const Qi=`<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>`;const qi=`<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>`;const Ji=`<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>`;const Ui=`<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>`;const Wi=`<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>`;const Ki=`<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>`;const te=`<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>`;const ne=`<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>`;const se=`<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>`;const ie=`<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>`;const ee=`<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>`;const re=`<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>`;const oe=`<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>`;const he=`<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>`;const ue=140;const ce=40;const le=40;const fe=class{constructor(n){t(this,n);this.size="normal";this.theme="light";this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`;this.recipientStatusIcons=[]}componentDidLoad(){var t;this.popper=e(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((t=this.envelope)===null||t===void 0?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((n=>{const s=n.sequence-1;t[s]||(t[s]=[]);const i=`r-${s}-${t[s].length}`;t[s].push({...n,id:i})}));const n=Object.keys(t).length;const s=n*ce+(n+1)*le;let e=0;Object.values(t).forEach((t=>{let n=t.length*ue+(t.length+1)*le;if(n>e){e=n}}));const r=[];const o=[];const h=[];let u=le;Object.entries(t).forEach((([n,s])=>{const c=s.length*(ue+le);const l=e-c;const f=le/2+l/2;s.forEach(((s,e)=>{var c;const l=i(s);const a={id:s.id,text:l,icon:this.getStatusIcon(s.status),x:e*(ue+le)+f,y:u,width:ue,height:ce,color:this.getStatusColor(s.status),radius:8};r.push(a);h.push({icon:this.getStatusIcon(s.status),x:e*(ue+le)+f+(ue-32),y:u+ce/2-13});(c=t[+n-1])===null||c===void 0?void 0:c.forEach((t=>{const n={id:`line-${t.id}-${a.id}`,from:{element:t.id,point:"bottom"},to:{element:a.id,point:"top"},color:this.getStatusColor(s.status)};o.push(n)}))}));u+=ce+le}));this.recipientStatusIcons=h;const c=Zi();c.initalize(`#${this.containerId}`,e,s);c.update({entities:r,lines:o})}}showDropdown(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:true}]})));(n=this.popper)===null||n===void 0?void 0:n.update()}handleHideDropdown(t){var n,s;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.localName)==="button"&&((s=t===null||t===void 0?void 0:t.target)===null||s===void 0?void 0:s.className)==="arrow"){return}this.hide()}toggleDropdown(){if(this.isOpen){this.hide()}else{this.showDropdown()}}hide(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:false}]})))}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";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return this.theme==="light"?Pi:Ni;case"complete":return this.theme==="light"?Xi:Yi;case"in progress":return this.theme==="light"?Ui:Ji;case"canceled":return this.theme==="light"?Gi:Ri;case"declined":return this.theme==="light"?qi:Qi;case"invited":return this.theme==="light"?Ui:Ji;case"opened":return this.theme==="light"?Ki:Wi;case"signed":return this.theme==="light"?ie:se;case"submitted":return this.theme==="light"?he:oe;case"some-signed":return this.theme==="light"?re:ee;default:case"pending":return this.theme==="light"?ne:te}}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,i;let e=this.status||((t=this.envelope)===null||t===void 0?void 0:t.status)||"pending"||"accepted";if(!this.status&&((i=this.envelope)===null||i===void 0?void 0:i.recipients)){const t=this.envelope.recipients.filter((t=>t.status==="submitted"));if(t.length>0&&t.length!==this.envelope.recipients.length){e="some-signed"}}const r=this.getStatusIcon(e);const o=this.getStatusMessage(e);return n(s,{key:"3111e544a8f287a2b5a501cae08fc88752186477",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)},n("span",{key:"2dd4397db22358d7dd8e495f601c3f31687e400e",class:"icon",innerHTML:r}),n("span",{key:"fb37993d036b1a1552f19fc2bc57565bf3026a44",class:"content"},o),n("div",{key:"5bc4ea53d9eec94c0dfd34662437bf90aaf76d60",class:"detail-panel",ref:t=>this.detailPanel=t},n("div",{key:"e073e793dc4f0bef2d9826fb5b70f62f2495fa45",id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>n("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};fe.style=$i;export{fe as verdocs_status_indicator};
|
2
|
+
//# sourceMappingURL=p-2386d60c.entry.js.map
|