@verdocs/web-sdk 2.3.87 → 4.0.5
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/EnvelopeStore-13f60ae9.js +84 -0
- package/dist/cjs/TemplateFieldStore-6a79aae7.js +52 -0
- package/dist/cjs/TemplateRoleStore-06db6e56.js +49 -0
- package/dist/cjs/TemplateStore-5a46be5e.js +89 -0
- package/dist/cjs/{Toast-06880504.js → Toast-bb6f20af.js} +26 -26
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/errors-017fb835.js +15 -0
- package/dist/cjs/{index-f712049c.js → index-3e4c5891.js} +1 -1
- package/dist/cjs/index-5f130ec0.js +5 -0
- package/dist/cjs/index-a5472099.js +4238 -0
- package/dist/cjs/index-cfdfab36.js +1633 -0
- package/dist/cjs/interact.min-3f0b5e7d.js +16 -0
- package/dist/cjs/loader.cjs.js +7 -13
- package/dist/cjs/utils-5eb11b46.js +417 -0
- package/dist/cjs/verdocs-activity-box.cjs.entry.js +69 -112
- package/dist/cjs/verdocs-auth.cjs.entry.js +231 -284
- package/dist/cjs/verdocs-build.cjs.entry.js +105 -104
- package/dist/cjs/verdocs-button-panel.cjs.entry.js +65 -64
- package/dist/cjs/verdocs-button_3.cjs.entry.js +89 -86
- package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +364 -545
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +112 -113
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js +36 -34
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +84 -83
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +92 -94
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +186 -187
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +19543 -280
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +245 -249
- package/dist/cjs/verdocs-field-attachment_14.cjs.entry.js +1657 -0
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +75 -78
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +40 -39
- package/dist/cjs/verdocs-floating-menu.cjs.entry.js +89 -88
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +35 -34
- package/dist/cjs/verdocs-loader.cjs.entry.js +9 -8
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +30 -29
- package/dist/cjs/verdocs-organization-card.cjs.entry.js +11 -10
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +120 -121
- package/dist/cjs/verdocs-preview_10.cjs.entry.js +1477 -0
- package/dist/cjs/verdocs-quick-functions_2.cjs.entry.js +57 -56
- package/dist/cjs/verdocs-radio-button_3.cjs.entry.js +247 -0
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +10 -9
- package/dist/cjs/verdocs-search.cjs.entry.js +11 -11
- package/dist/cjs/verdocs-settings-api-keys_4.cjs.entry.js +504 -5025
- package/dist/cjs/verdocs-settings.cjs.entry.js +29 -29
- package/dist/cjs/verdocs-sign.cjs.entry.js +500 -509
- package/dist/cjs/verdocs-spinner.cjs.entry.js +16 -15
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +1601 -1857
- package/dist/cjs/verdocs-tabs.cjs.entry.js +16 -15
- package/dist/cjs/verdocs-template-card.cjs.entry.js +11 -10
- package/dist/cjs/verdocs-template-star.cjs.entry.js +40 -52
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +11 -10
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +211 -212
- package/dist/cjs/verdocs-toggle.cjs.entry.js +19 -18
- package/dist/cjs/verdocs-toolbar-icon.cjs.entry.js +52 -0
- package/dist/cjs/verdocs-view.cjs.entry.js +164 -168
- package/dist/cjs/verdocs-web-sdk.cjs.js +17 -11
- package/dist/collection/collection-manifest.json +81 -82
- package/dist/collection/components/controls/verdocs-button/test/verdocs-button.e2e.js +8 -0
- package/dist/collection/components/controls/verdocs-button/test/verdocs-button.spec.js +36 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +153 -153
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.js +147 -144
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.js +135 -135
- package/dist/collection/components/controls/verdocs-component-error/verdocs-component-error.js +40 -40
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.css +1 -1
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.js +147 -143
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.js +88 -86
- package/dist/collection/components/controls/verdocs-floating-menu/verdocs-floating-menu.js +145 -141
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.js +86 -86
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +15 -15
- package/dist/collection/components/controls/verdocs-organization-card/test/org-popup.e2e.js +34 -0
- package/dist/collection/components/controls/verdocs-organization-card/test/org-popup.spec.js +64 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +43 -42
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.js +118 -118
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.js +169 -169
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.js +79 -79
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.css +1 -1
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.js +197 -193
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.js +97 -97
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.js +94 -94
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.js +64 -64
- package/dist/collection/components/controls/verdocs-table/verdocs-table.js +105 -101
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.js +90 -86
- package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.js +6 -6
- package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.spec.js +36 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +234 -234
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.js +73 -71
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.js +131 -131
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.js +116 -115
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +40 -40
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.css +2 -2
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +273 -272
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +223 -223
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +148 -148
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.css +2 -2
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +273 -272
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +114 -113
- package/dist/collection/components/elements/verdocs-quick-functions/test/verdocs-quick-functions.e2e.js +9 -0
- package/dist/collection/components/elements/verdocs-quick-functions/test/verdocs-quick-functions.spec.js +17 -0
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +83 -82
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.js +227 -219
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +23 -23
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +364 -362
- package/dist/collection/components/embeds/verdocs-build/utils.js +60 -60
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.css +1 -1
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.js +317 -304
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.js +146 -145
- package/dist/collection/components/embeds/verdocs-search/test/search-embed.e2e.js +9 -0
- package/dist/collection/components/embeds/verdocs-search/test/search-embed.spec.js +17 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +44 -43
- package/dist/collection/components/embeds/verdocs-send/role-flow.js +194 -194
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.css +2 -2
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +338 -335
- package/dist/collection/components/embeds/verdocs-settings/verdocs-settings.js +90 -88
- package/dist/collection/components/embeds/verdocs-sign/utils.js +60 -60
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +674 -650
- package/dist/collection/components/embeds/verdocs-view/test/verdocs-view.e2e.js +9 -0
- package/dist/collection/components/embeds/verdocs-view/test/verdocs-view.spec.js +17 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +326 -325
- package/dist/collection/components/envelopes/verdocs-activity-box/verdocs-activity-box.js +236 -234
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +238 -228
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.css +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +286 -284
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.css +5 -5
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.js +199 -197
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.css +5 -5
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.js +301 -298
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.js +412 -410
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +563 -558
- package/dist/collection/components/envelopes/verdocs-status-indicator/recipient-flow.js +194 -194
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +312 -308
- package/dist/collection/components/fields/verdocs-field-attachment/verdocs-field-attachment.js +365 -358
- package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.js +340 -334
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.css +6 -12
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +406 -398
- package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.js +358 -351
- package/dist/collection/components/fields/verdocs-field-initial/verdocs-field-initial.js +443 -436
- package/dist/collection/components/fields/verdocs-field-payment/verdocs-field-payment.js +542 -537
- package/dist/collection/components/fields/verdocs-field-radio-button-group/verdocs-field-radio-button.js +341 -335
- package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.css +1 -1
- package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.js +415 -408
- package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.css +1 -1
- package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.js +414 -407
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.css +1 -1
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.js +420 -414
- package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.css +1 -1
- package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.js +348 -341
- package/dist/collection/components/settings/verdocs-settings-api-keys/verdocs-settings-api-keys.css +1 -1
- package/dist/collection/components/settings/verdocs-settings-api-keys/verdocs-settings-api-keys.js +278 -270
- package/dist/collection/components/settings/verdocs-settings-members/verdocs-settings-members.css +2 -2
- package/dist/collection/components/settings/verdocs-settings-members/verdocs-settings-members.js +325 -321
- package/dist/collection/components/settings/verdocs-settings-organization/TimeZones.js +142 -142
- package/dist/collection/components/settings/verdocs-settings-organization/verdocs-settings-organization.js +189 -206
- package/dist/collection/components/settings/verdocs-settings-profile/verdocs-settings-profile.js +179 -176
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.js +264 -260
- package/dist/collection/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.js +208 -202
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +43 -42
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.js +210 -206
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.css +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +381 -379
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.css +2 -2
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.js +439 -436
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.css +1 -1
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +522 -515
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.js +182 -179
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.js +220 -216
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.css +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +298 -297
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.css +2 -2
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.js +373 -371
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.css +1 -1
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.js +179 -178
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +135 -133
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +38 -38
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.js +190 -187
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.js +621 -608
- package/dist/collection/utils/EnvelopeStore.js +72 -69
- package/dist/collection/utils/TemplateFieldStore.js +37 -37
- package/dist/collection/utils/TemplateRoleStore.js +27 -27
- package/dist/collection/utils/TemplateStore.js +77 -75
- package/dist/collection/utils/Toast.js +26 -26
- package/dist/collection/utils/errors.js +6 -6
- package/dist/collection/utils/utils.js +318 -330
- package/dist/components/EnvelopeStore.js +72 -69
- package/dist/components/TemplateFieldStore.js +36 -36
- package/dist/components/TemplateRoleStore.js +27 -27
- package/dist/components/TemplateStore.js +76 -73
- package/dist/components/Toast.js +26 -26
- package/dist/components/Types.js +4 -114
- package/dist/components/_commonjsHelpers.js +3 -17
- package/dist/components/errors.js +6 -6
- package/dist/components/index.d.ts +14 -82
- package/dist/components/index.js +1 -81
- package/dist/components/index2.js +178 -2172
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +2 -193
- package/dist/components/interact.min.js +9 -5
- package/dist/components/utils.js +324 -336
- package/dist/components/verdocs-activity-box.d.ts +2 -2
- package/dist/components/verdocs-activity-box.js +97 -137
- package/dist/components/verdocs-auth.d.ts +2 -2
- package/dist/components/verdocs-auth.js +283 -336
- package/dist/components/verdocs-build.d.ts +2 -2
- package/dist/components/verdocs-build.js +339 -336
- package/dist/components/verdocs-button-panel.d.ts +2 -2
- package/dist/components/verdocs-button-panel.js +81 -80
- package/dist/components/verdocs-button.d.ts +2 -2
- package/dist/components/verdocs-button2.js +36 -35
- package/dist/components/verdocs-checkbox.d.ts +2 -2
- package/dist/components/verdocs-checkbox2.js +34 -33
- package/dist/components/verdocs-component-error.d.ts +2 -2
- package/dist/components/verdocs-component-error2.js +24 -23
- package/dist/components/verdocs-contact-picker.d.ts +2 -2
- package/dist/components/verdocs-contact-picker2.js +121 -121
- package/dist/components/verdocs-dialog.d.ts +2 -2
- package/dist/components/verdocs-dialog2.js +30 -29
- package/dist/components/verdocs-dropdown.d.ts +2 -2
- package/dist/components/verdocs-dropdown2.js +98 -97
- package/dist/components/verdocs-envelope-document-page.d.ts +2 -2
- package/dist/components/verdocs-envelope-document-page2.js +118 -119
- package/dist/components/verdocs-envelope-recipient-link.d.ts +2 -2
- package/dist/components/verdocs-envelope-recipient-link2.js +103 -104
- package/dist/components/verdocs-envelope-recipient-summary.d.ts +2 -2
- package/dist/components/verdocs-envelope-recipient-summary2.js +134 -136
- package/dist/components/verdocs-envelope-sidebar.d.ts +2 -2
- package/dist/components/verdocs-envelope-sidebar.js +315 -318
- package/dist/components/verdocs-envelopes-list.d.ts +2 -2
- package/dist/components/verdocs-envelopes-list.js +317 -314
- package/dist/components/verdocs-field-attachment.d.ts +2 -2
- package/dist/components/verdocs-field-attachment2.js +145 -145
- package/dist/components/verdocs-field-checkbox.d.ts +2 -2
- package/dist/components/verdocs-field-checkbox2.js +129 -126
- package/dist/components/verdocs-field-date.d.ts +2 -2
- package/dist/components/verdocs-field-date2.js +19441 -172
- package/dist/components/verdocs-field-dropdown.d.ts +2 -2
- package/dist/components/verdocs-field-dropdown2.js +134 -131
- package/dist/components/verdocs-field-initial.d.ts +2 -2
- package/dist/components/verdocs-field-initial2.js +166 -163
- package/dist/components/verdocs-field-payment.d.ts +2 -2
- package/dist/components/verdocs-field-payment.js +110 -108
- package/dist/components/verdocs-field-radio-button.d.ts +2 -2
- package/dist/components/verdocs-field-radio-button2.js +130 -127
- package/dist/components/verdocs-field-signature.d.ts +2 -2
- package/dist/components/verdocs-field-signature2.js +167 -164
- package/dist/components/verdocs-field-textarea.d.ts +2 -2
- package/dist/components/verdocs-field-textarea2.js +186 -185
- package/dist/components/verdocs-field-textbox.d.ts +2 -2
- package/dist/components/verdocs-field-textbox2.js +192 -191
- package/dist/components/verdocs-field-timestamp.d.ts +2 -2
- package/dist/components/verdocs-field-timestamp2.js +139 -136
- package/dist/components/verdocs-file-chooser.d.ts +2 -2
- package/dist/components/verdocs-file-chooser2.js +47 -47
- package/dist/components/verdocs-floating-menu.d.ts +2 -2
- package/dist/components/verdocs-floating-menu.js +107 -106
- package/dist/components/verdocs-help-icon.d.ts +2 -2
- package/dist/components/verdocs-help-icon2.js +48 -47
- package/dist/components/verdocs-initial-dialog.d.ts +2 -2
- package/dist/components/verdocs-initial-dialog2.js +239 -237
- package/dist/components/verdocs-kba-dialog.d.ts +2 -2
- package/dist/components/verdocs-kba-dialog.js +62 -61
- package/dist/components/verdocs-loader.d.ts +2 -2
- package/dist/components/verdocs-loader2.js +21 -20
- package/dist/components/verdocs-ok-dialog.d.ts +2 -2
- package/dist/components/verdocs-ok-dialog2.js +53 -52
- package/dist/components/verdocs-organization-card.d.ts +2 -2
- package/dist/components/verdocs-organization-card.js +25 -24
- package/dist/components/verdocs-pagination.d.ts +2 -2
- package/dist/components/verdocs-pagination2.js +50 -49
- package/dist/components/verdocs-portal.d.ts +2 -2
- package/dist/components/verdocs-portal2.js +80 -79
- package/dist/components/verdocs-preview.d.ts +2 -2
- package/dist/components/verdocs-preview2.js +193 -194
- package/dist/components/verdocs-progress-bar.d.ts +2 -2
- package/dist/components/verdocs-progress-bar2.js +29 -28
- package/dist/components/verdocs-quick-filter.d.ts +2 -2
- package/dist/components/verdocs-quick-filter2.js +99 -98
- package/dist/components/verdocs-quick-functions.d.ts +2 -2
- package/dist/components/verdocs-quick-functions2.js +33 -33
- package/dist/components/verdocs-radio-button.d.ts +2 -2
- package/dist/components/verdocs-radio-button2.js +30 -29
- package/dist/components/verdocs-search-box.d.ts +2 -2
- package/dist/components/verdocs-search-box2.js +59 -59
- package/dist/components/verdocs-search-tabs.d.ts +2 -2
- package/dist/components/verdocs-search-tabs.js +24 -23
- package/dist/components/verdocs-search.d.ts +2 -2
- package/dist/components/verdocs-search.js +35 -35
- package/dist/components/verdocs-select-input.d.ts +2 -2
- package/dist/components/verdocs-select-input2.js +30 -29
- package/dist/components/verdocs-send.d.ts +2 -2
- package/dist/components/verdocs-send2.js +190 -193
- package/dist/components/verdocs-settings-api-keys.d.ts +2 -2
- package/dist/components/verdocs-settings-api-keys2.js +185 -255
- package/dist/components/verdocs-settings-members.d.ts +2 -2
- package/dist/components/verdocs-settings-members2.js +239 -263
- package/dist/components/verdocs-settings-organization.d.ts +2 -2
- package/dist/components/verdocs-settings-organization2.js +133 -325
- package/dist/components/verdocs-settings-profile.d.ts +2 -2
- package/dist/components/verdocs-settings-profile2.js +121 -122
- package/dist/components/verdocs-settings.d.ts +2 -2
- package/dist/components/verdocs-settings.js +103 -103
- package/dist/components/verdocs-sign.d.ts +2 -2
- package/dist/components/verdocs-sign.js +565 -573
- package/dist/components/verdocs-signature-dialog.d.ts +2 -2
- package/dist/components/verdocs-signature-dialog2.js +239 -237
- package/dist/components/verdocs-spinner.d.ts +2 -2
- package/dist/components/verdocs-spinner2.js +31 -30
- package/dist/components/verdocs-status-indicator.d.ts +2 -2
- package/dist/components/verdocs-status-indicator2.js +1619 -1875
- package/dist/components/verdocs-table.d.ts +2 -2
- package/dist/components/verdocs-table2.js +34 -33
- package/dist/components/verdocs-tabs.d.ts +2 -2
- package/dist/components/verdocs-tabs2.js +31 -30
- package/dist/components/verdocs-template-attachments.d.ts +2 -2
- package/dist/components/verdocs-template-attachments2.js +172 -173
- package/dist/components/verdocs-template-build-tabs.d.ts +2 -2
- package/dist/components/verdocs-template-build-tabs2.js +111 -109
- package/dist/components/verdocs-template-card.d.ts +2 -2
- package/dist/components/verdocs-template-card.js +25 -24
- package/dist/components/verdocs-template-create.d.ts +2 -2
- package/dist/components/verdocs-template-create2.js +127 -127
- package/dist/components/verdocs-template-document-page.d.ts +2 -2
- package/dist/components/verdocs-template-document-page2.js +283 -284
- package/dist/components/verdocs-template-field-properties.d.ts +2 -2
- package/dist/components/verdocs-template-field-properties2.js +320 -534
- package/dist/components/verdocs-template-fields.d.ts +2 -2
- package/dist/components/verdocs-template-fields2.js +509 -507
- package/dist/components/verdocs-template-name.d.ts +2 -2
- package/dist/components/verdocs-template-name2.js +106 -106
- package/dist/components/verdocs-template-reminders.d.ts +2 -2
- package/dist/components/verdocs-template-reminders2.js +147 -173
- package/dist/components/verdocs-template-role-properties.d.ts +2 -2
- package/dist/components/verdocs-template-role-properties2.js +191 -214
- package/dist/components/verdocs-template-roles.d.ts +2 -2
- package/dist/components/verdocs-template-roles2.js +310 -310
- package/dist/components/verdocs-template-sender.d.ts +2 -2
- package/dist/components/verdocs-template-sender2.js +94 -94
- package/dist/components/verdocs-template-star.d.ts +2 -2
- package/dist/components/verdocs-template-star2.js +56 -68
- package/dist/components/verdocs-template-tags.d.ts +2 -2
- package/dist/components/verdocs-template-tags.js +25 -24
- package/dist/components/verdocs-template-visibility.d.ts +2 -2
- package/dist/components/verdocs-template-visibility2.js +103 -103
- package/dist/components/verdocs-templates-list.d.ts +2 -2
- package/dist/components/verdocs-templates-list.js +289 -284
- package/dist/components/verdocs-text-input.d.ts +2 -2
- package/dist/components/verdocs-text-input2.js +69 -68
- package/dist/components/verdocs-toggle-button.d.ts +2 -2
- package/dist/components/verdocs-toggle-button2.js +43 -42
- package/dist/components/verdocs-toggle.d.ts +2 -2
- package/dist/components/verdocs-toggle.js +35 -34
- package/dist/components/verdocs-toolbar-icon.d.ts +2 -2
- package/dist/components/verdocs-toolbar-icon2.js +56 -55
- package/dist/components/verdocs-upload-dialog.d.ts +2 -2
- package/dist/components/verdocs-upload-dialog2.js +86 -85
- package/dist/components/verdocs-view.d.ts +2 -2
- package/dist/components/verdocs-view2.js +205 -208
- package/dist/custom-elements.json +0 -13
- package/dist/docs.d.ts +375 -88
- package/dist/docs.json +4191 -268
- package/dist/esm/EnvelopeStore-fefba6fd.js +82 -0
- package/dist/esm/TemplateFieldStore-d7516adf.js +47 -0
- package/dist/esm/TemplateRoleStore-ddc3b96f.js +42 -0
- package/dist/esm/TemplateStore-df5484bb.js +87 -0
- package/dist/esm/{Toast-f3b8fd46.js → Toast-b71de686.js} +26 -26
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/errors-887f1e88.js +13 -0
- package/dist/esm/index-0329eed3.js +3 -0
- package/dist/esm/{index-4439b0d1.js → index-296aabaf.js} +1 -1
- package/dist/esm/index-7456b04f.js +4235 -0
- package/dist/esm/index-b89cf6a4.js +1601 -0
- package/dist/esm/{interact.min-66ad6fb8.js → interact.min-b055a9b6.js} +9 -5
- package/dist/esm/loader.js +7 -13
- package/dist/esm/{utils-a56ee5e9.js → utils-61c1093b.js} +327 -376
- package/dist/esm/verdocs-activity-box.entry.js +69 -112
- package/dist/esm/verdocs-auth.entry.js +231 -284
- package/dist/esm/verdocs-build.entry.js +105 -104
- package/dist/esm/verdocs-button-panel.entry.js +65 -64
- package/dist/esm/verdocs-button_3.entry.js +89 -86
- package/dist/esm/verdocs-checkbox_5.entry.js +360 -545
- package/dist/esm/verdocs-contact-picker_2.entry.js +112 -113
- package/dist/esm/verdocs-dialog_2.entry.js +36 -34
- package/dist/esm/verdocs-dropdown.entry.js +84 -83
- package/dist/esm/verdocs-envelope-document-page.entry.js +92 -94
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +186 -187
- package/dist/esm/verdocs-envelope-sidebar.entry.js +19543 -280
- package/dist/esm/verdocs-envelopes-list.entry.js +245 -249
- package/dist/esm/{verdocs-field-attachment_15.entry.js → verdocs-field-attachment_14.entry.js} +1523 -1538
- package/dist/esm/verdocs-field-payment.entry.js +75 -78
- package/dist/esm/verdocs-file-chooser_2.entry.js +40 -39
- package/dist/esm/verdocs-floating-menu.entry.js +89 -88
- package/dist/esm/verdocs-kba-dialog.entry.js +35 -34
- package/dist/esm/verdocs-loader.entry.js +9 -8
- package/dist/esm/verdocs-ok-dialog.entry.js +30 -29
- package/dist/esm/verdocs-organization-card.entry.js +11 -10
- package/dist/esm/verdocs-pagination_2.entry.js +120 -121
- package/dist/esm/verdocs-preview_10.entry.js +1464 -0
- package/dist/esm/verdocs-quick-functions_2.entry.js +57 -56
- package/dist/esm/verdocs-radio-button_3.entry.js +241 -0
- package/dist/esm/verdocs-search-tabs.entry.js +10 -9
- package/dist/esm/verdocs-search.entry.js +11 -11
- package/dist/esm/verdocs-settings-api-keys_4.entry.js +503 -5024
- package/dist/esm/verdocs-settings.entry.js +29 -29
- package/dist/esm/verdocs-sign.entry.js +500 -509
- package/dist/esm/verdocs-spinner.entry.js +16 -15
- package/dist/esm/verdocs-status-indicator.entry.js +1601 -1857
- package/dist/esm/verdocs-tabs.entry.js +16 -15
- package/dist/esm/verdocs-template-card.entry.js +11 -10
- package/dist/esm/verdocs-template-star.entry.js +40 -52
- package/dist/esm/verdocs-template-tags.entry.js +11 -10
- package/dist/esm/verdocs-templates-list.entry.js +211 -212
- package/dist/esm/verdocs-toggle.entry.js +19 -18
- package/dist/esm/verdocs-toolbar-icon.entry.js +48 -0
- package/dist/esm/verdocs-view.entry.js +164 -168
- package/dist/esm/verdocs-web-sdk.js +14 -11
- package/dist/esm-es5/EnvelopeStore-fefba6fd.js +1 -0
- package/dist/esm-es5/TemplateFieldStore-d7516adf.js +1 -0
- package/dist/esm-es5/TemplateRoleStore-ddc3b96f.js +1 -0
- package/dist/esm-es5/TemplateStore-df5484bb.js +1 -0
- package/dist/esm-es5/{Toast-f3b8fd46.js → Toast-b71de686.js} +1 -1
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/errors-887f1e88.js +1 -0
- package/dist/esm-es5/index-0329eed3.js +1 -0
- package/dist/esm-es5/index-296aabaf.js +1 -0
- package/dist/esm-es5/index-7456b04f.js +1 -0
- package/dist/esm-es5/index-b89cf6a4.js +2 -0
- package/dist/esm-es5/interact.min-b055a9b6.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{popper-15e448b4.js → popper-0fbeff6d.js} +1 -1
- package/dist/esm-es5/utils-61c1093b.js +12 -0
- package/dist/esm-es5/verdocs-activity-box.entry.js +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.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog_2.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_2.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_14.entry.js +1 -0
- 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-floating-menu.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-loader.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_10.entry.js +1 -0
- package/dist/esm-es5/verdocs-quick-functions_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button_3.entry.js +1 -0
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-search.entry.js +1 -1
- package/dist/esm-es5/verdocs-settings-api-keys_4.entry.js +1 -1
- package/dist/esm-es5/verdocs-settings.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +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-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.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.entry.js +1 -1
- package/dist/esm-es5/verdocs-toolbar-icon.entry.js +1 -0
- package/dist/esm-es5/verdocs-view.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/controls/verdocs-button/verdocs-button.d.ts +29 -29
- package/dist/types/components/controls/verdocs-button-panel/verdocs-button-panel.d.ts +15 -15
- package/dist/types/components/controls/verdocs-checkbox/verdocs-checkbox.d.ts +28 -28
- package/dist/types/components/controls/verdocs-component-error/verdocs-component-error.d.ts +5 -5
- package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.d.ts +22 -22
- package/dist/types/components/controls/verdocs-file-chooser/verdocs-file-chooser.d.ts +14 -14
- package/dist/types/components/controls/verdocs-floating-menu/verdocs-floating-menu.d.ts +21 -21
- package/dist/types/components/controls/verdocs-help-icon/verdocs-help-icon.d.ts +17 -17
- package/dist/types/components/controls/verdocs-loader/verdocs-loader.d.ts +1 -1
- package/dist/types/components/controls/verdocs-organization-card/verdocs-organization-card.d.ts +6 -6
- package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.d.ts +20 -20
- package/dist/types/components/controls/verdocs-portal/verdocs-portal.d.ts +26 -26
- package/dist/types/components/controls/verdocs-progress-bar/verdocs-progress-bar.d.ts +13 -13
- package/dist/types/components/controls/verdocs-quick-filter/verdocs-quick-filter.d.ts +30 -30
- package/dist/types/components/controls/verdocs-radio-button/verdocs-radio-button.d.ts +17 -17
- package/dist/types/components/controls/verdocs-select-input/verdocs-select-input.d.ts +19 -19
- package/dist/types/components/controls/verdocs-spinner/verdocs-spinner.d.ts +3 -3
- package/dist/types/components/controls/verdocs-table/verdocs-table.d.ts +25 -25
- package/dist/types/components/controls/verdocs-tabs/verdocs-tabs.d.ts +21 -21
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +47 -47
- package/dist/types/components/controls/verdocs-toggle/verdocs-toggle.d.ts +16 -16
- package/dist/types/components/controls/verdocs-toggle-button/verdocs-toggle-button.d.ts +22 -22
- package/dist/types/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.d.ts +24 -24
- package/dist/types/components/dialogs/verdocs-dialog/verdocs-dialog.d.ts +6 -6
- package/dist/types/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.d.ts +24 -24
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.d.ts +45 -45
- package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.d.ts +30 -30
- package/dist/types/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.d.ts +25 -25
- package/dist/types/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.d.ts +22 -22
- package/dist/types/components/elements/verdocs-quick-functions/verdocs-quick-functions.d.ts +15 -15
- package/dist/types/components/elements/verdocs-search-box/verdocs-search-box.d.ts +43 -43
- package/dist/types/components/elements/verdocs-search-tabs/verdocs-search-tabs.d.ts +3 -3
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +58 -59
- package/dist/types/components/embeds/verdocs-build/utils.d.ts +4 -4
- package/dist/types/components/embeds/verdocs-build/verdocs-build.d.ts +71 -73
- package/dist/types/components/embeds/verdocs-preview/verdocs-preview.d.ts +20 -20
- package/dist/types/components/embeds/verdocs-search/verdocs-search.d.ts +5 -5
- package/dist/types/components/embeds/verdocs-send/role-flow.d.ts +2 -2
- package/dist/types/components/embeds/verdocs-send/verdocs-send.d.ts +65 -67
- package/dist/types/components/embeds/verdocs-settings/verdocs-settings.d.ts +12 -12
- package/dist/types/components/embeds/verdocs-sign/utils.d.ts +4 -4
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +81 -79
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +58 -59
- package/dist/types/components/envelopes/verdocs-activity-box/verdocs-activity-box.d.ts +51 -52
- package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.d.ts +64 -65
- package/dist/types/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.d.ts +59 -59
- package/dist/types/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.d.ts +36 -37
- package/dist/types/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.d.ts +62 -63
- package/dist/types/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.d.ts +52 -53
- package/dist/types/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.d.ts +93 -94
- package/dist/types/components/envelopes/verdocs-status-indicator/recipient-flow.d.ts +2 -2
- package/dist/types/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.d.ts +32 -32
- package/dist/types/components/fields/verdocs-field-attachment/verdocs-field-attachment.d.ts +72 -72
- package/dist/types/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.d.ts +63 -63
- package/dist/types/components/fields/verdocs-field-date/verdocs-field-date.d.ts +73 -73
- package/dist/types/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.d.ts +68 -68
- package/dist/types/components/fields/verdocs-field-initial/verdocs-field-initial.d.ts +88 -88
- package/dist/types/components/fields/verdocs-field-payment/verdocs-field-payment.d.ts +65 -65
- package/dist/types/components/fields/verdocs-field-radio-button-group/verdocs-field-radio-button.d.ts +63 -63
- package/dist/types/components/fields/verdocs-field-signature/verdocs-field-signature.d.ts +78 -78
- package/dist/types/components/fields/verdocs-field-textarea/verdocs-field-textarea.d.ts +74 -74
- package/dist/types/components/fields/verdocs-field-textbox/verdocs-field-textbox.d.ts +74 -75
- package/dist/types/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.d.ts +61 -61
- package/dist/types/components/settings/verdocs-settings-api-keys/verdocs-settings-api-keys.d.ts +46 -47
- package/dist/types/components/settings/verdocs-settings-members/verdocs-settings-members.d.ts +48 -51
- package/dist/types/components/settings/verdocs-settings-organization/verdocs-settings-organization.d.ts +30 -34
- package/dist/types/components/settings/verdocs-settings-profile/verdocs-settings-profile.d.ts +29 -30
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.d.ts +46 -47
- package/dist/types/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.d.ts +30 -30
- package/dist/types/components/templates/verdocs-template-card/verdocs-template-card.d.ts +6 -6
- package/dist/types/components/templates/verdocs-template-create/verdocs-template-create.d.ts +35 -36
- package/dist/types/components/templates/verdocs-template-document-page/verdocs-template-document-page.d.ts +74 -74
- package/dist/types/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.d.ts +65 -66
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.d.ts +63 -65
- package/dist/types/components/templates/verdocs-template-name/verdocs-template-name.d.ts +32 -33
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.d.ts +35 -36
- package/dist/types/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.d.ts +48 -50
- package/dist/types/components/templates/verdocs-template-roles/verdocs-template-roles.d.ts +50 -51
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.d.ts +29 -30
- package/dist/types/components/templates/verdocs-template-star/verdocs-template-star.d.ts +27 -28
- package/dist/types/components/templates/verdocs-template-tags/verdocs-template-tags.d.ts +5 -5
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.d.ts +33 -34
- package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.d.ts +119 -120
- package/dist/types/components.d.ts +2300 -44
- package/dist/types/stencil-public-runtime.d.ts +122 -27
- package/dist/types/utils/EnvelopeStore.d.ts +7 -8
- package/dist/types/utils/TemplateFieldStore.d.ts +3 -4
- package/dist/types/utils/TemplateRoleStore.d.ts +3 -3
- package/dist/types/utils/TemplateStore.d.ts +12 -8
- package/dist/types/utils/Toast.d.ts +2 -2
- package/dist/types/utils/Types.d.ts +14 -14
- package/dist/types/utils/errors.d.ts +4 -4
- package/dist/types/utils/utils.d.ts +15 -17
- package/dist/verdocs-web-sdk/p-0017dee2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-7648c449.js → p-00b37c9a.js} +1 -1
- package/dist/verdocs-web-sdk/p-0191eac7.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-ef20cb50.js → p-05cfdd58.js} +1 -1
- package/dist/verdocs-web-sdk/p-0664e011.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0bd91b17.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0e74b009.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0f12fb66.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-0f5dc1c5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1200552e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-d425fa2c.js → p-17801797.js} +1 -1
- package/dist/verdocs-web-sdk/p-1a180595.system.js +1 -0
- package/dist/verdocs-web-sdk/p-1a5cdf1a.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-1e6cecc0.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-208ba4e2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-235d82f0.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-27ab21de.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-28d5af49.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-294fd56c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-2cc1724f.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-322fa613.system.js +1 -0
- package/dist/verdocs-web-sdk/p-32e396c5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-57c87e08.system.entry.js → p-3415ddee.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-35157a14.js +1 -0
- package/dist/verdocs-web-sdk/{p-d0564f02.system.entry.js → p-35859fe1.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-36800dd4.js +1 -0
- package/dist/verdocs-web-sdk/p-383de7ca.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4297282e.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4424d71f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-483cc30b.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-48d9efa4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-4cd628a3.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-503072b6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-56ba5cbf.system.js +1 -0
- package/dist/verdocs-web-sdk/p-5b9c0b5d.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-5cc3dcb2.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-656ba4ba.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-660a17c3.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6890fe65.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-68a5aaff.js +1 -0
- package/dist/verdocs-web-sdk/p-69ea5cb9.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-6a82e278.system.js +1 -0
- package/dist/verdocs-web-sdk/p-6d1bdae8.system.js +1 -0
- package/dist/verdocs-web-sdk/p-6fe0d270.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-721edea6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-727f9a9a.system.js +1 -0
- package/dist/verdocs-web-sdk/p-73a6f972.js +2 -0
- package/dist/verdocs-web-sdk/{p-50e0263a.system.entry.js → p-75f98b48.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-7602d431.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-77fe89f5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7a708333.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7adbe456.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7b009ca9.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-7b397f3a.js +1 -0
- package/dist/verdocs-web-sdk/p-7c1030dc.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/{p-ca13070e.system.js → p-7ce23c90.system.js} +1 -1
- package/dist/verdocs-web-sdk/{p-4e834dcc.system.entry.js → p-7d035035.system.entry.js} +1 -1
- package/dist/verdocs-web-sdk/p-80d24da1.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-817b0210.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-832bc1b5.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-846ee5dd.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-84f477d1.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-854a3caa.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8e831c4b.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-8eed20fe.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-943c7b8f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-94c638b9.system.js +12 -0
- package/dist/verdocs-web-sdk/p-952b88fb.system.js +1 -0
- package/dist/verdocs-web-sdk/p-98f14855.system.js +1 -0
- package/dist/verdocs-web-sdk/p-9a57eba9.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a0857afa.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a0a08e62.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-a1f6189b.system.js +1 -0
- package/dist/verdocs-web-sdk/p-a396eee6.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b12f1302.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b355111d.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-b661c95f.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ba19b1d8.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bca3887c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bd9f7023.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-bf31565b.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c0d1020a.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c1f7cfff.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c22eccdd.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c327f3e6.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c3abfbb5.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c543852a.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c7d2e9c4.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-c8a15cb7.system.js +1 -0
- package/dist/verdocs-web-sdk/p-da7d343c.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-dc5ebc7c.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-dee3aeec.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e0ac9edf.system.js +1 -0
- package/dist/verdocs-web-sdk/p-e1255160.js +1 -0
- package/dist/verdocs-web-sdk/p-e26e9907.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e748b2d2.system.js +2 -0
- package/dist/verdocs-web-sdk/p-e8e2bf33.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-e92688db.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-ed863acf.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-edaec1b6.js +1 -0
- package/dist/verdocs-web-sdk/p-eeece233.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-f070e923.js +1 -0
- package/dist/verdocs-web-sdk/p-f24d887c.system.js +1 -0
- package/dist/verdocs-web-sdk/p-f3b47dfc.js +1 -0
- package/dist/verdocs-web-sdk/p-f7620900.system.js +1 -0
- package/dist/verdocs-web-sdk/p-fa51066b.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fb3afee2.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/p-fd064f80.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +16 -20
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +10 -1
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +14 -37
- package/dist/cjs/Colors-e809dcc9.js +0 -36
- package/dist/cjs/EnvelopeStore-7b1adebb.js +0 -81
- package/dist/cjs/Envelopes-0b9deb2c.js +0 -278
- package/dist/cjs/Fields-705a2168.js +0 -30
- package/dist/cjs/Permissions-1436f847.js +0 -50
- package/dist/cjs/Primitives-a59870a2.js +0 -43
- package/dist/cjs/Profiles-1a26e4eb.js +0 -76
- package/dist/cjs/Recipients-f3d6cf10.js +0 -88
- package/dist/cjs/TemplateDocuments-e2e0e6b7.js +0 -93
- package/dist/cjs/TemplateFieldStore-3d25fc86.js +0 -52
- package/dist/cjs/TemplateRoleStore-a7f2b586.js +0 -49
- package/dist/cjs/TemplateStore-62c90f8c.js +0 -86
- package/dist/cjs/Types-f89f9116.js +0 -117
- package/dist/cjs/Validators-16e6d7d1.js +0 -19
- package/dist/cjs/VerdocsEndpoint-3036bbb7.js +0 -3980
- package/dist/cjs/_commonjsHelpers-0c557e26.js +0 -26
- package/dist/cjs/errors-0396da3d.js +0 -15
- package/dist/cjs/index-5463795e.js +0 -1981
- package/dist/cjs/index-7c19ba1d.js +0 -2190
- package/dist/cjs/interact.min-a6afec32.js +0 -12
- package/dist/cjs/ipc-test.cjs.entry.js +0 -38
- package/dist/cjs/utils-13f8ed3f.js +0 -466
- package/dist/cjs/verdocs-field-attachment_15.cjs.entry.js +0 -1673
- package/dist/cjs/verdocs-preview_8.cjs.entry.js +0 -853
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +0 -23
- package/dist/cjs/verdocs-template-fields_4.cjs.entry.js +0 -900
- package/dist/collection/components/controls/verdocs-button/verdocs-button.stories.js +0 -58
- package/dist/collection/components/controls/verdocs-button-panel/verdocs-button-panel.stories.js +0 -23
- package/dist/collection/components/controls/verdocs-checkbox/verdocs-checkbox.stories.js +0 -20
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.stories.js +0 -30
- package/dist/collection/components/controls/verdocs-file-chooser/verdocs-file-chooser.stories.js +0 -10
- package/dist/collection/components/controls/verdocs-floating-menu/verdocs-floating-menu.stories.js +0 -49
- package/dist/collection/components/controls/verdocs-help-icon/verdocs-help-icon.stories.js +0 -13
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.stories.js +0 -8
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.stories.js +0 -24
- package/dist/collection/components/controls/verdocs-pagination/verdocs-pagination.stories.js +0 -19
- package/dist/collection/components/controls/verdocs-portal/verdocs-portal.stories.js +0 -20
- package/dist/collection/components/controls/verdocs-progress-bar/verdocs-progress-bar.stories.js +0 -12
- package/dist/collection/components/controls/verdocs-quick-filter/verdocs-quick-filter.stories.js +0 -16
- package/dist/collection/components/controls/verdocs-radio-button/verdocs-radio-button.stories.js +0 -18
- package/dist/collection/components/controls/verdocs-select-input/verdocs-select-input.stories.js +0 -21
- package/dist/collection/components/controls/verdocs-spinner/verdocs-spinner.stories.js +0 -10
- package/dist/collection/components/controls/verdocs-table/verdocs-table.stories.js +0 -25
- package/dist/collection/components/controls/verdocs-tabs/verdocs-tabs.stories.js +0 -16
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.stories.js +0 -17
- package/dist/collection/components/controls/verdocs-toast/verdocs-toast.stories.js +0 -24
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.stories.js +0 -27
- package/dist/collection/components/controls/verdocs-toggle-button/verdocs-toggle-button.stories.js +0 -16
- package/dist/collection/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.stories.js +0 -14
- package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.stories.js +0 -17
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.js +0 -19
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.js +0 -37
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.js +0 -21
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.js +0 -19
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.js +0 -16
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.stories.js +0 -15
- package/dist/collection/components/elements/verdocs-search-box/verdocs-search-box.stories.js +0 -18
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.stories.js +0 -18
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.stories.js +0 -24
- package/dist/collection/components/embeds/verdocs-build/verdocs-build.stories.js +0 -16
- package/dist/collection/components/embeds/verdocs-preview/verdocs-preview.stories.js +0 -14
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.stories.js +0 -15
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.stories.js +0 -15
- package/dist/collection/components/embeds/verdocs-settings/verdocs-settings.stories.js +0 -10
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +0 -27
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.stories.js +0 -19
- package/dist/collection/components/envelopes/verdocs-activity-box/verdocs-activity-box.stories.js +0 -15
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.stories.js +0 -29
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.stories.js +0 -13
- package/dist/collection/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.stories.js +0 -25
- package/dist/collection/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.stories.js +0 -15
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.stories.js +0 -18
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.stories.js +0 -69
- package/dist/collection/components/fields/verdocs-field-attachment/verdocs-field-attachment.stories.js +0 -14
- package/dist/collection/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.stories.js +0 -17
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.stories.js +0 -27
- package/dist/collection/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.stories.js +0 -16
- package/dist/collection/components/fields/verdocs-field-initial/verdocs-field-initial.stories.js +0 -16
- package/dist/collection/components/fields/verdocs-field-payment/verdocs-field-payment.stories.js +0 -15
- package/dist/collection/components/fields/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.js +0 -17
- package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.stories.js +0 -16
- package/dist/collection/components/fields/verdocs-field-textarea/verdocs-field-textarea.stories.js +0 -16
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.stories.js +0 -40
- package/dist/collection/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.stories.js +0 -27
- package/dist/collection/components/other/ipctest/ipc-test.css +0 -15
- package/dist/collection/components/other/ipctest/ipc-test.js +0 -79
- package/dist/collection/components/other/ipctest/ipc-test.stories.js +0 -8
- package/dist/collection/components/settings/verdocs-settings-api-keys/verdocs-settings-api-keys.stories.js +0 -11
- package/dist/collection/components/settings/verdocs-settings-members/verdocs-settings-members.stories.js +0 -17
- package/dist/collection/components/settings/verdocs-settings-organization/verdocs-settings-organization.stories.js +0 -13
- package/dist/collection/components/settings/verdocs-settings-profile/verdocs-settings-profile.stories.js +0 -13
- package/dist/collection/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.js +0 -18
- package/dist/collection/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.stories.js +0 -16
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.stories.js +0 -49
- package/dist/collection/components/templates/verdocs-template-create/verdocs-template-create.stories.js +0 -11
- package/dist/collection/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.stories.js +0 -19
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.stories.js +0 -15
- package/dist/collection/components/templates/verdocs-template-name/verdocs-template-name.stories.js +0 -18
- package/dist/collection/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.js +0 -18
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.js +0 -12
- package/dist/collection/components/templates/verdocs-template-roles/verdocs-template-roles.stories.js +0 -13
- package/dist/collection/components/templates/verdocs-template-sender/verdocs-template-sender.stories.js +0 -12
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.stories.js +0 -27
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.stories.js +0 -10
- package/dist/collection/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.js +0 -18
- package/dist/collection/components/templates/verdocs-templates-list/verdocs-templates-list.stories.js +0 -22
- package/dist/components/Colors.js +0 -34
- package/dist/components/Envelopes.js +0 -262
- package/dist/components/Files.js +0 -44
- package/dist/components/Members.js +0 -17
- package/dist/components/Permissions.js +0 -44
- package/dist/components/Primitives.js +0 -37
- package/dist/components/Profiles.js +0 -71
- package/dist/components/Recipients.js +0 -82
- package/dist/components/TemplateDocuments.js +0 -89
- package/dist/components/Validators.js +0 -16
- package/dist/components/VerdocsEndpoint.js +0 -3972
- package/dist/components/ipc-test.d.ts +0 -11
- package/dist/components/ipc-test.js +0 -232
- package/dist/esm/Colors-1b298092.js +0 -34
- package/dist/esm/EnvelopeStore-24a1f38f.js +0 -79
- package/dist/esm/Envelopes-627c5239.js +0 -262
- package/dist/esm/Fields-c82e6df3.js +0 -26
- package/dist/esm/Permissions-f2eb0421.js +0 -44
- package/dist/esm/Primitives-8fe93caf.js +0 -37
- package/dist/esm/Profiles-d4df4d1c.js +0 -71
- package/dist/esm/Recipients-4ec2138c.js +0 -82
- package/dist/esm/TemplateDocuments-6fd2f4e2.js +0 -89
- package/dist/esm/TemplateFieldStore-6e67e86b.js +0 -47
- package/dist/esm/TemplateRoleStore-33229997.js +0 -42
- package/dist/esm/TemplateStore-940da116.js +0 -84
- package/dist/esm/Types-086facf7.js +0 -5
- package/dist/esm/Types-5f31149e.js +0 -115
- package/dist/esm/Validators-16a2a43b.js +0 -16
- package/dist/esm/VerdocsEndpoint-8196ff47.js +0 -3972
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js +0 -21
- package/dist/esm/errors-9b5498c8.js +0 -13
- package/dist/esm/index-172625c5.js +0 -1950
- package/dist/esm/index-914ed6f7.js +0 -2188
- package/dist/esm/ipc-test.entry.js +0 -34
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/verdocs-preview_8.entry.js +0 -842
- package/dist/esm/verdocs-radio-button.entry.js +0 -19
- package/dist/esm/verdocs-template-fields_4.entry.js +0 -893
- package/dist/esm-es5/Colors-1b298092.js +0 -1
- package/dist/esm-es5/EnvelopeStore-24a1f38f.js +0 -1
- package/dist/esm-es5/Envelopes-627c5239.js +0 -1
- package/dist/esm-es5/Fields-c82e6df3.js +0 -1
- package/dist/esm-es5/Permissions-f2eb0421.js +0 -1
- package/dist/esm-es5/Primitives-8fe93caf.js +0 -1
- package/dist/esm-es5/Profiles-d4df4d1c.js +0 -1
- package/dist/esm-es5/Recipients-4ec2138c.js +0 -1
- package/dist/esm-es5/TemplateDocuments-6fd2f4e2.js +0 -1
- package/dist/esm-es5/TemplateFieldStore-6e67e86b.js +0 -1
- package/dist/esm-es5/TemplateRoleStore-33229997.js +0 -1
- package/dist/esm-es5/TemplateStore-940da116.js +0 -1
- package/dist/esm-es5/Types-5f31149e.js +0 -1
- package/dist/esm-es5/Validators-16a2a43b.js +0 -1
- package/dist/esm-es5/VerdocsEndpoint-8196ff47.js +0 -1
- package/dist/esm-es5/_commonjsHelpers-5ec8f9b7.js +0 -1
- package/dist/esm-es5/errors-9b5498c8.js +0 -1
- package/dist/esm-es5/index-172625c5.js +0 -2
- package/dist/esm-es5/index-4439b0d1.js +0 -1
- package/dist/esm-es5/index-914ed6f7.js +0 -1
- package/dist/esm-es5/interact.min-66ad6fb8.js +0 -1
- package/dist/esm-es5/ipc-test.entry.js +0 -1
- package/dist/esm-es5/utils-a56ee5e9.js +0 -13
- package/dist/esm-es5/verdocs-field-attachment_15.entry.js +0 -1
- package/dist/esm-es5/verdocs-preview_8.entry.js +0 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +0 -1
- package/dist/esm-es5/verdocs-template-fields_4.entry.js +0 -1
- package/dist/types/components/controls/verdocs-button/verdocs-button.stories.d.ts +0 -12
- package/dist/types/components/controls/verdocs-button-panel/verdocs-button-panel.stories.d.ts +0 -6
- package/dist/types/components/controls/verdocs-checkbox/verdocs-checkbox.stories.d.ts +0 -12
- package/dist/types/components/controls/verdocs-dropdown/verdocs-dropdown.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-file-chooser/verdocs-file-chooser.stories.d.ts +0 -6
- package/dist/types/components/controls/verdocs-floating-menu/verdocs-floating-menu.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-help-icon/verdocs-help-icon.stories.d.ts +0 -6
- package/dist/types/components/controls/verdocs-loader/verdocs-loader.stories.d.ts +0 -4
- package/dist/types/components/controls/verdocs-organization-card/verdocs-organization-card.stories.d.ts +0 -6
- package/dist/types/components/controls/verdocs-pagination/verdocs-pagination.stories.d.ts +0 -9
- package/dist/types/components/controls/verdocs-portal/verdocs-portal.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-progress-bar/verdocs-progress-bar.stories.d.ts +0 -8
- package/dist/types/components/controls/verdocs-quick-filter/verdocs-quick-filter.stories.d.ts +0 -9
- package/dist/types/components/controls/verdocs-radio-button/verdocs-radio-button.stories.d.ts +0 -10
- package/dist/types/components/controls/verdocs-select-input/verdocs-select-input.stories.d.ts +0 -12
- package/dist/types/components/controls/verdocs-spinner/verdocs-spinner.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-table/verdocs-table.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-tabs/verdocs-tabs.stories.d.ts +0 -6
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.stories.d.ts +0 -11
- package/dist/types/components/controls/verdocs-toast/verdocs-toast.stories.d.ts +0 -8
- package/dist/types/components/controls/verdocs-toggle/verdocs-toggle.stories.d.ts +0 -7
- package/dist/types/components/controls/verdocs-toggle-button/verdocs-toggle-button.stories.d.ts +0 -9
- package/dist/types/components/controls/verdocs-toolbar-icon/verdocs-toolbar-icon.stories.d.ts +0 -7
- package/dist/types/components/dialogs/verdocs-dialog/verdocs-dialog.stories.d.ts +0 -7
- package/dist/types/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.d.ts +0 -8
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.d.ts +0 -15
- package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.d.ts +0 -10
- package/dist/types/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.d.ts +0 -8
- package/dist/types/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.d.ts +0 -8
- package/dist/types/components/elements/verdocs-quick-functions/verdocs-quick-functions.stories.d.ts +0 -8
- package/dist/types/components/elements/verdocs-search-box/verdocs-search-box.stories.d.ts +0 -9
- package/dist/types/components/elements/verdocs-search-tabs/verdocs-search-tabs.stories.d.ts +0 -9
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.stories.d.ts +0 -9
- package/dist/types/components/embeds/verdocs-build/verdocs-build.stories.d.ts +0 -8
- package/dist/types/components/embeds/verdocs-preview/verdocs-preview.stories.d.ts +0 -6
- package/dist/types/components/embeds/verdocs-search/verdocs-search.stories.d.ts +0 -6
- package/dist/types/components/embeds/verdocs-send/verdocs-send.stories.d.ts +0 -7
- package/dist/types/components/embeds/verdocs-settings/verdocs-settings.stories.d.ts +0 -4
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.stories.d.ts +0 -8
- package/dist/types/components/embeds/verdocs-view/verdocs-view.stories.d.ts +0 -6
- package/dist/types/components/envelopes/verdocs-activity-box/verdocs-activity-box.stories.d.ts +0 -10
- package/dist/types/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.stories.d.ts +0 -10
- package/dist/types/components/envelopes/verdocs-envelope-recipient-link/verdocs-envelope-recipient-link.stories.d.ts +0 -8
- package/dist/types/components/envelopes/verdocs-envelope-recipient-summary/verdocs-envelope-recipient-summary.stories.d.ts +0 -12
- package/dist/types/components/envelopes/verdocs-envelope-sidebar/verdocs-envelope-sidebar.stories.d.ts +0 -9
- package/dist/types/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.stories.d.ts +0 -10
- package/dist/types/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.stories.d.ts +0 -9
- package/dist/types/components/fields/verdocs-field-attachment/verdocs-field-attachment.stories.d.ts +0 -7
- package/dist/types/components/fields/verdocs-field-checkbox/verdocs-field-checkbox.stories.d.ts +0 -8
- package/dist/types/components/fields/verdocs-field-date/verdocs-field-date.stories.d.ts +0 -8
- package/dist/types/components/fields/verdocs-field-dropdown/verdocs-field-dropdown.stories.d.ts +0 -6
- package/dist/types/components/fields/verdocs-field-initial/verdocs-field-initial.stories.d.ts +0 -7
- package/dist/types/components/fields/verdocs-field-payment/verdocs-field-payment.stories.d.ts +0 -6
- package/dist/types/components/fields/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.d.ts +0 -6
- package/dist/types/components/fields/verdocs-field-signature/verdocs-field-signature.stories.d.ts +0 -7
- package/dist/types/components/fields/verdocs-field-textarea/verdocs-field-textarea.stories.d.ts +0 -6
- package/dist/types/components/fields/verdocs-field-textbox/verdocs-field-textbox.stories.d.ts +0 -12
- package/dist/types/components/fields/verdocs-field-timestamp/verdocs-field-timestamp.stories.d.ts +0 -6
- package/dist/types/components/other/ipctest/ipc-test.d.ts +0 -17
- package/dist/types/components/other/ipctest/ipc-test.stories.d.ts +0 -4
- package/dist/types/components/settings/verdocs-settings-api-keys/verdocs-settings-api-keys.stories.d.ts +0 -4
- package/dist/types/components/settings/verdocs-settings-members/verdocs-settings-members.stories.d.ts +0 -8
- package/dist/types/components/settings/verdocs-settings-organization/verdocs-settings-organization.stories.d.ts +0 -6
- package/dist/types/components/settings/verdocs-settings-profile/verdocs-settings-profile.stories.d.ts +0 -6
- package/dist/types/components/templates/verdocs-template-attachments/verdocs-template-attachments.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-build-tabs/verdocs-template-build-tabs.stories.d.ts +0 -8
- package/dist/types/components/templates/verdocs-template-card/verdocs-template-card.stories.d.ts +0 -6
- package/dist/types/components/templates/verdocs-template-create/verdocs-template-create.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-field-properties/verdocs-template-field-properties.stories.d.ts +0 -8
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.stories.d.ts +0 -6
- package/dist/types/components/templates/verdocs-template-name/verdocs-template-name.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-reminders/verdocs-template-reminders.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-roles/verdocs-template-roles.stories.d.ts +0 -8
- package/dist/types/components/templates/verdocs-template-sender/verdocs-template-sender.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-star/verdocs-template-star.stories.d.ts +0 -6
- package/dist/types/components/templates/verdocs-template-tags/verdocs-template-tags.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-template-visibillity/verdocs-template-visibility.stories.d.ts +0 -7
- package/dist/types/components/templates/verdocs-templates-list/verdocs-templates-list.stories.d.ts +0 -9
- package/dist/verdocs-web-sdk/p-012d2533.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-04bef805.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-05788c2b.js +0 -1
- package/dist/verdocs-web-sdk/p-05eb4fed.system.js +0 -1
- package/dist/verdocs-web-sdk/p-0a8f32b9.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-0cafdb16.system.js +0 -13
- package/dist/verdocs-web-sdk/p-0ef04e14.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-10c3b15b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-11f3549a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-11f95569.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-14b44491.js +0 -2
- package/dist/verdocs-web-sdk/p-173e86c3.system.js +0 -1
- package/dist/verdocs-web-sdk/p-1823e8cd.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-187b20b7.system.js +0 -1
- package/dist/verdocs-web-sdk/p-189968f1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1bf648d5.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1d60151a.system.js +0 -1
- package/dist/verdocs-web-sdk/p-1f6ee7f1.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1f9d9fe5.system.js +0 -1
- package/dist/verdocs-web-sdk/p-1fa5ef9a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1fe3b3bf.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-20de620c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-21294863.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-235b4a0b.system.js +0 -1
- package/dist/verdocs-web-sdk/p-2415be91.js +0 -1
- package/dist/verdocs-web-sdk/p-294ffd95.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-29f64c27.js +0 -1
- package/dist/verdocs-web-sdk/p-2b4b8754.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-321da456.js +0 -1
- package/dist/verdocs-web-sdk/p-3229cb32.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-32eff598.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3350ad33.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-34140f60.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-341d97ba.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3a12e7a2.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3af6b910.system.js +0 -1
- package/dist/verdocs-web-sdk/p-3bcd86ea.system.js +0 -1
- package/dist/verdocs-web-sdk/p-3cd894ff.js +0 -1
- package/dist/verdocs-web-sdk/p-3dc2013b.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3e607686.js +0 -1
- package/dist/verdocs-web-sdk/p-4098a4a2.system.js +0 -1
- package/dist/verdocs-web-sdk/p-54498887.system.js +0 -1
- package/dist/verdocs-web-sdk/p-547f5660.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-567a6e7c.js +0 -1
- package/dist/verdocs-web-sdk/p-5a1c0b41.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5b72bb32.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5c67e9f6.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5e808a0b.js +0 -1
- package/dist/verdocs-web-sdk/p-603d0733.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-63a62567.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-68cfa909.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-68e3aae3.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-69422d8f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6de76553.js +0 -1
- package/dist/verdocs-web-sdk/p-6e9af353.system.js +0 -1
- package/dist/verdocs-web-sdk/p-7272e80c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7286272b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-745e8427.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-77205bff.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7b60293f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7c0dcd00.js +0 -1
- package/dist/verdocs-web-sdk/p-7f487279.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8003357d.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-85cb43de.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-871f2e57.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-877c2b06.system.js +0 -1
- package/dist/verdocs-web-sdk/p-8aae8d16.system.js +0 -1
- package/dist/verdocs-web-sdk/p-8de34628.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9200270e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-95080569.system.js +0 -1
- package/dist/verdocs-web-sdk/p-9595c814.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-964f83ef.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-98c9b7d7.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9a5ff58c.system.js +0 -1
- package/dist/verdocs-web-sdk/p-9bfc868a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9d1e6991.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a27b7dfa.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a85de84d.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-aa49605f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-ab73a327.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-abf7930b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-adb830b4.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b1288daf.system.js +0 -1
- package/dist/verdocs-web-sdk/p-b55a122e.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b5904912.js +0 -1
- package/dist/verdocs-web-sdk/p-b6df9fe6.system.js +0 -1
- package/dist/verdocs-web-sdk/p-b72328af.js +0 -13
- package/dist/verdocs-web-sdk/p-b7d1e999.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b804e710.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-b9911097.system.js +0 -1
- package/dist/verdocs-web-sdk/p-bb2b0122.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bb983c03.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bbee73c8.system.js +0 -1
- package/dist/verdocs-web-sdk/p-c220af42.js +0 -1
- package/dist/verdocs-web-sdk/p-c56a34a8.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c5f28000.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-c622d7b3.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cd20fb77.system.js +0 -1
- package/dist/verdocs-web-sdk/p-cf6a9502.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d1837101.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d636a3cd.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d81b1bc9.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-d9e8c0f9.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-dbbf84f6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-dc2ad047.js +0 -1
- package/dist/verdocs-web-sdk/p-dc9c4361.system.js +0 -1
- package/dist/verdocs-web-sdk/p-dd9dba09.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-df19dc00.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e1b527eb.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e1f4be7c.js +0 -1
- package/dist/verdocs-web-sdk/p-e2439f45.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e51f2b77.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e63fe8b9.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e6fd0310.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e8ce0b6f.js +0 -1
- package/dist/verdocs-web-sdk/p-eab67c09.js +0 -1
- package/dist/verdocs-web-sdk/p-eaf0b189.system.js +0 -1
- package/dist/verdocs-web-sdk/p-f04bf956.system.js +0 -1
- package/dist/verdocs-web-sdk/p-f27fe881.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-fbb8023f.system.js +0 -2
- package/dist/verdocs-web-sdk/p-feb442b1.js +0 -1
- package/dist/verdocs-web-sdk/p-ff8278e7.entry.js +0 -1
- /package/dist/cjs/{Icons-3286d014.js → Icons-9a6f2f7c.js} +0 -0
- /package/dist/cjs/{Types-f83b8488.js → Types-db1bd1d8.js} +0 -0
- /package/dist/cjs/{popper-d7adcfc6.js → popper-31badbf8.js} +0 -0
- /package/dist/esm/{Icons-ddea87bf.js → Icons-faf0377f.js} +0 -0
- /package/dist/{components/Types2.js → esm/Types-e4a6eba5.js} +0 -0
- /package/dist/esm/{popper-15e448b4.js → popper-0fbeff6d.js} +0 -0
- /package/dist/esm-es5/{Icons-ddea87bf.js → Icons-faf0377f.js} +0 -0
- /package/dist/esm-es5/{Types-086facf7.js → Types-e4a6eba5.js} +0 -0
- /package/dist/verdocs-web-sdk/{p-ed416acf.js → p-026b3103.js} +0 -0
- /package/dist/verdocs-web-sdk/{p-1b4e7078.js → p-251c4106.js} +0 -0
- /package/dist/verdocs-web-sdk/{p-029ae656.js → p-b0766439.js} +0 -0
- /package/dist/verdocs-web-sdk/{p-3f628837.system.js → p-cd546dbe.system.js} +0 -0
- /package/dist/verdocs-web-sdk/{p-7a1b2643.js → p-fd97809c.js} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as i,H as s}from"./p-14b44491.js";import{c as n}from"./p-7c0dcd00.js";const e={},r=[];function h(t,i){if(Array.isArray(t))for(const s of t)h(s,i);else if("object"!=typeof t)u(Object.getOwnPropertyNames(i)),e[t]=Object.assign(e[t]||{},i);else for(const i in t)h(i,t[i])}function o(t){return e[t]||{}}function u(t){r.push(...t)}function c(t,i){let s;const n=t.length,e=[];for(s=0;s<n;s++)e.push(i(t[s]));return e}function l(t,i){let s;const n=t.length,e=[];for(s=0;s<n;s++)i(t[s])&&e.push(t[s]);return e}function a(t){return t%360*Math.PI/180}function f(t){return t.toLowerCase().replace(/-(.)/g,(function(t,i){return i.toUpperCase()}))}function d(t){return t.charAt(0).toUpperCase()+t.slice(1)}function C(t,i,s,n){return null!=i&&null!=s||(n=n||t.bbox(),null==i?i=n.width/n.height*s:null==s&&(s=n.height/n.width*i)),{width:i,height:s}}function w(t,i){const s=t.origin;let n=null!=t.ox?t.ox:null!=t.originX?t.originX:"center",e=null!=t.oy?t.oy:null!=t.originY?t.originY:"center";null!=s&&([n,e]=Array.isArray(s)?s:"object"==typeof s?[s.x,s.y]:[s,s]);const r="string"==typeof n,h="string"==typeof e;if(r||h){const{height:t,width:s,x:o,y:u}=i.bbox();r&&(n=n.includes("left")?o:n.includes("right")?o+s:o+s/2),h&&(e=e.includes("top")?u:e.includes("bottom")?u+t:u+t/2)}return[n,e]}const p="http://www.w3.org/2000/svg",g="http://www.w3.org/2000/xmlns/",m="http://www.w3.org/1999/xlink",y={window:"undefined"==typeof window?null:window,document:"undefined"==typeof document?null:document};class x{}const v={},b="___SYMBOL___ROOT___";function M(t,i=p){return y.document.createElementNS(i,t)}function _(t,i=!1){if(t instanceof x)return t;if("object"==typeof t)return L(t);if(null==t)return new v[b];if("string"==typeof t&&"<"!==t.charAt(0))return L(y.document.querySelector(t));const s=i?y.document.createElement("div"):M("svg");return s.innerHTML=t,t=L(s.firstChild),s.removeChild(s.firstChild),t}function k(t,i){return i&&i.ownerDocument&&i instanceof i.ownerDocument.defaultView.Node?i:M(t)}function j(t){if(!t)return null;if(t.instance instanceof x)return t.instance;if("#document-fragment"===t.nodeName)return new v.Fragment(t);let i=d(t.nodeName||"Dom");return"LinearGradient"===i||"RadialGradient"===i?i="Gradient":v[i]||(i="Dom"),new v[i](t)}let L=j;function A(t,i=t.name,s=!1){return v[i]=t,s&&(v[b]=t),u(Object.getOwnPropertyNames(t.prototype)),t}let O=1e3;function E(t){return"Svgjs"+d(t)+O++}function V(t){for(let i=t.children.length-1;i>=0;i--)V(t.children[i]);return t.id?(t.id=E(t.nodeName),t):t}function T(t,i){let s,n;for(n=(t=Array.isArray(t)?t:[t]).length-1;n>=0;n--)for(s in i)t[n].prototype[s]=i[s]}function H(t){return function(...i){const s=i[i.length-1];return!s||s.constructor!==Object||s instanceof Array?t.apply(this,i):t.apply(this,i.slice(0,-1)).attr(s)}}h("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const t=this.position();return this.parent().add(this.remove(),t+1),this},backward:function(){const t=this.position();return this.parent().add(this.remove(),t?t-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(t){(t=_(t)).remove();const i=this.position();return this.parent().add(t,i),this},after:function(t){(t=_(t)).remove();const i=this.position();return this.parent().add(t,i+1),this},insertBefore:function(t){return(t=_(t)).before(this),this},insertAfter:function(t){return(t=_(t)).after(this),this}});const S=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,B=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,D=/rgb\((\d+),(\d+),(\d+)\)/,z=/(#[a-z_][a-z0-9\-_]*)/i,Z=/\)\s*,?\s*/,F=/\s/g,$=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,N=/^rgb\(/,P=/^(\s+)?$/,R=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,I=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,Y=/[\s,]+/,G=/[MLHVCSQTAZ]/i;function X(t){const i=Math.round(t),s=Math.max(0,Math.min(255,i)).toString(16);return 1===s.length?"0"+s:s}function Q(t,i){for(let s=i.length;s--;)if(null==t[i[s]])return!1;return!0}function q(t,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+6*(i-t)*s:s<.5?i:s<2/3?t+(i-t)*(2/3-s)*6:t}h("Dom",{classes:function(){const t=this.attr("class");return null==t?[]:t.trim().split(Y)},hasClass:function(t){return-1!==this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){const i=this.classes();i.push(t),this.attr("class",i.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter((function(i){return i!==t})).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}}),h("Dom",{css:function(t,i){const s={};if(0===arguments.length)return this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){const i=t.split(/\s*:\s*/);s[i[0]]=i[1]})),s;if(arguments.length<2){if(Array.isArray(t)){for(const i of t){const t=f(i);s[i]=this.node.style[t]}return s}if("string"==typeof t)return this.node.style[f(t)];if("object"==typeof t)for(const i in t)this.node.style[f(i)]=null==t[i]||P.test(t[i])?"":t[i]}return 2===arguments.length&&(this.node.style[f(t)]=null==i||P.test(i)?"":i),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return"none"!==this.css("display")}}),h("Dom",{data:function(t,i,s){if(null==t)return this.data(c(l(this.node.attributes,(t=>0===t.nodeName.indexOf("data-"))),(t=>t.nodeName.slice(5))));if(t instanceof Array){const i={};for(const s of t)i[s]=this.data(s);return i}if("object"==typeof t)for(i in t)this.data(i,t[i]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(i){return this.attr("data-"+t)}else this.attr("data-"+t,null===i?null:!0===s||"string"==typeof i||"number"==typeof i?i:JSON.stringify(i));return this}}),h("Dom",{remember:function(t,i){if("object"==typeof arguments[0])for(const i in t)this.remember(i,t[i]);else{if(1===arguments.length)return this.memory()[t];this.memory()[t]=i}return this},forget:function(){if(0===arguments.length)this._memory={};else for(let t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory=this._memory||{}}});class U{constructor(...t){this.init(...t)}static isColor(t){return t&&(t instanceof U||this.isRgb(t)||this.test(t))}static isRgb(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b}static random(t="vibrant",i,s){const{random:n,round:e,sin:r,PI:h}=Math;if("vibrant"===t){const t=24*n()+57,i=38*n()+45,s=360*n();return new U(t,i,s,"lch")}if("sine"===t){const t=e(80*r(2*h*(i=null==i?n():i)/.5+.01)+150),s=e(50*r(2*h*i/.5+4.6)+200),o=e(100*r(2*h*i/.5+2.3)+150);return new U(t,s,o)}if("pastel"===t){const t=8*n()+86,i=17*n()+9,s=360*n();return new U(t,i,s,"lch")}if("dark"===t){const t=10+10*n(),i=50*n()+86,s=360*n();return new U(t,i,s,"lch")}if("rgb"===t){const t=255*n(),i=255*n(),s=255*n();return new U(t,i,s)}if("lab"===t){const t=100*n(),i=256*n()-128,s=256*n()-128;return new U(t,i,s,"lab")}if("grey"===t){const t=255*n();return new U(t,t,t)}throw new Error("Unsupported random color mode")}static test(t){return"string"==typeof t&&($.test(t)||N.test(t))}cmyk(){const{_a:t,_b:i,_c:s}=this.rgb(),[n,e,r]=[t,i,s].map((t=>t/255)),h=Math.min(1-n,1-e,1-r);return 1===h?new U(0,0,0,1,"cmyk"):new U((1-n-h)/(1-h),(1-e-h)/(1-h),(1-r-h)/(1-h),h,"cmyk")}hsl(){const{_a:t,_b:i,_c:s}=this.rgb(),[n,e,r]=[t,i,s].map((t=>t/255)),h=Math.max(n,e,r),o=Math.min(n,e,r),u=(h+o)/2,c=h===o,l=h-o;return new U(360*(c?0:h===n?((e-r)/l+(e<r?6:0))/6:h===e?((r-n)/l+2)/6:h===r?((n-e)/l+4)/6:0),100*(c?0:u>.5?l/(2-h-o):l/(h+o)),100*u,"hsl")}init(t=0,i=0,s=0,n=0,e="rgb"){if(t=t||0,this.space)for(const t in this.space)delete this[this.space[t]];if("number"==typeof t)e="string"==typeof n?n:e,n="string"==typeof n?0:n,Object.assign(this,{_a:t,_b:i,_c:s,_d:n,space:e});else if(t instanceof Array)this.space=i||("string"==typeof t[3]?t[3]:t[4])||"rgb",Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0});else if(t instanceof Object){const s=function(t,i){const s=Q(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Q(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Q(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Q(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Q(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Q(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return s.space=i||s.space,s}(t,i);Object.assign(this,s)}else if("string"==typeof t)if(N.test(t)){const i=t.replace(F,""),[s,n,e]=D.exec(i).slice(1,4).map((t=>parseInt(t)));Object.assign(this,{_a:s,_b:n,_c:e,_d:0,space:"rgb"})}else{if(!$.test(t))throw Error("Unsupported string format, can't construct Color");{const i=t=>parseInt(t,16),[,s,n,e]=B.exec(function(t){return 4===t.length?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}(t)).map(i);Object.assign(this,{_a:s,_b:n,_c:e,_d:0,space:"rgb"})}}const{_a:r,_b:h,_c:o,_d:u}=this;Object.assign(this,"rgb"===this.space?{r,g:h,b:o}:"xyz"===this.space?{x:r,y:h,z:o}:"hsl"===this.space?{h:r,s:h,l:o}:"lab"===this.space?{l:r,a:h,b:o}:"lch"===this.space?{l:r,c:h,h:o}:"cmyk"===this.space?{c:r,m:h,y:o,k:u}:{})}lab(){const{x:t,y:i,z:s}=this.xyz();return new U(116*i-16,500*(t-i),200*(i-s),"lab")}lch(){const{l:t,a:i,b:s}=this.lab(),n=Math.sqrt(i**2+s**2);let e=180*Math.atan2(s,i)/Math.PI;return e<0&&(e*=-1,e=360-e),new U(t,n,e,"lch")}rgb(){if("rgb"===this.space)return this;if("lab"===(t=this.space)||"xyz"===t||"lch"===t){let{x:t,y:i,z:s}=this;if("lab"===this.space||"lch"===this.space){let{l:n,a:e,b:r}=this;if("lch"===this.space){const{c:t,h:i}=this,s=Math.PI/180;e=t*Math.cos(s*i),r=t*Math.sin(s*i)}const h=(n+16)/116,o=e/500+h,u=h-r/200,c=16/116,l=.008856,a=7.787;t=.95047*(o**3>l?o**3:(o-c)/a),i=1*(h**3>l?h**3:(h-c)/a),s=1.08883*(u**3>l?u**3:(u-c)/a)}const n=3.2406*t+-1.5372*i+-.4986*s,e=-.9689*t+1.8758*i+.0415*s,r=.0557*t+-.204*i+1.057*s,h=Math.pow,o=.0031308,u=n>o?1.055*h(n,1/2.4)-.055:12.92*n,c=e>o?1.055*h(e,1/2.4)-.055:12.92*e,l=r>o?1.055*h(r,1/2.4)-.055:12.92*r;return new U(255*u,255*c,255*l)}if("hsl"===this.space){let{h:t,s:i,l:s}=this;if(t/=360,i/=100,s/=100,0===i)return s*=255,new U(s,s,s);const n=s<.5?s*(1+i):s+i-s*i,e=2*s-n,r=255*q(e,n,t+1/3),h=255*q(e,n,t),o=255*q(e,n,t-1/3);return new U(r,h,o)}if("cmyk"===this.space){const{c:t,m:i,y:s,k:n}=this,e=255*(1-Math.min(1,t*(1-n)+n)),r=255*(1-Math.min(1,i*(1-n)+n)),h=255*(1-Math.min(1,s*(1-n)+n));return new U(e,r,h)}return this;var t}toArray(){const{_a:t,_b:i,_c:s,_d:n,space:e}=this;return[t,i,s,n,e]}toHex(){const[t,i,s]=this._clamped().map(X);return`#${t}${i}${s}`}toRgb(){const[t,i,s]=this._clamped();return`rgb(${t},${i},${s})`}toString(){return this.toHex()}xyz(){const{_a:t,_b:i,_c:s}=this.rgb(),[n,e,r]=[t,i,s].map((t=>t/255)),h=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,o=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,u=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=(.4124*h+.3576*o+.1805*u)/.95047,l=(.2126*h+.7152*o+.0722*u)/1,a=(.0193*h+.1192*o+.9505*u)/1.08883,f=c>.008856?Math.pow(c,1/3):7.787*c+16/116,d=l>.008856?Math.pow(l,1/3):7.787*l+16/116,C=a>.008856?Math.pow(a,1/3):7.787*a+16/116;return new U(f,d,C,"xyz")}_clamped(){const{_a:t,_b:i,_c:s}=this.rgb(),{max:n,min:e,round:r}=Math;return[t,i,s].map((t=>n(0,e(r(t),255))))}}class J{constructor(...t){this.init(...t)}clone(){return new J(this)}init(t,i){const s=Array.isArray(t)?{x:t[0],y:t[1]}:"object"==typeof t?{x:t.x,y:t.y}:{x:t,y:i};return this.x=null==s.x?0:s.x,this.y=null==s.y?0:s.y,this}toArray(){return[this.x,this.y]}transform(t){return this.clone().transformO(t)}transformO(t){K.isMatrixLike(t)||(t=new K(t));const{x:i,y:s}=this;return this.x=t.a*i+t.c*s+t.e,this.y=t.b*i+t.d*s+t.f,this}}function W(t,i,s){return Math.abs(i-t)<(s||1e-6)}class K{constructor(...t){this.init(...t)}static formatTransforms(t){const i="both"===t.flip||!0===t.flip,s=t.flip&&(i||"x"===t.flip)?-1:1,n=t.flip&&(i||"y"===t.flip)?-1:1,e=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0,r=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0,h=t.scale&&t.scale.length?t.scale[0]*s:isFinite(t.scale)?t.scale*s:isFinite(t.scaleX)?t.scaleX*s:s,o=t.scale&&t.scale.length?t.scale[1]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleY)?t.scaleY*n:n,u=t.shear||0,c=t.rotate||t.theta||0,l=new J(t.origin||t.around||t.ox||t.originX,t.oy||t.originY),a=l.x,f=l.y,d=new J(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN),C=d.x,w=d.y,p=new J(t.translate||t.tx||t.translateX,t.ty||t.translateY),g=p.x,m=p.y,y=new J(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:h,scaleY:o,skewX:e,skewY:r,shear:u,theta:c,rx:y.x,ry:y.y,tx:g,ty:m,ox:a,oy:f,px: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 null!=t.a||null!=t.b||null!=t.c||null!=t.d||null!=t.e||null!=t.f}static matrixMultiply(t,i,s){const n=t.b*i.a+t.d*i.b,e=t.a*i.c+t.c*i.d,r=t.b*i.c+t.d*i.d,h=t.e+t.a*i.e+t.c*i.f,o=t.f+t.b*i.e+t.d*i.f;return s.a=t.a*i.a+t.c*i.b,s.b=n,s.c=e,s.d=r,s.e=h,s.f=o,s}around(t,i,s){return this.clone().aroundO(t,i,s)}aroundO(t,i,s){const n=t||0,e=i||0;return this.translateO(-n,-e).lmultiplyO(s).translateO(n,e)}clone(){return new K(this)}decompose(t=0,i=0){const s=this.a,n=this.b,e=this.c,r=this.d,h=this.e,o=this.f,u=s*r-n*e,c=u>0?1:-1,l=c*Math.sqrt(s*s+n*n),a=Math.atan2(c*n,c*s),f=180/Math.PI*a,d=Math.cos(a),C=Math.sin(a),w=(s*e+n*r)/u,p=e*l/(w*s-n)||r*l/(w*n+s);return{scaleX:l,scaleY:p,shear:w,rotate:f,translateX:h-t+t*d*l+i*(w*d*l-C*p),translateY:o-i+t*C*l+i*(w*C*l+d*p),originX:t,originY:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(t){if(t===this)return!0;const i=new K(t);return W(this.a,i.a)&&W(this.b,i.b)&&W(this.c,i.c)&&W(this.d,i.d)&&W(this.e,i.e)&&W(this.f,i.f)}flip(t,i){return this.clone().flipO(t,i)}flipO(t,i){return"x"===t?this.scaleO(-1,1,i,0):"y"===t?this.scaleO(1,-1,0,i):this.scaleO(-1,-1,t,i||t)}init(t){const i=K.fromArray([1,0,0,1,0,0]);return t=t instanceof xt?t.matrixify():"string"==typeof t?K.fromArray(t.split(Y).map(parseFloat)):Array.isArray(t)?K.fromArray(t):"object"==typeof t&&K.isMatrixLike(t)?t:"object"==typeof t?(new K).transform(t):6===arguments.length?K.fromArray([].slice.call(arguments)):i,this.a=null!=t.a?t.a:i.a,this.b=null!=t.b?t.b:i.b,this.c=null!=t.c?t.c:i.c,this.d=null!=t.d?t.d:i.d,this.e=null!=t.e?t.e:i.e,this.f=null!=t.f?t.f:i.f,this}inverse(){return this.clone().inverseO()}inverseO(){const t=this.a,i=this.b,s=this.c,n=this.d,e=this.e,r=this.f,h=t*n-i*s;if(!h)throw new Error("Cannot invert "+this);const o=n/h,u=-i/h,c=-s/h,l=t/h,a=-(o*e+c*r),f=-(u*e+l*r);return this.a=o,this.b=u,this.c=c,this.d=l,this.e=a,this.f=f,this}lmultiply(t){return this.clone().lmultiplyO(t)}lmultiplyO(t){const i=t instanceof K?t:new K(t);return K.matrixMultiply(i,this,this)}multiply(t){return this.clone().multiplyO(t)}multiplyO(t){const i=t instanceof K?t:new K(t);return K.matrixMultiply(this,i,this)}rotate(t,i,s){return this.clone().rotateO(t,i,s)}rotateO(t,i=0,s=0){t=a(t);const n=Math.cos(t),e=Math.sin(t),{a:r,b:h,c:o,d:u,e:c,f:l}=this;return this.a=r*n-h*e,this.b=h*n+r*e,this.c=o*n-u*e,this.d=u*n+o*e,this.e=c*n-l*e+s*e-i*n+i,this.f=l*n+c*e-i*e-s*n+s,this}scale(t,i,s,n){return this.clone().scaleO(...arguments)}scaleO(t,i=t,s=0,n=0){3===arguments.length&&(n=s,s=i,i=t);const{a:e,b:r,c:h,d:o,e:u,f:c}=this;return this.a=e*t,this.b=r*i,this.c=h*t,this.d=o*i,this.e=u*t-s*t+s,this.f=c*i-n*i+n,this}shear(t,i,s){return this.clone().shearO(t,i,s)}shearO(t,i=0,s=0){const{a:n,b:e,c:r,d:h,e:o,f:u}=this;return this.a=n+e*t,this.c=r+h*t,this.e=o+u*t-s*t,this}skew(t,i,s,n){return this.clone().skewO(...arguments)}skewO(t,i=t,s=0,n=0){3===arguments.length&&(n=s,s=i,i=t),t=a(t),i=a(i);const e=Math.tan(t),r=Math.tan(i),{a:h,b:o,c:u,d:c,e:l,f}=this;return this.a=h+o*e,this.b=o+h*r,this.c=u+c*e,this.d=c+u*r,this.e=l+f*e-n*e,this.f=f+l*r-s*r,this}skewX(t,i,s){return this.skew(t,0,i,s)}skewY(t,i,s){return this.skew(0,t,i,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(K.isMatrixLike(t))return new K(t).multiplyO(this);const i=K.formatTransforms(t),{x:s,y:n}=new J(i.ox,i.oy).transform(this),e=(new K).translateO(i.rx,i.ry).lmultiplyO(this).translateO(-s,-n).scaleO(i.scaleX,i.scaleY).skewO(i.skewX,i.skewY).shearO(i.shear).rotateO(i.theta).translateO(s,n);if(isFinite(i.px)||isFinite(i.py)){const t=new J(s,n).transform(e),r=isFinite(i.px)?i.px-t.x:0,h=isFinite(i.py)?i.py-t.y:0;e.translateO(r,h)}return e.translateO(i.tx,i.ty),e}translate(t,i){return this.clone().translateO(t,i)}translateO(t,i){return this.e+=t||0,this.f+=i||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function tt(){if(!tt.nodes){const t=_().size(2,0);t.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),t.attr("focusable","false"),t.attr("aria-hidden","true");const i=t.path().node;tt.nodes={svg:t,path:i}}return tt.nodes.svg.node.parentNode||tt.nodes.svg.addTo(y.document.body||y.document.documentElement),tt.nodes}function it(t){return!(t.width||t.height||t.x||t.y)}A(K,"Matrix");class st{constructor(...t){this.init(...t)}addOffset(){return this.x+=y.window.pageXOffset,this.y+=y.window.pageYOffset,new st(this)}init(t){return t="string"==typeof t?t.split(Y).map(parseFloat):Array.isArray(t)?t:"object"==typeof t?[null!=t.left?t.left:t.x,null!=t.top?t.top:t.y,t.width,t.height]:4===arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=t[0]||0,this.y=t[1]||0,this.width=this.w=t[2]||0,this.height=this.h=t[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return it(this)}merge(t){const i=Math.min(this.x,t.x),s=Math.min(this.y,t.y),n=Math.max(this.x+this.width,t.x+t.width)-i,e=Math.max(this.y+this.height,t.y+t.height)-s;return new st(i,s,n,e)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(t){t instanceof K||(t=new K(t));let i=1/0,s=-1/0,n=1/0,e=-1/0;return[new J(this.x,this.y),new J(this.x2,this.y),new J(this.x,this.y2),new J(this.x2,this.y2)].forEach((function(r){r=r.transform(t),i=Math.min(i,r.x),s=Math.max(s,r.x),n=Math.min(n,r.y),e=Math.max(e,r.y)})),new st(i,n,s-i,e-n)}}function nt(t,i,s){let n;try{if(n=i(t.node),it(n)&&(e=t.node)!==y.document&&!(y.document.documentElement.contains||function(t){for(;t.parentNode;)t=t.parentNode;return t===y.document}).call(y.document.documentElement,e))throw new Error("Element not in the dom")}catch(i){n=s(t)}var e;return n}h({viewbox:{viewbox(t,i,s,n){return null==t?new st(this.attr("viewBox")):this.attr("viewBox",new st(t,i,s,n))},zoom(t,i){let{width:s,height:n}=this.attr(["width","height"]);if((s||n)&&"string"!=typeof s&&"string"!=typeof n||(s=this.node.clientWidth,n=this.node.clientHeight),!s||!n)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const e=this.viewbox(),r=s/e.width,h=n/e.height,o=Math.min(r,h);if(null==t)return o;let u=o/t;u===1/0&&(u=Number.MAX_SAFE_INTEGER/100),i=i||new J(s/2/r+e.x,n/2/h+e.y);const c=new st(e).transform(new K({scale:u,origin:i}));return this.viewbox(c)}}}),A(st,"Box");class et extends Array{constructor(t=[],...i){if(super(t,...i),"number"==typeof t)return this;this.length=0,this.push(...t)}}T([et],{each(t,...i){return this.map("function"==typeof t?(i,s,n)=>t.call(i,i,s,n):s=>s[t](...i))},toArray(){return Array.prototype.concat.apply([],this)}});const rt=["toArray","constructor","each"];function ht(t,i){return new et(c((i||y.document).querySelectorAll(t),(function(t){return j(t)})))}et.extend=function(t){t=t.reduce(((t,i)=>(rt.includes(i)||"_"===i[0]||(t[i]=function(...t){return this.each(i,...t)}),t)),{}),T([et],t)};let ot=0;const ut={};function ct(t){let i=t.getEventHolder();return i===y.window&&(i=ut),i.events||(i.events={}),i.events}function lt(t){return t.getEventTarget()}function at(t,i,s,n,e){const r=s.bind(n||t),h=_(t),o=ct(h),u=lt(h);i=Array.isArray(i)?i:i.split(Y),s._svgjsListenerId||(s._svgjsListenerId=++ot),i.forEach((function(t){const i=t.split(".")[0],n=t.split(".")[1]||"*";o[i]=o[i]||{},o[i][n]=o[i][n]||{},o[i][n][s._svgjsListenerId]=r,u.addEventListener(i,r,e||!1)}))}function ft(t,i,s,n){const e=_(t),r=ct(e),h=lt(e);("function"!=typeof s||(s=s._svgjsListenerId))&&(i=Array.isArray(i)?i:(i||"").split(Y)).forEach((function(t){const i=t&&t.split(".")[0],o=t&&t.split(".")[1];let u,c;if(s)r[i]&&r[i][o||"*"]&&(h.removeEventListener(i,r[i][o||"*"][s],n||!1),delete r[i][o||"*"][s]);else if(i&&o){if(r[i]&&r[i][o]){for(c in r[i][o])ft(h,[i,o].join("."),c);delete r[i][o]}}else if(o)for(t in r)for(u in r[t])o===u&&ft(h,[t,o].join("."));else if(i){if(r[i]){for(u in r[i])ft(h,[i,u].join("."));delete r[i]}}else{for(t in r)ft(h,t);!function(t){let i=t.getEventHolder();i===y.window&&(i=ut),i.events&&(i.events={})}(e)}}))}class dt extends x{addEventListener(){}dispatch(t,i,s){return function(t,i,s,n){const e=lt(t);return i instanceof y.window.Event||(i=new y.window.CustomEvent(i,{detail:s,cancelable:!0,...n})),e.dispatchEvent(i),i}(this,t,i,s)}dispatchEvent(t){const i=this.getEventHolder().events;if(!i)return!0;const s=i[t.type];for(const i in s)for(const n in s[i])s[i][n](t);return!t.defaultPrevented}fire(t,i,s){return this.dispatch(t,i,s),this}getEventHolder(){return this}getEventTarget(){return this}off(t,i,s){return ft(this,t,i,s),this}on(t,i,s,n){return at(this,t,i,s,n),this}removeEventListener(){}}function Ct(){}A(dt,"EventTarget");const wt={"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 pt extends Array{constructor(...t){super(...t),this.init(...t)}clone(){return new this.constructor(this)}init(t){return"number"==typeof t||(this.length=0,this.push(...this.parse(t))),this}parse(t=[]){return t instanceof Array?t:t.trim().split(Y).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const t=[];return t.push(...this),t}}class gt{constructor(...t){this.init(...t)}convert(t){return new gt(this.value,t)}divide(t){return t=new gt(t),new gt(this/t,this.unit||t.unit)}init(t,i){return i=Array.isArray(t)?t[1]:i,t=Array.isArray(t)?t[0]:t,this.value=0,this.unit=i||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-34e37:34e37:"string"==typeof t?(i=t.match(S))&&(this.value=parseFloat(i[1]),"%"===i[5]?this.value/=100:"s"===i[5]&&(this.value*=1e3),this.unit=i[5]):t instanceof gt&&(this.value=t.valueOf(),this.unit=t.unit),this}minus(t){return t=new gt(t),new gt(this-t,this.unit||t.unit)}plus(t){return t=new gt(t),new gt(this+t,this.unit||t.unit)}times(t){return t=new gt(t),new gt(this*t,this.unit||t.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return("%"===this.unit?~~(1e8*this.value)/1e6:"s"===this.unit?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const mt=[];class yt extends dt{constructor(t,i){super(),this.node=t,this.type=t.nodeName,i&&t!==i&&this.attr(i)}add(t,i){return(t=_(t)).removeNamespace&&this.node instanceof y.window.SVGElement&&t.removeNamespace(),null==i?this.node.appendChild(t.node):t.node!==this.node.childNodes[i]&&this.node.insertBefore(t.node,this.node.childNodes[i]),this}addTo(t,i){return _(t).put(this,i)}children(){return new et(c(this.node.children,(function(t){return j(t)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(t=!0,i=!0){this.writeDataToDom();let s=this.node.cloneNode(t);return i&&(s=V(s)),new this.constructor(s)}each(t,i){const s=this.children();let n,e;for(n=0,e=s.length;n<e;n++)t.apply(s[n],[n,s]),i&&s[n].each(t,i);return this}element(t,i){return this.put(new yt(M(t),i))}first(){return j(this.node.firstChild)}get(t){return j(this.node.childNodes[t])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(t){return this.index(t)>=0}html(t,i){return this.xml(t,i,"http://www.w3.org/1999/xhtml")}id(t){return void 0!==t||this.node.id||(this.node.id=E(this.type)),this.attr("id",t)}index(t){return[].slice.call(this.node.childNodes).indexOf(t.node)}last(){return j(this.node.lastChild)}matches(t){const i=this.node,s=i.matches||i.matchesSelector||i.msMatchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.oMatchesSelector||null;return s&&s.call(i,t)}parent(t){let i=this;if(!i.node.parentNode)return null;if(i=j(i.node.parentNode),!t)return i;do{if("string"==typeof t?i.matches(t):i instanceof t)return i}while(i=j(i.node.parentNode));return i}put(t,i){return t=_(t),this.add(t,i),t}putIn(t,i){return _(t).add(this,i)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(t){return this.node.removeChild(t.node),this}replace(t){return t=_(t),this.node.parentNode&&this.node.parentNode.replaceChild(t.node,this.node),t}round(t=2,i=null){const s=10**t,n=this.attr(i);for(const t in n)"number"==typeof n[t]&&(n[t]=Math.round(n[t]*s)/s);return this.attr(n),this}svg(t,i){return this.xml(t,i,p)}toString(){return this.id()}words(t){return this.node.textContent=t,this}wrap(t){const i=this.parent();if(!i)return this.addTo(t);const s=i.index(this);return i.put(t,s).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(t,i,s){if("boolean"==typeof t&&(s=i,i=t,t=null),null==t||"function"==typeof t){i=null==i||i,this.writeDataToDom();let s=this;if(null!=t){if(s=j(s.node.cloneNode(!0)),i){const i=t(s);if(s=i||s,!1===i)return""}s.each((function(){const i=t(this),s=i||this;!1===i?this.remove():i&&this!==s&&this.replace(s)}),!0)}return i?s.node.outerHTML:s.node.innerHTML}i=null!=i&&i;const n=M("wrapper",s),e=y.document.createDocumentFragment();n.innerHTML=t;for(let t=n.children.length;t--;)e.appendChild(n.firstElementChild);const r=this.parent();return i?this.replace(e)&&r:this.add(e)}}T(yt,{attr:function(t,i,s){if(null==t){t={},i=this.node.attributes;for(const s of i)t[s.nodeName]=R.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue;return t}if(t instanceof Array)return t.reduce(((t,i)=>(t[i]=this.attr(i),t)),{});if("object"==typeof t&&t.constructor===Object)for(i in t)this.attr(i,t[i]);else if(null===i)this.node.removeAttribute(t);else{if(null==i)return null==(i=this.node.getAttribute(t))?wt[t]:R.test(i)?parseFloat(i):i;"number"==typeof(i=mt.reduce(((i,s)=>s(t,i,this)),i))?i=new gt(i):U.isColor(i)?i=new U(i):i.constructor===Array&&(i=new pt(i)),"leading"===t?this.leading&&this.leading(i):"string"==typeof s?this.node.setAttributeNS(s,t,i.toString()):this.node.setAttribute(t,i.toString()),!this.rebuild||"font-size"!==t&&"x"!==t||this.rebuild()}return this},find:function(t){return ht(t,this.node)},findOne:function(t){return j(this.node.querySelector(t))}}),A(yt,"Dom");class xt extends yt{constructor(t,i){super(t,i),this.dom={},this.node.instance=this,t.hasAttribute("svgjs:data")&&this.setData(JSON.parse(t.getAttribute("svgjs:data"))||{})}center(t,i){return this.cx(t).cy(i)}cx(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)}cy(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)}defs(){const t=this.root();return t&&t.defs()}dmove(t,i){return this.dx(t).dy(i)}dx(t=0){return this.x(new gt(t).plus(this.x()))}dy(t=0){return this.y(new gt(t).plus(this.y()))}getEventHolder(){return this}height(t){return this.attr("height",t)}move(t,i){return this.x(t).y(i)}parents(t=this.root()){const i="string"==typeof t;i||(t=_(t));const s=new et;let n=this;for(;(n=n.parent())&&n.node!==y.document&&"#document-fragment"!==n.nodeName&&(s.push(n),i||n.node!==t.node)&&(!i||!n.matches(t));)if(n.node===this.root().node)return null;return s}reference(t){if(!(t=this.attr(t)))return null;const i=(t+"").match(z);return i?_(i[1]):null}root(){const t=this.parent(v[b]);return t&&t.root()}setData(t){return this.dom=t,this}size(t,i){const s=C(this,t,i);return this.width(new gt(s.width)).height(new gt(s.height))}width(t){return this.attr("width",t)}writeDataToDom(){return this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),super.writeDataToDom()}x(t){return this.attr("x",t)}y(t){return this.attr("y",t)}}T(xt,{bbox:function(){const t=nt(this,(t=>t.getBBox()),(t=>{try{const i=t.clone().addTo(tt().svg).show(),s=i.node.getBBox();return i.remove(),s}catch(i){throw new Error(`Getting bbox of element "${t.node.nodeName}" is not possible: ${i.toString()}`)}}));return new st(t)},rbox:function(t){const i=nt(this,(t=>t.getBoundingClientRect()),(t=>{throw new Error(`Getting rbox of element "${t.node.nodeName}" is not possible`)})),s=new st(i);return t?s.transform(t.screenCTM().inverseO()):s.addOffset()},inside:function(t,i){const s=this.bbox();return t>s.x&&i>s.y&&t<s.x+s.width&&i<s.y+s.height},point:function(t,i){return new J(t,i).transformO(this.screenCTM().inverseO())},ctm:function(){return new K(this.node.getCTM())},screenCTM:function(){if("function"==typeof this.isRoot&&!this.isRoot()){const t=this.rect(1,1),i=t.node.getScreenCTM();return t.remove(),new K(i)}return new K(this.node.getScreenCTM())}}),A(xt,"Element");const vt={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,i){return"color"===i?t:t+"-"+i}};["fill","stroke"].forEach((function(t){const i={};let s;i[t]=function(i){if(void 0===i)return this.attr(t);if("string"==typeof i||i instanceof U||U.isRgb(i)||i instanceof xt)this.attr(t,i);else for(s=vt[t].length-1;s>=0;s--)null!=i[vt[t][s]]&&this.attr(vt.prefix(t,vt[t][s]),i[vt[t][s]]);return this},h(["Element","Runner"],i)})),h(["Element","Runner"],{matrix:function(t,i,s,n,e,r){return null==t?new K(this):this.attr("transform",new K(t,i,s,n,e,r))},rotate:function(t,i,s){return this.transform({rotate:t,ox:i,oy:s},!0)},skew:function(t,i,s,n){return this.transform(1===arguments.length||3===arguments.length?{skew:t,ox:i,oy:s}:{skew:[t,i],ox:s,oy:n},!0)},shear:function(t,i,s){return this.transform({shear:t,ox:i,oy:s},!0)},scale:function(t,i,s,n){return this.transform(1===arguments.length||3===arguments.length?{scale:t,ox:i,oy:s}:{scale:[t,i],ox:s,oy:n},!0)},translate:function(t,i){return this.transform({translate:[t,i]},!0)},relative:function(t,i){return this.transform({relative:[t,i]},!0)},flip:function(t="both",i="center"){return-1==="xybothtrue".indexOf(t)&&(i=t,t="both"),this.transform({flip:t,origin:i},!0)},opacity:function(t){return this.attr("opacity",t)}}),h("radius",{radius:function(t,i=t){return"radialGradient"===(this._element||this).type?this.attr("r",new gt(t)):this.rx(t).ry(i)}}),h("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new J(this.node.getPointAtLength(t))}}),h(["Element","Runner"],{font:function(t,i){if("object"==typeof t){for(i in t)this.font(i,t[i]);return this}return"leading"===t?this.leading(i):this.attr("anchor"===t?"text-anchor":"size"===t||"family"===t||"weight"===t||"stretch"===t||"variant"===t||"style"===t?"font-"+t:t,i)}}),h("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce((function(t,i){return t[i]=function(t){return null===t?this.off(i):this.on(i,t),this},t}),{})),h("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(Z).slice(0,-1).map((function(t){const i=t.trim().split("(");return[i[0],i[1].split(Y).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,i){return"matrix"===i[0]?t.lmultiply(K.fromArray(i[1])):t[i[0]].apply(t,i[1])}),new K)},toParent:function(t,i){if(this===t)return this;const s=this.screenCTM(),n=t.screenCTM().inverse();return this.addTo(t,i).untransform().transform(n.multiply(s)),this},toRoot:function(t){return this.toParent(this.root(),t)},transform:function(t,i){if(null==t||"string"==typeof t){const i=new K(this).decompose();return null==t?i:i[t]}K.isMatrixLike(t)||(t={...t,origin:w(t,this)});const s=new K(!0===i?this:i||!1).transform(t);return this.attr("transform",s)}});class bt extends xt{flatten(t=this,i){return this.each((function(){if(this instanceof bt)return this.flatten().ungroup()})),this}ungroup(t=this.parent(),i=t.index(this)){return i=-1===i?t.children().length:i,this.each((function(s,n){return n[n.length-s-1].toParent(t,i)})),this.remove()}}A(bt,"Container");class Mt extends bt{constructor(t,i=t){super(k("defs",t),i)}flatten(){return this}ungroup(){return this}}A(Mt,"Defs");class _t extends xt{}function kt(t){return this.attr("rx",t)}function jt(t){return this.attr("ry",t)}function Lt(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())}function At(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())}function Ot(t){return this.attr("cx",t)}function Et(t){return this.attr("cy",t)}function Vt(t){return null==t?2*this.rx():this.rx(new gt(t).divide(2))}function Tt(t){return null==t?2*this.ry():this.ry(new gt(t).divide(2))}A(_t,"Shape");var Ht={__proto__:null,rx:kt,ry:jt,x:Lt,y:At,cx:Ot,cy:Et,width:Vt,height:Tt};class St extends _t{constructor(t,i=t){super(k("ellipse",t),i)}size(t,i){const s=C(this,t,i);return this.rx(new gt(s.width).divide(2)).ry(new gt(s.height).divide(2))}}T(St,Ht),h("Container",{ellipse:H((function(t=0,i=t){return this.put(new St).size(t,i).move(0,0)}))}),A(St,"Ellipse");class Bt extends yt{constructor(t=y.document.createDocumentFragment()){super(t)}xml(t,i,s){if("boolean"==typeof t&&(s=i,i=t,t=null),null==t||"function"==typeof t){const t=new yt(M("wrapper",s));return t.add(this.node.cloneNode(!0)),t.xml(!1,s)}return super.xml(t,!1,s)}}function Dt(t,i){return this.attr("radialGradient"===(this._element||this).type?{fx:new gt(t),fy:new gt(i)}:{x1:new gt(t),y1:new gt(i)})}function zt(t,i){return this.attr("radialGradient"===(this._element||this).type?{cx:new gt(t),cy:new gt(i)}:{x2:new gt(t),y2:new gt(i)})}A(Bt,"Fragment");var Zt={__proto__:null,from:Dt,to:zt};class Ft extends bt{constructor(t,i){super(k(t+"Gradient","string"==typeof t?null:t),i)}attr(t,i,s){return"transform"===t&&(t="gradientTransform"),super.attr(t,i,s)}bbox(){return new st}targets(){return ht("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return"url(#"+this.id()+")"}}T(Ft,Zt),h({Container:{gradient(...t){return this.defs().gradient(...t)}},Defs:{gradient:H((function(t,i){return this.put(new Ft(t)).update(i)}))}}),A(Ft,"Gradient");class $t extends bt{constructor(t,i=t){super(k("pattern",t),i)}attr(t,i,s){return"transform"===t&&(t="patternTransform"),super.attr(t,i,s)}bbox(){return new st}targets(){return ht("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}url(){return"url(#"+this.id()+")"}}h({Container:{pattern(...t){return this.defs().pattern(...t)}},Defs:{pattern:H((function(t,i,s){return this.put(new $t).update(s).attr({x:0,y:0,width:t,height:i,patternUnits:"userSpaceOnUse"})}))}}),A($t,"Pattern");class Nt extends _t{constructor(t,i=t){super(k("image",t),i)}load(t,i){if(!t)return this;const s=new y.window.Image;return at(s,"load",(function(t){const n=this.parent($t);0===this.width()&&0===this.height()&&this.size(s.width,s.height),n instanceof $t&&0===n.width()&&0===n.height()&&n.size(this.width(),this.height()),"function"==typeof i&&i.call(this,t)}),this),at(s,"load error",(function(){ft(s)})),this.attr("href",s.src=t,m)}}mt.push((function(t,i,s){return"fill"!==t&&"stroke"!==t||I.test(i)&&(i=s.root().defs().image(i)),i instanceof Nt&&(i=s.root().defs().pattern(0,0,(t=>{t.add(i)}))),i})),h({Container:{image:H((function(t,i){return this.put(new Nt).size(0,0).load(t,i)}))}}),A(Nt,"Image");class Pt extends pt{bbox(){let t=-1/0,i=-1/0,s=1/0,n=1/0;return this.forEach((function(e){t=Math.max(e[0],t),i=Math.max(e[1],i),s=Math.min(e[0],s),n=Math.min(e[1],n)})),new st(s,n,t-s,i-n)}move(t,i){const s=this.bbox();if(t-=s.x,i-=s.y,!isNaN(t)&&!isNaN(i))for(let s=this.length-1;s>=0;s--)this[s]=[this[s][0]+t,this[s][1]+i];return this}parse(t=[0,0]){const i=[];(t=t instanceof Array?Array.prototype.concat.apply([],t):t.trim().split(Y).map(parseFloat)).length%2!=0&&t.pop();for(let s=0,n=t.length;s<n;s+=2)i.push([t[s],t[s+1]]);return i}size(t,i){let s;const n=this.bbox();for(s=this.length-1;s>=0;s--)n.width&&(this[s][0]=(this[s][0]-n.x)*t/n.width+n.x),n.height&&(this[s][1]=(this[s][1]-n.y)*i/n.height+n.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const t=[];for(let i=0,s=this.length;i<s;i++)t.push(this[i].join(","));return t.join(" ")}transform(t){return this.clone().transformO(t)}transformO(t){K.isMatrixLike(t)||(t=new K(t));for(let i=this.length;i--;){const[s,n]=this[i];this[i][0]=t.a*s+t.c*n+t.e,this[i][1]=t.b*s+t.d*n+t.f}return this}}var Rt={__proto__:null,MorphArray:Pt,x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)},width:function(t){const i=this.bbox();return null==t?i.width:this.size(t,i.height)},height:function(t){const i=this.bbox();return null==t?i.height:this.size(i.width,t)}};class It extends _t{constructor(t,i=t){super(k("line",t),i)}array(){return new Pt([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(t,i){return this.attr(this.array().move(t,i).toLine())}plot(t,i,s,n){return null==t?this.array():(t=void 0!==i?{x1:t,y1:i,x2:s,y2:n}:new Pt(t).toLine(),this.attr(t))}size(t,i){const s=C(this,t,i);return this.attr(this.array().size(s.width,s.height).toLine())}}T(It,Rt),h({Container:{line:H((function(...t){return It.prototype.plot.apply(this.put(new It),null!=t[0]?t:[0,0,0,0])}))}}),A(It,"Line");class Yt extends bt{constructor(t,i=t){super(k("marker",t),i)}height(t){return this.attr("markerHeight",t)}orient(t){return this.attr("orient",t)}ref(t,i){return this.attr("refX",t).attr("refY",i)}toString(){return"url(#"+this.id()+")"}update(t){return this.clear(),"function"==typeof t&&t.call(this,this),this}width(t){return this.attr("markerWidth",t)}}function Gt(t,i){return function(s){return null==s?this[t]:(this[t]=s,i&&i.call(this),this)}}h({Container:{marker(...t){return this.defs().marker(...t)}},Defs:{marker:H((function(t,i,s){return this.put(new Yt).size(t,i).ref(t/2,i/2).viewbox(0,0,t,i).attr("orient","auto").update(s)}))},marker:{marker(t,i,s,n){let e=["marker"];return"all"!==t&&e.push(t),e=e.join("-"),t=arguments[1]instanceof Yt?arguments[1]:this.defs().marker(i,s,n),this.attr(e,t)}}}),A(Yt,"Marker");const Xt={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)},bezier:function(t,i,s,n){return function(e){return e<0?t>0?i/t*e:s>0?n/s*e:0:e>1?s<1?(1-n)/(1-s)*e+(n-s)/(1-s):t<1?(1-i)/(1-t)*e+(i-t)/(1-t):1:3*e*(1-e)**2*i+3*e**2*(1-e)*n+e**3}},steps:function(t,i="end"){i=i.split("-").reverse()[0];let s=t;return"none"===i?--s:"both"===i&&++s,(n,e=!1)=>{let r=Math.floor(n*t);const h=n*r%1==0;return"start"!==i&&"both"!==i||++r,e&&h&&--r,n>=0&&r<0&&(r=0),n<=1&&r>s&&(r=s),r/s}}};class Qt{done(){return!1}}class qt extends Qt{constructor(t=">"){super(),this.ease=Xt[t]||t}step(t,i,s){return"number"!=typeof t?s<1?t:i:t+(i-t)*this.ease(s)}}class Ut extends Qt{constructor(t){super(),this.stepper=t}done(t){return t.done}step(t,i,s,n){return this.stepper(t,i,s,n)}}function Jt(){const t=(this._duration||500)/1e3,i=Math.PI,s=Math.log((this._overshoot||0)/100+1e-10),n=-s/Math.sqrt(i*i+s*s),e=3.9/(n*t);this.d=2*n*e,this.k=e*e}T(class extends Ut{constructor(t=500,i=0){super(),this.duration(t).overshoot(i)}step(t,i,s,n){if("string"==typeof t)return t;if(n.done=s===1/0,s===1/0)return i;if(0===s)return t;s>100&&(s=16);const e=n.velocity||0,r=-this.d*e-this.k*(t-i),h=t+e*(s/=1e3)+r*s*s/2;return n.velocity=e+r*s,n.done=Math.abs(i-h)+Math.abs(e)<.002,n.done?i:h}},{duration:Gt("_duration",Jt),overshoot:Gt("_overshoot",Jt)}),T(class extends Ut{constructor(t=.1,i=.01,s=0,n=1e3){super(),this.p(t).i(i).d(s).windup(n)}step(t,i,s,n){if("string"==typeof t)return t;if(n.done=s===1/0,s===1/0)return i;if(0===s)return t;const e=i-t;let r=(n.integral||0)+e*s;const h=(e-(n.error||0))/s,o=this._windup;return!1!==o&&(r=Math.max(-o,Math.min(r,o))),n.error=e,n.integral=r,n.done=Math.abs(e)<.001,n.done?i:t+(this.P*e+this.I*r+this.D*h)}},{windup:Gt("_windup"),p:Gt("P"),i:Gt("I"),d:Gt("D")});const Wt={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},Kt={M:function(t,i,s){return i.x=s.x=t[0],i.y=s.y=t[1],["M",i.x,i.y]},L:function(t,i){return i.x=t[0],i.y=t[1],["L",t[0],t[1]]},H:function(t,i){return i.x=t[0],["H",t[0]]},V:function(t,i){return i.y=t[0],["V",t[0]]},C:function(t,i){return i.x=t[4],i.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,i){return i.x=t[2],i.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,i){return i.x=t[2],i.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,i){return i.x=t[0],i.y=t[1],["T",t[0],t[1]]},Z:function(t,i,s){return i.x=s.x,i.y=s.y,["Z"]},A:function(t,i){return i.x=t[5],i.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},ti="mlhvqtcsaz".split("");for(let t=0,i=ti.length;t<i;++t)Kt[ti[t]]=function(t){return function(i,s,n){if("H"===t)i[0]=i[0]+s.x;else if("V"===t)i[0]=i[0]+s.y;else if("A"===t)i[5]=i[5]+s.x,i[6]=i[6]+s.y;else for(let t=0,n=i.length;t<n;++t)i[t]=i[t]+(t%2?s.y:s.x);return Kt[t](i,s,n)}}(ti[t].toUpperCase());function ii(t){return t.segment.length&&t.segment.length-1===Wt[t.segment[0].toUpperCase()]}function si(t,i){t.inNumber&&ni(t,!1);const s=G.test(i);if(s)t.segment=[i];else{const i=t.lastCommand,s=i.toLowerCase(),n=i===s;t.segment=["m"===s?n?"l":"L":i]}return t.inSegment=!0,t.lastCommand=t.segment[0],s}function ni(t,i){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number)),t.inNumber=i,t.number="",t.pointSeen=!1,t.hasExponent=!1,ii(t)&&ei(t)}function ei(t){t.inSegment=!1,t.absolute&&(t.segment=function(t){return Kt[t.segment[0]](t.segment.slice(1),t.p,t.p0)}(t)),t.segments.push(t.segment)}function ri(t){if(!t.segment.length)return!1;const i="A"===t.segment[0].toUpperCase(),s=t.segment.length;return i&&(4===s||5===s)}function hi(t){return"E"===t.lastToken.toUpperCase()}class oi extends pt{bbox(){return tt().path.setAttribute("d",this.toString()),new st(tt.nodes.path.getBBox())}move(t,i){const s=this.bbox();if(t-=s.x,i-=s.y,!isNaN(t)&&!isNaN(i))for(let s,n=this.length-1;n>=0;n--)s=this[n][0],"M"===s||"L"===s||"T"===s?(this[n][1]+=t,this[n][2]+=i):"H"===s?this[n][1]+=t:"V"===s?this[n][1]+=i:"C"===s||"S"===s||"Q"===s?(this[n][1]+=t,this[n][2]+=i,this[n][3]+=t,this[n][4]+=i,"C"===s&&(this[n][5]+=t,this[n][6]+=i)):"A"===s&&(this[n][6]+=t,this[n][7]+=i);return this}parse(t="M0 0"){return Array.isArray(t)&&(t=Array.prototype.concat.apply([],t).toString()),function(t,i=!0){let s=0,n="";const e={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:i,p0:new J,p:new J};for(;e.lastToken=n,n=t.charAt(s++);)if(e.inSegment||!si(e,n))if("."!==n)if(isNaN(parseInt(n)))if(" "!==n&&","!==n)if("-"!==n)if("E"!==n.toUpperCase()){if(G.test(n)){if(e.inNumber)ni(e,!1);else{if(!ii(e))throw new Error("parser Error");ei(e)}--s}}else e.number+=n,e.hasExponent=!0;else{if(e.inNumber&&!hi(e)){ni(e,!1),--s;continue}e.number+=n,e.inNumber=!0}else e.inNumber&&ni(e,!1);else{if("0"===e.number||ri(e)){e.inNumber=!0,e.number=n,ni(e,!0);continue}e.inNumber=!0,e.number+=n}else{if(e.pointSeen||e.hasExponent){ni(e,!1),--s;continue}e.inNumber=!0,e.pointSeen=!0,e.number+=n}return e.inNumber&&ni(e,!1),e.inSegment&&ii(e)&&ei(e),e.segments}(t)}size(t,i){const s=this.bbox();let n,e;for(s.width=0===s.width?1:s.width,s.height=0===s.height?1:s.height,n=this.length-1;n>=0;n--)e=this[n][0],"M"===e||"L"===e||"T"===e?(this[n][1]=(this[n][1]-s.x)*t/s.width+s.x,this[n][2]=(this[n][2]-s.y)*i/s.height+s.y):"H"===e?this[n][1]=(this[n][1]-s.x)*t/s.width+s.x:"V"===e?this[n][1]=(this[n][1]-s.y)*i/s.height+s.y:"C"===e||"S"===e||"Q"===e?(this[n][1]=(this[n][1]-s.x)*t/s.width+s.x,this[n][2]=(this[n][2]-s.y)*i/s.height+s.y,this[n][3]=(this[n][3]-s.x)*t/s.width+s.x,this[n][4]=(this[n][4]-s.y)*i/s.height+s.y,"C"===e&&(this[n][5]=(this[n][5]-s.x)*t/s.width+s.x,this[n][6]=(this[n][6]-s.y)*i/s.height+s.y)):"A"===e&&(this[n][1]=this[n][1]*t/s.width,this[n][2]=this[n][2]*i/s.height,this[n][6]=(this[n][6]-s.x)*t/s.width+s.x,this[n][7]=(this[n][7]-s.y)*i/s.height+s.y);return this}toString(){return function(t){let i="";for(let s=0,n=t.length;s<n;s++)i+=t[s][0],null!=t[s][1]&&(i+=t[s][1],null!=t[s][2]&&(i+=" ",i+=t[s][2],null!=t[s][3]&&(i+=" ",i+=t[s][3],i+=" ",i+=t[s][4],null!=t[s][5]&&(i+=" ",i+=t[s][5],i+=" ",i+=t[s][6],null!=t[s][7]&&(i+=" ",i+=t[s][7])))));return i+" "}(this)}}const ui=t=>{const i=typeof t;return"number"===i?gt:"string"===i?U.isColor(t)?U:Y.test(t)?G.test(t)?oi:pt:S.test(t)?gt:li:Ci.indexOf(t.constructor)>-1?t.constructor:Array.isArray(t)?pt:"object"===i?di:li};class ci{constructor(t){this._stepper=t||new qt("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(t,i){return t&&i}),!0)}from(t){return null==t?this._from:(this._from=this._set(t),this)}stepper(t){return null==t?this._stepper:(this._stepper=t,this)}to(t){return null==t?this._to:(this._to=this._set(t),this)}type(t){return null==t?this._type:(this._type=t,this)}_set(t){this._type||this.type(ui(t));let i=new this._type(t);return this._type===U&&(i=this._to?i[this._to[4]]():this._from?i[this._from[4]]():i),this._type===di&&(i=this._to?i.align(this._to):this._from?i.align(this._from):i),i=i.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(i.length)).map(Object).map((function(t){return t.done=!0,t})),i}}class li{constructor(...t){this.init(...t)}init(t){return t=Array.isArray(t)?t[0]:t,this.value=t,this}toArray(){return[this.value]}valueOf(){return this.value}}class ai{constructor(...t){this.init(...t)}init(t){return Array.isArray(t)&&(t={scaleX:t[0],scaleY:t[1],shear:t[2],rotate:t[3],translateX:t[4],translateY:t[5],originX:t[6],originY:t[7]}),Object.assign(this,ai.defaults,t),this}toArray(){const t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]}}ai.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const fi=(t,i)=>t[0]<i[0]?-1:t[0]>i[0]?1:0;class di{constructor(...t){this.init(...t)}align(t){const i=this.values;for(let s=0,n=i.length;s<n;++s){if(i[s+1]===t[s+1]){if(i[s+1]===U&&t[s+7]!==i[s+7]){const i=t[s+7],n=new U(this.values.splice(s+3,5))[i]().toArray();this.values.splice(s+3,0,...n)}s+=i[s+2]+2;continue}if(!t[s+1])return this;const n=(new t[s+1]).toArray();i.splice(s,i[s+2]+3,t[s],t[s+1],t[s+2],...n),s+=i[s+2]+2}return this}init(t){if(this.values=[],Array.isArray(t))return void(this.values=t.slice());t=t||{};const i=[];for(const s in t){const n=ui(t[s]),e=new n(t[s]).toArray();i.push([s,n,e.length,...e])}return i.sort(fi),this.values=i.reduce(((t,i)=>t.concat(i)),[]),this}toArray(){return this.values}valueOf(){const t={},i=this.values;for(;i.length;){const s=i.shift(),n=i.shift(),e=i.shift(),r=i.splice(0,e);t[s]=new n(r)}return t}}const Ci=[li,ai,di];class wi extends _t{constructor(t,i=t){super(k("path",t),i)}array(){return this._array||(this._array=new oi(this.attr("d")))}clear(){return delete this._array,this}height(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}move(t,i){return this.attr("d",this.array().move(t,i))}plot(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new oi(t))}size(t,i){const s=C(this,t,i);return this.attr("d",this.array().size(s.width,s.height))}width(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)}x(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)}y(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)}}wi.prototype.MorphArray=oi,h({Container:{path:H((function(t){return this.put(new wi).plot(t||new oi)}))}}),A(wi,"Path");var pi={__proto__:null,array:function(){return this._array||(this._array=new Pt(this.attr("points")))},clear:function(){return delete this._array,this},move:function(t,i){return this.attr("points",this.array().move(t,i))},plot:function(t){return null==t?this.array():this.clear().attr("points","string"==typeof t?t:this._array=new Pt(t))},size:function(t,i){const s=C(this,t,i);return this.attr("points",this.array().size(s.width,s.height))}};class gi extends _t{constructor(t,i=t){super(k("polygon",t),i)}}h({Container:{polygon:H((function(t){return this.put(new gi).plot(t||new Pt)}))}}),T(gi,Rt),T(gi,pi),A(gi,"Polygon");class mi extends _t{constructor(t,i=t){super(k("polyline",t),i)}}h({Container:{polyline:H((function(t){return this.put(new mi).plot(t||new Pt)}))}}),T(mi,Rt),T(mi,pi),A(mi,"Polyline");class yi extends _t{constructor(t,i=t){super(k("rect",t),i)}}T(yi,{rx:kt,ry:jt}),h({Container:{rect:H((function(t,i){return this.put(new yi).size(t,i)}))}}),A(yi,"Rect");class xi{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(t){const i=void 0!==t.next?t:{value:t,next:null,prev:null};return this._last?(i.prev=this._last,this._last.next=i,this._last=i):(this._last=i,this._first=i),i}remove(t){t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next),t.prev=null,t.next=null}shift(){const t=this._first;return t?(this._first=t.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,t.value):null}}const vi={nextDraw:null,frames:new xi,timeouts:new xi,immediates:new xi,timer:()=>y.window.performance||y.window.Date,transforms:[],frame(t){const i=vi.frames.push({run:t});return null===vi.nextDraw&&(vi.nextDraw=y.window.requestAnimationFrame(vi._draw)),i},timeout(t,i){i=i||0;const s=vi.timer().now()+i,n=vi.timeouts.push({run:t,time:s});return null===vi.nextDraw&&(vi.nextDraw=y.window.requestAnimationFrame(vi._draw)),n},immediate(t){const i=vi.immediates.push(t);return null===vi.nextDraw&&(vi.nextDraw=y.window.requestAnimationFrame(vi._draw)),i},cancelFrame(t){null!=t&&vi.frames.remove(t)},clearTimeout(t){null!=t&&vi.timeouts.remove(t)},cancelImmediate(t){null!=t&&vi.immediates.remove(t)},_draw(t){let i=null;const s=vi.timeouts.last();for(;(i=vi.timeouts.shift())&&(t>=i.time?i.run():vi.timeouts.push(i),i!==s););let n=null;const e=vi.frames.last();for(;n!==e&&(n=vi.frames.shift());)n.run(t);let r=null;for(;r=vi.immediates.shift();)r();vi.nextDraw=vi.timeouts.first()||vi.frames.first()?y.window.requestAnimationFrame(vi._draw):null}},bi=function(t){const i=t.start,s=t.runner.duration();return{start:i,duration:s,end:i+s,runner:t.runner}},Mi=function(){const t=y.window;return(t.performance||t.Date).now()};class _i extends dt{constructor(t=Mi){super(),this._timeSource=t,this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const t=this.getLastRunnerInfo(),i=t?t.runner.duration():0;return(t?t.start:this._time)+i}getEndTimeOfTimeline(){const t=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...t)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(t){return this._runners[this._runnerIds.indexOf(t)]||null}pause(){return this._paused=!0,this._continue()}persist(t){return null==t?this._persist:(this._persist=t,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(t){const i=this.speed();if(null==t)return this.speed(-i);const s=Math.abs(i);return this.speed(t?-s:s)}schedule(t,i,s){if(null==t)return this._runners.map(bi);let n=0;const e=this.getEndTime();if(i=i||0,null==s||"last"===s||"after"===s)n=e;else if("absolute"===s||"start"===s)n=i,i=0;else if("now"===s)n=this._time;else if("relative"===s){const s=this.getRunnerInfoById(t.id);s&&(n=s.start+i,i=0)}else{if("with-last"!==s)throw new Error('Invalid value for the "when" parameter');{const t=this.getLastRunnerInfo();n=t?t.start:this._time}}t.unschedule(),t.timeline(this);const r=t.persist(),h={persist:null===r?this._persist:r,start:n+i,runner:t};return this._lastRunnerId=t.id,this._runners.push(h),this._runners.sort(((t,i)=>t.start-i.start)),this._runnerIds=this._runners.map((t=>t.runner.id)),this.updateTime()._continue(),this}seek(t){return this.time(this._time+t)}source(t){return null==t?this._timeSource:(this._timeSource=t,this)}speed(t){return null==t?this._speed:(this._speed=t,this)}stop(){return this.time(0),this.pause()}time(t){return null==t?this._time:(this._time=t,this._continue(!0))}unschedule(t){const i=this._runnerIds.indexOf(t.id);return i<0||(this._runners.splice(i,1),this._runnerIds.splice(i,1),t.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(t=!1){return vi.cancelFrame(this._nextFrame),this._nextFrame=null,t?this._stepImmediate():(this._paused||(this._nextFrame=vi.frame(this._step)),this)}_stepFn(t=!1){const i=this._timeSource();let s=i-this._lastSourceTime;t&&(s=0);const n=this._speed*s+(this._time-this._lastStepTime);this._lastSourceTime=i,t||(this._time+=n,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let t=this._runners.length;t--;){const i=this._runners[t],s=i.runner;this._time-i.start<=0&&s.reset()}let e=!1;for(let t=0,i=this._runners.length;t<i;t++){const s=this._runners[t],r=s.runner;let h=n;const o=this._time-s.start;o<=0?e=!0:(o<h&&(h=o),r.active()&&(r.step(h).done?!0!==s.persist&&r.duration()-r.time()+this._time+s.persist<this._time&&(r.unschedule(),--t,--i):e=!0))}return e&&!(this._speed<0&&0===this._time)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}}h({Element:{timeline:function(t){return null==t?(this._timeline=this._timeline||new _i,this._timeline):(this._timeline=t,this)}}});class ki extends dt{constructor(t){super(),this.id=ki.id++,t="function"==typeof(t=null==t?400:t)?new Ut(t):t,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration="number"==typeof t&&t,this._isDeclarative=t instanceof Ut,this._stepper=this._isDeclarative?t:new qt,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new K,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(t,i,s){let n=1,e=!1,r=0;return i=i||0,s=s||"last","object"!=typeof(t=t||400)||t instanceof Qt||(i=t.delay||i,s=t.when||s,e=t.swing||e,n=t.times||n,r=t.wait||r,t=t.duration||400),{duration:t,delay:i,swing:e,times:n,wait:r,when:s}}active(t){return null==t?this.enabled:(this.enabled=t,this)}addTransform(t,i){return this.transforms.lmultiplyO(t),this}after(t){return this.on("finished",t)}animate(t,i,s){const n=ki.sanitise(t,i,s),e=new ki(n.duration);return this._timeline&&e.timeline(this._timeline),this._element&&e.element(this._element),e.loop(n).schedule(n.delay,n.when)}clearTransform(){return this.transforms=new K,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((t=>!t.isTransform)))}delay(t){return this.animate(0,t)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(t){return this.queue(null,t)}ease(t){return this._stepper=new qt(t),this}element(t){return null==t?this._element:(this._element=t,t._prepareRunner(),this)}finish(){return this.step(1/0)}loop(t,i,s){return"object"==typeof t&&(i=t.swing,s=t.wait,t=t.times),this._times=t||1/0,this._swing=i||!1,this._wait=s||0,!0===this._times&&(this._times=1/0),this}loops(t){const i=this._duration+this._wait;if(null==t){const t=Math.floor(this._time/i);return Math.min(t+(this._time-t*i)/this._duration,this._times)}const s=Math.floor(t);return this.time(i*s+this._duration*(t%1))}persist(t){return null==t?this._persist:(this._persist=t,this)}position(t){const i=this._time,s=this._duration,n=this._wait,e=this._swing,r=this._reverse;let h;if(null==t){const t=function(t){const i=e*Math.floor(t%(2*(n+s))/(n+s)),h=i&&!r||!i&&r,o=Math.pow(-1,h)*(t%(n+s))/s+h;return Math.max(Math.min(o,1),0)},o=this._times*(n+s)-n;return h=i<=0?Math.round(t(1e-5)):i<o?t(i):Math.round(t(o-1e-5)),h}const o=Math.floor(this.loops()),u=e&&o%2==0;return h=o+(u&&!r||r&&u?t:1-t),this.loops(h)}progress(t){return null==t?Math.min(1,this._time/this.duration()):this.time(t*this.duration())}queue(t,i,s,n){return this._queue.push({initialiser:t||Ct,runner:i||Ct,retarget:s,isTransform:n,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(t){return this._reverse=null==t?!this._reverse:t,this}schedule(t,i,s){if(t instanceof _i||(s=i,i=t,t=this.timeline()),!t)throw Error("Runner cannot be scheduled without timeline");return t.schedule(this,i,s),this}step(t){if(!this.enabled)return this;this._time+=t=null==t?16:t;const i=this.position(),s=this._lastPosition!==i&&this._time>=0;this._lastPosition=i;const n=this.duration(),e=this._lastTime<=0&&this._time>0,r=this._lastTime<n&&this._time>=n;this._lastTime=this._time,e&&this.fire("start",this);const h=this._isDeclarative;this.done=!h&&!r&&this._time>=n,this._reseted=!1;let o=!1;return(s||h)&&(this._initialise(s),this.transforms=new K,o=this._run(h?t:i),this.fire("step",this)),this.done=this.done||o&&h,r&&this.fire("finished",this),this}time(t){return null==t?this._time:(this.step(t-this._time),this)}timeline(t){return void 0===t?this._timeline:(this._timeline=t,this)}unschedule(){const t=this.timeline();return t&&t.unschedule(this),this}_initialise(t){if(t||this._isDeclarative)for(let i=0,s=this._queue.length;i<s;++i){const s=this._queue[i],n=this._isDeclarative||!s.initialised&&t;t=!s.finished,n&&t&&(s.initialiser.call(this),s.initialised=!0)}}_rememberMorpher(t,i){if(this._history[t]={morpher:i,caller:this._queue[this._queue.length-1]},this._isDeclarative){const t=this.timeline();t&&t.play()}}_run(t){let i=!0;for(let s=0,n=this._queue.length;s<n;++s){const n=this._queue[s],e=n.runner.call(this,t);n.finished=n.finished||!0===e,i=i&&n.finished}return i}_tryRetarget(t,i,s){if(this._history[t]){if(!this._history[t].caller.initialised){const i=this._queue.indexOf(this._history[t].caller);return this._queue.splice(i,1),!1}this._history[t].caller.retarget?this._history[t].caller.retarget.call(this,i,s):this._history[t].morpher.to(i),this._history[t].caller.finished=!1;const n=this.timeline();return n&&n.play(),!0}return!1}}ki.id=0;class ji{constructor(t=new K,i=-1,s=!0){this.transforms=t,this.id=i,this.done=s}clearTransformsFromQueue(){}}T([ki,ji],{mergeWith(t){return new ji(t.transforms.lmultiply(this.transforms),t.id)}});const Li=(t,i)=>t.lmultiplyO(i),Ai=t=>t.transforms;function Oi(){const t=this._transformationRunners.runners.map(Ai).reduce(Li,new K);this.transform(t),this._transformationRunners.merge(),1===this._transformationRunners.length()&&(this._frameId=null)}class Ei{constructor(){this.runners=[],this.ids=[]}add(t){if(this.runners.includes(t))return;const i=t.id+1;return this.runners.push(t),this.ids.push(i),this}clearBefore(t){const i=this.ids.indexOf(t+1)||1;return this.ids.splice(0,i,0),this.runners.splice(0,i,new ji).forEach((t=>t.clearTransformsFromQueue())),this}edit(t,i){const s=this.ids.indexOf(t+1);return this.ids.splice(s,1,t+1),this.runners.splice(s,1,i),this}getByID(t){return this.runners[this.ids.indexOf(t+1)]}length(){return this.ids.length}merge(){let t=null;for(let i=0;i<this.runners.length;++i){const s=this.runners[i];if(!(t&&s.done&&t.done)||s._timeline&&s._timeline._runnerIds.includes(s.id)||t._timeline&&t._timeline._runnerIds.includes(t.id))t=s;else{this.remove(s.id);const n=s.mergeWith(t);this.edit(t.id,n),t=n,--i}}return this}remove(t){const i=this.ids.indexOf(t+1);return this.ids.splice(i,1),this.runners.splice(i,1),this}}h({Element:{animate(t,i,s){const n=ki.sanitise(t,i,s),e=this.timeline();return new ki(n.duration).loop(n).element(this).timeline(e.play()).schedule(n.delay,n.when)},delay(t,i){return this.animate(0,t,i)},_clearTransformRunnersBefore(t){this._transformationRunners.clearBefore(t.id)},_currentTransform(t){return this._transformationRunners.runners.filter((i=>i.id<=t.id)).map(Ai).reduce(Li,new K)},_addRunner(t){this._transformationRunners.add(t),vi.cancelImmediate(this._frameId),this._frameId=vi.immediate(Oi.bind(this))},_prepareRunner(){null==this._frameId&&(this._transformationRunners=(new Ei).add(new ji(new K(this))))}}}),T(ki,{attr(t,i){return this.styleAttr("attr",t,i)},css(t,i){return this.styleAttr("css",t,i)},styleAttr(t,i,s){if("string"==typeof i)return this.styleAttr(t,{[i]:s});let n=i;if(this._tryRetarget(t,n))return this;let e=new ci(this._stepper).to(n),r=Object.keys(n);return this.queue((function(){e=e.from(this.element()[t](r))}),(function(i){return this.element()[t](e.at(i).valueOf()),e.done()}),(function(i){const s=Object.keys(i),h=(o=r,s.filter((t=>!o.includes(t))));var o;if(h.length){const i=this.element()[t](h),s=new di(e.from()).valueOf();Object.assign(s,i),e.from(s)}const u=new di(e.to()).valueOf();Object.assign(u,i),e.to(u),r=s,n=i})),this._rememberMorpher(t,e),this},zoom(t,i){if(this._tryRetarget("zoom",t,i))return this;let s=new ci(this._stepper).to(new gt(t));return this.queue((function(){s=s.from(this.element().zoom())}),(function(t){return this.element().zoom(s.at(t),i),s.done()}),(function(t,n){i=n,s.to(t)})),this._rememberMorpher("zoom",s),this},transform(t,i,s){if(i=t.relative||i,this._isDeclarative&&!i&&this._tryRetarget("transform",t))return this;const n=K.isMatrixLike(t);s=null!=t.affine?t.affine:null!=s?s:!n;const e=new ci(this._stepper).type(s?ai:K);let r,h,o,u,c;return this.queue((function(){h=h||this.element(),r=r||w(t,h),c=new K(i?void 0:h),h._addRunner(this),i||h._clearTransformRunnersBefore(this)}),(function(l){i||this.clearTransform();const{x:a,y:f}=new J(r).transform(h._currentTransform(this));let d=new K({...t,origin:[a,f]}),C=this._isDeclarative&&o?o:c;if(s){d=d.decompose(a,f),C=C.decompose(a,f);const t=d.rotate,i=C.rotate,s=[t-360,t,t+360],n=s.map((t=>Math.abs(t-i))),e=Math.min(...n),r=n.indexOf(e);d.rotate=s[r]}i&&(n||(d.rotate=t.rotate||0),this._isDeclarative&&u&&(C.rotate=u)),e.from(C),e.to(d);const w=e.at(l);return u=w.rotate,o=new K(w),this.addTransform(o),h._addRunner(this),e.done()}),(function(i){(i.origin||"center").toString()!==(t.origin||"center").toString()&&(r=w(i,h)),t={...i,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",e),this},x(t,i){return this._queueNumber("x",t)},y(t){return this._queueNumber("y",t)},dx(t=0){return this._queueNumberDelta("x",t)},dy(t=0){return this._queueNumberDelta("y",t)},dmove(t,i){return this.dx(t).dy(i)},_queueNumberDelta(t,i){if(i=new gt(i),this._tryRetarget(t,i))return this;const s=new ci(this._stepper).to(i);let n=null;return this.queue((function(){n=this.element()[t](),s.from(n),s.to(n+i)}),(function(i){return this.element()[t](s.at(i)),s.done()}),(function(t){s.to(n+new gt(t))})),this._rememberMorpher(t,s),this},_queueObject(t,i){if(this._tryRetarget(t,i))return this;const s=new ci(this._stepper).to(i);return this.queue((function(){s.from(this.element()[t]())}),(function(i){return this.element()[t](s.at(i)),s.done()})),this._rememberMorpher(t,s),this},_queueNumber(t,i){return this._queueObject(t,new gt(i))},cx(t){return this._queueNumber("cx",t)},cy(t){return this._queueNumber("cy",t)},move(t,i){return this.x(t).y(i)},center(t,i){return this.cx(t).cy(i)},size(t,i){let s;return t&&i||(s=this._element.bbox()),t||(t=s.width/s.height*i),i||(i=s.height/s.width*t),this.width(t).height(i)},width(t){return this._queueNumber("width",t)},height(t){return this._queueNumber("height",t)},plot(t,i,s,n){if(4===arguments.length)return this.plot([t,i,s,n]);if(this._tryRetarget("plot",t))return this;const e=new ci(this._stepper).type(this._element.MorphArray).to(t);return this.queue((function(){e.from(this._element.array())}),(function(t){return this._element.plot(e.at(t)),e.done()})),this._rememberMorpher("plot",e),this},leading(t){return this._queueNumber("leading",t)},viewbox(t,i,s,n){return this._queueObject("viewbox",new st(t,i,s,n))},update(t){return"object"!=typeof t?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset),this)}}),T(ki,{rx:kt,ry:jt,from:Dt,to:zt}),A(ki,"Runner");class Vi extends bt{constructor(t,i=t){super(k("svg",t),i),this.namespace()}defs(){return this.isRoot()?j(this.node.querySelector("defs"))||this.put(new Mt):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof y.window.SVGElement)&&"#document-fragment"!==this.node.parentNode.nodeName}namespace(){return this.isRoot()?this.attr({xmlns:p,version:"1.1"}).attr("xmlns:xlink",m,g).attr("xmlns:svgjs","http://svgjs.dev/svgjs",g):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,g).attr("xmlns:svgjs",null,g)}root(){return this.isRoot()?this:super.root()}}h({Container:{nested:H((function(){return this.put(new Vi)}))}}),A(Vi,"Svg",!0);class Ti extends bt{constructor(t,i=t){super(k("symbol",t),i)}}h({Container:{symbol:H((function(){return this.put(new Ti)}))}}),A(Ti,"Symbol");var Hi={__proto__:null,plain:function(t){return!1===this._build&&this.clear(),this.node.appendChild(y.document.createTextNode(t)),this},length:function(){return this.node.getComputedTextLength()},x:function(t,i=this.bbox()){return null==t?i.x:this.attr("x",this.attr("x")+t-i.x)},y:function(t,i=this.bbox()){return null==t?i.y:this.attr("y",this.attr("y")+t-i.y)},move:function(t,i,s=this.bbox()){return this.x(t,s).y(i,s)},cx:function(t,i=this.bbox()){return null==t?i.cx:this.attr("x",this.attr("x")+t-i.cx)},cy:function(t,i=this.bbox()){return null==t?i.cy:this.attr("y",this.attr("y")+t-i.cy)},center:function(t,i,s=this.bbox()){return this.cx(t,s).cy(i,s)},ax:function(t){return this.attr("x",t)},ay:function(t){return this.attr("y",t)},amove:function(t,i){return this.ax(t).ay(i)},build:function(t){return this._build=!!t,this}};class Si extends _t{constructor(t,i=t){super(k("text",t),i),this.dom.leading=new gt(1.3),this._rebuild=!0,this._build=!1}leading(t){return null==t?this.dom.leading:(this.dom.leading=new gt(t),this.rebuild())}rebuild(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){const t=this;let i=0;const s=this.dom.leading;this.each((function(n){const e=y.window.getComputedStyle(this.node).getPropertyValue("font-size"),r=s*new gt(e);this.dom.newLined&&(this.attr("x",t.attr("x")),"\n"===this.text()?i+=r:(this.attr("dy",n?r+i:0),i=0))})),this.fire("rebuild")}return this}setData(t){return this.dom=t,this.dom.leading=new gt(t.leading||1.3),this}text(t){if(void 0===t){const i=this.node.childNodes;let s=0;t="";for(let n=0,e=i.length;n<e;++n)"textPath"!==i[n].nodeName?(n!==s&&3!==i[n].nodeType&&!0===j(i[n]).dom.newLined&&(t+="\n"),t+=i[n].textContent):0===n&&(s=1);return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else for(let i=0,s=(t=(t+"").split("\n")).length;i<s;i++)this.newLine(t[i]);return this.build(!1).rebuild()}}T(Si,Hi),h({Container:{text:H((function(t=""){return this.put(new Si).text(t)})),plain:H((function(t=""){return this.put(new Si).plain(t)}))}}),A(Si,"Text");class Bi extends _t{constructor(t,i=t){super(k("tspan",t),i),this._build=!1}dx(t){return this.attr("dx",t)}dy(t){return this.attr("dy",t)}newLine(){this.dom.newLined=!0;const t=this.parent();if(!(t instanceof Si))return this;const i=t.index(this),s=y.window.getComputedStyle(this.node).getPropertyValue("font-size"),n=t.dom.leading*new gt(s);return this.dy(i?n:0).attr("x",t.x())}text(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?(this.clear().build(!0),t.call(this,this),this.build(!1)):this.plain(t),this)}}T(Bi,Hi),h({Tspan:{tspan:H((function(t=""){const i=new Bi;return this._build||this.clear(),this.put(i).text(t)}))},Text:{newLine:function(t=""){return this.tspan(t).newLine()}}}),A(Bi,"Tspan");class Di extends _t{constructor(t,i=t){super(k("circle",t),i)}radius(t){return this.attr("r",t)}rx(t){return this.attr("r",t)}ry(t){return this.rx(t)}size(t){return this.radius(new gt(t).divide(2))}}T(Di,{x:Lt,y:At,cx:Ot,cy:Et,width:Vt,height:Tt}),h({Container:{circle:H((function(t=0){return this.put(new Di).size(t).move(0,0)}))}}),A(Di,"Circle");class zi extends bt{constructor(t,i=t){super(k("clipPath",t),i)}remove(){return this.targets().forEach((function(t){t.unclip()})),super.remove()}targets(){return ht("svg [clip-path*="+this.id()+"]")}}h({Container:{clip:H((function(){return this.defs().put(new zi)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(t){const i=t instanceof zi?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+i.id()+")")},unclip(){return this.attr("clip-path",null)}}}),A(zi,"ClipPath");class Zi extends xt{constructor(t,i=t){super(k("foreignObject",t),i)}}h({Container:{foreignObject:H((function(t,i){return this.put(new Zi).size(t,i)}))}}),A(Zi,"ForeignObject");var Fi={__proto__:null,dmove:function(t,i){return this.children().forEach((s=>{let n;try{n=s.bbox()}catch(t){return}const e=new K(s),r=e.translate(t,i).transform(e.inverse()),h=new J(n.x,n.y).transform(r);s.move(h.x,h.y)})),this},dx:function(t){return this.dmove(t,0)},dy:function(t){return this.dmove(0,t)},height:function(t,i=this.bbox()){return null==t?i.height:this.size(i.width,t,i)},move:function(t=0,i=0,s=this.bbox()){return this.dmove(t-s.x,i-s.y)},size:function(t,i,s=this.bbox()){const n=C(this,t,i,s),e=n.width/s.width,r=n.height/s.height;return this.children().forEach((t=>{const i=new J(s).transform(new K(t).inverse());t.scale(e,r,i.x,i.y)})),this},width:function(t,i=this.bbox()){return null==t?i.width:this.size(t,i.height,i)},x:function(t,i=this.bbox()){return null==t?i.x:this.move(t,i.y,i)},y:function(t,i=this.bbox()){return null==t?i.y:this.move(i.x,t,i)}};class $i extends bt{constructor(t,i=t){super(k("g",t),i)}}T($i,Fi),h({Container:{group:H((function(){return this.put(new $i)}))}}),A($i,"G");class Ni extends bt{constructor(t,i=t){super(k("a",t),i)}target(t){return this.attr("target",t)}to(t){return this.attr("href",t,m)}}T(Ni,Fi),h({Container:{link:H((function(t){return this.put(new Ni).to(t)}))},Element:{unlink(){const t=this.linker();if(!t)return this;const i=t.parent();if(!i)return this.remove();const s=i.index(t);return i.add(this,s),t.remove(),this},linkTo(t){let i=this.linker();return i||(i=new Ni,this.wrap(i)),"function"==typeof t?t.call(i,i):i.to(t),this},linker(){const t=this.parent();return t&&"a"===t.node.nodeName.toLowerCase()?t:null}}}),A(Ni,"A");class Pi extends bt{constructor(t,i=t){super(k("mask",t),i)}remove(){return this.targets().forEach((function(t){t.unmask()})),super.remove()}targets(){return ht("svg [mask*="+this.id()+"]")}}h({Container:{mask:H((function(){return this.defs().put(new Pi)}))},Element:{masker(){return this.reference("mask")},maskWith(t){const i=t instanceof Pi?t:this.parent().mask().add(t);return this.attr("mask","url(#"+i.id()+")")},unmask(){return this.attr("mask",null)}}}),A(Pi,"Mask");class Ri extends xt{constructor(t,i=t){super(k("stop",t),i)}update(t){return("number"==typeof t||t instanceof gt)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new gt(t.offset)),this}}h({Gradient:{stop:function(t,i,s){return this.put(new Ri).update(t,i,s)}}}),A(Ri,"Stop");class Ii extends xt{constructor(t,i=t){super(k("style",t),i)}addText(t=""){return this.node.textContent+=t,this}font(t,i,s={}){return this.rule("@font-face",{fontFamily:t,src:i,...s})}rule(t,i){return this.addText(function(t,i){if(!t)return"";if(!i)return t;let s=t+"{";for(const t in i)s+=t.replace(/([A-Z])/g,(function(t,i){return"-"+i.toLowerCase()}))+":"+i[t]+";";return s+="}",s}(t,i))}}h("Dom",{style(t,i){return this.put(new Ii).rule(t,i)},fontface(t,i,s){return this.put(new Ii).font(t,i,s)}}),A(Ii,"Style");class Yi extends Si{constructor(t,i=t){super(k("textPath",t),i)}array(){const t=this.track();return t?t.array():null}plot(t){const i=this.track();let s=null;return i&&(s=i.plot(t)),null==t?s:this}track(){return this.reference("href")}}h({Container:{textPath:H((function(t,i){return t instanceof Si||(t=this.text(t)),t.path(i)}))},Text:{path:H((function(t,i=!0){const s=new Yi;let n;if(t instanceof wi||(t=this.defs().path(t)),s.attr("href","#"+t,m),i)for(;n=this.node.firstChild;)s.node.appendChild(n);return this.put(s)})),textPath(){return this.findOne("textPath")}},Path:{text:H((function(t){return t instanceof Si||(t=(new Si).addTo(this.parent()).text(t)),t.path(this)})),targets(){return ht("svg textPath").filter((t=>(t.attr("href")||"").includes(this.id())))}}}),Yi.prototype.MorphArray=oi,A(Yi,"TextPath");class Gi extends _t{constructor(t,i=t){super(k("use",t),i)}use(t,i){return this.attr("href",(i||"")+"#"+t,m)}}h({Container:{use:H((function(t,i){return this.put(new Gi).use(t,i)}))}}),A(Gi,"Use");const Xi=_;function Qi(){let t,i={entities:[]},s=[];function n(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function e(t,i){const s=t.entity.attr("width"),n=t.entity.attr("x");switch(i){case"top":case"bottom":return n+s/2;default:return n-s/2}}function r(t,i){const s=t.entity.attr("height"),n=t.entity.attr("y");switch(i){case"top":return n;case"bottom":return n+s;default:return n}}function h(){t.entities.forEach((t=>t.remove())),t.entities=[],s=[],i.labels||(i.labels=[]),i.labels=i.labels.map((t=>({id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"}))),i.entities.map((t=>{t.type=t.type?t.type:"entity","operation"===t.type&&(t.height=t.width)})),i.labels&&i.labels.length>0&&i.labels.forEach((i=>{t.labels.text(i.value).x(i.x).y(i.y)})),i.entities.forEach((i=>function(t,i){const s=t.group().attr({id:i.id});t.entities.push(s),i.background_color=i.background_color?i.background_color:"#f06",i.color=i.color?i.color:"#ffffff",i.radius=i.radius?i.radius:0,s.entity=s.rect(i.width,i.height).cx(i.width/2).cy(i.height/2).attr({fill:"#ffffff",stroke:i.color,"stroke-width":2}).radius(i.radius),i.class&&s.entity.attr("class",i.class),s.plain(i.text).cx(14).cy(i.height/2+6).attr({fill:i.color}),s.move(i.x,i.y)}(t,i))),s=i.lines,function(t,i){i.forEach((i=>function(t,i){let s="";const h=i.color||"#4c56cb",o=t.findOne("#"+i.from.element),u=t.findOne("#"+i.to.element),c=function(t,i,s){const h=[],o=r(i,t.from.point),u=r(s,t.to.point),c=e(i,t.from.point),l=e(s,t.to.point),a=n(t.from.point)-n(t.to.point);return 0===a&&("top"===t.from.point?o<=u?(h.push({x:c,y:o-20}),h.push({x:l,y:o-20})):(h.push({x:c,y:u-20}),h.push({x:l,y:u-20})):"bottom"===t.from.point?o<=u?(h.push({x:c,y:u+20}),h.push({x:l,y:u+20})):(h.push({x:c,y:o+20}),h.push({x:l,y:o+20})):c<=l?(h.push({x:l+20,y:o}),h.push({x:l+20,y:u})):(h.push({x:c+20,y:o}),h.push({x:c+20,y:u}))),2!==a&&-2!==a||c!==l&&(h.push({x:c,y:u+(o-u)/2}),h.push({x:l,y:u+(o-u)/2})),1!==a&&-1!==a&&3!==a&&-3!==a||("top"===t.from.point&&(o<u+20?(h.push({x:c,y:o-20}),h.push({x:l+20,y:o-20}),h.push({x:l+20,y:u})):h.push({x:c,y:u})),"bottom"===t.from.point&&(o>u-20?(h.push({x:c,y:o+20}),h.push({x:l+20,y:o+20}),h.push({x:l+20,y:u})):h.push({x:c,y:u}))),h}(i,o,u);s+=e(o,i.from.point)+","+r(o,i.from.point)+" ",c.forEach((t=>s+=t.x+","+t.y+" ")),s+=e(u,i.to.point)+","+r(u,i.to.point)+" ",i.polyline?i.polyline.plot(s):i.polyline=t.lines.polyline(s).fill("none").stroke({color:h,width:2,linecap:"round",linejoin:"round"}).attr("id",i.id)}(t,i)))}(t,s)}return{initalize:function(i,s,n){t=Xi().addTo(i).size(s,n),t.entities=[],t.lines=t.group(),t.labels=t.group()},update:function(t){i=t,h()}}}T([Vi,Ti,Nt,$t,Yt],o("viewbox")),T([It,mi,gi,wi],o("marker")),T(Si,o("Text")),T(wi,o("Path")),T(Mt,o("Defs")),T([Si,Bi],o("Tspan")),T([yi,St,Ft,ki],o("radius")),T(dt,o("EventTarget")),T(yt,o("Dom")),T(xt,o("Element")),T(_t,o("Shape")),T([bt,Bt],o("Container")),T(Ft,o("Gradient")),T(ki,o("Runner")),et.extend([...new Set(r)]),function(t=[]){Ci.push(...[].concat(t))}([gt,U,st,K,pt,Pt,oi,J]),T(Ci,{to(t){return(new ci).type(this.constructor).from(this.toArray()).to(t)},fromArray(t){return this.init(t),this},toConsumable(){return this.toArray()},morph(t,i,s,n,e){return this.fromArray(t.map((function(t,r){return n.step(t,i[r],s,e[r],e)})))}});const qi='<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>',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>',Ji=class{constructor(i){t(this,i),this.recipientStatusIcons=[],this.size="normal",this.theme="light",this.status=void 0,this.envelope=void 0,this.isOpen=void 0,this.containerId=`verdocs-status-indicator-${Math.random().toString(36).substring(2,11)}`}componentDidLoad(){var t;if(this.popper=n(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]}),null===(t=this.envelope)||void 0===t?void 0:t.recipients){const t=[];this.envelope.recipients.forEach((i=>{const s=i.sequence-1;t[s]||(t[s]=[]);const n=`r-${s}-${t[s].length}`;t[s].push({...i,id:n})}));const i=Object.keys(t).length,s=40*i+40*(i+1);let n=0;Object.values(t).forEach((t=>{let i=140*t.length+40*(t.length+1);i>n&&(n=i)}));const e=[],r=[],h=[];let o=40;Object.entries(t).forEach((([i,s])=>{const u=20+(n-180*s.length)/2;s.forEach(((s,n)=>{var c;const[l,a]=(s.full_name||"Unknown").toUpperCase().split(" "),f=`${l} ${null==a?void 0:a.substring(0,1)}`,d={id:s.id,text:f,icon:this.getStatusIcon(s.status),x:180*n+u,y:o,width:140,height:40,color:this.getStatusColor(s.status),radius:8};e.push(d),h.push({icon:this.getStatusIcon(s.status),x:180*n+u+108,y:o+20-13}),null===(c=t[+i-1])||void 0===c||c.forEach((t=>{const i={id:`line-${t.id}-${d.id}`,from:{element:t.id,point:"bottom"},to:{element:d.id,point:"top"},color:this.getStatusColor(s.status)};r.push(i)}))})),o+=80})),this.recipientStatusIcons=h;const u=Qi();u.initalize(`#${this.containerId}`,n,s),u.update({entities:e,lines:r})}}showDropdown(){var t,i;this.isOpen=!0,this.detailPanel.setAttribute("data-show",""),this.detailPanel.removeAttribute("aria-hidden"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),null===(i=this.popper)||void 0===i||i.update()}handleHideDropdown(t){var i,s;"button"===(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.localName)&&"arrow"===(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.className)||this.hide()}toggleDropdown(){this.isOpen?this.hide():this.showDropdown()}hide(){var t;this.isOpen=!1,this.detailPanel.removeAttribute("data-show"),this.detailPanel.setAttribute("aria-hidden","true"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})))}getStatusColor(t){switch(t){case"invited":case"opened":case"accepted":case"signed":return"#654dcb";case"some-signed":case"submitted":case"complete":return"#55bc81";case"declined":return"#ff0000";case"canceled":case"in progress":case"pending":default:return"#999999"}}getStatusIcon(t){switch(t){case"accepted":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>';case"complete":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>';case"in progress":return"light"===this.theme?Ui:qi;case"canceled":return'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>';case"declined":return"light"===this.theme?'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>':'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>';case"invited":return"light"===this.theme?Ui:qi;case"opened":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>';case"signed":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>';case"submitted":return"light"===this.theme?'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>':'<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>';case"some-signed":return"light"===this.theme?'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>':'<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';default:case"pending":return"light"===this.theme?'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>':'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'}}getStatusMessage(t){switch(t){case"accepted":return"Accepted";case"complete":return"Completed";case"in progress":return"In Progress";case"canceled":return"Cancelled";case"declined":return"Declined";case"invited":return"Invited";case"opened":return"Opened";case"signed":return"Signed";case"submitted":return"Submitted";case"some-signed":return"Partly Signed";case"pending":return"Pending";default:return t}}render(){var t,n;let e=this.status||(null===(t=this.envelope)||void 0===t?void 0:t.status)||"pending";if(!this.status&&(null===(n=this.envelope)||void 0===n?void 0:n.recipients)){const t=this.envelope.recipients.filter((t=>"submitted"===t.status));t.length>0&&t.length!==this.envelope.recipients.length&&(e="some-signed")}const r=this.getStatusIcon(e),h=this.getStatusMessage(e);return i(s,{ref:t=>this.summaryComponent=t,class:`${this.theme} ${this.size} ${this.envelope?"has-document":""}`,"aria-label":"Click to View Details",onClick:t=>{t.stopPropagation(),t.preventDefault(),this.envelope&&this.toggleDropdown()},onBlur:t=>this.envelope&&this.handleHideDropdown(t)},i("span",{class:"icon",innerHTML:r}),i("span",{class:"content"},h),i("div",{class:"detail-panel",ref:t=>this.detailPanel=t},i("div",{id:`${this.containerId}`}),this.recipientStatusIcons.map((t=>i("span",{innerHTML:t.icon,style:{position:"absolute",top:`${t.y}px`,left:`${t.x}px`}})))))}};Ji.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}';export{Ji as verdocs_status_indicator}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,c as i,h as s,H as t}from"./p-14b44491.js";import{c as o}from"./p-dc2ad047.js";import{u as n}from"./p-29f64c27.js";import{r as l}from"./p-3cd894ff.js";import"./p-05788c2b.js";import{V as a}from"./p-2415be91.js";import{g as d}from"./p-321da456.js";import{F as r}from"./p-1b4e7078.js";import{V as c}from"./p-ed416acf.js";import{S as v}from"./p-7a1b2643.js";import{f as p}from"./p-c220af42.js";import"./p-7648c449.js";const h={visibility:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>',pencil:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>',mail:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',contact_mail:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>',done:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>',send:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>',gesture:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>',clear:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',check_circle:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>',link:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>',cancel:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>',done_all:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>',create:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>',perm_identity:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>',people:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>',contact_email:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>',textsms:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>',verified_user:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>',account_circle:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>'},w=class{constructor(s){e(this,s),this.sdkError=i(this,"sdkError",7),this.envelopeUpdated=i(this,"envelopeUpdated",7),this.toggle=i(this,"toggle",7),this.another=i(this,"another",7),this.store=null,this.endpoint=a.getDefault(),this.envelopeId="",this.activeTab=1,this.panelOpen=!1,this.showManageDialog=!1,this.showRecipientDialog="",this.showCancelDialog=!1,this.loading=!0}async componentWillLoad(){var e,i,s;try{if(this.endpoint.loadSession(),!this.envelopeId)return void console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);if(!this.endpoint.session)return void console.log("[SIDEBAR] Unable to start session, must be authenticated");this.store=await d(this.endpoint,this.envelopeId,!0),this.sortEnvelopeRecipients(),this.loading=!1}catch(t){console.log("[SIDEBAR] Error loading envelope",t),null===(e=this.sdkError)||void 0===e||e.emit(new v(t.message,null===(i=t.response)||void 0===i?void 0:i.status,null===(s=t.response)||void 0===s?void 0:s.data))}}sortEnvelopeRecipients(){var e,i;null===(i=null===(e=this.store)||void 0===e?void 0:e.state)||void 0===i||i.recipients.sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen,null===(i=this.toggle)||void 0===i||i.emit({open:this.panelOpen}),this.activeTab=e}canResendRecipient(e){var i,s;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes(null===(s=null===(i=this.store)||void 0===i?void 0:i.state)||void 0===s?void 0:s.status)}handleRecipientAction(e,i){var s,t;switch(console.log("[SIDEBAR] Recipient action",i,e),i){case"reminder":l(this.endpoint,this.envelopeId,e.role_name).then((()=>{c("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e),c("Error resending invitation: "+e.message,{style:"error"})}));break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":case"details":c("This feature will be enabled in a future release. Please try again later.",{style:"info"})}null===(s=this.envelopeUpdated)||void 0===s||s.emit({endpoint:this.endpoint,envelope:null===(t=this.store)||void 0===t?void 0:t.state,event:i})}cancelEnvelope(){this.loading=!0,o(this.endpoint,this.envelopeId).then((async e=>{var i,s;console.log("[SIDEBAR] Envelope canceled",e),c("Envelope canceled",{style:"success"}),this.store=await d(this.endpoint,this.envelopeId,!0),this.sortEnvelopeRecipients(),this.loading=!1,null===(i=this.envelopeUpdated)||void 0===i||i.emit({endpoint:this.endpoint,envelope:null===(s=this.store)||void 0===s?void 0:s.state,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e),this.loading=!1,c("Error canceling envelope: "+e.message,{style:"error"})}))}prepareHistoryEntries(){var e,i,s,t,o,n,l,a,d,r,c,v;const p=[],h=(null===(i=null===(e=this.store)||void 0===e?void 0:e.state)||void 0===i?void 0:i.histories)||[];p.push({icon:"pencil",message:"Envelope created.",date:new Date(null===(t=null===(s=this.store)||void 0===s?void 0:s.state)||void 0===t?void 0:t.created_at)}),"complete"===(null===(n=null===(o=this.store)||void 0===o?void 0:o.state)||void 0===n?void 0:n.status)&&p.push({icon:"pencil",message:"Envelope completed.",date:new Date(null===(a=null===(l=this.store)||void 0===l?void 0:l.state)||void 0===a?void 0:a.updated_at)});const w=h.some((e=>"owner:canceled"===e.event));return"canceled"!==(null===(r=null===(d=this.store)||void 0===d?void 0:d.state)||void 0===r?void 0:r.status)||w||p.push({icon:"pencil",message:"Envelope Cancelled.",date:new Date(null===(v=null===(c=this.store)||void 0===c?void 0:c.state)||void 0===v?void 0:v.canceled_at)}),h.forEach((e=>{var i;const s=null===(i=this.store.state)||void 0===i?void 0:i.recipients.find((i=>i.role_name===e.role_name)),t=(null==s?void 0:s.full_name)||"";switch(e.event.toLowerCase()){case"recipient:signed":p.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":p.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":p.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":p.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":p.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":p.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:p.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":p.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:p.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:prepared":p.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":"guest"===e.event_detail?p.push({icon:"account_circle",message:`${t} claimed the Verdoc as a guest.`,date:new Date(e.created_at)}):"profile"===e.event_detail&&p.push({icon:"verified_user",message:`${t} claimed the Verdoc as a verified user.`,date:new Date(e.created_at)});break;case"recipient:agreed":p.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":p.push("sms"===e.event_detail?{icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)}:{icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)});break;case"invitation:resent":p.push({icon:"mail",message:`Invitation was resent to ${t} ${"reminder"===e.event_detail?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":p.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":p.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":case"owner:updated_recipient_info":p.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":p.push({icon:"create",message:"Envelope was created.",date:new Date(e.created_at)});break;case"completed":p.push({icon:"done_all",message:"Envelope was completed.",date:new Date(e.created_at)});break;case"canceled":case"owner:canceled":p.push({icon:"cancel",message:"Envelope was canceled by the creator.",date:new Date(e.created_at)});break;case"owner:get_in_person_link":p.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e)}})),p.sort(((e,i)=>i.date.getTime()-e.date.getTime())),p}render(){var e,i,o,l,a,d,c,v,w,g,m,b,x,f,u,y,k,z,M,D,V,B,E,L,H;if(!this.store.state)return s(t,null);const S=this.endpoint.getSession(),_=n(S,this.store.state),$=this.prepareHistoryEntries(),I="pending"!==(null===(i=null===(e=this.store)||void 0===e?void 0:e.state)||void 0===i?void 0:i.status)&&"in progress"!==(null===(l=null===(o=this.store)||void 0===o?void 0:o.state)||void 0===l?void 0:l.status);return s(t,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:1===this.activeTab?"active":"",onClick:()=>this.setTab(1),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>'}),s("button",{class:2===this.activeTab?"active":"",onClick:()=>this.setTab(2),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>'}),s("button",{class:3===this.activeTab?"active":"",onClick:()=>this.setTab(3),innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>'})),1===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},null===(d=null===(a=this.store)||void 0===a?void 0:a.state)||void 0===d?void 0:d.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},p(new Date(null===(v=null===(c=this.store)||void 0===c?void 0:c.state)||void 0===v?void 0:v.created_at),r)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},p(new Date(null===(g=null===(w=this.store)||void 0===w?void 0:w.state)||void 0===g?void 0:g.updated_at),r)),s("div",{class:"label"},"Status"),s("div",{class:"value"},null===(b=null===(m=this.store)||void 0===m?void 0:m.state)||void 0===b?void 0:b.status),s("div",{class:"label"},"Verdoc Owner ID"),s("div",{class:"value"},null===(f=null===(x=this.store)||void 0===x?void 0:x.state)||void 0===f?void 0:f.profile_id),s("div",{class:"label"},"Verdoc Owner Name"),s("div",{class:"value"},null===(k=null===(y=null===(u=this.store)||void 0===u?void 0:u.state)||void 0===y?void 0:y.profile)||void 0===k?void 0:k.first_name," ",null===(D=null===(M=null===(z=this.store)||void 0===z?void 0:z.state)||void 0===M?void 0:M.profile)||void 0===D?void 0:D.last_name),s("div",{class:"label"},"Verdoc Owner Email"),s("div",{class:"value"},null===(E=null===(B=null===(V=this.store)||void 0===V?void 0:V.state)||void 0===B?void 0:B.profile)||void 0===E?void 0:E.email)),2===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),null===(H=null===(L=this.store)||void 0===L?void 0:L.state)||void 0===H?void 0:H.recipients.map(((e,i)=>{const t="submitted"!==e.status&&"canceled"!==e.status&&"declined"!==e.status,o=this.canResendRecipient(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-type"},e.role_name),s("div",{class:{"recipient-status":!0,[e.status]:!0}},e.status),_&&!I&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"reminder",label:"Send Reminder",disabled:!o},{id:"inperson",label:"Get In-Person Link",disabled:!t}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},e.full_name),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),_&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Verdoc",onClick:()=>this.showCancelDialog=!I,disabled:I})),3===this.activeTab&&s("div",{class:"content"},s("div",{class:"title"},"History"),$.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:h[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},p(e.date,r))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showManageDialog&&s("verdocs-envelope-recipient-summary",{envelopeId:this.envelopeId,canView:!1,onAnother:()=>{var e;this.showManageDialog=!1,null===(e=this.another)||void 0===e||e.emit({envelope:this.store.state})},onNext:()=>this.showManageDialog=!1}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=!1,this.cancelEnvelope()}}))}};w.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-sidebar{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;place-content:center space-between;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;margin-right:10px;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-type{-ms-flex:1 1 88px;flex:1 1 88px;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:88px;min-width:88px;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 100px;flex:1 1 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}';export{w as verdocs_envelope_sidebar}
|
@@ -1 +0,0 @@
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,r){function s(t){try{c(o.next(t))}catch(t){r(t)}}function a(t){try{c(o["throw"](t))}catch(t){r(t)}}function c(t){t.done?n(t.value):i(t.value).then(s,a)}c((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return c([t,e])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];i=0}finally{o=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-fbb8023f.system.js","./p-54498887.system.js","./p-235b4a0b.system.js","./p-187b20b7.system.js"],(function(t){"use strict";var e,n,o,i,r,s;return{setters:[function(t){e=t.r;n=t.c;o=t.h;i=t.H},function(){},function(t){r=t.V},function(t){s=t.S}],execute:function(){var a='@-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-settings{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;position:relative;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-settings .tabs{gap:4px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:row;flex-direction:row;border-bottom:1px solid #654dcb}verdocs-settings .tabs .tab{cursor:pointer;padding:5px 10px;color:#ffffff;background-color:#777777}verdocs-settings .tabs .tab.active{color:#ffffff;background-color:#654dcb}';var c=t("verdocs_settings",function(){function t(t){e(this,t);this.sdkError=n(this,"sdkError",7);this.endpoint=r.getDefault();this.tab="profile"}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,n;return __generator(this,(function(o){try{this.endpoint.loadSession();if(!this.endpoint.session){console.log("[SETTINGS] Unable to start session, must be authenticated");return[2]}}catch(o){console.log("[SETTINGS] Error with session",o);(t=this.sdkError)===null||t===void 0?void 0:t.emit(new s(o.message,(e=o.response)===null||e===void 0?void 0:e.status,(n=o.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};t.prototype.render=function(){var t=this;console.log("sess",this.endpoint.session);if(!this.endpoint.session){return o(i,null,o("verdocs-loader",null))}return o(i,null,o("div",{class:"tabs"},o("div",{class:"tab ".concat(this.tab==="profile"?"active":""),onClick:function(){return t.tab="profile"}},"Profile"),o("div",{class:"tab ".concat(this.tab==="organization"?"active":""),onClick:function(){return t.tab="organization"}},"Organization"),o("div",{class:"tab ".concat(this.tab==="members"?"active":""),onClick:function(){return t.tab="members"}},"Members"),o("div",{class:"tab ".concat(this.tab==="apikeys"?"active":""),onClick:function(){return t.tab="apikeys"}},"API Keys")),this.tab==="profile"&&o("verdocs-settings-profile",{endpoint:this.endpoint}),this.tab==="organization"&&o("verdocs-settings-organization",{endpoint:this.endpoint}),this.tab==="members"&&o("verdocs-settings-members",{endpoint:this.endpoint}),this.tab==="apikeys"&&o("verdocs-settings-api-keys",{endpoint:this.endpoint}))};return t}());c.style=a}}}));
|
@@ -1 +0,0 @@
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function a(e){try{s(o.next(e))}catch(e){r(e)}}function l(e){try{s(o["throw"](e))}catch(e){r(e)}}function s(e){e.done?n(e.value):i(e.value).then(a,l)}s((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},o,i,r,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(e){return function(t){return s([e,t])}}function s(a){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,i&&(r=a[0]&2?i["return"]:a[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;if(i=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;i=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){n.label=a[1];break}if(a[0]===6&&n.label<r[1]){n.label=r[1];r=a;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(a);break}if(r[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];i=0}finally{o=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-fbb8023f.system.js","./p-54498887.system.js","./p-235b4a0b.system.js","./p-b6df9fe6.system.js","./p-187b20b7.system.js","./p-3af6b910.system.js","./p-1f9d9fe5.system.js","./p-95080569.system.js"],(function(e){"use strict";var t,n,o,i,r,a,l,s;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.H;r=e.a},function(){},function(e){a=e.V},function(e){l=e.g},function(e){s=e.S},function(){},function(){},function(){}],execute:function(){var d='@-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-build{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-build .content{-ms-flex:1;flex:1;gap:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}verdocs-build verdocs-template-attachments,verdocs-build verdocs-template-roles{margin:20px}verdocs-build verdocs-template-fields{border-top:1px solid #777777}verdocs-build verdocs-template-attachments{padding:20px;background:#ffffff}verdocs-build verdocs-template-fields{width:100%}verdocs-build verdocs-preview{-ms-flex:1;flex:1}verdocs-build .preview-container{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;width:100%;background-color:#eeeeee;max-height:100%}@media all and (max-width: 450px){verdocs-build .preview-container{-ms-flex-direction:column;flex-direction:column}}verdocs-build .preview-send-wrapper{display:-ms-flexbox;display:flex;-ms-flex:0 0 300px;flex:0 0 300px;background-color:#ffffff;-webkit-box-shadow:1px 1px 6px -2px #0000007f;box-shadow:1px 1px 6px -2px #0000007f}@media all and (max-width: 450px){verdocs-build .preview-send-wrapper{-ms-flex:0;flex:0}}verdocs-build .preview-preview-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;overflow-y:scroll}';var p=e("verdocs_build",function(){function e(e){t(this,e);this.sdkError=n(this,"sdkError",7);this.stepChanged=n(this,"stepChanged",7);this.send=n(this,"send",7);this.templateUpdated=n(this,"templateUpdated",7);this.templateCreated=n(this,"templateCreated",7);this.rolesUpdated=n(this,"rolesUpdated",7);this.endpoint=a.getDefault();this.templateId=null;this.step="preview";this.store=null}e.prototype.onTemplateIdChanged=function(e){console.log("Template ID changed",e);this.loadTemplate(e).catch((function(e){return console.log("Unknown Error",e)}))};e.prototype.onStepChanged=function(e){console.log("Step changed",e);this.loadTemplate(this.templateId).catch((function(e){return console.log("Unknown Error",e)}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n;return __generator(this,(function(o){try{this.endpoint.loadSession();if(!this.templateId){console.log("[BUILD] No template ID, activating upload mode");this.step="attachments";return[2]}if(!this.endpoint.session){console.log("[BUILD] Unable to start builder session, must be authenticated");return[2]}this.loadTemplate(this.templateId).catch((function(e){return console.log("[BUILD] Unable to load template",e)}))}catch(o){console.log("[BUILD] Error loading template",o);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new s(o.message,(t=o.response)===null||t===void 0?void 0:t.status,(n=o.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.loadTemplate=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:if(!e)return[3,2];console.log("Loading store",e);t=this;return[4,l(this.endpoint,e,false)];case 1:t.store=n.sent();n.label=2;case 2:return[2]}}))}))};e.prototype.handleCancel=function(e){console.log("Cancel",e.detail);this.step="preview"};e.prototype.handleTemplateCreated=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.loadTemplate(e)];case 1:n.sent();this.templateId=e;this.step="roles";(t=this.stepChanged)===null||t===void 0?void 0:t.emit("roles");return[2]}}))}))};e.prototype.handleRolesUpdated=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.templateUpdated)===null||t===void 0?void 0:t.emit(e.detail);return[2]}))}))};e.prototype.handleTemplateUpdated=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(n){(t=this.templateUpdated)===null||t===void 0?void 0:t.emit(e.detail);return[2]}))}))};e.prototype.handleAttachmentsNext=function(){var e;this.step="roles";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("roles")};e.prototype.handleRolesNext=function(){var e;this.step="fields";(e=this.stepChanged)===null||e===void 0?void 0:e.emit("fields")};e.prototype.handleStepChanged=function(e){var t;console.log("osc",e);this.step=e;(t=this.stepChanged)===null||t===void 0?void 0:t.emit(e)};e.prototype.render=function(){var e=this;if(!this.endpoint.session){return o(i,null,o("verdocs-component-error",{message:"You must be authenticated to use this module."}))}if(!this.store){console.log("[BUILD] No template ID, rendering created view");return o(i,null,o("div",{class:"content"},o("verdocs-template-build-tabs",{endpoint:this.endpoint,templateId:this.templateId,step:"attachments",onSdkError:function(t){var n;return(n=e.sdkError)===null||n===void 0?void 0:n.emit(t.detail)},onStepChanged:function(t){return e.handleStepChanged(t.detail)}}),o("verdocs-template-create",{endpoint:this.endpoint,onExit:function(t){return e.handleCancel(t)},onNext:function(){return e.handleAttachmentsNext()},onTemplateCreated:function(t){return e.handleTemplateCreated(t.detail.templateId)}})))}console.log("[BUILD] Rendering build view",this.templateId,this.step,["attachments","roles","settings","fields","preview"].indexOf(this.step));return o(i,null,o("div",{class:"content"},o("verdocs-template-build-tabs",{endpoint:this.endpoint,templateId:this.templateId,step:this.step,onSdkError:function(t){var n;return(n=e.sdkError)===null||n===void 0?void 0:n.emit(t.detail)},onStepChanged:function(t){return e.handleStepChanged(t.detail)}}),this.step==="attachments"&&o("verdocs-template-attachments",{templateId:this.templateId,endpoint:this.endpoint,onExit:function(t){return e.handleCancel(t)},onNext:function(){return e.handleAttachmentsNext()},onTemplateUpdated:function(t){return e.handleTemplateUpdated(t)}}),this.step==="roles"&&o("verdocs-template-roles",{templateId:this.templateId,endpoint:this.endpoint,onExit:function(t){return e.handleCancel(t)},onNext:function(){return e.handleRolesNext()},onRolesUpdated:function(t){return e.handleRolesUpdated(t)}}),this.step==="settings"&&o("div",{style:{flexDirection:"column",gap:"20px",display:"flex",maxWidth:"400px",margin:"20px"}},o("verdocs-template-name",{templateId:this.templateId,endpoint:this.endpoint,style:{backgroundColor:"#ffffff",padding:"20px"},onTemplateUpdated:function(t){return e.handleTemplateUpdated(t)}}),o("verdocs-template-reminders",{templateId:this.templateId,endpoint:this.endpoint,style:{backgroundColor:"#ffffff",padding:"20px"},onTemplateUpdated:function(t){return e.handleTemplateUpdated(t)}}),o("verdocs-template-visibility",{templateId:this.templateId,endpoint:this.endpoint,style:{backgroundColor:"#ffffff",padding:"20px"},onTemplateUpdated:function(t){return e.handleTemplateUpdated(t)}})),this.step==="fields"&&o("verdocs-template-fields",{templateId:this.templateId,endpoint:this.endpoint,onTemplateUpdated:function(t){return e.handleTemplateUpdated(t)}}),this.step==="preview"&&o("div",{class:"preview-container"},o("div",{class:"preview-send-wrapper"},o("verdocs-send",{templateId:this.templateId,endpoint:this.endpoint,onSend:function(t){var n;return(n=e.send)===null||n===void 0?void 0:n.emit(t.detail)},style:{width:"100%"}})),o("div",{class:"preview-preview-wrapper"},o("verdocs-preview",{templateId:this.templateId,endpoint:this.endpoint,style:{display:"flex",flex:"1",maxWidth:"1000px"}})))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{templateId:["onTemplateIdChanged"],step:["onStepChanged"]}},enumerable:false,configurable:true});return e}());p.style=d}}}));
|
@@ -1 +0,0 @@
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n["throw"](e))}catch(e){a(e)}}function c(e){e.done?i(e.value):r(e.value).then(o,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];r=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-fbb8023f.system.js","./p-8aae8d16.system.js","./p-54498887.system.js","./p-235b4a0b.system.js","./p-0cafdb16.system.js","./p-bbee73c8.system.js","./p-173e86c3.system.js","./p-dc9c4361.system.js"],(function(e){"use strict";var t,i,n,r,a,o,s,c;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;a=e.a},function(e){o=e.m},function(){},function(e){s=e.V},function(e){c=e.t},function(){},function(){},function(){}],execute:function(){var d="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-document-page{width:100%;position:relative}verdocs-envelope-document-page .verdocs-envelope-document-page-layer{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-shadow:0 0 10px 5px #0000000f;box-shadow:0 0 10px 5px #0000000f}verdocs-envelope-document-page .verdocs-envelope-document-page-layer.img{width:100%}";var u=e("verdocs_envelope_document_page",function(){function e(e){t(this,e);this.pageRendered=i(this,"pageRendered",7);this.endpoint=s.getDefault();this.envelopeId="";this.documentId="";this.pageNumber=1;this.virtualWidth=612;this.virtualHeight=792;this.layers=[{name:"page",type:"canvas"}];this.type="original";this.containerId="verdocs-envelope-document-page-".concat(Math.random().toString(36).substring(2,11));this.renderedWidth=this.virtualWidth;this.renderedHeight=this.virtualHeight;this.naturalWidth=this.virtualWidth;this.naturalHeight=this.virtualHeight;this.aspectRatio=this.virtualWidth/this.virtualHeight;this.skipFirstNotification=true;this.pageDisplayUri="https://verdocs-public-assets.s3.amazonaws.com/page-loading-placeholder.png"}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,o(this.endpoint,this.envelopeId,this.documentId,this.pageNumber,this.type)];case 1:e.pageDisplayUri=t.sent();return[2]}}))}))};e.prototype.componentDidLoad=function(){var e=this;this.resizeObserver=new ResizeObserver(c((function(t){for(var i=0,n=t;i<n.length;i++){var r=n[i];var a=r.contentRect.width;e.renderedWidth=a;e.renderedHeight=e.virtualHeight*(a/e.virtualWidth)}e.notifyRenderedSize()}),100));this.resizeObserver.observe(this.container)};e.prototype.disconnectedCallback=function(){var e;(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();console.log("[PAGE] Disconnected",this.containerId)};e.prototype.notifyRenderedSize=function(){if(this.skipFirstNotification){this.skipFirstNotification=false;return}this.pageRendered.emit({containerId:this.containerId,documentId:this.documentId,pageNumber:this.pageNumber,virtualWidth:this.virtualWidth,virtualHeight:this.virtualHeight,renderedWidth:this.renderedWidth,renderedHeight:this.renderedHeight,naturalWidth:this.naturalWidth,naturalHeight:this.naturalHeight,aspectRatio:this.aspectRatio,xScale:this.renderedWidth/this.virtualWidth,yScale:this.renderedHeight/this.virtualHeight})};e.prototype.render=function(){var e=this;var t="".concat(this.renderedHeight,"px");return n(r,{id:"".concat(this.containerId),style:{height:t,flex:"0 0 ".concat(t)}},this.layers.map((function(i){return i.type==="div"?n("div",{class:"verdocs-envelope-document-page-layer",id:"".concat(e.containerId,"-").concat(i.name),style:{height:t}}):e.pageDisplayUri?n("img",{class:"verdocs-envelope-document-page-layer img",id:"".concat(e.containerId,"-").concat(i.name),src:e.pageDisplayUri,alt:"Page ".concat(e.pageNumber),"aria-hidden":true,loading:"lazy",onLoad:function(t){e.naturalWidth=t.target.naturalWidth;e.naturalHeight=t.target.naturalHeight;e.aspectRatio=e.naturalWidth/e.naturalHeight;e.virtualHeight=e.virtualWidth/e.aspectRatio;e.renderedHeight=t.target.offsetWidth/e.aspectRatio}}):n("div",null)})))};Object.defineProperty(e.prototype,"container",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());u.style=d}}}));
|
@@ -1 +0,0 @@
|
|
1
|
-
function r(r){switch(r%10){case 0:return 0===r?"rgba(255, 193, 7, 0.4)":"rgba(134, 134, 134, 0.3)";case 1:return"rgba(156, 39, 176, .4)";case 2:return"rgba(33, 150, 243, .4)";case 3:return"rgba(220, 231, 117, 0.3)";case 4:return"rgba(121, 134, 203, 0.3)";case 5:return"rgba(77, 182, 172, 0.3)";case 6:return"rgba(255, 202, 165, 0.3)";case 7:return"rgba(2, 247, 190, 0.3)";case 8:return"rgba(255, 138, 101, 0.3)";case 9:return"rgba(82, 255, 79, 0.3)";default:return"rgba(229, 115, 155, 0.3)"}}export{r as g}
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register([],(function(n){"use strict";return{execute:function(){var t=undefined&&undefined.__awaiter||function(n,t,e,r){function o(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,a){function u(n){try{c(r.next(n))}catch(n){a(n)}}function i(n){try{c(r["throw"](n))}catch(n){a(n)}}function c(n){n.done?e(n.value):o(n.value).then(u,i)}c((r=r.apply(n,t||[])).next())}))};var e=undefined&&undefined.__generator||function(n,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,u;return u={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function i(n){return function(t){return c([n,t])}}function c(i){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,i[0]&&(e=0)),e)try{if(r=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:e.label++;return{value:i[1],done:false};case 5:e.label++;o=i[1];i=[0];continue;case 7:i=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){e=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){e.label=i[1];break}if(i[0]===6&&e.label<a[1]){e.label=a[1];a=i;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(i);break}if(a[2])e.ops.pop();e.trys.pop();continue}i=t.call(n,e)}catch(n){i=[6,n];o=0}finally{r=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var r=n("c",(function(n,t,e,r){var o=new FormData;o.append("document",e,e.name);return n.api.post("/templates/".concat(t,"/documents"),o,{timeout:12e4,onUploadProgress:function(n){var t=n.total||1;var e=n.loaded||0;r===null||r===void 0?void 0:r(Math.floor(e*100/(t||1)),e,t||1)}}).then((function(n){return n.data}))}));var o=n("d",(function(n,t,e){return n.api.delete("/templates/".concat(t,"/documents/").concat(e)).then((function(n){return n.data}))}));var a=n("g",(function(n,r,o,a){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){return[2,n.api.get("/templates/".concat(r,"/documents/").concat(o,"/pages/").concat(a,"/image")).then((function(n){return n.data}))]}))}))}))}}}));
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,c as r,h as e,H as l}from"./p-14b44491.js";const a=class{constructor(e){o(this,e),this.exit=r(this,"exit",7)}handleDismiss(o){var r;"background-overlay"===o.target.className&&(o.preventDefault(),null===(r=this.exit)||void 0===r||r.emit())}render(){return e(l,null,e("div",{class:"background-overlay",onClick:o=>this.handleDismiss(o)},e("div",{class:"dialog"},e("slot",{name:"title"},e("div",{class:"heading"},"Please Confirm")),e("slot",null,e("div",{class:"content"})))))}};a.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-dialog .background-overlay{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:absolute;-ms-flex-align:center;align-items:center;background:#0000007f;-ms-flex-pack:center;justify-content:center}verdocs-dialog .dialog{width:420px;display:-ms-flexbox;display:flex;max-width:100%;overflow:hidden;border-radius:4px;-ms-flex-direction:column;flex-direction:column;background:#ffffff;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-dialog .heading{display:-ms-flexbox;display:flex;font-size:16px;font-weight:500;padding:8px 16px;-ms-flex-direction:row;flex-direction:row;color:#ffffff;background:#46497d}verdocs-dialog .content{padding:16px}verdocs-dialog .content p{margin:0 0 1em 0}verdocs-dialog .buttons{gap:14px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}';const d=class{constructor(e){o(this,e),this.colHeaderClick=r(this,"colHeaderClick",7),this.rowClick=r(this,"rowClick",7),this.columns=[],this.data=[]}render(){return e(l,{class:"table-wrapper"},e("table",{class:"table"},e("thead",null,e("tr",{class:"row header-row"},this.columns.map(((o,r)=>e("th",{class:`col header-col col-${r} col-${o.id}`,onClick:()=>{var r;return null===(r=this.colHeaderClick)||void 0===r?void 0:r.emit({col:o})},innerHTML:o.renderHeader?o.renderHeader(o):o.header||o.id}))))),e("tbody",null,this.data.map((o=>e("tr",{class:"row data-row",onClick:()=>{var r;return null===(r=this.rowClick)||void 0===r?void 0:r.emit({row:o})}},this.columns.map(((r,l)=>{var a;return e("td",{class:`col data-col col-${l} col-${r.id}`},(null===(a=r.renderCell)||void 0===a?void 0:a.call(r,r,o))||o[r.id])}))))))))}};d.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-table{width:100%;display:block;margin:0 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-table .table-wrapper{margin:10px 0;padding:0}verdocs-table .table{width:100%;border:none;border-collapse:collapse}verdocs-table .row.data-row{border:1px solid #d4d4d8;background-color:#ffffff}verdocs-table .header-col{color:#5c6575;font-weight:600;text-align:left;padding:8px 16px}verdocs-table .data-col{font-weight:400;padding:8px 16px}';export{a as verdocs_dialog,d as verdocs_table}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as m,H as a}from"./p-14b44491.js";const b=class{constructor(m){e(this,m)}render(){return m(a,null)}};b.style="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-loader{display:block;position:absolute;top:50%;left:50%;margin-left:-20px;margin-top:-20px;font-size:24px;width:24px;height:24px;border-radius:50%;text-indent:-9999em;-webkit-animation:load5 1.1s infinite ease;animation:verdocs-loader-kf 1.1s infinite ease;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes verdocs-loader-kf{0%,100%{-webkit-box-shadow:0em -2.6em 0em 0em #aaaaaa, 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.3), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4);box-shadow:0em -2.6em 0em 0em #aaaaaa, 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.3), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4)}12.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.4), 1.8em -1.8em 0 0em #aaaaaa, 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.4), 1.8em -1.8em 0 0em #aaaaaa, 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3)}25%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.3), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4), 2.5em 0em 0 0em #aaaaaa, 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.3), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4), 2.5em 0em 0 0em #aaaaaa, 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}37.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3), 2.5em 0em 0 0em rgba(0, 0, 0, 0.4), 1.75em 1.75em 0 0em #aaaaaa, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3), 2.5em 0em 0 0em rgba(0, 0, 0, 0.4), 1.75em 1.75em 0 0em #aaaaaa, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}50%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.3), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.4), 0em 2.5em 0 0em #aaaaaa, -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.3), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.4), 0em 2.5em 0 0em #aaaaaa, -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}62.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.3), 0em 2.5em 0 0em rgba(0, 0, 0, 0.4), -1.8em 1.8em 0 0em #aaaaaa, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.3), 0em 2.5em 0 0em rgba(0, 0, 0, 0.4), -1.8em 1.8em 0 0em #aaaaaa, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}75%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.3), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.4), -2.6em 0em 0 0em #aaaaaa, -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.3), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.4), -2.6em 0em 0 0em #aaaaaa, -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}87.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.3), -2.6em 0em 0 0em rgba(0, 0, 0, 0.4), -1.8em -1.8em 0 0em #aaaaaa;box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.3), -2.6em 0em 0 0em rgba(0, 0, 0, 0.4), -1.8em -1.8em 0 0em #aaaaaa}}@keyframes verdocs-loader-kf{0%,100%{-webkit-box-shadow:0em -2.6em 0em 0em #aaaaaa, 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.3), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4);box-shadow:0em -2.6em 0em 0em #aaaaaa, 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.3), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4)}12.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.4), 1.8em -1.8em 0 0em #aaaaaa, 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.4), 1.8em -1.8em 0 0em #aaaaaa, 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3)}25%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.3), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4), 2.5em 0em 0 0em #aaaaaa, 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.3), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.4), 2.5em 0em 0 0em #aaaaaa, 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}37.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3), 2.5em 0em 0 0em rgba(0, 0, 0, 0.4), 1.75em 1.75em 0 0em #aaaaaa, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.3), 2.5em 0em 0 0em rgba(0, 0, 0, 0.4), 1.75em 1.75em 0 0em #aaaaaa, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}50%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.3), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.4), 0em 2.5em 0 0em #aaaaaa, -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.3), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.4), 0em 2.5em 0 0em #aaaaaa, -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}62.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.3), 0em 2.5em 0 0em rgba(0, 0, 0, 0.4), -1.8em 1.8em 0 0em #aaaaaa, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.3), 0em 2.5em 0 0em rgba(0, 0, 0, 0.4), -1.8em 1.8em 0 0em #aaaaaa, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}75%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.3), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.4), -2.6em 0em 0 0em #aaaaaa, -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.3), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.4), -2.6em 0em 0 0em #aaaaaa, -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2)}87.5%{-webkit-box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.3), -2.6em 0em 0 0em rgba(0, 0, 0, 0.4), -1.8em -1.8em 0 0em #aaaaaa;box-shadow:0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.3), -2.6em 0em 0 0em rgba(0, 0, 0, 0.4), -1.8em -1.8em 0 0em #aaaaaa}}";export{b as verdocs_loader}
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./p-fbb8023f.system.js"],(function(t){"use strict";var e,o,a;return{setters:[function(t){e=t.r;o=t.h;a=t.H}],execute:function(){var l='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-card{font-family:"Inter", "Barlow", sans-serif;width:320px;height:320px;display:-ms-flexbox;display:flex;padding:25px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05)}verdocs-template-card .thumbnail{width:272px;height:158px;-o-object-fit:cover;object-fit:cover;margin-bottom:22px;-o-object-position:-20% 0;object-position:-20% 0}verdocs-template-card .name{font-size:18px;font-weight:700;margin-bottom:7px}verdocs-template-card .org-name{font-size:14px;font-weight:700;margin-bottom:6px}verdocs-template-card hr{width:100%;margin-bottom:17px;background-color:#aeb4bf}verdocs-template-card .controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:16px}verdocs-template-card .controls .control{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;margin-right:8px;-ms-flex-align:start;align-items:flex-start;border-right:1px solid #aeb4bf}verdocs-template-card .controls .control.secondary{-ms-flex-pack:center;justify-content:center}verdocs-template-card .controls .control svg{fill:#aeb4bf;height:16px;max-width:16px;margin:0 8px -2px 0}verdocs-template-card .additional-controls svg{margin-right:0;fill:#654dcb}';var r='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var n='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_31553_1553)"><path d="M30.886 11.4917C30.8916 11.0917 30.753 10.7034 30.4962 10.3993C30.2394 10.0953 29.882 9.8964 29.4908 9.83995L29.5182 9.65005L29.4908 9.83995L21.0938 8.60261L17.3412 0.912551C17.2067 0.638179 16.9992 0.407285 16.7421 0.245866C16.485 0.0844465 16.1885 -0.00111389 15.886 -0.00111389C15.5835 -0.00111389 15.287 0.0844465 15.0299 0.245866C14.7728 0.407285 14.5653 0.638179 14.4308 0.912551L10.6781 8.60261L2.28121 9.8392C1.89206 9.89475 1.53611 10.0916 1.2796 10.3931C1.02308 10.6945 0.88348 11.08 0.886776 11.4779C0.886447 11.6961 0.929977 11.912 1.01472 12.1125C1.09946 12.3131 1.22363 12.4941 1.37968 12.6445L7.45563 18.5744L6.01943 27.0241C6.00289 27.1258 5.99449 27.2287 5.99435 27.3317C5.99313 27.7717 6.16395 28.1943 6.4695 28.5071C6.77505 28.82 7.19045 28.9976 7.62496 29.0013C7.88846 29.0008 8.14779 28.9345 8.37992 28.8083L15.8883 24.8217L23.3967 28.8114C23.6287 28.9361 23.8873 29.0015 24.15 29.002C24.5752 28.9998 24.9832 28.8318 25.2893 28.5329C25.4452 28.3832 25.5695 28.2029 25.6544 28.003C25.7392 27.8031 25.783 27.5878 25.783 27.3702C25.7827 27.2731 25.7743 27.176 25.7579 27.0803L24.3209 18.6296L30.3931 12.7022C30.7094 12.3809 30.8867 11.9454 30.886 11.4917ZM22.0759 17.53L21.9437 17.3916L22.0759 17.53C22.0072 17.5977 21.9525 17.6787 21.9152 17.7681C21.8779 17.8575 21.8587 17.9536 21.8587 18.0506L21.8693 18.1737L23.2037 26.0237L16.2164 22.3148C16.1136 22.2602 15.9994 22.2317 15.8833 22.2317C15.7673 22.2317 15.653 22.2602 15.5503 22.3148L8.57132 26.0245L9.90651 18.1745L9.91712 18.0506C9.91696 17.9536 9.89768 17.8576 9.86038 17.7682C9.82308 17.6788 9.76851 17.5978 9.6999 17.53L4.05538 11.9724L11.8576 10.8258C11.9725 10.8088 12.0816 10.7638 12.1755 10.6947C12.2695 10.6256 12.3454 10.5344 12.3969 10.429L15.886 3.27721L19.3797 10.429C19.4313 10.5344 19.5074 10.6256 19.6014 10.6948C19.6955 10.7639 19.8047 10.8088 19.9197 10.8258L27.7197 11.9747L22.0759 17.53Z" fill="#ADB6BD"/></g><defs><clipPath id="clip0_31553_1553"><rect width="30" height="29" fill="white" transform="translate(0.886719)"/></clipPath></defs></svg>';var c=t("verdocs_template_card",function(){function t(t){e(this,t);this.template=undefined}t.prototype.render=function(){var t,e,l,c,p;return o(a,null,o("img",{src:((e=(t=this.template)===null||t===void 0?void 0:t.template_document)===null||e===void 0?void 0:e.thumbnail_url)||"",alt:"Template Thumbnail",class:"thumbnail"}),o("span",{class:"name"},this.template.name),o("span",{class:"org-name"},((l=this.template.organization)===null||l===void 0?void 0:l.name)||"Public"),o("hr",null),o("div",{class:"controls"},o("div",{class:"control"},o("span",{class:"icon",innerHTML:n}),o("span",{class:"value"},this.template.star_counter)),o("div",{class:"control secondary"},o("span",{class:"icon",innerHTML:i}),o("span",{class:"value"},((p=(c=this.template)===null||c===void 0?void 0:c.template_document)===null||p===void 0?void 0:p.page_numbers)||1)),o("div",{class:"control secondary"},o("span",{class:"icon",innerHTML:s}),o("span",{class:"value"},this.template.counter)),o("span",{class:"additional-controls",innerHTML:r})))};return t}());c.style=l}}}));
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as t,h as o,H as e,a as i}from"./p-14b44491.js";import{c as n}from"./p-7c0dcd00.js";import{V as r}from"./p-ed416acf.js";const s=class{constructor(o){t(this,o),this.label=void 0,this.startIcon=null,this.endIcon=null,this.size="normal",this.type="button",this.variant="standard",this.disabled=!1}render(){return o("button",{disabled:this.disabled,type:this.type,class:`${this.variant} ${this.size} ${this.type}`},this.startIcon?o("span",{class:"icon start",innerHTML:this.startIcon}):null,o("span",{class:"button-label"},this.label),this.endIcon?o("span",{class:"icon end",innerHTML:this.endIcon}):null)}};s.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-button button{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;text-transform:uppercase;-ms-flex-pack:center;justify-content:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;font-weight:700;cursor:pointer;margin:0}verdocs-button button:disabled{cursor:inherit;pointer-events:none}verdocs-button button .icon{margin:0 12px}verdocs-button button .icon svg{fill:#ffffff;display:block}verdocs-button button .button-label{padding:0 12px}verdocs-button button.small{height:34px;font-size:13px}verdocs-button button.small .icon{margin:0 4px}verdocs-button button.small .icon svg{margin:2px 0 0 0;height:20px}verdocs-button button.small .button-label{padding:0 4px}verdocs-button button.normal{height:44px;font-size:14px}verdocs-button button.normal .icon.start{margin:0 4px 0 8px}verdocs-button button.normal .icon.end{margin:0 8px 0 4px}verdocs-button button.normal .icon svg{margin:2px 0 0 0;height:22px}verdocs-button button.normal .button-label{padding:0 10px}verdocs-button button.medium{height:52px;font-size:16px}verdocs-button button.medium .icon.start{margin:0 0 0 18px}verdocs-button button.medium .icon.end{margin:0 18px 0 0}verdocs-button button.medium .icon svg{margin:2px 0 0 0;height:26px}verdocs-button button.medium .button-label{padding:0 20px}verdocs-button button.large{height:60px;font-size:20px}verdocs-button button.large .icon.start{margin:0 0 0 24px}verdocs-button button.large .icon.end{margin:0 24px 0 0}verdocs-button button.large .icon svg{margin:2px 0 0 0;height:32px}verdocs-button button.large .button-label{padding:0 34px}verdocs-button button.standard{background:#55bc81;border-radius:4px;outline:none;border:none;color:white}verdocs-button button.standard:disabled{background-color:#999999;cursor:default}verdocs-button button.standard:active:not([disabled]){-webkit-filter:brightness(110%);filter:brightness(110%)}verdocs-button button.text{color:#4c56cb;background:transparent;font-weight:500;padding:0 4px;outline:none;border:none}verdocs-button button.text:disabled{color:#999999}verdocs-button button.text:active:not([disabled]){-webkit-filter:brightness(130%);filter:brightness(130%)}verdocs-button button.text .icon svg{fill:#4c56cb}verdocs-button button.outline{border:1px solid #4c56cb;color:#4c56cb;outline:none;background:transparent;border-radius:4px;padding:0 20px}verdocs-button button.outline:disabled{color:#999999;border:1px solid #999999}verdocs-button button.outline:active{background:#4c56cb;color:white}verdocs-button button.outline .icon svg{fill:#4c56cb}';const a=class{constructor(o){t(this,o),this.text="",this.icon='<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" fill="#5c6575"><path d="M11.925 18q.55 0 .938-.387.387-.388.387-.938 0-.55-.387-.925-.388-.375-.938-.375-.55 0-.925.375t-.375.925q0 .55.375.938.375.387.925.387Zm-.95-3.85h1.95q0-.8.2-1.287.2-.488 1.025-1.288.65-.625 1.025-1.213.375-.587.375-1.437 0-1.425-1.025-2.175Q13.5 6 12.1 6q-1.425 0-2.35.775t-1.275 1.85l1.775.7q.125-.45.55-.975.425-.525 1.275-.525.725 0 1.1.412.375.413.375.888 0 .475-.287.9-.288.425-.713.775-1.075.95-1.325 1.475-.25.525-.25 1.875ZM12 22.2q-2.125 0-3.988-.8-1.862-.8-3.237-2.175Q3.4 17.85 2.6 15.988 1.8 14.125 1.8 12t.8-3.988q.8-1.862 2.175-3.237Q6.15 3.4 8.012 2.6 9.875 1.8 12 1.8t3.988.8q1.862.8 3.237 2.175Q20.6 6.15 21.4 8.012q.8 1.863.8 3.988t-.8 3.988q-.8 1.862-2.175 3.237Q17.85 20.6 15.988 21.4q-1.863.8-3.988.8Zm0-2.275q3.325 0 5.625-2.3t2.3-5.625q0-3.325-2.3-5.625T12 4.075q-3.325 0-5.625 2.3T4.075 12q0 3.325 2.3 5.625t5.625 2.3ZM12 12Z"/></svg>',this.containerId=`verdocs-help-icon-${Math.random().toString(36).substring(2,11)}`}componentDidLoad(){this.popperInstance=n(this.iconEl,this.tooltipEl,{})}disconnectedCallback(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}show(){var t,o;null===(t=this.tooltipEl)||void 0===t||t.setAttribute("data-show",""),null===(o=this.popperInstance)||void 0===o||o.update().catch((()=>{}))}hide(){var t;null===(t=this.tooltipEl)||void 0===t||t.removeAttribute("data-show")}render(){return o(e,{class:{}},o("div",{"aria-describedby":this.containerId,class:"icon",innerHTML:this.icon,onMouseEnter:()=>this.show(),onFocus:()=>this.show(),onMouseLeave:()=>this.hide(),onBlur:()=>this.hide(),ref:t=>this.iconEl=t}),o("div",{id:this.containerId,role:"tooltip",class:"tooltip","data-popper-placement":"bottom",ref:t=>this.tooltipEl=t},o("span",{innerHTML:this.text}),o("div",{"data-popper-arrow":"true",class:"arrow"})))}};a.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-help-icon{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;display:inline-block;opacity:0.3;position:relative}verdocs-help-icon:hover{opacity:1}verdocs-help-icon .icon{display:inline-block}verdocs-help-icon .tooltip{display:none;min-width:200px;-webkit-box-shadow:0 0 10px 1px #999999;box-shadow:0 0 10px 1px #999999;background:#ffffff;color:#33364b;max-width:240px;font-weight:bold;position:absolute;padding:5px 10px;font-size:13px;border-radius:4px;z-index:10000}verdocs-help-icon .tooltip .arrow,verdocs-help-icon .tooltip .arrow::before{position:absolute;width:8px;height:8px;background:inherit}verdocs-help-icon .tooltip .arrow{visibility:hidden;top:-4px}verdocs-help-icon .tooltip .arrow::before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}verdocs-help-icon .tooltip[data-show]{display:block}verdocs-help-icon .tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}verdocs-help-icon .tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}verdocs-help-icon .tooltip[data-popper-placement^=left]>.arrow{right:-4px}verdocs-help-icon .tooltip[data-popper-placement^=right]>.arrow{left:-4px}';const l=class{constructor(o){t(this,o),this.value="",this.label="",this.placeholder="",this.autocomplete="",this.helpText="",this.clearable=!1,this.copyable=!1,this.type="text",this.disabled=!1,this.required=!1}copyToClipboard(){this.inputEl.select(),navigator.clipboard.writeText(this.value).then((()=>r("Copied!"))).catch((t=>console.log("Error copying to clipboard",t)))}render(){return o(e,{class:`input-field ${this.clearable?"clearable":""} ${this.copyable?"copyable":""}`},o("label",null,this.label&&o("div",{class:"input-label"},this.label+":",this.required&&o("span",{class:"required"},"*")),o("div",{class:"input-container"},o("input",{type:this.type,value:this.value,required:this.required,class:"input-element","data-lpignore":"true",disabled:this.disabled,placeholder:this.placeholder,autoComplete:this.autocomplete,ref:t=>this.inputEl=t,onInput:t=>this.value=t.target.value}),this.clearable&&this.value&&o("span",{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.881 122.88"><g><path fill-rule="evenodd" clip-rule="evenodd" d="M61.44,0c33.933,0,61.441,27.507,61.441,61.439 c0,33.933-27.508,61.44-61.441,61.44C27.508,122.88,0,95.372,0,61.439C0,27.507,27.508,0,61.44,0L61.44,0z M81.719,36.226 c1.363-1.363,3.572-1.363,4.936,0c1.363,1.363,1.363,3.573,0,4.936L66.375,61.439l20.279,20.278c1.363,1.363,1.363,3.573,0,4.937 c-1.363,1.362-3.572,1.362-4.936,0L61.44,66.376L41.162,86.654c-1.362,1.362-3.573,1.362-4.936,0c-1.363-1.363-1.363-3.573,0-4.937 l20.278-20.278L36.226,41.162c-1.363-1.363-1.363-3.573,0-4.936c1.363-1.363,3.573-1.363,4.936,0L61.44,56.504L81.719,36.226 L81.719,36.226z"/></g></svg>',class:"clear",onClick:()=>{setTimeout((()=>{var t;this.value="",null===(t=this.inputEl)||void 0===t||t.setAttribute("value",""),setTimeout((()=>{var t,o;null===(t=this.inputEl)||void 0===t||t.dispatchEvent(new Event("focusout")),null===(o=this.inputEl)||void 0===o||o.blur()}),50)}),50)}}),!this.clearable&&this.copyable&&this.value&&o("span",{innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M15.988 3.012A2.25 2.25 0 0118 5.25v6.5A2.25 2.25 0 0115.75 14H13.5V7A2.5 2.5 0 0011 4.5H8.128a2.252 2.252 0 011.884-1.488A2.25 2.25 0 0112.25 1h1.5a2.25 2.25 0 012.238 2.012zM11.5 3.25a.75.75 0 01.75-.75h1.5a.75.75 0 01.75.75v.25h-3v-.25z" clip-rule="evenodd" /><path fill-rule="evenodd" d="M2 7a1 1 0 011-1h8a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1V7zm2 3.25a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75zm0 3.5a.75.75 0 01.75-.75h4.5a.75.75 0 010 1.5h-4.5a.75.75 0 01-.75-.75z" clip-rule="evenodd" /></svg>',class:"copy",onClick:()=>this.copyToClipboard()})),this.helpText&&o("verdocs-help-icon",{text:this.helpText})))}get hostEl(){return i(this)}};l.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:28px;padding:4px 12px;outline:none}verdocs-text-input .input-element:disabled{border:1px solid #aeb4bf;background:#f5f5fa}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';export{s as verdocs_button,a as verdocs_help_icon,l as verdocs_text_input}
|
@@ -1 +0,0 @@
|
|
1
|
-
import{r as o,h as e,H as r}from"./p-14b44491.js";const t=class{constructor(e){o(this,e),this.checked=!1,this.name="",this.value="",this.disabled=!1}render(){return e(r,{class:{disabled:this.disabled}},e("input",{type:"radio",value:this.value,name:this.name,id:`verdocs-radio-button-${this.name}-${this.value}`,checked:this.checked,disabled:this.disabled}),e("label",{htmlFor:`verdocs-radio-button-${this.name}-${this.value}`}))}};t.style='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-radio-button{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;width:20px;height:20px;display:block;font-size:11px;position:relative;background-color:transparent;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:100%}verdocs-radio-button.disabled{opacity:0.5}verdocs-radio-button input[type=radio]{position:absolute;opacity:0}verdocs-radio-button input[type=radio]+label:before{content:"";background:#f5f5fa;border-radius:100%;border:1px solid rgba(0, 0, 0, 0.6);display:inline-block;width:16px;height:16px;position:absolute;left:1px;top:1px;cursor:pointer;text-align:center;-webkit-transition:all 250ms ease;transition:all 250ms ease}verdocs-radio-button input[type=radio]:checked+label:before{background-color:#55bc81;-webkit-box-shadow:inset 0 0 0 2px #f5f5fa;box-shadow:inset 0 0 0 2px #f5f5fa}verdocs-radio-button input[type=radio]:focus+label:before{outline:none;border-color:#55bc81}verdocs-radio-button input[type=radio]:disabled+label:before{-webkit-box-shadow:inset 0 0 0 4px #f5f5fa;box-shadow:inset 0 0 0 4px #f5f5fa;border-color:#a0a0d0;background:#a0a0d0}verdocs-radio-button input[type=radio]+label:empty:before{margin-right:0}verdocs-radio-button.required input[type=radio]+label:before{border:1px solid #cc0000}verdocs-radio-button.hide{display:none}verdocs-radio-button.focused{-webkit-animation:verdocs-field-pulse 0.75s 2;animation:verdocs-field-pulse 0.75s 2}';export{t as verdocs_radio_button}
|
@@ -1 +0,0 @@
|
|
1
|
-
var t="top",n="bottom",e="right",r="left",o=[t,n,e,r],i=o.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),u=[].concat(o,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),a=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function f(t){return t?(t.nodeName||"").toLowerCase():null}function c(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function d(t){return t instanceof c(t).Element||t instanceof Element}function p(t){return t instanceof c(t).HTMLElement||t instanceof HTMLElement}function s(t){return"undefined"!=typeof ShadowRoot&&(t instanceof c(t).ShadowRoot||t instanceof ShadowRoot)}function l(t){return t.split("-")[0]}var v=Math.max,b=Math.min,h=Math.round;function y(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function m(){return!/^((?!chrome|android).)*safari/i.test(y())}function x(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),o=1,i=1;n&&p(t)&&(o=t.offsetWidth>0&&h(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&h(r.height)/t.offsetHeight||1);var u=(d(t)?c(t):window).visualViewport,a=!m()&&e,f=(r.left+(a&&u?u.offsetLeft:0))/o,s=(r.top+(a&&u?u.offsetTop:0))/i,l=r.width/o,v=r.height/i;return{width:l,height:v,top:s,right:f+l,bottom:s+v,left:f,x:f,y:s}}function w(t){var n=x(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function O(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&s(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function g(t){return c(t).getComputedStyle(t)}function j(t){return["table","td","th"].indexOf(f(t))>=0}function M(t){return((d(t)?t.ownerDocument:t.document)||window.document).documentElement}function k(t){return"html"===f(t)?t:t.assignedSlot||t.parentNode||(s(t)?t.host:null)||M(t)}function A(t){return p(t)&&"fixed"!==g(t).position?t.offsetParent:null}function E(t){for(var n=c(t),e=A(t);e&&j(e)&&"static"===g(e).position;)e=A(e);return e&&("html"===f(e)||"body"===f(e)&&"static"===g(e).position)?n:e||function(t){var n=/firefox/i.test(y());if(/Trident/i.test(y())&&p(t)&&"fixed"===g(t).position)return null;var e=k(t);for(s(e)&&(e=e.host);p(e)&&["html","body"].indexOf(f(e))<0;){var r=g(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function B(t,n,e){return v(t,b(n,e))}function P(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function R(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function S(t){return t.split("-")[1]}var W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function L(o){var i,u=o.popper,a=o.popperRect,f=o.placement,d=o.variation,p=o.offsets,s=o.position,l=o.gpuAcceleration,v=o.adaptive,b=o.roundOffsets,y=o.isFixed,m=p.x,x=void 0===m?0:m,w=p.y,O=void 0===w?0:w,j="function"==typeof b?b({x,y:O}):{x,y:O};x=j.x,O=j.y;var k=p.hasOwnProperty("x"),A=p.hasOwnProperty("y"),q=r,B=t,P=window;if(v){var R=E(u),S="clientHeight",L="clientWidth";R===c(u)&&"static"!==g(R=M(u)).position&&"absolute"===s&&(S="scrollHeight",L="scrollWidth"),R=R,(f===t||(f===r||f===e)&&"end"===d)&&(B=n,O-=(y&&R===P&&P.visualViewport?P.visualViewport.height:R[S])-a.height,O*=l?1:-1),f!==r&&(f!==t&&f!==n||"end"!==d)||(q=e,x-=(y&&R===P&&P.visualViewport?P.visualViewport.width:R[L])-a.width,x*=l?1:-1)}var T,H=Object.assign({position:s},v&&W),I=!0===b?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:h(t.x*r)/r||0,y:h(e*r)/r||0}}({x,y:O},c(u)):{x,y:O};return x=I.x,O=I.y,Object.assign({},H,l?((T={})[B]=A?"0":"",T[q]=k?"0":"",T.transform=(P.devicePixelRatio||1)<=1?"translate("+x+"px, "+O+"px)":"translate3d("+x+"px, "+O+"px, 0)",T):((i={})[B]=A?O+"px":"",i[q]=k?x+"px":"",i.transform="",i))}var T={passive:!0},H={left:"right",right:"left",bottom:"top",top:"bottom"};function I(t){return t.replace(/left|right|bottom|top/g,(function(t){return H[t]}))}var z={start:"end",end:"start"};function C(t){return t.replace(/start|end/g,(function(t){return z[t]}))}function D(t){var n=c(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function F(t){return x(M(t)).left+D(t).scrollLeft}function U(t){var n=g(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function V(t){return["html","body","#document"].indexOf(f(t))>=0?t.ownerDocument.body:p(t)&&U(t)?t:V(k(t))}function _(t,n){var e;void 0===n&&(n=[]);var r=V(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=c(r),u=o?[i].concat(i.visualViewport||[],U(r)?r:[]):r,a=n.concat(u);return o?a:a.concat(_(k(u)))}function G(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function J(t,n,e){return"viewport"===n?G(function(t,n){var e=c(t),r=M(t),o=e.visualViewport,i=r.clientWidth,u=r.clientHeight,a=0,f=0;if(o){i=o.width,u=o.height;var d=m();(d||!d&&"fixed"===n)&&(a=o.offsetLeft,f=o.offsetTop)}return{width:i,height:u,x:a+F(t),y:f}}(t,e)):d(n)?function(t,n){var e=x(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):G(function(t){var n,e=M(t),r=D(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=v(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=v(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+F(t),f=-r.scrollTop;return"rtl"===g(o||e).direction&&(a+=v(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:u,x:a,y:f}}(M(t)))}function K(o){var i,u=o.reference,a=o.element,f=o.placement,c=f?l(f):null,d=f?S(f):null,p=u.x+u.width/2-a.width/2,s=u.y+u.height/2-a.height/2;switch(c){case t:i={x:p,y:u.y-a.height};break;case n:i={x:p,y:u.y+u.height};break;case e:i={x:u.x+u.width,y:s};break;case r:i={x:u.x-a.width,y:s};break;default:i={x:u.x,y:u.y}}var v=c?q(c):null;if(null!=v){var b="y"===v?"height":"width";switch(d){case"start":i[v]=i[v]-(u[b]/2-a[b]/2);break;case"end":i[v]=i[v]+(u[b]/2-a[b]/2)}}return i}function N(r,i){void 0===i&&(i={});var u=i.placement,a=void 0===u?r.placement:u,c=i.strategy,s=void 0===c?r.strategy:c,l=i.boundary,h=void 0===l?"clippingParents":l,y=i.rootBoundary,m=void 0===y?"viewport":y,w=i.elementContext,j=void 0===w?"popper":w,A=i.altBoundary,q=void 0!==A&&A,B=i.padding,S=void 0===B?0:B,W=P("number"!=typeof S?S:R(S,o)),L=r.rects.popper,T=r.elements[q?"popper"===j?"reference":"popper":j],H=function(t,n,e,r){var o="clippingParents"===n?function(t){var n=_(k(t)),e=["absolute","fixed"].indexOf(g(t).position)>=0&&p(t)?E(t):t;return d(e)?n.filter((function(t){return d(t)&&O(t,e)&&"body"!==f(t)})):[]}(t):[].concat(n),i=[].concat(o,[e]),u=i.reduce((function(n,e){var o=J(t,e,r);return n.top=v(o.top,n.top),n.right=b(o.right,n.right),n.bottom=b(o.bottom,n.bottom),n.left=v(o.left,n.left),n}),J(t,i[0],r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(d(T)?T:T.contextElement||M(r.elements.popper),h,m,s),I=x(r.elements.reference),z=K({reference:I,element:L,strategy:"absolute",placement:a}),C=G(Object.assign({},L,z)),D="popper"===j?C:I,F={top:H.top-D.top+W.top,bottom:D.bottom-H.bottom+W.bottom,left:H.left-D.left+W.left,right:D.right-H.right+W.right},U=r.modifiersData.offset;if("popper"===j&&U){var V=U[a];Object.keys(F).forEach((function(r){var o=[e,n].indexOf(r)>=0?1:-1,i=[t,n].indexOf(r)>=0?"y":"x";F[r]+=V[i]*o}))}return F}function Q(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,a=n.padding,f=n.flipVariations,c=n.allowedAutoPlacements,d=void 0===c?u:c,p=S(n.placement),s=p?f?i:i.filter((function(t){return S(t)===p})):o,v=s.filter((function(t){return d.indexOf(t)>=0}));0===v.length&&(v=s);var b=v.reduce((function(n,o){return n[o]=N(t,{placement:o,boundary:e,rootBoundary:r,padding:a})[l(o)],n}),{});return Object.keys(b).sort((function(t,n){return b[t]-b[n]}))}function X(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Y(o){return[t,e,n,r].some((function(t){return o[t]>=0}))}function Z(t,n,e){void 0===e&&(e=!1);var r,o,i=p(n),u=p(n)&&function(t){var n=t.getBoundingClientRect(),e=h(n.width)/t.offsetWidth||1,r=h(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),a=M(n),d=x(t,u,e),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!e)&&(("body"!==f(n)||U(a))&&(s=(r=n)!==c(r)&&p(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:D(r)),p(n)?((l=x(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):a&&(l.x=F(a))),{x:d.left+s.scrollLeft-l.x,y:d.top+s.scrollTop-l.y,width:d.width,height:d.height}}function $(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function et(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?tt:r;return function(t,n,r){void 0===r&&(r=o);var i,u,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},tt,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],p=!1,s={state:f,setOptions:function(r){var i="function"==typeof r?r(f.options):r;l(),f.options=Object.assign({},o,f.options,i),f.scrollParents={reference:d(t)?_(t):t.contextElement?_(t.contextElement):[],popper:_(n)};var u,p,v=function(t){var n=$(t);return a.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((u=[].concat(e,f.options.modifiers),p=u.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(p).map((function(t){return p[t]}))));return f.orderedModifiers=v.filter((function(t){return t.enabled})),f.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:f,name:t.name,instance:s,options:void 0===n?{}:n});c.push(r||function(){})}})),s.update()},forceUpdate:function(){if(!p){var t=f.elements,n=t.reference,e=t.popper;if(nt(n,e)){f.rects={reference:Z(n,E(e),"fixed"===f.options.strategy),popper:w(e)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(t){return f.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],i=o.fn,u=o.options;"function"==typeof i&&(f=i({state:f,options:void 0===u?{}:u,name:o.name,instance:s})||f)}else f.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){s.forceUpdate(),t(f)}))},function(){return u||(u=new Promise((function(t){Promise.resolve().then((function(){u=void 0,t(i())}))}))),u}),destroy:function(){l(),p=!0}};if(!nt(t,n))return s;function l(){c.forEach((function(t){return t()})),c=[]}return s.setOptions(r).then((function(t){!p&&r.onFirstUpdate&&r.onFirstUpdate(t)})),s}}var rt=et({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,u=r.resize,a=void 0===u||u,f=c(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach((function(t){t.addEventListener("scroll",e.update,T)})),a&&f.addEventListener("resize",e.update,T),function(){i&&d.forEach((function(t){t.removeEventListener("scroll",e.update,T)})),a&&f.removeEventListener("resize",e.update,T)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=K({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,u=void 0===i||i,a=e.roundOffsets,f=void 0===a||a,c={placement:l(n.placement),variation:S(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,L(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:u,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,L(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];p(o)&&f(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});p(r)&&f(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(n){var o=n.state,i=n.name,a=n.options.offset,f=void 0===a?[0,0]:a,c=u.reduce((function(n,i){return n[i]=function(n,o,i){var u=l(n),a=[r,t].indexOf(u)>=0?-1:1,f="function"==typeof i?i(Object.assign({},o,{placement:n})):i,c=f[0],d=f[1];return c=c||0,d=(d||0)*a,[r,e].indexOf(u)>=0?{x:d,y:c}:{x:c,y:d}}(i,o.rects,f),n}),{}),d=c[o.placement],p=d.y;null!=o.modifiersData.popperOffsets&&(o.modifiersData.popperOffsets.x+=d.x,o.modifiersData.popperOffsets.y+=p),o.modifiersData[i]=c}},{name:"flip",enabled:!0,phase:"main",fn:function(o){var i=o.state,u=o.options,a=o.name;if(!i.modifiersData[a]._skip){for(var f=u.mainAxis,c=void 0===f||f,d=u.altAxis,p=void 0===d||d,s=u.fallbackPlacements,v=u.padding,b=u.boundary,h=u.rootBoundary,y=u.altBoundary,m=u.flipVariations,x=void 0===m||m,w=u.allowedAutoPlacements,O=i.options.placement,g=l(O),j=s||(g!==O&&x?function(t){if("auto"===l(t))return[];var n=I(t);return[C(t),n,C(n)]}(O):[I(O)]),M=[O].concat(j).reduce((function(t,n){return t.concat("auto"===l(n)?Q(i,{placement:n,boundary:b,rootBoundary:h,padding:v,flipVariations:x,allowedAutoPlacements:w}):n)}),[]),k=i.rects.reference,A=i.rects.popper,E=new Map,q=!0,B=M[0],P=0;P<M.length;P++){var R=M[P],W=l(R),L="start"===S(R),T=[t,n].indexOf(W)>=0,H=T?"width":"height",z=N(i,{placement:R,boundary:b,rootBoundary:h,altBoundary:y,padding:v}),D=T?L?e:r:L?n:t;k[H]>A[H]&&(D=I(D));var F=I(D),U=[];if(c&&U.push(z[W]<=0),p&&U.push(z[D]<=0,z[F]<=0),U.every((function(t){return t}))){B=R,q=!1;break}E.set(R,U)}if(q)for(var V=function(t){var n=M.find((function(n){var e=E.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return B=n,"break"},_=x?3:1;_>0&&"break"!==V(_);_--);i.placement!==B&&(i.modifiersData[a]._skip=!0,i.placement=B,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(o){var i=o.state,u=o.options,a=o.name,f=u.mainAxis,c=void 0===f||f,d=u.altAxis,p=void 0!==d&&d,s=u.tether,h=void 0===s||s,y=u.tetherOffset,m=void 0===y?0:y,x=N(i,{boundary:u.boundary,rootBoundary:u.rootBoundary,padding:u.padding,altBoundary:u.altBoundary}),O=l(i.placement),g=S(i.placement),j=!g,M=q(O),k="x"===M?"y":"x",A=i.modifiersData.popperOffsets,P=i.rects.reference,R=i.rects.popper,W="function"==typeof m?m(Object.assign({},i.rects,{placement:i.placement})):m,L="number"==typeof W?{mainAxis:W,altAxis:W}:Object.assign({mainAxis:0,altAxis:0},W),T=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,H={x:0,y:0};if(A){if(c){var I,z="y"===M?t:r,C="y"===M?n:e,D="y"===M?"height":"width",F=A[M],U=F+x[z],V=F-x[C],_=h?-R[D]/2:0,G="start"===g?P[D]:R[D],J="start"===g?-R[D]:-P[D],K=i.elements.arrow,Q=h&&K?w(K):{width:0,height:0},X=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[z],Z=X[C],$=B(0,P[D],Q[D]),tt=j?P[D]/2-_-$-Y-L.mainAxis:G-$-Y-L.mainAxis,nt=j?-P[D]/2+_+$+Z+L.mainAxis:J+$+Z+L.mainAxis,et=i.elements.arrow&&E(i.elements.arrow),rt=null!=(I=null==T?void 0:T[M])?I:0,ot=F+nt-rt,it=B(h?b(U,F+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):U,F,h?v(V,ot):V);A[M]=it,H[M]=it-F}if(p){var ut,at=A[k],ft="y"===k?"height":"width",ct=at+x["x"===M?t:r],dt=at-x["x"===M?n:e],pt=-1!==[t,r].indexOf(O),st=null!=(ut=null==T?void 0:T[k])?ut:0,lt=pt?ct:at-P[ft]-R[ft]-st+L.altAxis,vt=pt?at+P[ft]+R[ft]-st-L.altAxis:dt,bt=h&&pt?function(t,n,e){var r=B(t,n,e);return r>e?e:r}(lt,at,vt):B(h?lt:ct,at,h?vt:dt);A[k]=bt,H[k]=bt-at}i.modifiersData[a]=H}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(i){var u,a=i.state,f=i.name,c=i.options,d=a.elements.arrow,p=a.modifiersData.popperOffsets,s=l(a.placement),v=q(s),b=[r,e].indexOf(s)>=0?"height":"width";if(d&&p){var h=function(t,n){return P("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:R(t,o))}(c.padding,a),y=w(d),m="y"===v?t:r,x="y"===v?n:e,O=a.rects.reference[b]+a.rects.reference[v]-p[v]-a.rects.popper[b],g=p[v]-a.rects.reference[v],j=E(d),M=j?"y"===v?j.clientHeight||0:j.clientWidth||0:0,k=M/2-y[b]/2+(O/2-g/2),A=B(h[m],k,M-y[b]-h[x]);a.modifiersData[f]=((u={})[v]=A,u.centerOffset=A-k,u)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&O(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,u=N(n,{elementContext:"reference"}),a=N(n,{altBoundary:!0}),f=X(u,r),c=X(a,o,i),d=Y(f),p=Y(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}}]});export{rt as c}
|