@verdocs/web-sdk 1.0.25 → 1.4.0
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/README.md +1 -0
- package/dist/cjs/Auth-0146ddd8.js +161 -0
- package/dist/cjs/Token-b86e5335.js +2463 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/buffer-es6-b2c1c885.js +1987 -0
- package/dist/cjs/css-shim-e9231523.js +6 -0
- package/dist/cjs/dom-7fb93981.js +75 -0
- package/dist/cjs/index-9c6e5f50.js +1976 -0
- package/dist/cjs/index-a24f3b6a.js +3096 -0
- package/dist/cjs/index-b5a86b04.js +4 -0
- package/dist/cjs/index-c4be37e1.js +54 -0
- package/dist/cjs/loader.cjs.js +19 -3
- package/dist/cjs/shadow-css-abc19485.js +389 -0
- package/dist/cjs/verdocs-auth.cjs.entry.js +306 -0
- package/dist/cjs/verdocs-button.cjs.entry.js +49 -0
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +80 -0
- package/dist/cjs/verdocs-field-attachment.cjs.entry.js +59 -0
- package/dist/cjs/verdocs-field-checkbox.cjs.entry.js +39 -0
- package/dist/cjs/verdocs-field-date.cjs.entry.js +2968 -0
- package/dist/cjs/verdocs-field-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/verdocs-field-initial.cjs.entry.js +52 -0
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +86 -0
- package/dist/cjs/verdocs-field-radio-button.cjs.entry.js +48 -0
- package/dist/cjs/verdocs-field-signature.cjs.entry.js +52 -0
- package/dist/cjs/verdocs-field-textarea.cjs.entry.js +63 -0
- package/dist/cjs/verdocs-field-textbox.cjs.entry.js +63 -0
- package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +243 -0
- package/dist/cjs/verdocs-kba-dialog.cjs.entry.js +81 -0
- package/dist/cjs/verdocs-loader.cjs.entry.js +19 -0
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +48 -0
- package/dist/cjs/verdocs-organization-card.cjs.entry.js +22 -0
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +31 -0
- package/dist/cjs/verdocs-search-activity.cjs.entry.js +263 -0
- package/dist/cjs/{search-box.cjs.entry.js → verdocs-search-box.cjs.entry.js} +6 -6
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +20 -0
- package/dist/cjs/verdocs-search.cjs.entry.js +19 -0
- package/dist/cjs/verdocs-sign.cjs.entry.js +1999 -0
- package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +239 -0
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +7615 -0
- package/dist/cjs/verdocs-template-card.cjs.entry.js +38 -0
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +20 -0
- package/dist/cjs/verdocs-text-input.cjs.entry.js +62 -0
- package/dist/cjs/verdocs-toggle.cjs.entry.js +36 -0
- package/dist/cjs/verdocs-upload-dialog.cjs.entry.js +123 -0
- package/dist/cjs/verdocs-view.cjs.entry.js +16122 -0
- package/dist/cjs/verdocs-web-sdk.cjs.js +117 -5
- package/dist/collection/collection-manifest.json +34 -16
- package/dist/collection/components/controls/verdocs-button/verdocs-button.css +140 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.js +205 -0
- package/dist/collection/components/controls/verdocs-button/verdocs-button.stories.js +59 -0
- package/dist/collection/components/controls/{dropdown-menu → verdocs-dropdown}/down-arrow.svg +0 -0
- package/dist/collection/components/controls/verdocs-dropdown/verdocs-dropdown.css +62 -0
- package/dist/collection/components/controls/{dropdown-menu/dropdown-menu.js → verdocs-dropdown/verdocs-dropdown.js} +26 -47
- package/dist/collection/components/controls/{dropdown-menu/dropdown-menu.stories.js → verdocs-dropdown/verdocs-dropdown.stories.js} +5 -9
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.css +45 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.js +16 -0
- package/dist/collection/components/controls/verdocs-loader/verdocs-loader.stories.js +8 -0
- package/dist/collection/components/{elements/org-popup → controls/verdocs-organization-card}/user-group.svg +0 -0
- package/dist/collection/components/{elements/org-popup/org-popup.css → controls/verdocs-organization-card/verdocs-organization-card.css} +16 -40
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.js +60 -0
- package/dist/collection/components/controls/verdocs-organization-card/verdocs-organization-card.stories.js +22 -0
- package/dist/collection/components/controls/verdocs-status-indicator/accepted-dark.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/accepted-light.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/arrowright.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/canceled-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/canceled-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/complete-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/complete-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/declined-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/declined-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/in-progress-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/in-progress-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/opened-dark.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/opened-light.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/pending-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/pending-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/recipient-flow.js +218 -0
- package/dist/collection/components/controls/verdocs-status-indicator/signed-dark.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/signed-light.svg +4 -0
- package/dist/collection/components/controls/verdocs-status-indicator/some-signed-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/some-signed-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/submitted-dark.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/submitted-light.svg +3 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.css +48 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.js +344 -0
- package/dist/collection/components/controls/verdocs-status-indicator/verdocs-status-indicator.stories.js +69 -0
- package/dist/collection/components/{elements/template-card/actions-icon.svg → controls/verdocs-template-card/actions.svg} +0 -0
- package/dist/collection/components/{elements/template-card/email-icon.svg → controls/verdocs-template-card/email.svg} +0 -0
- package/dist/collection/components/{elements/template-card/pages-icon.svg → controls/verdocs-template-card/pages.svg} +0 -0
- package/dist/collection/components/controls/verdocs-template-card/star.svg +10 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.css +62 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.js +58 -0
- package/dist/collection/components/controls/verdocs-template-card/verdocs-template-card.stories.js +49 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.css +17 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.js +34 -0
- package/dist/collection/components/controls/verdocs-template-tags/verdocs-template-tags.stories.js +10 -0
- package/dist/collection/components/controls/verdocs-text-input/test/verdocs-text-input.js +8 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.css +28 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.js +224 -0
- package/dist/collection/components/controls/verdocs-text-input/verdocs-text-input.stories.js +31 -0
- package/dist/collection/components/controls/{toggle-icon-buttons/grid-view.svg → verdocs-toggle/grid.svg} +0 -0
- package/dist/collection/components/controls/{toggle-icon-buttons/list-view.svg → verdocs-toggle/list.svg} +0 -0
- package/dist/collection/components/controls/verdocs-toggle/verdocs-toggle.css +52 -0
- package/dist/collection/components/controls/{toggle-icon-buttons/toggle-icon-buttons.js → verdocs-toggle/verdocs-toggle.js} +11 -7
- package/dist/collection/components/controls/{toggle-icon-buttons/toggle-icon-buttons.stories.js → verdocs-toggle/verdocs-toggle.stories.js} +12 -12
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.css +85 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +329 -0
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.js +18 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/question.svg +4 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.css +95 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.js +292 -0
- package/dist/collection/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.js +36 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.css +47 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +146 -0
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.js +20 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.css +85 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +325 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.js +18 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/paperclip.svg +3 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/trash.svg +3 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.css +98 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +163 -0
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.js +18 -0
- package/dist/collection/components/elements/verdocs-field-attachment/paperclip.svg +3 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.css +21 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.js +163 -0
- package/dist/collection/components/elements/verdocs-field-attachment/verdocs-field-attachment.stories.js +8 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.css +41 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.js +131 -0
- package/dist/collection/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.stories.js +11 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.css +294 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.js +245 -0
- package/dist/collection/components/elements/verdocs-field-date/verdocs-field-date.stories.js +31 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.css +40 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.js +216 -0
- package/dist/collection/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.stories.js +14 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.css +38 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.js +155 -0
- package/dist/collection/components/elements/verdocs-field-initial/verdocs-field-initial.stories.js +10 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.css +56 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.js +363 -0
- package/dist/collection/components/elements/verdocs-field-payment/verdocs-field-payment.stories.js +8 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.css +58 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.js +174 -0
- package/dist/collection/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.js +13 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.css +39 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.js +155 -0
- package/dist/collection/components/elements/verdocs-field-signature/verdocs-field-signature.stories.js +10 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.css +32 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.js +233 -0
- package/dist/collection/components/elements/verdocs-field-textarea/verdocs-field-textarea.stories.js +14 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.css +32 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.js +233 -0
- package/dist/collection/components/elements/verdocs-field-textbox/verdocs-field-textbox.stories.js +14 -0
- package/dist/collection/components/elements/{search-quick-functions → verdocs-quick-functions}/document-icon.svg +0 -0
- package/dist/collection/components/elements/{search-quick-functions → verdocs-quick-functions}/template-icon.svg +0 -0
- package/dist/collection/components/elements/{search-quick-functions/search-quick-functions.css → verdocs-quick-functions/verdocs-quick-functions.css} +5 -5
- package/dist/collection/components/elements/{search-quick-functions/search-quick-functions.js → verdocs-quick-functions/verdocs-quick-functions.js} +12 -10
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.stories.js +15 -0
- package/dist/collection/components/elements/{search-starred → verdocs-search-activity}/document-icon.svg +0 -0
- package/dist/collection/components/elements/{search-starred/search-starred.css → verdocs-search-activity/verdocs-search-activity.css} +12 -12
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.js +168 -0
- package/dist/collection/components/elements/verdocs-search-activity/verdocs-search-activity.stories.js +14 -0
- package/dist/collection/components/elements/{search-box → verdocs-search-box}/close.svg +0 -0
- package/dist/collection/components/elements/{search-box → verdocs-search-box}/search.svg +0 -0
- package/dist/collection/components/elements/{search-box/search-box.css → verdocs-search-box/verdocs-search-box.css} +9 -9
- package/dist/collection/components/elements/{search-box/search-box.js → verdocs-search-box/verdocs-search-box.js} +17 -15
- package/dist/collection/components/elements/{search-box/search-box.stories.js → verdocs-search-box/verdocs-search-box.stories.js} +3 -3
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.css +3 -0
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +19 -0
- package/dist/collection/components/elements/{search-tabs/search-tabs.stories.js → verdocs-search-tabs/verdocs-search-tabs.stories.js} +3 -3
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.css +58 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +241 -0
- package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.stories.js +19 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.css +23 -0
- package/dist/collection/components/embeds/verdocs-search/verdocs-search.js +19 -0
- package/dist/collection/components/embeds/{search-embed/search-embed.stories.js → verdocs-search/verdocs-search.stories.js} +2 -2
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.css +124 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +405 -0
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.stories.js +19 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.css +51 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +297 -0
- package/dist/collection/components/embeds/verdocs-view/verdocs-view.stories.js +21 -0
- package/dist/components/Auth.js +157 -0
- package/dist/components/Token.js +2458 -0
- package/dist/components/buffer-es6.js +1985 -0
- package/dist/components/index.d.ts +53 -0
- package/dist/components/index.js +37 -0
- package/dist/components/index2.js +1 -0
- package/dist/{cjs/dropdown-menu.cjs.entry.js → components/index3.js} +307 -140
- package/dist/components/index4.js +47 -0
- package/dist/components/verdocs-auth.d.ts +11 -0
- package/dist/components/verdocs-auth.js +347 -0
- package/dist/components/verdocs-button.d.ts +11 -0
- package/dist/components/verdocs-button.js +6 -0
- package/dist/components/verdocs-button2.js +68 -0
- package/dist/components/verdocs-dropdown.d.ts +11 -0
- package/dist/components/verdocs-dropdown.js +6 -0
- package/dist/components/verdocs-dropdown2.js +94 -0
- package/dist/components/verdocs-field-attachment.d.ts +11 -0
- package/dist/components/verdocs-field-attachment.js +6 -0
- package/dist/components/verdocs-field-attachment2.js +88 -0
- package/dist/components/verdocs-field-checkbox.d.ts +11 -0
- package/dist/components/verdocs-field-checkbox.js +6 -0
- package/dist/components/verdocs-field-checkbox2.js +55 -0
- package/dist/components/verdocs-field-date.d.ts +11 -0
- package/dist/components/verdocs-field-date.js +6 -0
- package/dist/components/verdocs-field-date2.js +2987 -0
- package/dist/components/verdocs-field-dropdown.d.ts +11 -0
- package/dist/components/verdocs-field-dropdown.js +6 -0
- package/dist/components/verdocs-field-dropdown2.js +78 -0
- package/dist/components/verdocs-field-initial.d.ts +11 -0
- package/dist/components/verdocs-field-initial.js +6 -0
- package/dist/components/verdocs-field-initial2.js +86 -0
- package/dist/components/verdocs-field-payment.d.ts +11 -0
- package/dist/components/verdocs-field-payment.js +6 -0
- package/dist/components/verdocs-field-payment2.js +114 -0
- package/dist/components/verdocs-field-radio-button.d.ts +11 -0
- package/dist/components/verdocs-field-radio-button.js +6 -0
- package/dist/components/verdocs-field-radio-button2.js +66 -0
- package/dist/components/verdocs-field-signature.d.ts +11 -0
- package/dist/components/verdocs-field-signature.js +6 -0
- package/dist/components/verdocs-field-signature2.js +86 -0
- package/dist/components/verdocs-field-textarea.d.ts +11 -0
- package/dist/components/verdocs-field-textarea.js +6 -0
- package/dist/components/verdocs-field-textarea2.js +82 -0
- package/dist/components/verdocs-field-textbox.d.ts +11 -0
- package/dist/components/verdocs-field-textbox.js +6 -0
- package/dist/components/verdocs-field-textbox2.js +82 -0
- package/dist/components/verdocs-initial-dialog.d.ts +11 -0
- package/dist/components/verdocs-initial-dialog.js +6 -0
- package/dist/components/verdocs-initial-dialog2.js +272 -0
- package/dist/components/verdocs-kba-dialog.d.ts +11 -0
- package/dist/components/verdocs-kba-dialog.js +112 -0
- package/dist/components/verdocs-loader.d.ts +11 -0
- package/dist/components/verdocs-loader.js +6 -0
- package/dist/components/verdocs-loader2.js +30 -0
- package/dist/components/verdocs-ok-dialog.d.ts +11 -0
- package/dist/components/verdocs-ok-dialog.js +6 -0
- package/dist/components/verdocs-ok-dialog2.js +70 -0
- package/dist/components/verdocs-organization-card.d.ts +11 -0
- package/dist/components/verdocs-organization-card.js +38 -0
- package/dist/components/verdocs-quick-functions.d.ts +11 -0
- package/dist/components/verdocs-quick-functions.js +45 -0
- package/dist/components/verdocs-search-activity.d.ts +11 -0
- package/dist/components/verdocs-search-activity.js +6 -0
- package/dist/components/verdocs-search-activity2.js +281 -0
- package/dist/components/verdocs-search-box.d.ts +11 -0
- package/dist/components/verdocs-search-box.js +6 -0
- package/dist/components/verdocs-search-box2.js +75 -0
- package/dist/components/verdocs-search-tabs.d.ts +11 -0
- package/dist/components/verdocs-search-tabs.js +36 -0
- package/dist/components/verdocs-search.d.ts +11 -0
- package/dist/components/verdocs-search.js +45 -0
- package/dist/components/verdocs-sign.d.ts +11 -0
- package/dist/components/verdocs-sign.js +2135 -0
- package/dist/components/verdocs-signature-dialog.d.ts +11 -0
- package/dist/components/verdocs-signature-dialog.js +6 -0
- package/dist/components/verdocs-signature-dialog2.js +268 -0
- package/dist/components/verdocs-status-indicator.d.ts +11 -0
- package/dist/components/verdocs-status-indicator.js +7635 -0
- package/dist/components/verdocs-template-card.d.ts +11 -0
- package/dist/components/verdocs-template-card.js +54 -0
- package/dist/components/verdocs-template-tags.d.ts +11 -0
- package/dist/components/verdocs-template-tags.js +36 -0
- package/dist/components/verdocs-text-input.d.ts +11 -0
- package/dist/components/verdocs-text-input.js +6 -0
- package/dist/components/verdocs-text-input2.js +81 -0
- package/dist/components/verdocs-toggle.d.ts +11 -0
- package/dist/components/verdocs-toggle.js +53 -0
- package/dist/components/verdocs-upload-dialog.d.ts +11 -0
- package/dist/components/verdocs-upload-dialog.js +6 -0
- package/dist/components/verdocs-upload-dialog2.js +144 -0
- package/dist/components/verdocs-view.d.ts +11 -0
- package/dist/components/verdocs-view.js +6 -0
- package/dist/components/verdocs-view2.js +16144 -0
- package/dist/custom-elements.json +830 -0
- package/dist/docs.d.ts +3 -0
- package/dist/docs.json +3026 -334
- package/dist/esm/Auth-4b21fced.js +157 -0
- package/dist/{cjs/Content-e1c04dfa.js → esm/Token-29eea56d.js} +912 -406
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/buffer-es6-5cef4368.js +1985 -0
- package/dist/esm/css-shim-60f618b9.js +4 -0
- package/dist/esm/dom-4eeb3fee.js +73 -0
- package/dist/esm/{dropdown-menu.entry.js → index-432c65a6.js} +307 -136
- package/dist/esm/index-97ec070b.js +47 -0
- package/dist/esm/index-ddbd60b5.js +3059 -0
- package/dist/esm/index-ef172650.js +1 -0
- package/dist/esm/loader.js +19 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/shadow-css-02866686.js +387 -0
- package/dist/esm/verdocs-auth.entry.js +302 -0
- package/dist/esm/verdocs-button.entry.js +45 -0
- package/dist/esm/verdocs-dropdown.entry.js +76 -0
- package/dist/esm/verdocs-field-attachment.entry.js +55 -0
- package/dist/esm/verdocs-field-checkbox.entry.js +35 -0
- package/dist/esm/verdocs-field-date.entry.js +2964 -0
- package/dist/esm/verdocs-field-dropdown.entry.js +55 -0
- package/dist/esm/verdocs-field-initial.entry.js +48 -0
- package/dist/esm/verdocs-field-payment.entry.js +82 -0
- package/dist/esm/verdocs-field-radio-button.entry.js +44 -0
- package/dist/esm/verdocs-field-signature.entry.js +48 -0
- package/dist/esm/verdocs-field-textarea.entry.js +59 -0
- package/dist/esm/verdocs-field-textbox.entry.js +59 -0
- package/dist/esm/verdocs-initial-dialog.entry.js +239 -0
- package/dist/esm/verdocs-kba-dialog.entry.js +77 -0
- package/dist/esm/verdocs-loader.entry.js +15 -0
- package/dist/esm/verdocs-ok-dialog.entry.js +44 -0
- package/dist/esm/verdocs-organization-card.entry.js +18 -0
- package/dist/esm/verdocs-quick-functions.entry.js +27 -0
- package/dist/esm/verdocs-search-activity.entry.js +259 -0
- package/dist/esm/{search-box.entry.js → verdocs-search-box.entry.js} +6 -6
- package/dist/esm/verdocs-search-tabs.entry.js +16 -0
- package/dist/esm/verdocs-search.entry.js +15 -0
- package/dist/esm/verdocs-sign.entry.js +1995 -0
- package/dist/esm/verdocs-signature-dialog.entry.js +235 -0
- package/dist/esm/verdocs-status-indicator.entry.js +7611 -0
- package/dist/esm/verdocs-template-card.entry.js +34 -0
- package/dist/esm/verdocs-template-tags.entry.js +16 -0
- package/dist/esm/verdocs-text-input.entry.js +58 -0
- package/dist/esm/verdocs-toggle.entry.js +32 -0
- package/dist/esm/verdocs-upload-dialog.entry.js +119 -0
- package/dist/esm/verdocs-view.entry.js +16118 -0
- package/dist/esm/verdocs-web-sdk.js +117 -5
- package/dist/esm-es5/Auth-4b21fced.js +1 -0
- package/dist/esm-es5/Token-29eea56d.js +1 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/buffer-es6-5cef4368.js +7 -0
- package/dist/esm-es5/css-shim-60f618b9.js +1 -0
- package/dist/esm-es5/dom-4eeb3fee.js +21 -0
- package/dist/esm-es5/index-432c65a6.js +1 -0
- package/dist/esm-es5/index-97ec070b.js +1 -0
- package/dist/esm-es5/index-ddbd60b5.js +2 -0
- package/dist/esm-es5/index-ef172650.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/shadow-css-02866686.js +12 -0
- package/dist/esm-es5/verdocs-auth.entry.js +1 -0
- package/dist/esm-es5/verdocs-button.entry.js +1 -0
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-attachment.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-checkbox.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-date.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-dropdown.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-initial.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-radio-button.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-signature.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-textarea.entry.js +1 -0
- package/dist/esm-es5/verdocs-field-textbox.entry.js +1 -0
- package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -0
- package/dist/esm-es5/verdocs-kba-dialog.entry.js +1 -0
- package/dist/esm-es5/verdocs-loader.entry.js +1 -0
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -0
- package/dist/esm-es5/verdocs-organization-card.entry.js +1 -0
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -0
- package/dist/esm-es5/verdocs-search-activity.entry.js +1 -0
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -0
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -0
- package/dist/esm-es5/verdocs-search.entry.js +1 -0
- package/dist/esm-es5/verdocs-sign.entry.js +1 -0
- package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -0
- package/dist/esm-es5/verdocs-status-indicator.entry.js +11 -0
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -0
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -0
- package/dist/esm-es5/verdocs-text-input.entry.js +1 -0
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -0
- package/dist/esm-es5/verdocs-upload-dialog.entry.js +1 -0
- package/dist/esm-es5/verdocs-view.entry.js +23 -0
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/controls/verdocs-button/verdocs-button.d.ts +52 -0
- package/dist/types/components/controls/verdocs-button/verdocs-button.stories.d.ts +12 -0
- package/dist/types/components/controls/{dropdown-menu/dropdown-menu.d.ts → verdocs-dropdown/verdocs-dropdown.d.ts} +3 -20
- package/dist/types/components/{elements/search-recent/search-recent.stories.d.ts → controls/verdocs-dropdown/verdocs-dropdown.stories.d.ts} +3 -3
- package/dist/types/components/controls/verdocs-loader/verdocs-loader.d.ts +6 -0
- package/dist/types/components/controls/verdocs-loader/verdocs-loader.stories.d.ts +4 -0
- package/dist/types/components/controls/verdocs-organization-card/verdocs-organization-card.d.ts +11 -0
- package/dist/types/components/controls/verdocs-organization-card/verdocs-organization-card.stories.d.ts +6 -0
- package/dist/types/components/controls/verdocs-status-indicator/recipient-flow.d.ts +4 -0
- package/dist/types/components/controls/verdocs-status-indicator/verdocs-status-indicator.d.ts +42 -0
- package/dist/types/components/controls/verdocs-status-indicator/verdocs-status-indicator.stories.d.ts +9 -0
- package/dist/types/components/controls/verdocs-template-card/verdocs-template-card.d.ts +11 -0
- package/dist/types/components/{elements/template-card/template-card.stories.d.ts → controls/verdocs-template-card/verdocs-template-card.stories.d.ts} +1 -2
- package/dist/types/components/controls/verdocs-template-tags/verdocs-template-tags.d.ts +10 -0
- package/dist/types/components/controls/{tags-indicator/tags-indicator.stories.d.ts → verdocs-template-tags/verdocs-template-tags.stories.d.ts} +1 -1
- package/dist/types/components/controls/verdocs-text-input/test/verdocs-text-input.d.ts +1 -0
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.d.ts +54 -0
- package/dist/types/components/controls/verdocs-text-input/verdocs-text-input.stories.d.ts +13 -0
- package/dist/types/components/controls/{toggle-icon-buttons/toggle-icon-buttons.d.ts → verdocs-toggle/verdocs-toggle.d.ts} +2 -2
- package/dist/types/components/controls/{toggle-icon-buttons/toggle-icon-buttons.stories.d.ts → verdocs-toggle/verdocs-toggle.stories.d.ts} +1 -1
- package/dist/types/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.d.ts +36 -0
- package/dist/types/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.stories.d.ts +8 -0
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.d.ts +57 -0
- package/dist/types/components/dialogs/verdocs-kba-dialog/verdocs-kba-dialog.stories.d.ts +15 -0
- package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.d.ts +32 -0
- package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.stories.d.ts +10 -0
- package/dist/types/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.d.ts +36 -0
- package/dist/types/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.stories.d.ts +8 -0
- package/dist/types/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.d.ts +34 -0
- package/dist/types/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.stories.d.ts +8 -0
- package/dist/types/components/elements/verdocs-field-attachment/verdocs-field-attachment.d.ts +33 -0
- package/dist/types/components/elements/verdocs-field-attachment/verdocs-field-attachment.stories.d.ts +4 -0
- package/dist/types/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.d.ts +31 -0
- package/dist/types/components/elements/verdocs-field-checkbox-group/verdocs-field-checkbox.stories.d.ts +7 -0
- package/dist/types/components/elements/verdocs-field-date/verdocs-field-date.d.ts +53 -0
- package/dist/types/components/elements/verdocs-field-date/verdocs-field-date.stories.d.ts +10 -0
- package/dist/types/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.d.ts +48 -0
- package/dist/types/components/elements/verdocs-field-dropdown/verdocs-field-dropdown.stories.d.ts +10 -0
- package/dist/types/components/elements/verdocs-field-initial/verdocs-field-initial.d.ts +31 -0
- package/dist/types/components/elements/verdocs-field-initial/verdocs-field-initial.stories.d.ts +6 -0
- package/dist/types/components/elements/verdocs-field-payment/verdocs-field-payment.d.ts +53 -0
- package/dist/types/components/elements/verdocs-field-payment/verdocs-field-payment.stories.d.ts +4 -0
- package/dist/types/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.d.ts +38 -0
- package/dist/types/components/elements/verdocs-field-radio-button-group/verdocs-field-radio-button.stories.d.ts +9 -0
- package/dist/types/components/elements/verdocs-field-signature/verdocs-field-signature.d.ts +31 -0
- package/dist/types/components/elements/verdocs-field-signature/verdocs-field-signature.stories.d.ts +6 -0
- package/dist/types/components/elements/verdocs-field-textarea/verdocs-field-textarea.d.ts +52 -0
- package/dist/types/components/elements/verdocs-field-textarea/verdocs-field-textarea.stories.d.ts +10 -0
- package/dist/types/components/elements/verdocs-field-textbox/verdocs-field-textbox.d.ts +52 -0
- package/dist/types/components/elements/{org-popup/org-popup.stories.d.ts → verdocs-field-textbox/verdocs-field-textbox.stories.d.ts} +6 -4
- package/dist/types/components/elements/{search-quick-functions/search-quick-functions.d.ts → verdocs-quick-functions/verdocs-quick-functions.d.ts} +4 -1
- package/dist/types/components/elements/{search-quick-functions/search-quick-functions.stories.d.ts → verdocs-quick-functions/verdocs-quick-functions.stories.d.ts} +1 -1
- package/dist/types/components/elements/verdocs-search-activity/verdocs-search-activity.d.ts +28 -0
- package/dist/types/components/elements/{search-starred/search-starred.stories.d.ts → verdocs-search-activity/verdocs-search-activity.stories.d.ts} +2 -2
- package/dist/types/components/elements/{search-box/search-box.d.ts → verdocs-search-box/verdocs-search-box.d.ts} +4 -1
- package/dist/types/components/elements/{search-box/search-box.stories.d.ts → verdocs-search-box/verdocs-search-box.stories.d.ts} +1 -1
- package/dist/types/components/elements/{search-tabs/search-tabs.d.ts → verdocs-search-tabs/verdocs-search-tabs.d.ts} +1 -1
- package/dist/types/components/elements/{search-tabs/search-tabs.stories.d.ts → verdocs-search-tabs/verdocs-search-tabs.stories.d.ts} +1 -1
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.d.ts +69 -0
- package/dist/types/components/embeds/verdocs-auth/verdocs-auth.stories.d.ts +9 -0
- package/dist/types/components/embeds/verdocs-search/verdocs-search.d.ts +3 -0
- package/dist/types/components/embeds/{search-embed/search-embed.stories.d.ts → verdocs-search/verdocs-search.stories.d.ts} +1 -1
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +46 -0
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.stories.d.ts +9 -0
- package/dist/types/components/embeds/verdocs-view/verdocs-view.d.ts +77 -0
- package/dist/types/components/{controls/document-status-indicator/document-status-indicator.stories.d.ts → embeds/verdocs-view/verdocs-view.stories.d.ts} +2 -2
- package/dist/types/components.d.ts +1387 -253
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/verdocs-web-sdk/Auth-4b21fced.js +157 -0
- package/dist/verdocs-web-sdk/Auth-82e38539.system.js +1 -0
- package/dist/{esm/Content-97cad4ea.js → verdocs-web-sdk/Token-29eea56d.js} +914 -406
- package/dist/verdocs-web-sdk/Token-c1cf309e.system.js +1 -0
- package/dist/verdocs-web-sdk/app-globals-0f993ce5.js +3 -0
- package/dist/verdocs-web-sdk/app-globals-497eb362.system.js +1 -0
- package/dist/verdocs-web-sdk/buffer-es6-5cef4368.js +1985 -0
- package/dist/verdocs-web-sdk/buffer-es6-aa11181b.system.js +7 -0
- package/dist/verdocs-web-sdk/css-shim-60f618b9.js +4 -0
- package/dist/verdocs-web-sdk/css-shim-e41ceccc.system.js +1 -0
- package/dist/verdocs-web-sdk/dom-4eeb3fee.js +73 -0
- package/dist/verdocs-web-sdk/dom-89b5deb7.system.js +21 -0
- package/dist/verdocs-web-sdk/index-027b383e.system.js +1 -0
- package/dist/verdocs-web-sdk/index-06e036a1.system.js +1 -0
- package/dist/verdocs-web-sdk/index-432c65a6.js +1974 -0
- package/dist/verdocs-web-sdk/index-5d49316f.system.js +1 -0
- package/dist/verdocs-web-sdk/index-6465280a.system.js +2 -0
- package/dist/verdocs-web-sdk/index-97ec070b.js +47 -0
- package/dist/verdocs-web-sdk/index-ddbd60b5.js +3059 -0
- package/dist/verdocs-web-sdk/index-ef172650.js +1 -0
- package/dist/verdocs-web-sdk/index.esm.js +1 -0
- package/dist/verdocs-web-sdk/{p-50ea2036.system.js → index.system.js} +0 -0
- package/dist/verdocs-web-sdk/shadow-css-02866686.js +387 -0
- package/dist/verdocs-web-sdk/shadow-css-6207e159.system.js +13 -0
- package/dist/verdocs-web-sdk/verdocs-auth.entry.js +302 -0
- package/dist/verdocs-web-sdk/verdocs-auth.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-button.entry.js +45 -0
- package/dist/verdocs-web-sdk/verdocs-button.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-dropdown.entry.js +76 -0
- package/dist/verdocs-web-sdk/verdocs-dropdown.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-attachment.entry.js +55 -0
- package/dist/verdocs-web-sdk/verdocs-field-attachment.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-checkbox.entry.js +35 -0
- package/dist/verdocs-web-sdk/verdocs-field-checkbox.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-date.entry.js +2964 -0
- package/dist/verdocs-web-sdk/verdocs-field-date.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-dropdown.entry.js +55 -0
- package/dist/verdocs-web-sdk/verdocs-field-dropdown.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-initial.entry.js +48 -0
- package/dist/verdocs-web-sdk/verdocs-field-initial.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-payment.entry.js +82 -0
- package/dist/verdocs-web-sdk/verdocs-field-payment.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-radio-button.entry.js +44 -0
- package/dist/verdocs-web-sdk/verdocs-field-radio-button.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-signature.entry.js +48 -0
- package/dist/verdocs-web-sdk/verdocs-field-signature.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-textarea.entry.js +59 -0
- package/dist/verdocs-web-sdk/verdocs-field-textarea.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-field-textbox.entry.js +59 -0
- package/dist/verdocs-web-sdk/verdocs-field-textbox.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-initial-dialog.entry.js +239 -0
- package/dist/verdocs-web-sdk/verdocs-initial-dialog.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-kba-dialog.entry.js +77 -0
- package/dist/verdocs-web-sdk/verdocs-kba-dialog.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-loader.entry.js +15 -0
- package/dist/verdocs-web-sdk/verdocs-loader.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-ok-dialog.entry.js +44 -0
- package/dist/verdocs-web-sdk/verdocs-ok-dialog.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-organization-card.entry.js +18 -0
- package/dist/verdocs-web-sdk/verdocs-organization-card.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-quick-functions.entry.js +27 -0
- package/dist/verdocs-web-sdk/verdocs-quick-functions.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-search-activity.entry.js +259 -0
- package/dist/verdocs-web-sdk/verdocs-search-activity.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-search-box.entry.js +56 -0
- package/dist/verdocs-web-sdk/verdocs-search-box.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-search-tabs.entry.js +16 -0
- package/dist/verdocs-web-sdk/verdocs-search-tabs.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-search.entry.js +15 -0
- package/dist/verdocs-web-sdk/verdocs-search.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-sign.entry.js +1995 -0
- package/dist/verdocs-web-sdk/verdocs-sign.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-signature-dialog.entry.js +235 -0
- package/dist/verdocs-web-sdk/verdocs-signature-dialog.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-status-indicator.entry.js +7611 -0
- package/dist/verdocs-web-sdk/verdocs-status-indicator.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-template-card.entry.js +34 -0
- package/dist/verdocs-web-sdk/verdocs-template-card.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-template-tags.entry.js +16 -0
- package/dist/verdocs-web-sdk/verdocs-template-tags.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-text-input.entry.js +58 -0
- package/dist/verdocs-web-sdk/verdocs-text-input.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-toggle.entry.js +32 -0
- package/dist/verdocs-web-sdk/verdocs-toggle.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-upload-dialog.entry.js +119 -0
- package/dist/verdocs-web-sdk/verdocs-upload-dialog.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-view.entry.js +16118 -0
- package/dist/verdocs-web-sdk/verdocs-view.system.entry.js +23 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.css +57 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +129 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.system.js +1 -0
- package/package.json +42 -35
- package/dist/cjs/document-status-indicator.cjs.entry.js +0 -51
- package/dist/cjs/index-83ab34ef.js +0 -1640
- package/dist/cjs/org-popup.cjs.entry.js +0 -25
- package/dist/cjs/pdf-viewer.cjs.entry.js +0 -13677
- package/dist/cjs/search-embed.cjs.entry.js +0 -19
- package/dist/cjs/search-quick-functions.cjs.entry.js +0 -31
- package/dist/cjs/search-recent.cjs.entry.js +0 -39
- package/dist/cjs/search-saved.cjs.entry.js +0 -39
- package/dist/cjs/search-starred.cjs.entry.js +0 -46
- package/dist/cjs/search-tabs.cjs.entry.js +0 -20
- package/dist/cjs/tags-indicator.cjs.entry.js +0 -20
- package/dist/cjs/template-card.cjs.entry.js +0 -28
- package/dist/cjs/toggle-icon-buttons.cjs.entry.js +0 -32
- package/dist/collection/api/endpoint.js +0 -1
- package/dist/collection/components/controls/document-status-indicator/cancelled-icon.svg +0 -1
- package/dist/collection/components/controls/document-status-indicator/declined-icon.svg +0 -1
- package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css +0 -23
- package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js +0 -70
- package/dist/collection/components/controls/document-status-indicator/document-status-indicator.stories.js +0 -12
- package/dist/collection/components/controls/document-status-indicator/finished-icon.svg +0 -1
- package/dist/collection/components/controls/document-status-indicator/pending-icon.svg +0 -1
- package/dist/collection/components/controls/dropdown-menu/dropdown-menu.css +0 -80
- package/dist/collection/components/controls/tags-indicator/tags-indicator.css +0 -34
- package/dist/collection/components/controls/tags-indicator/tags-indicator.js +0 -55
- package/dist/collection/components/controls/tags-indicator/tags-indicator.stories.js +0 -13
- package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.css +0 -64
- package/dist/collection/components/elements/org-popup/org-popup.js +0 -80
- package/dist/collection/components/elements/org-popup/org-popup.stories.js +0 -20
- package/dist/collection/components/elements/search-quick-functions/search-quick-functions.stories.js +0 -15
- package/dist/collection/components/elements/search-recent/search-icon.svg +0 -1
- package/dist/collection/components/elements/search-recent/search-recent.css +0 -65
- package/dist/collection/components/elements/search-recent/search-recent.js +0 -86
- package/dist/collection/components/elements/search-recent/search-recent.stories.js +0 -12
- package/dist/collection/components/elements/search-saved/search-icon.svg +0 -1
- package/dist/collection/components/elements/search-saved/search-saved.css +0 -56
- package/dist/collection/components/elements/search-saved/search-saved.js +0 -86
- package/dist/collection/components/elements/search-saved/search-saved.stories.js +0 -12
- package/dist/collection/components/elements/search-starred/search-starred.js +0 -91
- package/dist/collection/components/elements/search-starred/search-starred.stories.js +0 -35
- package/dist/collection/components/elements/search-tabs/search-tabs.css +0 -3
- package/dist/collection/components/elements/search-tabs/search-tabs.js +0 -20
- package/dist/collection/components/elements/template-card/star-icon.svg +0 -1
- package/dist/collection/components/elements/template-card/template-card.css +0 -90
- package/dist/collection/components/elements/template-card/template-card.js +0 -74
- package/dist/collection/components/elements/template-card/template-card.stories.js +0 -21
- package/dist/collection/components/embeds/search-embed/search-embed.css +0 -3
- package/dist/collection/components/embeds/search-embed/search-embed.js +0 -15
- package/dist/collection/components/pdf-viewer/pdf-viewer.css +0 -20
- package/dist/collection/components/pdf-viewer/pdf-viewer.js +0 -278
- package/dist/custom-elements/index.d.ts +0 -123
- package/dist/custom-elements/index.js +0 -17801
- package/dist/esm/document-status-indicator.entry.js +0 -47
- package/dist/esm/index-792f07a6.js +0 -1611
- package/dist/esm/org-popup.entry.js +0 -21
- package/dist/esm/pdf-viewer.entry.js +0 -13673
- package/dist/esm/search-embed.entry.js +0 -15
- package/dist/esm/search-quick-functions.entry.js +0 -27
- package/dist/esm/search-recent.entry.js +0 -35
- package/dist/esm/search-saved.entry.js +0 -35
- package/dist/esm/search-starred.entry.js +0 -42
- package/dist/esm/search-tabs.entry.js +0 -16
- package/dist/esm/tags-indicator.entry.js +0 -16
- package/dist/esm/template-card.entry.js +0 -24
- package/dist/esm/toggle-icon-buttons.entry.js +0 -28
- package/dist/esm-es5/Content-97cad4ea.js +0 -1
- package/dist/esm-es5/document-status-indicator.entry.js +0 -1
- package/dist/esm-es5/dropdown-menu.entry.js +0 -1
- package/dist/esm-es5/index-792f07a6.js +0 -1
- package/dist/esm-es5/org-popup.entry.js +0 -1
- package/dist/esm-es5/pdf-viewer.entry.js +0 -23
- package/dist/esm-es5/search-box.entry.js +0 -1
- package/dist/esm-es5/search-embed.entry.js +0 -1
- package/dist/esm-es5/search-quick-functions.entry.js +0 -1
- package/dist/esm-es5/search-recent.entry.js +0 -1
- package/dist/esm-es5/search-saved.entry.js +0 -1
- package/dist/esm-es5/search-starred.entry.js +0 -1
- package/dist/esm-es5/search-tabs.entry.js +0 -1
- package/dist/esm-es5/tags-indicator.entry.js +0 -1
- package/dist/esm-es5/template-card.entry.js +0 -1
- package/dist/esm-es5/toggle-icon-buttons.entry.js +0 -1
- package/dist/types/api/endpoint.d.ts +0 -1
- package/dist/types/components/controls/document-status-indicator/document-status-indicator.d.ts +0 -11
- package/dist/types/components/controls/dropdown-menu/dropdown-menu.stories.d.ts +0 -11
- package/dist/types/components/controls/tags-indicator/tags-indicator.d.ts +0 -18
- package/dist/types/components/elements/org-popup/org-popup.d.ts +0 -18
- package/dist/types/components/elements/search-recent/search-recent.d.ts +0 -21
- package/dist/types/components/elements/search-saved/search-saved.d.ts +0 -21
- package/dist/types/components/elements/search-saved/search-saved.stories.d.ts +0 -7
- package/dist/types/components/elements/search-starred/search-starred.d.ts +0 -16
- package/dist/types/components/elements/template-card/template-card.d.ts +0 -18
- package/dist/types/components/embeds/search-embed/search-embed.d.ts +0 -3
- package/dist/types/components/pdf-viewer/pdf-viewer.d.ts +0 -36
- package/dist/verdocs-web-sdk/p-010729d1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-082ac880.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-299fe046.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2a5b073f.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2e3b87aa.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2e3de14e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4455e25e.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-46e67698.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4d53801c.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4f6c5df8.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4f726e43.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-52a0475a.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-598e9062.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-5f583dee.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6b117db2.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6ecfe697.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7cd7db96.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-826ce4d6.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-852fb42b.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-8fb7a85d.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-92c467d9.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-a8ac52f9.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-be074c7d.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-c7794fd6.system.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-c8740fbb.js +0 -1
- package/dist/verdocs-web-sdk/p-d0b756a0.system.js +0 -1
- package/dist/verdocs-web-sdk/p-df83ddb8.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e724fc95.system.js +0 -1
- package/dist/verdocs-web-sdk/p-e7f1e5e6.js +0 -1
- package/dist/verdocs-web-sdk/p-e7f803f7.system.js +0 -1
- package/dist/verdocs-web-sdk/p-e9754f6b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-fe3ceb31.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-feb2f9c2.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))t[i]=e[i]}return t};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};System.register(["./index-6465280a.system.js","./index-06e036a1.system.js","./index-027b383e.system.js"],(function(t){"use strict";var e,r,n,i;return{setters:[function(t){e=t.r;r=t.h;n=t.f},function(t){i=t.c},function(){}],execute:function(){var o={};var s=[];function a(t,e){if(Array.isArray(t)){for(var r=0,n=t;r<n.length;r++){var i=n[r];a(i,e)}return}if(typeof t==="object"){for(var i in t){a(i,t[i])}return}f(Object.getOwnPropertyNames(e));o[t]=Object.assign(o[t]||{},e)}function u(t){return o[t]||{}}function h(){return __spreadArray([],new Set(s),true)}function f(t){s.push.apply(s,t)}function l(t,e){var r;var n=t.length;var i=[];for(r=0;r<n;r++){i.push(e(t[r]))}return i}function c(t,e){var r;var n=t.length;var i=[];for(r=0;r<n;r++){if(e(t[r])){i.push(t[r])}}return i}function p(t){return t%360*Math.PI/180}function d(t){return t*180/Math.PI%360}function v(t){return t.toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))}function y(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function m(t){return t.charAt(0).toUpperCase()+t.slice(1)}function g(t,e,r,n){if(e==null||r==null){n=n||t.bbox();if(e==null){e=n.width/n.height*r}else if(r==null){r=n.height/n.width*e}}return{width:e,height:r}}function w(t,e){var r;var n=t.origin;var i=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";var o=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(n!=null){r=Array.isArray(n)?n:typeof n==="object"?[n.x,n.y]:[n,n],i=r[0],o=r[1]}var s=typeof i==="string";var a=typeof o==="string";if(s||a){var u=e.bbox(),h=u.height,f=u.width,l=u.x,c=u.y;if(s){i=i.includes("left")?l:i.includes("right")?l+f:l+f/2}if(a){o=o.includes("top")?c:o.includes("bottom")?c+h:c+h/2}}return[i,o]}var _={__proto__:null,map:l,filter:c,radians:p,degrees:d,camelCase:v,unCamelCase:y,capitalize:m,proportionalSize:g,getOrigin:w};var C="http://www.w3.org/2000/svg";var x="http://www.w3.org/1999/xhtml";var b="http://www.w3.org/2000/xmlns/";var M="http://www.w3.org/1999/xlink";var k="http://svgjs.dev/svgjs";var O={__proto__:null,svg:C,html:x,xmlns:b,xlink:M,svgjs:k};var A={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function S(t,e){if(t===void 0){t=null}if(e===void 0){e=null}A.window=t;A.document=e}var T={};function E(){T.window=A.window;T.document=A.document}function L(){A.window=T.window;A.document=T.document}function j(t,e){E();S(t,t.document);e(t,t.document);L()}function N(){return A.window}var I=function(){function t(){}return t}();var D={};var z="___SYMBOL___ROOT___";function B(t,e){if(e===void 0){e=C}return A.document.createElementNS(e,t)}function V(t,e){if(e===void 0){e=false}if(t instanceof I)return t;if(typeof t==="object"){return R(t)}if(t==null){return new D[z]}if(typeof t==="string"&&t.charAt(0)!=="<"){return R(A.document.querySelector(t))}var r=e?A.document.createElement("div"):B("svg");r.innerHTML=t;t=R(r.firstChild);r.removeChild(r.firstChild);return t}function H(t,e){return e&&e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node?e:B(t)}function P(t){if(!t)return null;if(t.instance instanceof I)return t.instance;if(t.nodeName==="#document-fragment"){return new D.Fragment(t)}var e=m(t.nodeName||"Dom");if(e==="LinearGradient"||e==="RadialGradient"){e="Gradient"}else if(!D[e]){e="Dom"}return new D[e](t)}var R=P;function F(t){if(t===void 0){t=P}R=t}function q(t,e,r){if(e===void 0){e=t.name}if(r===void 0){r=false}D[e]=t;if(r)D[z]=t;f(Object.getOwnPropertyNames(t.prototype));return t}function Z(t){return D[t]}var X=1e3;function Y(t){return"Svgjs"+m(t)+X++}function G(t){for(var e=t.children.length-1;e>=0;e--){G(t.children[e])}if(t.id){t.id=Y(t.nodeName);return t}return t}function U(t,e){var r,n;t=Array.isArray(t)?t:[t];for(n=t.length-1;n>=0;n--){for(r in e){t[n].prototype[r]=e[r]}}}function Q(t){return function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n=e[e.length-1];if(n&&n.constructor===Object&&!(n instanceof Array)){return t.apply(this,e.slice(0,-1)).attr(n)}else{return t.apply(this,e)}}}function W(){return this.parent().children()}function $(){return this.parent().index(this)}function J(){return this.siblings()[this.position()+1]}function K(){return this.siblings()[this.position()-1]}function tt(){var t=this.position();var e=this.parent();e.add(this.remove(),t+1);return this}function et(){var t=this.position();var e=this.parent();e.add(this.remove(),t?t-1:0);return this}function rt(){var t=this.parent();t.add(this.remove());return this}function nt(){var t=this.parent();t.add(this.remove(),0);return this}function it(t){t=V(t);t.remove();var e=this.position();this.parent().add(t,e);return this}function ot(t){t=V(t);t.remove();var e=this.position();this.parent().add(t,e+1);return this}function st(t){t=V(t);t.before(this);return this}function at(t){t=V(t);t.after(this);return this}a("Dom",{siblings:W,position:$,next:J,prev:K,forward:tt,backward:et,front:rt,back:nt,before:it,after:ot,insertBefore:st,insertAfter:at});var ut=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;var ht=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;var ft=/rgb\((\d+),(\d+),(\d+)\)/;var lt=/(#[a-z_][a-z0-9\-_]*)/i;var ct=/\)\s*,?\s*/;var pt=/\s/g;var dt=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;var vt=/^rgb\(/;var yt=/^(\s+)?$/;var mt=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;var gt=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;var wt=/[\s,]+/;var _t=/[MLHVCSQTAZ]/i;var Ct={__proto__:null,numberAndUnit:ut,hex:ht,rgb:ft,reference:lt,transforms:ct,whitespace:pt,isHex:dt,isRgb:vt,isBlank:yt,isNumber:mt,isImage:gt,delimiter:wt,isPathLetter:_t};function xt(){var t=this.attr("class");return t==null?[]:t.trim().split(wt)}function bt(t){return this.classes().indexOf(t)!==-1}function Mt(t){if(!this.hasClass(t)){var e=this.classes();e.push(t);this.attr("class",e.join(" "))}return this}function kt(t){if(this.hasClass(t)){this.attr("class",this.classes().filter((function(e){return e!==t})).join(" "))}return this}function Ot(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}a("Dom",{classes:xt,hasClass:bt,addClass:Mt,removeClass:kt,toggleClass:Ot});function At(t,e){var r={};if(arguments.length===0){this.node.style.cssText.split(/\s*;\s*/).filter((function(t){return!!t.length})).forEach((function(t){var e=t.split(/\s*:\s*/);r[e[0]]=e[1]}));return r}if(arguments.length<2){if(Array.isArray(t)){for(var n=0,i=t;n<i.length;n++){var o=i[n];var s=v(o);r[o]=this.node.style[s]}return r}if(typeof t==="string"){return this.node.style[v(t)]}if(typeof t==="object"){for(var o in t){this.node.style[v(o)]=t[o]==null||yt.test(t[o])?"":t[o]}}}if(arguments.length===2){this.node.style[v(t)]=e==null||yt.test(e)?"":e}return this}function St(){return this.css("display","")}function Tt(){return this.css("display","none")}function Et(){return this.css("display")!=="none"}a("Dom",{css:At,show:St,hide:Tt,visible:Et});function Lt(t,e,r){if(t==null){return this.data(l(c(this.node.attributes,(function(t){return t.nodeName.indexOf("data-")===0})),(function(t){return t.nodeName.slice(5)})))}else if(t instanceof Array){var n={};for(var i=0,o=t;i<o.length;i++){var s=o[i];n[s]=this.data(s)}return n}else if(typeof t==="object"){for(e in t){this.data(e,t[e])}}else if(arguments.length<2){try{return JSON.parse(this.attr("data-"+t))}catch(e){return this.attr("data-"+t)}}else{this.attr("data-"+t,e===null?null:r===true||typeof e==="string"||typeof e==="number"?e:JSON.stringify(e))}return this}a("Dom",{data:Lt});function jt(t,e){if(typeof arguments[0]==="object"){for(var r in t){this.remember(r,t[r])}}else if(arguments.length===1){return this.memory()[t]}else{this.memory()[t]=e}return this}function Nt(){if(arguments.length===0){this._memory={}}else{for(var t=arguments.length-1;t>=0;t--){delete this.memory()[arguments[t]]}}return this}function It(){return this._memory=this._memory||{}}a("Dom",{remember:jt,forget:Nt,memory:It});function Dt(t){return t.length===4?["#",t.substring(1,2),t.substring(1,2),t.substring(2,3),t.substring(2,3),t.substring(3,4),t.substring(3,4)].join(""):t}function zt(t){var e=Math.round(t);var r=Math.max(0,Math.min(255,e));var n=r.toString(16);return n.length===1?"0"+n:n}function Bt(t,e){for(var r=e.length;r--;){if(t[e[r]]==null){return false}}return true}function Vt(t,e){var r=Bt(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:Bt(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:Bt(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:Bt(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:Bt(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:Bt(t,"cmyk")?{_a:t.c,_b:t.m,_c:t.y,_d:t.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};r.space=e||r.space;return r}function Ht(t){if(t==="lab"||t==="xyz"||t==="lch"){return true}else{return false}}function Pt(t,e,r){if(r<0)r+=1;if(r>1)r-=1;if(r<1/6)return t+(e-t)*6*r;if(r<1/2)return e;if(r<2/3)return t+(e-t)*(2/3-r)*6;return t}var Rt=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.isColor=function(e){return e&&(e instanceof t||this.isRgb(e)||this.test(e))};t.isRgb=function(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"};t.random=function(e,r,n){if(e===void 0){e="vibrant"}var i=Math.random,o=Math.round,s=Math.sin,a=Math.PI;if(e==="vibrant"){var u=(81-57)*i()+57;var h=(83-45)*i()+45;var f=360*i();var l=new t(u,h,f,"lch");return l}else if(e==="sine"){r=r==null?i():r;var c=o(80*s(2*a*r/.5+.01)+150);var p=o(50*s(2*a*r/.5+4.6)+200);var d=o(100*s(2*a*r/.5+2.3)+150);var l=new t(c,p,d);return l}else if(e==="pastel"){var u=(94-86)*i()+86;var h=(26-9)*i()+9;var v=360*i();var l=new t(u,h,v,"lch");return l}else if(e==="dark"){var u=10+10*i();var h=(125-75)*i()+86;var y=360*i();var l=new t(u,h,y,"lch");return l}else if(e==="rgb"){var c=255*i();var p=255*i();var d=255*i();var l=new t(c,p,d);return l}else if(e==="lab"){var u=100*i();var m=256*i()-128;var d=256*i()-128;var l=new t(u,m,d,"lab");return l}else if(e==="grey"){var g=255*i();var l=new t(g,g,g);return l}else{throw new Error("Unsupported random color mode")}};t.test=function(t){return typeof t==="string"&&(dt.test(t)||vt.test(t))};t.prototype.cmyk=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=Math.min(1-s,1-a,1-u);if(h===1){return new t(0,0,0,1,"cmyk")}var f=(1-s-h)/(1-h);var l=(1-a-h)/(1-h);var c=(1-u-h)/(1-h);var p=new t(f,l,c,h,"cmyk");return p};t.prototype.hsl=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=Math.max(s,a,u);var f=Math.min(s,a,u);var l=(h+f)/2;var c=h===f;var p=h-f;var d=c?0:l>.5?p/(2-h-f):p/(h+f);var v=c?0:h===s?((a-u)/p+(a<u?6:0))/6:h===a?((u-s)/p+2)/6:h===u?((s-a)/p+4)/6:0;var y=new t(360*v,100*d,100*l,"hsl");return y};t.prototype.init=function(t,e,r,n,i){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=0}if(n===void 0){n=0}if(i===void 0){i="rgb"}t=!t?0:t;if(this.space){for(var o in this.space){delete this[this.space[o]]}}if(typeof t==="number"){i=typeof n==="string"?n:i;n=typeof n==="string"?0:n;Object.assign(this,{_a:t,_b:e,_c:r,_d:n,space:i})}else if(t instanceof Array){this.space=e||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){var s=Vt(t,e);Object.assign(this,s)}else if(typeof t==="string"){if(vt.test(t)){var a=t.replace(pt,"");var u=ft.exec(a).slice(1,4).map((function(t){return parseInt(t)})),h=u[0],f=u[1],l=u[2];Object.assign(this,{_a:h,_b:f,_c:l,_d:0,space:"rgb"})}else if(dt.test(t)){var c=function(t){return parseInt(t,16)};var p=ht.exec(Dt(t)).map(c),d=p[1],v=p[2],y=p[3];Object.assign(this,{_a:d,_b:v,_c:y,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color")}var m=this,g=m._a,w=m._b,_=m._c,C=m._d;var x=this.space==="rgb"?{r:g,g:w,b:_}:this.space==="xyz"?{x:g,y:w,z:_}:this.space==="hsl"?{h:g,s:w,l:_}:this.space==="lab"?{l:g,a:w,b:_}:this.space==="lch"?{l:g,c:w,h:_}:this.space==="cmyk"?{c:g,m:w,y:_,k:C}:{};Object.assign(this,x)};t.prototype.lab=function(){var e=this.xyz(),r=e.x,n=e.y,i=e.z;var o=116*n-16;var s=500*(r-n);var a=200*(n-i);var u=new t(o,s,a,"lab");return u};t.prototype.lch=function(){var e=this.lab(),r=e.l,n=e.a,i=e.b;var o=Math.sqrt(Math.pow(n,2)+Math.pow(i,2));var s=180*Math.atan2(i,n)/Math.PI;if(s<0){s*=-1;s=360-s}var a=new t(r,o,s,"lch");return a};t.prototype.rgb=function(){if(this.space==="rgb"){return this}else if(Ht(this.space)){var e=this,r=e.x,n=e.y,i=e.z;if(this.space==="lab"||this.space==="lch"){var o=this,s=o.l,a=o.a,u=o.b;if(this.space==="lch"){var h=this,f=h.c,l=h.h;var c=Math.PI/180;a=f*Math.cos(c*l);u=f*Math.sin(c*l)}var p=(s+16)/116;var d=a/500+p;var v=p-u/200;var y=16/116;var m=.008856;var g=7.787;r=.95047*(Math.pow(d,3)>m?Math.pow(d,3):(d-y)/g);n=1*(Math.pow(p,3)>m?Math.pow(p,3):(p-y)/g);i=1.08883*(Math.pow(v,3)>m?Math.pow(v,3):(v-y)/g)}var w=r*3.2406+n*-1.5372+i*-.4986;var _=r*-.9689+n*1.8758+i*.0415;var C=r*.0557+n*-.204+i*1.057;var x=Math.pow;var b=.0031308;var M=w>b?1.055*x(w,1/2.4)-.055:12.92*w;var k=_>b?1.055*x(_,1/2.4)-.055:12.92*_;var O=C>b?1.055*x(C,1/2.4)-.055:12.92*C;var A=new t(255*M,255*k,255*O);return A}else if(this.space==="hsl"){var S=this,T=S.h,E=S.s,s=S.l;T/=360;E/=100;s/=100;if(E===0){s*=255;var L=new t(s,s,s);return L}var j=s<.5?s*(1+E):s+E-s*E;var N=2*s-j;var M=255*Pt(N,j,T+1/3);var k=255*Pt(N,j,T);var O=255*Pt(N,j,T-1/3);var A=new t(M,k,O);return A}else if(this.space==="cmyk"){var I=this,f=I.c,D=I.m,z=I.y,B=I.k;var M=255*(1-Math.min(1,f*(1-B)+B));var k=255*(1-Math.min(1,D*(1-B)+B));var O=255*(1-Math.min(1,z*(1-B)+B));var A=new t(M,k,O);return A}else{return this}};t.prototype.toArray=function(){var t=this,e=t._a,r=t._b,n=t._c,i=t._d,o=t.space;return[e,r,n,i,o]};t.prototype.toHex=function(){var t=this._clamped().map(zt),e=t[0],r=t[1],n=t[2];return"#".concat(e).concat(r).concat(n)};t.prototype.toRgb=function(){var t=this._clamped(),e=t[0],r=t[1],n=t[2];var i="rgb(".concat(e,",").concat(r,",").concat(n,")");return i};t.prototype.toString=function(){return this.toHex()};t.prototype.xyz=function(){var e=this.rgb(),r=e._a,n=e._b,i=e._c;var o=[r,n,i].map((function(t){return t/255})),s=o[0],a=o[1],u=o[2];var h=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var f=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92;var l=u>.04045?Math.pow((u+.055)/1.055,2.4):u/12.92;var c=(h*.4124+f*.3576+l*.1805)/.95047;var p=(h*.2126+f*.7152+l*.0722)/1;var d=(h*.0193+f*.1192+l*.9505)/1.08883;var v=c>.008856?Math.pow(c,1/3):7.787*c+16/116;var y=p>.008856?Math.pow(p,1/3):7.787*p+16/116;var m=d>.008856?Math.pow(d,1/3):7.787*d+16/116;var g=new t(v,y,m,"xyz");return g};t.prototype._clamped=function(){var t=this.rgb(),e=t._a,r=t._b,n=t._c;var i=Math.max,o=Math.min,s=Math.round;var a=function(t){return i(0,o(s(t),255))};return[e,r,n].map(a)};return t}();var Ft=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.clone=function(){return new t(this)};t.prototype.init=function(t,e){var r={x:0,y:0};var n=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:e};this.x=n.x==null?r.x:n.x;this.y=n.y==null?r.y:n.y;return this};t.prototype.toArray=function(){return[this.x,this.y]};t.prototype.transform=function(t){return this.clone().transformO(t)};t.prototype.transformO=function(t){if(!Xt.isMatrixLike(t)){t=new Xt(t)}var e=this,r=e.x,n=e.y;this.x=t.a*r+t.c*n+t.e;this.y=t.b*r+t.d*n+t.f;return this};return t}();function qt(t,e){return new Ft(t,e).transform(this.screenCTM().inverse())}function Zt(t,e,r){return Math.abs(e-t)<(r||1e-6)}var Xt=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.formatTransforms=function(t){var e=t.flip==="both"||t.flip===true;var r=t.flip&&(e||t.flip==="x")?-1:1;var n=t.flip&&(e||t.flip==="y")?-1:1;var i=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;var o=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;var s=t.scale&&t.scale.length?t.scale[0]*r:isFinite(t.scale)?t.scale*r:isFinite(t.scaleX)?t.scaleX*r:r;var a=t.scale&&t.scale.length?t.scale[1]*n:isFinite(t.scale)?t.scale*n:isFinite(t.scaleY)?t.scaleY*n:n;var u=t.shear||0;var h=t.rotate||t.theta||0;var f=new Ft(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);var l=f.x;var c=f.y;var p=new Ft(t.position||t.px||t.positionX||NaN,t.py||t.positionY||NaN);var d=p.x;var v=p.y;var y=new Ft(t.translate||t.tx||t.translateX,t.ty||t.translateY);var m=y.x;var g=y.y;var w=new Ft(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);var _=w.x;var C=w.y;return{scaleX:s,scaleY:a,skewX:i,skewY:o,shear:u,theta:h,rx:_,ry:C,tx:m,ty:g,ox:l,oy:c,px:d,py:v}};t.fromArray=function(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}};t.isMatrixLike=function(t){return t.a!=null||t.b!=null||t.c!=null||t.d!=null||t.e!=null||t.f!=null};t.matrixMultiply=function(t,e,r){var n=t.a*e.a+t.c*e.b;var i=t.b*e.a+t.d*e.b;var o=t.a*e.c+t.c*e.d;var s=t.b*e.c+t.d*e.d;var a=t.e+t.a*e.e+t.c*e.f;var u=t.f+t.b*e.e+t.d*e.f;r.a=n;r.b=i;r.c=o;r.d=s;r.e=a;r.f=u;return r};t.prototype.around=function(t,e,r){return this.clone().aroundO(t,e,r)};t.prototype.aroundO=function(t,e,r){var n=t||0;var i=e||0;return this.translateO(-n,-i).lmultiplyO(r).translateO(n,i)};t.prototype.clone=function(){return new t(this)};t.prototype.decompose=function(t,e){if(t===void 0){t=0}if(e===void 0){e=0}var r=this.a;var n=this.b;var i=this.c;var o=this.d;var s=this.e;var a=this.f;var u=r*o-n*i;var h=u>0?1:-1;var f=h*Math.sqrt(r*r+n*n);var l=Math.atan2(h*n,h*r);var c=180/Math.PI*l;var p=Math.cos(l);var d=Math.sin(l);var v=(r*i+n*o)/u;var y=i*f/(v*r-n)||o*f/(v*n+r);var m=s-t+t*p*f+e*(v*p*f-d*y);var g=a-e+t*d*f+e*(v*d*f+p*y);return{scaleX:f,scaleY:y,shear:v,rotate:c,translateX:m,translateY:g,originX:t,originY:e,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};t.prototype.equals=function(e){if(e===this)return true;var r=new t(e);return Zt(this.a,r.a)&&Zt(this.b,r.b)&&Zt(this.c,r.c)&&Zt(this.d,r.d)&&Zt(this.e,r.e)&&Zt(this.f,r.f)};t.prototype.flip=function(t,e){return this.clone().flipO(t,e)};t.prototype.flipO=function(t,e){return t==="x"?this.scaleO(-1,1,e,0):t==="y"?this.scaleO(1,-1,0,e):this.scaleO(-1,-1,t,e||t)};t.prototype.init=function(e){var r=t.fromArray([1,0,0,1,0,0]);e=e instanceof Oe?e.matrixify():typeof e==="string"?t.fromArray(e.split(wt).map(parseFloat)):Array.isArray(e)?t.fromArray(e):typeof e==="object"&&t.isMatrixLike(e)?e:typeof e==="object"?(new t).transform(e):arguments.length===6?t.fromArray([].slice.call(arguments)):r;this.a=e.a!=null?e.a:r.a;this.b=e.b!=null?e.b:r.b;this.c=e.c!=null?e.c:r.c;this.d=e.d!=null?e.d:r.d;this.e=e.e!=null?e.e:r.e;this.f=e.f!=null?e.f:r.f;return this};t.prototype.inverse=function(){return this.clone().inverseO()};t.prototype.inverseO=function(){var t=this.a;var e=this.b;var r=this.c;var n=this.d;var i=this.e;var o=this.f;var s=t*n-e*r;if(!s)throw new Error("Cannot invert "+this);var a=n/s;var u=-e/s;var h=-r/s;var f=t/s;var l=-(a*i+h*o);var c=-(u*i+f*o);this.a=a;this.b=u;this.c=h;this.d=f;this.e=l;this.f=c;return this};t.prototype.lmultiply=function(t){return this.clone().lmultiplyO(t)};t.prototype.lmultiplyO=function(e){var r=this;var n=e instanceof t?e:new t(e);return t.matrixMultiply(n,r,this)};t.prototype.multiply=function(t){return this.clone().multiplyO(t)};t.prototype.multiplyO=function(e){var r=this;var n=e instanceof t?e:new t(e);return t.matrixMultiply(r,n,this)};t.prototype.rotate=function(t,e,r){return this.clone().rotateO(t,e,r)};t.prototype.rotateO=function(t,e,r){if(e===void 0){e=0}if(r===void 0){r=0}t=p(t);var n=Math.cos(t);var i=Math.sin(t);var o=this,s=o.a,a=o.b,u=o.c,h=o.d,f=o.e,l=o.f;this.a=s*n-a*i;this.b=a*n+s*i;this.c=u*n-h*i;this.d=h*n+u*i;this.e=f*n-l*i+r*i-e*n+e;this.f=l*n+f*i-e*i-r*n+r;return this};t.prototype.scale=function(t,e,r,n){var i;return(i=this.clone()).scaleO.apply(i,arguments)};t.prototype.scaleO=function(t,e,r,n){if(e===void 0){e=t}if(r===void 0){r=0}if(n===void 0){n=0}if(arguments.length===3){n=r;r=e;e=t}var i=this,o=i.a,s=i.b,a=i.c,u=i.d,h=i.e,f=i.f;this.a=o*t;this.b=s*e;this.c=a*t;this.d=u*e;this.e=h*t-r*t+r;this.f=f*e-n*e+n;return this};t.prototype.shear=function(t,e,r){return this.clone().shearO(t,e,r)};t.prototype.shearO=function(t,e,r){if(e===void 0){e=0}if(r===void 0){r=0}var n=this,i=n.a,o=n.b,s=n.c,a=n.d,u=n.e,h=n.f;this.a=i+o*t;this.c=s+a*t;this.e=u+h*t-r*t;return this};t.prototype.skew=function(t,e,r,n){var i;return(i=this.clone()).skewO.apply(i,arguments)};t.prototype.skewO=function(t,e,r,n){if(e===void 0){e=t}if(r===void 0){r=0}if(n===void 0){n=0}if(arguments.length===3){n=r;r=e;e=t}t=p(t);e=p(e);var i=Math.tan(t);var o=Math.tan(e);var s=this,a=s.a,u=s.b,h=s.c,f=s.d,l=s.e,c=s.f;this.a=a+u*i;this.b=u+a*o;this.c=h+f*i;this.d=f+h*o;this.e=l+c*i-n*i;this.f=c+l*o-r*o;return this};t.prototype.skewX=function(t,e,r){return this.skew(t,0,e,r)};t.prototype.skewY=function(t,e,r){return this.skew(0,t,e,r)};t.prototype.toArray=function(){return[this.a,this.b,this.c,this.d,this.e,this.f]};t.prototype.toString=function(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"};t.prototype.transform=function(e){if(t.isMatrixLike(e)){var r=new t(e);return r.multiplyO(this)}var n=t.formatTransforms(e);var i=this;var o=new Ft(n.ox,n.oy).transform(i),s=o.x,a=o.y;var u=(new t).translateO(n.rx,n.ry).lmultiplyO(i).translateO(-s,-a).scaleO(n.scaleX,n.scaleY).skewO(n.skewX,n.skewY).shearO(n.shear).rotateO(n.theta).translateO(s,a);if(isFinite(n.px)||isFinite(n.py)){var h=new Ft(s,a).transform(u);var f=isFinite(n.px)?n.px-h.x:0;var l=isFinite(n.py)?n.py-h.y:0;u.translateO(f,l)}u.translateO(n.tx,n.ty);return u};t.prototype.translate=function(t,e){return this.clone().translateO(t,e)};t.prototype.translateO=function(t,e){this.e+=t||0;this.f+=e||0;return this};t.prototype.valueOf=function(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};return t}();function Yt(){return new Xt(this.node.getCTM())}function Gt(){if(typeof this.isRoot==="function"&&!this.isRoot()){var t=this.rect(1,1);var e=t.node.getScreenCTM();t.remove();return new Xt(e)}return new Xt(this.node.getScreenCTM())}q(Xt,"Matrix");function Ut(){if(!Ut.nodes){var t=V().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");var e=t.path().node;Ut.nodes={svg:t,path:e}}if(!Ut.nodes.svg.node.parentNode){var r=A.document.body||A.document.documentElement;Ut.nodes.svg.addTo(r)}return Ut.nodes}function Qt(t){return!t.width&&!t.height&&!t.x&&!t.y}function Wt(t){return t===A.document||(A.document.documentElement.contains||function(t){while(t.parentNode){t=t.parentNode}return t===A.document}).call(A.document.documentElement,t)}var $t=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.addOffset=function(){this.x+=A.window.pageXOffset;this.y+=A.window.pageYOffset;return new t(this)};t.prototype.init=function(t){var e=[0,0,0,0];t=typeof t==="string"?t.split(wt).map(parseFloat):Array.isArray(t)?t:typeof t==="object"?[t.left!=null?t.left:t.x,t.top!=null?t.top:t.y,t.width,t.height]:arguments.length===4?[].slice.call(arguments):e;this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this};t.prototype.isNulled=function(){return Qt(this)};t.prototype.merge=function(e){var r=Math.min(this.x,e.x);var n=Math.min(this.y,e.y);var i=Math.max(this.x+this.width,e.x+e.width)-r;var o=Math.max(this.y+this.height,e.y+e.height)-n;return new t(r,n,i,o)};t.prototype.toArray=function(){return[this.x,this.y,this.width,this.height]};t.prototype.toString=function(){return this.x+" "+this.y+" "+this.width+" "+this.height};t.prototype.transform=function(e){if(!(e instanceof Xt)){e=new Xt(e)}var r=Infinity;var n=-Infinity;var i=Infinity;var o=-Infinity;var s=[new Ft(this.x,this.y),new Ft(this.x2,this.y),new Ft(this.x,this.y2),new Ft(this.x2,this.y2)];s.forEach((function(t){t=t.transform(e);r=Math.min(r,t.x);n=Math.max(n,t.x);i=Math.min(i,t.y);o=Math.max(o,t.y)}));return new t(r,i,n-r,o-i)};return t}();function Jt(t,e,r){var n;try{n=e(t.node);if(Qt(n)&&!Wt(t.node)){throw new Error("Element not in the dom")}}catch(e){n=r(t)}return n}function Kt(){var t=function(t){return t.getBBox()};var e=function(t){try{var e=t.clone().addTo(Ut().svg).show();var r=e.node.getBBox();e.remove();return r}catch(e){throw new Error('Getting bbox of element "'.concat(t.node.nodeName,'" is not possible: ').concat(e.toString()))}};var r=Jt(this,t,e);var n=new $t(r);return n}function te(t){var e=function(t){return t.getBoundingClientRect()};var r=function(t){throw new Error('Getting rbox of element "'.concat(t.node.nodeName,'" is not possible'))};var n=Jt(this,e,r);var i=new $t(n);if(t){return i.transform(t.screenCTM().inverseO())}return i.addOffset()}function ee(t,e){var r=this.bbox();return t>r.x&&e>r.y&&t<r.x+r.width&&e<r.y+r.height}a({viewbox:{viewbox:function(t,e,r,n){if(t==null)return new $t(this.attr("viewBox"));return this.attr("viewBox",new $t(t,e,r,n))},zoom:function(t,e){var r=this.attr(["width","height"]),n=r.width,i=r.height;if(!n&&!i||typeof n==="string"||typeof i==="string"){n=this.node.clientWidth;i=this.node.clientHeight}if(!n||!i){throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element")}var o=this.viewbox();var s=n/o.width;var a=i/o.height;var u=Math.min(s,a);if(t==null){return u}var h=u/t;if(h===Infinity)h=Number.MAX_SAFE_INTEGER/100;e=e||new Ft(n/2/s+o.x,i/2/a+o.y);var f=new $t(o).transform(new Xt({scale:h,origin:e}));return this.viewbox(f)}}});q($t,"Box");var re=function(t){__extends(e,t);function e(e){if(e===void 0){e=[]}var r=[];for(var n=1;n<arguments.length;n++){r[n-1]=arguments[n]}var i=t.apply(this,__spreadArray([e],r,false))||this;if(typeof e==="number")return i;i.length=0;i.push.apply(i,e);return i}return e}(Array);U([re],{each:function(t){var e=[];for(var r=1;r<arguments.length;r++){e[r-1]=arguments[r]}if(typeof t==="function"){return this.map((function(e,r,n){return t.call(e,e,r,n)}))}else{return this.map((function(r){return r[t].apply(r,e)}))}},toArray:function(){return Array.prototype.concat.apply([],this)}});var ne=["toArray","constructor","each"];re.extend=function(t){t=t.reduce((function(t,e){if(ne.includes(e))return t;if(e[0]==="_")return t;t[e]=function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return this.each.apply(this,__spreadArray([e],t,false))};return t}),{});U([re],t)};function ie(t,e){return new re(l((e||A.document).querySelectorAll(t),(function(t){return P(t)})))}function oe(t){return ie(t,this.node)}function se(t){return P(this.node.querySelector(t))}var ae=0;var ue={};function he(t){var e=t.getEventHolder();if(e===A.window)e=ue;if(!e.events)e.events={};return e.events}function fe(t){return t.getEventTarget()}function le(t){var e=t.getEventHolder();if(e===A.window)e=ue;if(e.events)e.events={}}function ce(t,e,r,n,i){var o=r.bind(n||t);var s=V(t);var a=he(s);var u=fe(s);e=Array.isArray(e)?e:e.split(wt);if(!r._svgjsListenerId){r._svgjsListenerId=++ae}e.forEach((function(t){var e=t.split(".")[0];var n=t.split(".")[1]||"*";a[e]=a[e]||{};a[e][n]=a[e][n]||{};a[e][n][r._svgjsListenerId]=o;u.addEventListener(e,o,i||false)}))}function pe(t,e,r,n){var i=V(t);var o=he(i);var s=fe(i);if(typeof r==="function"){r=r._svgjsListenerId;if(!r)return}e=Array.isArray(e)?e:(e||"").split(wt);e.forEach((function(t){var e=t&&t.split(".")[0];var a=t&&t.split(".")[1];var u,h;if(r){if(o[e]&&o[e][a||"*"]){s.removeEventListener(e,o[e][a||"*"][r],n||false);delete o[e][a||"*"][r]}}else if(e&&a){if(o[e]&&o[e][a]){for(h in o[e][a]){pe(s,[e,a].join("."),h)}delete o[e][a]}}else if(a){for(t in o){for(u in o[t]){if(a===u){pe(s,[t,a].join("."))}}}}else if(e){if(o[e]){for(u in o[e]){pe(s,[e,u].join("."))}delete o[e]}}else{for(t in o){pe(s,t)}le(i)}}))}function de(t,e,r,n){var i=fe(t);if(e instanceof A.window.Event){i.dispatchEvent(e)}else{e=new A.window.CustomEvent(e,__assign({detail:r,cancelable:true},n));i.dispatchEvent(e)}return e}var ve=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.addEventListener=function(){};e.prototype.dispatch=function(t,e,r){return de(this,t,e,r)};e.prototype.dispatchEvent=function(t){var e=this.getEventHolder().events;if(!e)return true;var r=e[t.type];for(var n in r){for(var i in r[n]){r[n][i](t)}}return!t.defaultPrevented};e.prototype.fire=function(t,e,r){this.dispatch(t,e,r);return this};e.prototype.getEventHolder=function(){return this};e.prototype.getEventTarget=function(){return this};e.prototype.off=function(t,e,r){pe(this,t,e,r);return this};e.prototype.on=function(t,e,r,n){ce(this,t,e,r,n);return this};e.prototype.removeEventListener=function(){};return e}(I);q(ve,"EventTarget");function ye(){}var me={duration:400,ease:">",delay:0};var ge={"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"};var we={__proto__:null,noop:ye,timeline:me,attrs:ge};var _e=function(t){__extends(e,t);function e(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n=t.apply(this,e)||this;n.init.apply(n,e);return n}e.prototype.clone=function(){return new this.constructor(this)};e.prototype.init=function(t){if(typeof t==="number")return this;this.length=0;this.push.apply(this,this.parse(t));return this};e.prototype.parse=function(t){if(t===void 0){t=[]}if(t instanceof Array)return t;return t.trim().split(wt).map(parseFloat)};e.prototype.toArray=function(){return Array.prototype.concat.apply([],this)};e.prototype.toSet=function(){return new Set(this)};e.prototype.toString=function(){return this.join(" ")};e.prototype.valueOf=function(){var t=[];t.push.apply(t,this);return t};return e}(Array);var Ce=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.convert=function(e){return new t(this.value,e)};t.prototype.divide=function(e){e=new t(e);return new t(this/e,this.unit||e.unit)};t.prototype.init=function(e,r){r=Array.isArray(e)?e[1]:r;e=Array.isArray(e)?e[0]:e;this.value=0;this.unit=r||"";if(typeof e==="number"){this.value=isNaN(e)?0:!isFinite(e)?e<0?-34e37:+34e37:e}else if(typeof e==="string"){r=e.match(ut);if(r){this.value=parseFloat(r[1]);if(r[5]==="%"){this.value/=100}else if(r[5]==="s"){this.value*=1e3}this.unit=r[5]}}else{if(e instanceof t){this.value=e.valueOf();this.unit=e.unit}}return this};t.prototype.minus=function(e){e=new t(e);return new t(this-e,this.unit||e.unit)};t.prototype.plus=function(e){e=new t(e);return new t(this+e,this.unit||e.unit)};t.prototype.times=function(e){e=new t(e);return new t(this*e,this.unit||e.unit)};t.prototype.toArray=function(){return[this.value,this.unit]};t.prototype.toJSON=function(){return this.toString()};t.prototype.toString=function(){return(this.unit==="%"?~~(this.value*1e8)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit};t.prototype.valueOf=function(){return this.value};return t}();var xe=[];function be(t){xe.push(t)}function Me(t,e,r){var n=this;if(t==null){t={};e=this.node.attributes;for(var i=0,o=e;i<o.length;i++){var s=o[i];t[s.nodeName]=mt.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array){return t.reduce((function(t,e){t[e]=n.attr(e);return t}),{})}else if(typeof t==="object"&&t.constructor===Object){for(e in t)this.attr(e,t[e])}else if(e===null){this.node.removeAttribute(t)}else if(e==null){e=this.node.getAttribute(t);return e==null?ge[t]:mt.test(e)?parseFloat(e):e}else{e=xe.reduce((function(e,r){return r(t,e,n)}),e);if(typeof e==="number"){e=new Ce(e)}else if(Rt.isColor(e)){e=new Rt(e)}else if(e.constructor===Array){e=new _e(e)}if(t==="leading"){if(this.leading){this.leading(e)}}else{typeof r==="string"?this.node.setAttributeNS(r,t,e.toString()):this.node.setAttribute(t,e.toString())}if(this.rebuild&&(t==="font-size"||t==="x")){this.rebuild()}}return this}var ke=function(t){__extends(e,t);function e(e,r){var n=t.call(this)||this;n.node=e;n.type=e.nodeName;if(r&&e!==r){n.attr(r)}return n}e.prototype.add=function(t,e){t=V(t);if(t.removeNamespace&&this.node instanceof A.window.SVGElement){t.removeNamespace()}if(e==null){this.node.appendChild(t.node)}else if(t.node!==this.node.childNodes[e]){this.node.insertBefore(t.node,this.node.childNodes[e])}return this};e.prototype.addTo=function(t,e){return V(t).put(this,e)};e.prototype.children=function(){return new re(l(this.node.children,(function(t){return P(t)})))};e.prototype.clear=function(){while(this.node.hasChildNodes()){this.node.removeChild(this.node.lastChild)}return this};e.prototype.clone=function(t){if(t===void 0){t=true}this.writeDataToDom();return new this.constructor(G(this.node.cloneNode(t)))};e.prototype.each=function(t,e){var r=this.children();var n,i;for(n=0,i=r.length;n<i;n++){t.apply(r[n],[n,r]);if(e){r[n].each(t,e)}}return this};e.prototype.element=function(t,r){return this.put(new e(B(t),r))};e.prototype.first=function(){return P(this.node.firstChild)};e.prototype.get=function(t){return P(this.node.childNodes[t])};e.prototype.getEventHolder=function(){return this.node};e.prototype.getEventTarget=function(){return this.node};e.prototype.has=function(t){return this.index(t)>=0};e.prototype.html=function(t,e){return this.xml(t,e,x)};e.prototype.id=function(t){if(typeof t==="undefined"&&!this.node.id){this.node.id=Y(this.type)}return this.attr("id",t)};e.prototype.index=function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)};e.prototype.last=function(){return P(this.node.lastChild)};e.prototype.matches=function(t){var e=this.node;var r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector||null;return r&&r.call(e,t)};e.prototype.parent=function(t){var e=this;if(!e.node.parentNode)return null;e=P(e.node.parentNode);if(!t)return e;do{if(typeof t==="string"?e.matches(t):e instanceof t)return e}while(e=P(e.node.parentNode));return e};e.prototype.put=function(t,e){t=V(t);this.add(t,e);return t};e.prototype.putIn=function(t,e){return V(t).add(this,e)};e.prototype.remove=function(){if(this.parent()){this.parent().removeElement(this)}return this};e.prototype.removeElement=function(t){this.node.removeChild(t.node);return this};e.prototype.replace=function(t){t=V(t);if(this.node.parentNode){this.node.parentNode.replaceChild(t.node,this.node)}return t};e.prototype.round=function(t,e){if(t===void 0){t=2}if(e===void 0){e=null}var r=Math.pow(10,t);var n=this.attr(e);for(var i in n){if(typeof n[i]==="number"){n[i]=Math.round(n[i]*r)/r}}this.attr(n);return this};e.prototype.svg=function(t,e){return this.xml(t,e,C)};e.prototype.toString=function(){return this.id()};e.prototype.words=function(t){this.node.textContent=t;return this};e.prototype.wrap=function(t){var e=this.parent();if(!e){return this.addTo(t)}var r=e.index(this);return e.put(t,r).put(this)};e.prototype.writeDataToDom=function(){this.each((function(){this.writeDataToDom()}));return this};e.prototype.xml=function(t,e,r){if(typeof t==="boolean"){r=e;e=t;t=null}if(t==null||typeof t==="function"){e=e==null?true:e;this.writeDataToDom();var n=this;if(t!=null){n=P(n.node.cloneNode(true));if(e){var i=t(n);n=i||n;if(i===false)return""}n.each((function(){var e=t(this);var r=e||this;if(e===false){this.remove()}else if(e&&this!==r){this.replace(r)}}),true)}return e?n.node.outerHTML:n.node.innerHTML}e=e==null?false:e;var o=B("wrapper",r);var s=A.document.createDocumentFragment();o.innerHTML=t;for(var a=o.children.length;a--;){s.appendChild(o.firstElementChild)}var u=this.parent();return e?this.replace(s)&&u:this.add(s)};return e}(ve);U(ke,{attr:Me,find:oe,findOne:se});q(ke,"Dom");var Oe=function(t){__extends(e,t);function e(e,r){var n=t.call(this,e,r)||this;n.dom={};n.node.instance=n;if(e.hasAttribute("svgjs:data")){n.setData(JSON.parse(e.getAttribute("svgjs:data"))||{})}return n}e.prototype.center=function(t,e){return this.cx(t).cy(e)};e.prototype.cx=function(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)};e.prototype.cy=function(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)};e.prototype.defs=function(){var t=this.root();return t&&t.defs()};e.prototype.dmove=function(t,e){return this.dx(t).dy(e)};e.prototype.dx=function(t){if(t===void 0){t=0}return this.x(new Ce(t).plus(this.x()))};e.prototype.dy=function(t){if(t===void 0){t=0}return this.y(new Ce(t).plus(this.y()))};e.prototype.getEventHolder=function(){return this};e.prototype.height=function(t){return this.attr("height",t)};e.prototype.move=function(t,e){return this.x(t).y(e)};e.prototype.parents=function(t){if(t===void 0){t=this.root()}var e=typeof t==="string";if(!e){t=V(t)}var r=new re;var n=this;while((n=n.parent())&&n.node!==A.document&&n.nodeName!=="#document-fragment"){r.push(n);if(!e&&n.node===t.node){break}if(e&&n.matches(t)){break}if(n.node===this.root().node){return null}}return r};e.prototype.reference=function(t){t=this.attr(t);if(!t)return null;var e=(t+"").match(lt);return e?V(e[1]):null};e.prototype.root=function(){var t=this.parent(Z(z));return t&&t.root()};e.prototype.setData=function(t){this.dom=t;return this};e.prototype.size=function(t,e){var r=g(this,t,e);return this.width(new Ce(r.width)).height(new Ce(r.height))};e.prototype.width=function(t){return this.attr("width",t)};e.prototype.writeDataToDom=function(){this.node.removeAttribute("svgjs:data");if(Object.keys(this.dom).length){this.node.setAttribute("svgjs:data",JSON.stringify(this.dom))}return t.prototype.writeDataToDom.call(this)};e.prototype.x=function(t){return this.attr("x",t)};e.prototype.y=function(t){return this.attr("y",t)};return e}(ke);U(Oe,{bbox:Kt,rbox:te,inside:ee,point:qt,ctm:Yt,screenCTM:Gt});q(Oe,"Element");var Ae={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return e==="color"?t:t+"-"+e}};["fill","stroke"].forEach((function(t){var e={};var r;e[t]=function(e){if(typeof e==="undefined"){return this.attr(t)}if(typeof e==="string"||e instanceof Rt||Rt.isRgb(e)||e instanceof Oe){this.attr(t,e)}else{for(r=Ae[t].length-1;r>=0;r--){if(e[Ae[t][r]]!=null){this.attr(Ae.prefix(t,Ae[t][r]),e[Ae[t][r]])}}}return this};a(["Element","Runner"],e)}));a(["Element","Runner"],{matrix:function(t,e,r,n,i,o){if(t==null){return new Xt(this)}return this.attr("transform",new Xt(t,e,r,n,i,o))},rotate:function(t,e,r){return this.transform({rotate:t,ox:e,oy:r},true)},skew:function(t,e,r,n){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:e,oy:r},true):this.transform({skew:[t,e],ox:r,oy:n},true)},shear:function(t,e,r){return this.transform({shear:t,ox:e,oy:r},true)},scale:function(t,e,r,n){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:e,oy:r},true):this.transform({scale:[t,e],ox:r,oy:n},true)},translate:function(t,e){return this.transform({translate:[t,e]},true)},relative:function(t,e){return this.transform({relative:[t,e]},true)},flip:function(t,e){if(t===void 0){t="both"}if(e===void 0){e="center"}if("xybothtrue".indexOf(t)===-1){e=t;t="both"}return this.transform({flip:t,origin:e},true)},opacity:function(t){return this.attr("opacity",t)}});a("radius",{radius:function(t,e){if(e===void 0){e=t}var r=(this._element||this).type;return r==="radialGradient"?this.attr("r",new Ce(t)):this.rx(t).ry(e)}});a("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new Ft(this.node.getPointAtLength(t))}});a(["Element","Runner"],{font:function(t,e){if(typeof t==="object"){for(e in t)this.font(e,t[e]);return this}return t==="leading"?this.leading(e):t==="anchor"?this.attr("text-anchor",e):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,e):this.attr(t,e)}});var Se=["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel"].reduce((function(t,e){var r=function(t){if(t===null){this.off(e)}else{this.on(e,t)}return this};t[e]=r;return t}),{});a("Element",Se);function Te(){return this.attr("transform",null)}function Ee(){var t=(this.attr("transform")||"").split(ct).slice(0,-1).map((function(t){var e=t.trim().split("(");return[e[0],e[1].split(wt).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,e){if(e[0]==="matrix"){return t.lmultiply(Xt.fromArray(e[1]))}return t[e[0]].apply(t,e[1])}),new Xt);return t}function Le(t,e){if(this===t)return this;var r=this.screenCTM();var n=t.screenCTM().inverse();this.addTo(t,e).untransform().transform(n.multiply(r));return this}function je(t){return this.toParent(this.root(),t)}function Ne(t,e){if(t==null||typeof t==="string"){var r=new Xt(this).decompose();return t==null?r:r[t]}if(!Xt.isMatrixLike(t)){t=__assign(__assign({},t),{origin:w(t,this)})}var n=e===true?this:e||false;var i=new Xt(n).transform(t);return this.attr("transform",i)}a("Element",{untransform:Te,matrixify:Ee,toParent:Le,toRoot:je,transform:Ne});var Ie=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.flatten=function(t,r){if(t===void 0){t=this}this.each((function(){if(this instanceof e){return this.flatten().ungroup()}}));return this};e.prototype.ungroup=function(t,e){if(t===void 0){t=this.parent()}if(e===void 0){e=t.index(this)}e=e===-1?t.children().length:e;this.each((function(r,n){return n[n.length-r-1].toParent(t,e)}));return this.remove()};return e}(Oe);q(Ie,"Container");var De=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("defs",e),r)||this}e.prototype.flatten=function(){return this};e.prototype.ungroup=function(){return this};return e}(Ie);q(De,"Defs");var ze=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Oe);q(ze,"Shape");function Be(t){return this.attr("rx",t)}function Ve(t){return this.attr("ry",t)}function He(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function Pe(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function Re(t){return this.attr("cx",t)}function Fe(t){return this.attr("cy",t)}function qe(t){return t==null?this.rx()*2:this.rx(new Ce(t).divide(2))}function Ze(t){return t==null?this.ry()*2:this.ry(new Ce(t).divide(2))}var Xe={__proto__:null,rx:Be,ry:Ve,x:He,y:Pe,cx:Re,cy:Fe,width:qe,height:Ze};var Ye=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("ellipse",e),r)||this}e.prototype.size=function(t,e){var r=g(this,t,e);return this.rx(new Ce(r.width).divide(2)).ry(new Ce(r.height).divide(2))};return e}(ze);U(Ye,Xe);a("Container",{ellipse:Q((function(t,e){if(t===void 0){t=0}if(e===void 0){e=t}return this.put(new Ye).size(t,e).move(0,0)}))});q(Ye,"Ellipse");var Ge=function(t){__extends(e,t);function e(e){if(e===void 0){e=A.document.createDocumentFragment()}return t.call(this,e)||this}e.prototype.xml=function(e,r,n){if(typeof e==="boolean"){n=r;r=e;e=null}if(e==null||typeof e==="function"){var i=new ke(B("wrapper",n));i.add(this.node.cloneNode(true));return i.xml(false,n)}return t.prototype.xml.call(this,e,false,n)};return e}(ke);q(Ge,"Fragment");function Ue(t,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new Ce(t),fy:new Ce(e)}):this.attr({x1:new Ce(t),y1:new Ce(e)})}function Qe(t,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new Ce(t),cy:new Ce(e)}):this.attr({x2:new Ce(t),y2:new Ce(e)})}var We={__proto__:null,from:Ue,to:Qe};var $e=function(t){__extends(e,t);function e(e,r){return t.call(this,H(e+"Gradient",typeof e==="string"?null:e),r)||this}e.prototype.attr=function(e,r,n){if(e==="transform")e="gradientTransform";return t.prototype.attr.call(this,e,r,n)};e.prototype.bbox=function(){return new $t};e.prototype.targets=function(){return ie('svg [fill*="'+this.id()+'"]')};e.prototype.toString=function(){return this.url()};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.url=function(){return'url("#'+this.id()+'")'};return e}(Ie);U($e,We);a({Container:{gradient:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).gradient.apply(t,e)}},Defs:{gradient:Q((function(t,e){return this.put(new $e(t)).update(e)}))}});q($e,"Gradient");var Je=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("pattern",e),r)||this}e.prototype.attr=function(e,r,n){if(e==="transform")e="patternTransform";return t.prototype.attr.call(this,e,r,n)};e.prototype.bbox=function(){return new $t};e.prototype.targets=function(){return ie('svg [fill*="'+this.id()+'"]')};e.prototype.toString=function(){return this.url()};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.url=function(){return'url("#'+this.id()+'")'};return e}(Ie);a({Container:{pattern:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).pattern.apply(t,e)}},Defs:{pattern:Q((function(t,e,r){return this.put(new Je).update(r).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})}))}});q(Je,"Pattern");var Ke=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("image",e),r)||this}e.prototype.load=function(t,e){if(!t)return this;var r=new A.window.Image;ce(r,"load",(function(t){var n=this.parent(Je);if(this.width()===0&&this.height()===0){this.size(r.width,r.height)}if(n instanceof Je){if(n.width()===0&&n.height()===0){n.size(this.width(),this.height())}}if(typeof e==="function"){e.call(this,t)}}),this);ce(r,"load error",(function(){pe(r)}));return this.attr("href",r.src=t,M)};return e}(ze);be((function(t,e,r){if(t==="fill"||t==="stroke"){if(gt.test(e)){e=r.root().defs().image(e)}}if(e instanceof Ke){e=r.root().defs().pattern(0,0,(function(t){t.add(e)}))}return e}));a({Container:{image:Q((function(t,e){return this.put(new Ke).size(0,0).load(t,e)}))}});q(Ke,"Image");var tr=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.bbox=function(){var t=-Infinity;var e=-Infinity;var r=Infinity;var n=Infinity;this.forEach((function(i){t=Math.max(i[0],t);e=Math.max(i[1],e);r=Math.min(i[0],r);n=Math.min(i[1],n)}));return new $t(r,n,t-r,e-n)};e.prototype.move=function(t,e){var r=this.bbox();t-=r.x;e-=r.y;if(!isNaN(t)&&!isNaN(e)){for(var n=this.length-1;n>=0;n--){this[n]=[this[n][0]+t,this[n][1]+e]}}return this};e.prototype.parse=function(t){if(t===void 0){t=[0,0]}var e=[];if(t instanceof Array){t=Array.prototype.concat.apply([],t)}else{t=t.trim().split(wt).map(parseFloat)}if(t.length%2!==0)t.pop();for(var r=0,n=t.length;r<n;r=r+2){e.push([t[r],t[r+1]])}return e};e.prototype.size=function(t,e){var r;var n=this.bbox();for(r=this.length-1;r>=0;r--){if(n.width)this[r][0]=(this[r][0]-n.x)*t/n.width+n.x;if(n.height)this[r][1]=(this[r][1]-n.y)*e/n.height+n.y}return this};e.prototype.toLine=function(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}};e.prototype.toString=function(){var t=[];for(var e=0,r=this.length;e<r;e++){t.push(this[e].join(","))}return t.join(" ")};e.prototype.transform=function(t){return this.clone().transformO(t)};e.prototype.transformO=function(t){if(!Xt.isMatrixLike(t)){t=new Xt(t)}for(var e=this.length;e--;){var r=this[e],n=r[0],i=r[1];this[e][0]=t.a*n+t.c*i+t.e;this[e][1]=t.b*n+t.d*i+t.f}return this};return e}(_e);var er=tr;function rr(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function nr(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function ir(t){var e=this.bbox();return t==null?e.width:this.size(t,e.height)}function or(t){var e=this.bbox();return t==null?e.height:this.size(e.width,t)}var sr={__proto__:null,MorphArray:er,x:rr,y:nr,width:ir,height:or};var ar=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("line",e),r)||this}e.prototype.array=function(){return new tr([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])};e.prototype.move=function(t,e){return this.attr(this.array().move(t,e).toLine())};e.prototype.plot=function(t,e,r,n){if(t==null){return this.array()}else if(typeof e!=="undefined"){t={x1:t,y1:e,x2:r,y2:n}}else{t=new tr(t).toLine()}return this.attr(t)};e.prototype.size=function(t,e){var r=g(this,t,e);return this.attr(this.array().size(r.width,r.height).toLine())};return e}(ze);U(ar,sr);a({Container:{line:Q((function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}return ar.prototype.plot.apply(this.put(new ar),t[0]!=null?t:[0,0,0,0])}))}});q(ar,"Line");var ur=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("marker",e),r)||this}e.prototype.height=function(t){return this.attr("markerHeight",t)};e.prototype.orient=function(t){return this.attr("orient",t)};e.prototype.ref=function(t,e){return this.attr("refX",t).attr("refY",e)};e.prototype.toString=function(){return"url(#"+this.id()+")"};e.prototype.update=function(t){this.clear();if(typeof t==="function"){t.call(this,this)}return this};e.prototype.width=function(t){return this.attr("markerWidth",t)};return e}(Ie);a({Container:{marker:function(){var t;var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}return(t=this.defs()).marker.apply(t,e)}},Defs:{marker:Q((function(t,e,r){return this.put(new ur).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(r)}))},marker:{marker:function(t,e,r,n){var i=["marker"];if(t!=="all")i.push(t);i=i.join("-");t=arguments[1]instanceof ur?arguments[1]:this.defs().marker(e,r,n);return this.attr(i,t)}}});q(ur,"Marker");function hr(t,e){return function(r){if(r==null)return this[t];this[t]=r;if(e)e.call(this);return this}}var fr={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,e,r,n){return function(i){if(i<0){if(t>0){return e/t*i}else if(r>0){return n/r*i}else{return 0}}else if(i>1){if(r<1){return(1-n)/(1-r)*i+(n-r)/(1-r)}else if(t<1){return(1-e)/(1-t)*i+(e-t)/(1-t)}else{return 1}}else{return 3*i*Math.pow(1-i,2)*e+3*Math.pow(i,2)*(1-i)*n+Math.pow(i,3)}}},steps:function(t,e){if(e===void 0){e="end"}e=e.split("-").reverse()[0];var r=t;if(e==="none"){--r}else if(e==="both"){++r}return function(n,i){if(i===void 0){i=false}var o=Math.floor(n*t);var s=n*o%1===0;if(e==="start"||e==="both"){++o}if(i&&s){--o}if(n>=0&&o<0){o=0}if(n<=1&&o>r){o=r}return o/r}}};var lr=function(){function t(){}t.prototype.done=function(){return false};return t}();var cr=function(t){__extends(e,t);function e(e){if(e===void 0){e=me.ease}var r=t.call(this)||this;r.ease=fr[e]||e;return r}e.prototype.step=function(t,e,r){if(typeof t!=="number"){return r<1?t:e}return t+(e-t)*this.ease(r)};return e}(lr);var pr=function(t){__extends(e,t);function e(e){var r=t.call(this)||this;r.stepper=e;return r}e.prototype.done=function(t){return t.done};e.prototype.step=function(t,e,r,n){return this.stepper(t,e,r,n)};return e}(lr);function dr(){var t=(this._duration||500)/1e3;var e=this._overshoot||0;var r=1e-10;var n=Math.PI;var i=Math.log(e/100+r);var o=-i/Math.sqrt(n*n+i*i);var s=3.9/(o*t);this.d=2*o*s;this.k=s*s}var vr=function(t){__extends(e,t);function e(e,r){if(e===void 0){e=500}if(r===void 0){r=0}var n=t.call(this)||this;n.duration(e).overshoot(r);return n}e.prototype.step=function(t,e,r,n){if(typeof t==="string")return t;n.done=r===Infinity;if(r===Infinity)return e;if(r===0)return t;if(r>100)r=16;r/=1e3;var i=n.velocity||0;var o=-this.d*i-this.k*(t-e);var s=t+i*r+o*r*r/2;n.velocity=i+o*r;n.done=Math.abs(e-s)+Math.abs(i)<.002;return n.done?e:s};return e}(pr);U(vr,{duration:hr("_duration",dr),overshoot:hr("_overshoot",dr)});var yr=function(t){__extends(e,t);function e(e,r,n,i){if(e===void 0){e=.1}if(r===void 0){r=.01}if(n===void 0){n=0}if(i===void 0){i=1e3}var o=t.call(this)||this;o.p(e).i(r).d(n).windup(i);return o}e.prototype.step=function(t,e,r,n){if(typeof t==="string")return t;n.done=r===Infinity;if(r===Infinity)return e;if(r===0)return t;var i=e-t;var o=(n.integral||0)+i*r;var s=(i-(n.error||0))/r;var a=this._windup;if(a!==false){o=Math.max(-a,Math.min(o,a))}n.error=i;n.integral=o;n.done=Math.abs(i)<.001;return n.done?e:t+(this.P*i+this.I*o+this.D*s)};return e}(pr);U(yr,{windup:hr("_windup"),p:hr("P"),i:hr("I"),d:hr("D")});var mr={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};var gr={M:function(t,e,r){e.x=r.x=t[0];e.y=r.y=t[1];return["M",e.x,e.y]},L:function(t,e){e.x=t[0];e.y=t[1];return["L",t[0],t[1]]},H:function(t,e){e.x=t[0];return["H",t[0]]},V:function(t,e){e.y=t[0];return["V",t[0]]},C:function(t,e){e.x=t[4];e.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){e.x=t[2];e.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){e.x=t[2];e.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){e.x=t[0];e.y=t[1];return["T",t[0],t[1]]},Z:function(t,e,r){e.x=r.x;e.y=r.y;return["Z"]},A:function(t,e){e.x=t[5];e.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};var wr="mlhvqtcsaz".split("");for(var _r=0,Cr=wr.length;_r<Cr;++_r){gr[wr[_r]]=function(t){return function(e,r,n){if(t==="H")e[0]=e[0]+r.x;else if(t==="V")e[0]=e[0]+r.y;else if(t==="A"){e[5]=e[5]+r.x;e[6]=e[6]+r.y}else{for(var i=0,o=e.length;i<o;++i){e[i]=e[i]+(i%2?r.y:r.x)}}return gr[t](e,r,n)}}(wr[_r].toUpperCase())}function xr(t){var e=t.segment[0];return gr[e](t.segment.slice(1),t.p,t.p0)}function br(t){return t.segment.length&&t.segment.length-1===mr[t.segment[0].toUpperCase()]}function Mr(t,e){t.inNumber&&kr(t,false);var r=_t.test(e);if(r){t.segment=[e]}else{var n=t.lastCommand;var i=n.toLowerCase();var o=n===i;t.segment=[i==="m"?o?"l":"L":n]}t.inSegment=true;t.lastCommand=t.segment[0];return r}function kr(t,e){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=e;t.number="";t.pointSeen=false;t.hasExponent=false;if(br(t)){Or(t)}}function Or(t){t.inSegment=false;if(t.absolute){t.segment=xr(t)}t.segments.push(t.segment)}function Ar(t){if(!t.segment.length)return false;var e=t.segment[0].toUpperCase()==="A";var r=t.segment.length;return e&&(r===4||r===5)}function Sr(t){return t.lastToken.toUpperCase()==="E"}function Tr(t,e){if(e===void 0){e=true}var r=0;var n="";var i={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:e,p0:new Ft,p:new Ft};while(i.lastToken=n,n=t.charAt(r++)){if(!i.inSegment){if(Mr(i,n)){continue}}if(n==="."){if(i.pointSeen||i.hasExponent){kr(i,false);--r;continue}i.inNumber=true;i.pointSeen=true;i.number+=n;continue}if(!isNaN(parseInt(n))){if(i.number==="0"||Ar(i)){i.inNumber=true;i.number=n;kr(i,true);continue}i.inNumber=true;i.number+=n;continue}if(n===" "||n===","){if(i.inNumber){kr(i,false)}continue}if(n==="-"){if(i.inNumber&&!Sr(i)){kr(i,false);--r;continue}i.number+=n;i.inNumber=true;continue}if(n.toUpperCase()==="E"){i.number+=n;i.hasExponent=true;continue}if(_t.test(n)){if(i.inNumber){kr(i,false)}else if(!br(i)){throw new Error("parser Error")}else{Or(i)}--r}}if(i.inNumber){kr(i,false)}if(i.inSegment&&br(i)){Or(i)}return i.segments}function Er(t){var e="";for(var r=0,n=t.length;r<n;r++){e+=t[r][0];if(t[r][1]!=null){e+=t[r][1];if(t[r][2]!=null){e+=" ";e+=t[r][2];if(t[r][3]!=null){e+=" ";e+=t[r][3];e+=" ";e+=t[r][4];if(t[r][5]!=null){e+=" ";e+=t[r][5];e+=" ";e+=t[r][6];if(t[r][7]!=null){e+=" ";e+=t[r][7]}}}}}}return e+" "}var Lr=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.bbox=function(){Ut().path.setAttribute("d",this.toString());return new $t(Ut.nodes.path.getBBox())};e.prototype.move=function(t,e){var r=this.bbox();t-=r.x;e-=r.y;if(!isNaN(t)&&!isNaN(e)){for(var n=void 0,i=this.length-1;i>=0;i--){n=this[i][0];if(n==="M"||n==="L"||n==="T"){this[i][1]+=t;this[i][2]+=e}else if(n==="H"){this[i][1]+=t}else if(n==="V"){this[i][1]+=e}else if(n==="C"||n==="S"||n==="Q"){this[i][1]+=t;this[i][2]+=e;this[i][3]+=t;this[i][4]+=e;if(n==="C"){this[i][5]+=t;this[i][6]+=e}}else if(n==="A"){this[i][6]+=t;this[i][7]+=e}}}return this};e.prototype.parse=function(t){if(t===void 0){t="M0 0"}if(Array.isArray(t)){t=Array.prototype.concat.apply([],t).toString()}return Tr(t)};e.prototype.size=function(t,e){var r=this.bbox();var n,i;r.width=r.width===0?1:r.width;r.height=r.height===0?1:r.height;for(n=this.length-1;n>=0;n--){i=this[n][0];if(i==="M"||i==="L"||i==="T"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x;this[n][2]=(this[n][2]-r.y)*e/r.height+r.y}else if(i==="H"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x}else if(i==="V"){this[n][1]=(this[n][1]-r.y)*e/r.height+r.y}else if(i==="C"||i==="S"||i==="Q"){this[n][1]=(this[n][1]-r.x)*t/r.width+r.x;this[n][2]=(this[n][2]-r.y)*e/r.height+r.y;this[n][3]=(this[n][3]-r.x)*t/r.width+r.x;this[n][4]=(this[n][4]-r.y)*e/r.height+r.y;if(i==="C"){this[n][5]=(this[n][5]-r.x)*t/r.width+r.x;this[n][6]=(this[n][6]-r.y)*e/r.height+r.y}}else if(i==="A"){this[n][1]=this[n][1]*t/r.width;this[n][2]=this[n][2]*e/r.height;this[n][6]=(this[n][6]-r.x)*t/r.width+r.x;this[n][7]=(this[n][7]-r.y)*e/r.height+r.y}}return this};e.prototype.toString=function(){return Er(this)};return e}(_e);var jr=function(t){var e=typeof t;if(e==="number"){return Ce}else if(e==="string"){if(Rt.isColor(t)){return Rt}else if(wt.test(t)){return _t.test(t)?Lr:_e}else if(ut.test(t)){return Ce}else{return Ir}}else if(Vr.indexOf(t.constructor)>-1){return t.constructor}else if(Array.isArray(t)){return _e}else if(e==="object"){return Br}else{return Ir}};var Nr=function(){function t(t){this._stepper=t||new cr("-");this._from=null;this._to=null;this._type=null;this._context=null;this._morphObj=null}t.prototype.at=function(t){return this._morphObj.morph(this._from,this._to,t,this._stepper,this._context)};t.prototype.done=function(){var t=this._context.map(this._stepper.done).reduce((function(t,e){return t&&e}),true);return t};t.prototype.from=function(t){if(t==null){return this._from}this._from=this._set(t);return this};t.prototype.stepper=function(t){if(t==null)return this._stepper;this._stepper=t;return this};t.prototype.to=function(t){if(t==null){return this._to}this._to=this._set(t);return this};t.prototype.type=function(t){if(t==null){return this._type}this._type=t;return this};t.prototype._set=function(t){if(!this._type){this.type(jr(t))}var e=new this._type(t);if(this._type===Rt){e=this._to?e[this._to[4]]():this._from?e[this._from[4]]():e}if(this._type===Br){e=this._to?e.align(this._to):this._from?e.align(this._from):e}e=e.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(e.length)).map(Object).map((function(t){t.done=true;return t}));return e};return t}();var Ir=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.init=function(t){t=Array.isArray(t)?t[0]:t;this.value=t;return this};t.prototype.toArray=function(){return[this.value]};t.prototype.valueOf=function(){return this.value};return t}();var Dr=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.init=function(e){if(Array.isArray(e)){e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}}Object.assign(this,t.defaults,e);return this};t.prototype.toArray=function(){var t=this;return[t.scaleX,t.scaleY,t.shear,t.rotate,t.translateX,t.translateY,t.originX,t.originY]};return t}();Dr.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};var zr=function(t,e){return t[0]<e[0]?-1:t[0]>e[0]?1:0};var Br=function(){function t(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}this.init.apply(this,t)}t.prototype.align=function(t){var e;var r=this.values;for(var n=0,i=r.length;n<i;++n){if(r[n+1]===t[n+1]){if(r[n+1]===Rt&&t[n+7]!==r[n+7]){var o=t[n+7];var s=new Rt(this.values.splice(n+3,5))[o]().toArray();(e=this.values).splice.apply(e,__spreadArray([n+3,0],s,false))}n+=r[n+2]+2;continue}if(!t[n+1]){return this}var a=(new t[n+1]).toArray();var u=r[n+2]+3;r.splice.apply(r,__spreadArray([n,u,t[n],t[n+1],t[n+2]],a,false));n+=r[n+2]+2}return this};t.prototype.init=function(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};var e=[];for(var r in t){var n=jr(t[r]);var i=new n(t[r]).toArray();e.push(__spreadArray([r,n,i.length],i,true))}e.sort(zr);this.values=e.reduce((function(t,e){return t.concat(e)}),[]);return this};t.prototype.toArray=function(){return this.values};t.prototype.valueOf=function(){var t={};var e=this.values;while(e.length){var r=e.shift();var n=e.shift();var i=e.shift();var o=e.splice(0,i);t[r]=new n(o)}return t};return t}();var Vr=[Ir,Dr,Br];function Hr(t){if(t===void 0){t=[]}Vr.push.apply(Vr,[].concat(t))}function Pr(){U(Vr,{to:function(t){return(new Nr).type(this.constructor).from(this.toArray()).to(t)},fromArray:function(t){this.init(t);return this},toConsumable:function(){return this.toArray()},morph:function(t,e,r,n,i){var o=function(t,o){return n.step(t,e[o],r,i[o],i)};return this.fromArray(t.map(o))}})}var Rr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("path",e),r)||this}e.prototype.array=function(){return this._array||(this._array=new Lr(this.attr("d")))};e.prototype.clear=function(){delete this._array;return this};e.prototype.height=function(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)};e.prototype.move=function(t,e){return this.attr("d",this.array().move(t,e))};e.prototype.plot=function(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new Lr(t))};e.prototype.size=function(t,e){var r=g(this,t,e);return this.attr("d",this.array().size(r.width,r.height))};e.prototype.width=function(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)};e.prototype.x=function(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)};e.prototype.y=function(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)};return e}(ze);Rr.prototype.MorphArray=Lr;a({Container:{path:Q((function(t){return this.put(new Rr).plot(t||new Lr)}))}});q(Rr,"Path");function Fr(){return this._array||(this._array=new tr(this.attr("points")))}function qr(){delete this._array;return this}function Zr(t,e){return this.attr("points",this.array().move(t,e))}function Xr(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new tr(t))}function Yr(t,e){var r=g(this,t,e);return this.attr("points",this.array().size(r.width,r.height))}var Gr={__proto__:null,array:Fr,clear:qr,move:Zr,plot:Xr,size:Yr};var Ur=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("polygon",e),r)||this}return e}(ze);a({Container:{polygon:Q((function(t){return this.put(new Ur).plot(t||new tr)}))}});U(Ur,sr);U(Ur,Gr);q(Ur,"Polygon");var Qr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("polyline",e),r)||this}return e}(ze);a({Container:{polyline:Q((function(t){return this.put(new Qr).plot(t||new tr)}))}});U(Qr,sr);U(Qr,Gr);q(Qr,"Polyline");var Wr=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("rect",e),r)||this}return e}(ze);U(Wr,{rx:Be,ry:Ve});a({Container:{rect:Q((function(t,e){return this.put(new Wr).size(t,e)}))}});q(Wr,"Rect");var $r=function(){function t(){this._first=null;this._last=null}t.prototype.first=function(){return this._first&&this._first.value};t.prototype.last=function(){return this._last&&this._last.value};t.prototype.push=function(t){var e=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){e.prev=this._last;this._last.next=e;this._last=e}else{this._last=e;this._first=e}return e};t.prototype.remove=function(t){if(t.prev)t.prev.next=t.next;if(t.next)t.next.prev=t.prev;if(t===this._last)this._last=t.prev;if(t===this._first)this._first=t.next;t.prev=null;t.next=null};t.prototype.shift=function(){var t=this._first;if(!t)return null;this._first=t.next;if(this._first)this._first.prev=null;this._last=this._first?this._last:null;return t.value};return t}();var Jr={nextDraw:null,frames:new $r,timeouts:new $r,immediates:new $r,timer:function(){return A.window.performance||A.window.Date},transforms:[],frame:function(t){var e=Jr.frames.push({run:t});if(Jr.nextDraw===null){Jr.nextDraw=A.window.requestAnimationFrame(Jr._draw)}return e},timeout:function(t,e){e=e||0;var r=Jr.timer().now()+e;var n=Jr.timeouts.push({run:t,time:r});if(Jr.nextDraw===null){Jr.nextDraw=A.window.requestAnimationFrame(Jr._draw)}return n},immediate:function(t){var e=Jr.immediates.push(t);if(Jr.nextDraw===null){Jr.nextDraw=A.window.requestAnimationFrame(Jr._draw)}return e},cancelFrame:function(t){t!=null&&Jr.frames.remove(t)},clearTimeout:function(t){t!=null&&Jr.timeouts.remove(t)},cancelImmediate:function(t){t!=null&&Jr.immediates.remove(t)},_draw:function(t){var e=null;var r=Jr.timeouts.last();while(e=Jr.timeouts.shift()){if(t>=e.time){e.run()}else{Jr.timeouts.push(e)}if(e===r)break}var n=null;var i=Jr.frames.last();while(n!==i&&(n=Jr.frames.shift())){n.run(t)}var o=null;while(o=Jr.immediates.shift()){o()}Jr.nextDraw=Jr.timeouts.first()||Jr.frames.first()?A.window.requestAnimationFrame(Jr._draw):null}};var Kr=function(t){var e=t.start;var r=t.runner.duration();var n=e+r;return{start:e,duration:r,end:n,runner:t.runner}};var tn=function(){var t=A.window;return(t.performance||t.Date).now()};var en=function(t){__extends(e,t);function e(e){if(e===void 0){e=tn}var r=t.call(this)||this;r._timeSource=e;r._startTime=0;r._speed=1;r._persist=0;r._nextFrame=null;r._paused=true;r._runners=[];r._runnerIds=[];r._lastRunnerId=-1;r._time=0;r._lastSourceTime=0;r._lastStepTime=0;r._step=r._stepFn.bind(r,false);r._stepImmediate=r._stepFn.bind(r,true);return r}e.prototype.active=function(){return!!this._nextFrame};e.prototype.finish=function(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()};e.prototype.getEndTime=function(){var t=this.getLastRunnerInfo();var e=t?t.runner.duration():0;var r=t?t.start:this._time;return r+e};e.prototype.getEndTimeOfTimeline=function(){var t=this._runners.map((function(t){return t.start+t.runner.duration()}));return Math.max.apply(Math,__spreadArray([0],t,false))};e.prototype.getLastRunnerInfo=function(){return this.getRunnerInfoById(this._lastRunnerId)};e.prototype.getRunnerInfoById=function(t){return this._runners[this._runnerIds.indexOf(t)]||null};e.prototype.pause=function(){this._paused=true;return this._continue()};e.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};e.prototype.play=function(){this._paused=false;return this.updateTime()._continue()};e.prototype.reverse=function(t){var e=this.speed();if(t==null)return this.speed(-e);var r=Math.abs(e);return this.speed(t?-r:r)};e.prototype.schedule=function(t,e,r){if(t==null){return this._runners.map(Kr)}var n=0;var i=this.getEndTime();e=e||0;if(r==null||r==="last"||r==="after"){n=i}else if(r==="absolute"||r==="start"){n=e;e=0}else if(r==="now"){n=this._time}else if(r==="relative"){var o=this.getRunnerInfoById(t.id);if(o){n=o.start+e;e=0}}else if(r==="with-last"){var s=this.getLastRunnerInfo();var a=s?s.start:this._time;n=a}else{throw new Error('Invalid value for the "when" parameter')}t.unschedule();t.timeline(this);var u=t.persist();var h={persist:u===null?this._persist:u,start:n+e,runner:t};this._lastRunnerId=t.id;this._runners.push(h);this._runners.sort((function(t,e){return t.start-e.start}));this._runnerIds=this._runners.map((function(t){return t.runner.id}));this.updateTime()._continue();return this};e.prototype.seek=function(t){return this.time(this._time+t)};e.prototype.source=function(t){if(t==null)return this._timeSource;this._timeSource=t;return this};e.prototype.speed=function(t){if(t==null)return this._speed;this._speed=t;return this};e.prototype.stop=function(){this.time(0);return this.pause()};e.prototype.time=function(t){if(t==null)return this._time;this._time=t;return this._continue(true)};e.prototype.unschedule=function(t){var e=this._runnerIds.indexOf(t.id);if(e<0)return this;this._runners.splice(e,1);this._runnerIds.splice(e,1);t.timeline(null);return this};e.prototype.updateTime=function(){if(!this.active()){this._lastSourceTime=this._timeSource()}return this};e.prototype._continue=function(t){if(t===void 0){t=false}Jr.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Jr.frame(this._step);return this};e.prototype._stepFn=function(t){if(t===void 0){t=false}var e=this._timeSource();var r=e-this._lastSourceTime;if(t)r=0;var n=this._speed*r+(this._time-this._lastStepTime);this._lastSourceTime=e;if(!t){this._time+=n;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(var i=this._runners.length;i--;){var o=this._runners[i];var s=o.runner;var a=this._time-o.start;if(a<=0){s.reset()}}var u=false;for(var h=0,f=this._runners.length;h<f;h++){var o=this._runners[h];var s=o.runner;var l=n;var a=this._time-o.start;if(a<=0){u=true;continue}else if(a<l){l=a}if(!s.active())continue;var c=s.step(l).done;if(!c){u=true}else if(o.persist!==true){var p=s.duration()-s.time()+this._time;if(p+o.persist<this._time){s.unschedule();--h;--f}}}if(u&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0){this._continue()}else{this.pause();this.fire("finished")}return this};return e}(ve);a({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new en;return this._timeline}else{this._timeline=t;return this}}}});var rn=function(t){__extends(e,t);function e(r){var n=t.call(this)||this;n.id=e.id++;r=r==null?me.duration:r;r=typeof r==="function"?new pr(r):r;n._element=null;n._timeline=null;n.done=false;n._queue=[];n._duration=typeof r==="number"&&r;n._isDeclarative=r instanceof pr;n._stepper=n._isDeclarative?r:new cr;n._history={};n.enabled=true;n._time=0;n._lastTime=0;n._reseted=true;n.transforms=new Xt;n.transformId=1;n._haveReversed=false;n._reverse=false;n._loopsDone=0;n._swing=false;n._wait=0;n._times=1;n._frameId=null;n._persist=n._isDeclarative?true:null;return n}e.sanitise=function(t,e,r){var n=1;var i=false;var o=0;t=t||me.duration;e=e||me.delay;r=r||"last";if(typeof t==="object"&&!(t instanceof lr)){e=t.delay||e;r=t.when||r;i=t.swing||i;n=t.times||n;o=t.wait||o;t=t.duration||me.duration}return{duration:t,delay:e,swing:i,times:n,wait:o,when:r}};e.prototype.active=function(t){if(t==null)return this.enabled;this.enabled=t;return this};e.prototype.addTransform=function(t,e){this.transforms.lmultiplyO(t);return this};e.prototype.after=function(t){return this.on("finished",t)};e.prototype.animate=function(t,r,n){var i=e.sanitise(t,r,n);var o=new e(i.duration);if(this._timeline)o.timeline(this._timeline);if(this._element)o.element(this._element);return o.loop(i).schedule(i.delay,i.when)};e.prototype.clearTransform=function(){this.transforms=new Xt;return this};e.prototype.clearTransformsFromQueue=function(){if(!this.done||!this._timeline||!this._timeline._runnerIds.includes(this.id)){this._queue=this._queue.filter((function(t){return!t.isTransform}))}};e.prototype.delay=function(t){return this.animate(0,t)};e.prototype.duration=function(){return this._times*(this._wait+this._duration)-this._wait};e.prototype.during=function(t){return this.queue(null,t)};e.prototype.ease=function(t){this._stepper=new cr(t);return this};e.prototype.element=function(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this};e.prototype.finish=function(){return this.step(Infinity)};e.prototype.loop=function(t,e,r){if(typeof t==="object"){e=t.swing;r=t.wait;t=t.times}this._times=t||Infinity;this._swing=e||false;this._wait=r||0;if(this._times===true){this._times=Infinity}return this};e.prototype.loops=function(t){var e=this._duration+this._wait;if(t==null){var r=Math.floor(this._time/e);var n=this._time-r*e;var i=n/this._duration;return Math.min(r+i,this._times)}var o=Math.floor(t);var s=t%1;var a=e*o+this._duration*s;return this.time(a)};e.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};e.prototype.position=function(t){var e=this._time;var r=this._duration;var n=this._wait;var i=this._times;var o=this._swing;var s=this._reverse;var a;if(t==null){var u=function(t){var e=o*Math.floor(t%(2*(n+r))/(n+r));var i=e&&!s||!e&&s;var a=Math.pow(-1,i)*(t%(n+r))/r+i;var u=Math.max(Math.min(a,1),0);return u};var h=i*(n+r)-n;a=e<=0?Math.round(u(1e-5)):e<h?u(e):Math.round(u(h-1e-5));return a}var f=Math.floor(this.loops());var l=o&&f%2===0;var c=l&&!s||s&&l;a=f+(c?t:1-t);return this.loops(a)};e.prototype.progress=function(t){if(t==null){return Math.min(1,this._time/this.duration())}return this.time(t*this.duration())};e.prototype.queue=function(t,e,r,n){this._queue.push({initialiser:t||ye,runner:e||ye,retarget:r,isTransform:n,initialised:false,finished:false});var i=this.timeline();i&&this.timeline()._continue();return this};e.prototype.reset=function(){if(this._reseted)return this;this.time(0);this._reseted=true;return this};e.prototype.reverse=function(t){this._reverse=t==null?!this._reverse:t;return this};e.prototype.schedule=function(t,e,r){if(!(t instanceof en)){r=e;e=t;t=this.timeline()}if(!t){throw Error("Runner cannot be scheduled without timeline")}t.schedule(this,e,r);return this};e.prototype.step=function(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;var e=this.position();var r=this._lastPosition!==e&&this._time>=0;this._lastPosition=e;var n=this.duration();var i=this._lastTime<=0&&this._time>0;var o=this._lastTime<n&&this._time>=n;this._lastTime=this._time;if(i){this.fire("start",this)}var s=this._isDeclarative;this.done=!s&&!o&&this._time>=n;this._reseted=false;var a=false;if(r||s){this._initialise(r);this.transforms=new Xt;a=this._run(s?t:e);this.fire("step",this)}this.done=this.done||a&&s;if(o){this.fire("finished",this)}return this};e.prototype.time=function(t){if(t==null){return this._time}var e=t-this._time;this.step(e);return this};e.prototype.timeline=function(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this};e.prototype.unschedule=function(){var t=this.timeline();t&&t.unschedule(this);return this};e.prototype._initialise=function(t){if(!t&&!this._isDeclarative)return;for(var e=0,r=this._queue.length;e<r;++e){var n=this._queue[e];var i=this._isDeclarative||!n.initialised&&t;t=!n.finished;if(i&&t){n.initialiser.call(this);n.initialised=true}}};e.prototype._rememberMorpher=function(t,e){this._history[t]={morpher:e,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){var r=this.timeline();r&&r.play()}};e.prototype._run=function(t){var e=true;for(var r=0,n=this._queue.length;r<n;++r){var i=this._queue[r];var o=i.runner.call(this,t);i.finished=i.finished||o===true;e=e&&i.finished}return e};e.prototype._tryRetarget=function(t,e,r){if(this._history[t]){if(!this._history[t].caller.initialised){var n=this._queue.indexOf(this._history[t].caller);this._queue.splice(n,1);return false}if(this._history[t].caller.retarget){this._history[t].caller.retarget.call(this,e,r)}else{this._history[t].morpher.to(e)}this._history[t].caller.finished=false;var i=this.timeline();i&&i.play();return true}return false};return e}(ve);rn.id=0;var nn=function(){function t(t,e,r){if(t===void 0){t=new Xt}if(e===void 0){e=-1}if(r===void 0){r=true}this.transforms=t;this.id=e;this.done=r}t.prototype.clearTransformsFromQueue=function(){};return t}();U([rn,nn],{mergeWith:function(t){return new nn(t.transforms.lmultiply(this.transforms),t.id)}});var on=function(t,e){return t.lmultiplyO(e)};var sn=function(t){return t.transforms};function an(){var t=this._transformationRunners.runners;var e=t.map(sn).reduce(on,new Xt);this.transform(e);this._transformationRunners.merge();if(this._transformationRunners.length()===1){this._frameId=null}}var un=function(){function t(){this.runners=[];this.ids=[]}t.prototype.add=function(t){if(this.runners.includes(t))return;var e=t.id+1;this.runners.push(t);this.ids.push(e);return this};t.prototype.clearBefore=function(t){var e=this.ids.indexOf(t+1)||1;this.ids.splice(0,e,0);this.runners.splice(0,e,new nn).forEach((function(t){return t.clearTransformsFromQueue()}));return this};t.prototype.edit=function(t,e){var r=this.ids.indexOf(t+1);this.ids.splice(r,1,t+1);this.runners.splice(r,1,e);return this};t.prototype.getByID=function(t){return this.runners[this.ids.indexOf(t+1)]};t.prototype.length=function(){return this.ids.length};t.prototype.merge=function(){var t=null;for(var e=0;e<this.runners.length;++e){var r=this.runners[e];var n=t&&r.done&&t.done&&(!r._timeline||!r._timeline._runnerIds.includes(r.id))&&(!t._timeline||!t._timeline._runnerIds.includes(t.id));if(n){this.remove(r.id);var i=r.mergeWith(t);this.edit(t.id,i);t=i;--e}else{t=r}}return this};t.prototype.remove=function(t){var e=this.ids.indexOf(t+1);this.ids.splice(e,1);this.runners.splice(e,1);return this};return t}();a({Element:{animate:function(t,e,r){var n=rn.sanitise(t,e,r);var i=this.timeline();return new rn(n.duration).loop(n).element(this).timeline(i.play()).schedule(n.delay,n.when)},delay:function(t,e){return this.animate(0,t,e)},_clearTransformRunnersBefore:function(t){this._transformationRunners.clearBefore(t.id)},_currentTransform:function(t){return this._transformationRunners.runners.filter((function(e){return e.id<=t.id})).map(sn).reduce(on,new Xt)},_addRunner:function(t){this._transformationRunners.add(t);Jr.cancelImmediate(this._frameId);this._frameId=Jr.immediate(an.bind(this))},_prepareRunner:function(){if(this._frameId==null){this._transformationRunners=(new un).add(new nn(new Xt(this)))}}}});var hn=function(t,e){return t.filter((function(t){return!e.includes(t)}))};U(rn,{attr:function(t,e){return this.styleAttr("attr",t,e)},css:function(t,e){return this.styleAttr("css",t,e)},styleAttr:function(t,e,r){var n;if(typeof e==="string"){return this.styleAttr(t,(n={},n[e]=r,n))}var i=e;if(this._tryRetarget(t,i))return this;var o=new Nr(this._stepper).to(i);var s=Object.keys(i);this.queue((function(){o=o.from(this.element()[t](s))}),(function(e){this.element()[t](o.at(e).valueOf());return o.done()}),(function(e){var r=Object.keys(e);var n=hn(r,s);if(n.length){var a=this.element()[t](n);var u=new Br(o.from()).valueOf();Object.assign(u,a);o.from(u)}var h=new Br(o.to()).valueOf();Object.assign(h,e);o.to(h);s=r;i=e}));this._rememberMorpher(t,o);return this},zoom:function(t,e){if(this._tryRetarget("zoom",t,e))return this;var r=new Nr(this._stepper).to(new Ce(t));this.queue((function(){r=r.from(this.element().zoom())}),(function(t){this.element().zoom(r.at(t),e);return r.done()}),(function(t,n){e=n;r.to(t)}));this._rememberMorpher("zoom",r);return this},transform:function(t,e,r){e=t.relative||e;if(this._isDeclarative&&!e&&this._tryRetarget("transform",t)){return this}var n=Xt.isMatrixLike(t);r=t.affine!=null?t.affine:r!=null?r:!n;var i=new Nr(this._stepper).type(r?Dr:Xt);var o;var s;var a;var u;var h;function f(){s=s||this.element();o=o||w(t,s);h=new Xt(e?undefined:s);s._addRunner(this);if(!e){s._clearTransformRunnersBefore(this)}}function l(f){if(!e)this.clearTransform();var l=new Ft(o).transform(s._currentTransform(this)),c=l.x,p=l.y;var d=new Xt(__assign(__assign({},t),{origin:[c,p]}));var v=this._isDeclarative&&a?a:h;if(r){d=d.decompose(c,p);v=v.decompose(c,p);var y=d.rotate;var m=v.rotate;var g=[y-360,y,y+360];var w=g.map((function(t){return Math.abs(t-m)}));var _=Math.min.apply(Math,w);var C=w.indexOf(_);d.rotate=g[C]}if(e){if(!n){d.rotate=t.rotate||0}if(this._isDeclarative&&u){v.rotate=u}}i.from(v);i.to(d);var x=i.at(f);u=x.rotate;a=new Xt(x);this.addTransform(a);s._addRunner(this);return i.done()}function c(e){if((e.origin||"center").toString()!==(t.origin||"center").toString()){o=w(e,s)}t=__assign(__assign({},e),{origin:o})}this.queue(f,l,c,true);this._isDeclarative&&this._rememberMorpher("transform",i);return this},x:function(t,e){return this._queueNumber("x",t)},y:function(t){return this._queueNumber("y",t)},dx:function(t){if(t===void 0){t=0}return this._queueNumberDelta("x",t)},dy:function(t){if(t===void 0){t=0}return this._queueNumberDelta("y",t)},dmove:function(t,e){return this.dx(t).dy(e)},_queueNumberDelta:function(t,e){e=new Ce(e);if(this._tryRetarget(t,e))return this;var r=new Nr(this._stepper).to(e);var n=null;this.queue((function(){n=this.element()[t]();r.from(n);r.to(n+e)}),(function(e){this.element()[t](r.at(e));return r.done()}),(function(t){r.to(n+new Ce(t))}));this._rememberMorpher(t,r);return this},_queueObject:function(t,e){if(this._tryRetarget(t,e))return this;var r=new Nr(this._stepper).to(e);this.queue((function(){r.from(this.element()[t]())}),(function(e){this.element()[t](r.at(e));return r.done()}));this._rememberMorpher(t,r);return this},_queueNumber:function(t,e){return this._queueObject(t,new Ce(e))},cx:function(t){return this._queueNumber("cx",t)},cy:function(t){return this._queueNumber("cy",t)},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},size:function(t,e){var r;if(!t||!e){r=this._element.bbox()}if(!t){t=r.width/r.height*e}if(!e){e=r.height/r.width*t}return this.width(t).height(e)},width:function(t){return this._queueNumber("width",t)},height:function(t){return this._queueNumber("height",t)},plot:function(t,e,r,n){if(arguments.length===4){return this.plot([t,e,r,n])}if(this._tryRetarget("plot",t))return this;var i=new Nr(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){i.from(this._element.array())}),(function(t){this._element.plot(i.at(t));return i.done()}));this._rememberMorpher("plot",i);return this},leading:function(t){return this._queueNumber("leading",t)},viewbox:function(t,e,r,n){return this._queueObject("viewbox",new $t(t,e,r,n))},update:function(t){if(typeof t!=="object"){return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]})}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",t.offset);return this}});U(rn,{rx:Be,ry:Ve,from:Ue,to:Qe});q(rn,"Runner");var fn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,H("svg",e),r)||this;n.namespace();return n}e.prototype.defs=function(){if(!this.isRoot())return this.root().defs();return P(this.node.querySelector("defs"))||this.put(new De)};e.prototype.isRoot=function(){return!this.node.parentNode||!(this.node.parentNode instanceof A.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"};e.prototype.namespace=function(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:C,version:"1.1"}).attr("xmlns:xlink",M,b).attr("xmlns:svgjs",k,b)};e.prototype.removeNamespace=function(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,b).attr("xmlns:svgjs",null,b)};e.prototype.root=function(){if(this.isRoot())return this;return t.prototype.root.call(this)};return e}(Ie);a({Container:{nested:Q((function(){return this.put(new fn)}))}});q(fn,"Svg",true);var ln=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("symbol",e),r)||this}return e}(Ie);a({Container:{symbol:Q((function(){return this.put(new ln)}))}});q(ln,"Symbol");function cn(t){if(this._build===false){this.clear()}this.node.appendChild(A.document.createTextNode(t));return this}function pn(){return this.node.getComputedTextLength()}function dn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.x}return this.attr("x",this.attr("x")+t-e.x)}function vn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.y}return this.attr("y",this.attr("y")+t-e.y)}function yn(t,e,r){if(r===void 0){r=this.bbox()}return this.x(t,r).y(e,r)}function mn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.cx}return this.attr("x",this.attr("x")+t-e.cx)}function gn(t,e){if(e===void 0){e=this.bbox()}if(t==null){return e.cy}return this.attr("y",this.attr("y")+t-e.cy)}function wn(t,e,r){if(r===void 0){r=this.bbox()}return this.cx(t,r).cy(e,r)}function _n(t){return this.attr("x",t)}function Cn(t){return this.attr("y",t)}function xn(t,e){return this.ax(t).ay(e)}function bn(t){this._build=!!t;return this}var Mn={__proto__:null,plain:cn,length:pn,x:dn,y:vn,move:yn,cx:mn,cy:gn,center:wn,ax:_n,ay:Cn,amove:xn,build:bn};var kn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,H("text",e),r)||this;n.dom.leading=new Ce(1.3);n._rebuild=true;n._build=false;return n}e.prototype.leading=function(t){if(t==null){return this.dom.leading}this.dom.leading=new Ce(t);return this.rebuild()};e.prototype.rebuild=function(t){if(typeof t==="boolean"){this._rebuild=t}if(this._rebuild){var e=this;var r=0;var n=this.dom.leading;this.each((function(t){var i=A.window.getComputedStyle(this.node).getPropertyValue("font-size");var o=n*new Ce(i);if(this.dom.newLined){this.attr("x",e.attr("x"));if(this.text()==="\n"){r+=o}else{this.attr("dy",t?o+r:0);r=0}}}));this.fire("rebuild")}return this};e.prototype.setData=function(t){this.dom=t;this.dom.leading=new Ce(t.leading||1.3);return this};e.prototype.text=function(t){if(t===undefined){var e=this.node.childNodes;var r=0;t="";for(var n=0,i=e.length;n<i;++n){if(e[n].nodeName==="textPath"){if(n===0)r=1;continue}if(n!==r&&e[n].nodeType!==3&&P(e[n]).dom.newLined===true){t+="\n"}t+=e[n].textContent}return t}this.clear().build(true);if(typeof t==="function"){t.call(this,this)}else{t=(t+"").split("\n");for(var o=0,s=t.length;o<s;o++){this.newLine(t[o])}}return this.build(false).rebuild()};return e}(ze);U(kn,Mn);a({Container:{text:Q((function(t){if(t===void 0){t=""}return this.put(new kn).text(t)})),plain:Q((function(t){if(t===void 0){t=""}return this.put(new kn).plain(t)}))}});q(kn,"Text");var On=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}var n=t.call(this,H("tspan",e),r)||this;n._build=false;return n}e.prototype.dx=function(t){return this.attr("dx",t)};e.prototype.dy=function(t){return this.attr("dy",t)};e.prototype.newLine=function(){this.dom.newLined=true;var t=this.parent();if(!(t instanceof kn)){return this}var e=t.index(this);var r=A.window.getComputedStyle(this.node).getPropertyValue("font-size");var n=t.dom.leading*new Ce(r);return this.dy(e?n:0).attr("x",t.x())};e.prototype.text=function(t){if(t==null)return this.node.textContent+(this.dom.newLined?"\n":"");if(typeof t==="function"){this.clear().build(true);t.call(this,this);this.build(false)}else{this.plain(t)}return this};return e}(ze);U(On,Mn);a({Tspan:{tspan:Q((function(t){if(t===void 0){t=""}var e=new On;if(!this._build){this.clear()}return this.put(e).text(t)}))},Text:{newLine:function(t){if(t===void 0){t=""}return this.tspan(t).newLine()}}});q(On,"Tspan");var An=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("circle",e),r)||this}e.prototype.radius=function(t){return this.attr("r",t)};e.prototype.rx=function(t){return this.attr("r",t)};e.prototype.ry=function(t){return this.rx(t)};e.prototype.size=function(t){return this.radius(new Ce(t).divide(2))};return e}(ze);U(An,{x:He,y:Pe,cx:Re,cy:Fe,width:qe,height:Ze});a({Container:{circle:Q((function(t){if(t===void 0){t=0}return this.put(new An).size(t).move(0,0)}))}});q(An,"Circle");var Sn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("clipPath",e),r)||this}e.prototype.remove=function(){this.targets().forEach((function(t){t.unclip()}));return t.prototype.remove.call(this)};e.prototype.targets=function(){return ie('svg [clip-path*="'+this.id()+'"]')};return e}(Ie);a({Container:{clip:Q((function(){return this.defs().put(new Sn)}))},Element:{clipper:function(){return this.reference("clip-path")},clipWith:function(t){var e=t instanceof Sn?t:this.parent().clip().add(t);return this.attr("clip-path",'url("#'+e.id()+'")')},unclip:function(){return this.attr("clip-path",null)}}});q(Sn,"ClipPath");var Tn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("foreignObject",e),r)||this}return e}(Oe);a({Container:{foreignObject:Q((function(t,e){return this.put(new Tn).size(t,e)}))}});q(Tn,"ForeignObject");function En(t,e){this.children().forEach((function(r,n){var i;try{i=r.bbox()}catch(t){return}var o=new Xt(r);var s=o.translate(t,e).transform(o.inverse());var a=new Ft(i.x,i.y).transform(s);r.move(a.x,a.y)}));return this}function Ln(t){return this.dmove(t,0)}function jn(t){return this.dmove(0,t)}function Nn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.height;return this.size(e.width,t,e)}function In(t,e,r){if(t===void 0){t=0}if(e===void 0){e=0}if(r===void 0){r=this.bbox()}var n=t-r.x;var i=e-r.y;return this.dmove(n,i)}function Dn(t,e,r){if(r===void 0){r=this.bbox()}var n=g(this,t,e,r);var i=n.width/r.width;var o=n.height/r.height;this.children().forEach((function(t,e){var n=new Ft(r).transform(new Xt(t).inverse());t.scale(i,o,n.x,n.y)}));return this}function zn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.width;return this.size(t,e.height,e)}function Bn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.x;return this.move(t,e.y,e)}function Vn(t,e){if(e===void 0){e=this.bbox()}if(t==null)return e.y;return this.move(e.x,t,e)}var Hn={__proto__:null,dmove:En,dx:Ln,dy:jn,height:Nn,move:In,size:Dn,width:zn,x:Bn,y:Vn};var Pn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("g",e),r)||this}return e}(Ie);U(Pn,Hn);a({Container:{group:Q((function(){return this.put(new Pn)}))}});q(Pn,"G");var Rn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("a",e),r)||this}e.prototype.target=function(t){return this.attr("target",t)};e.prototype.to=function(t){return this.attr("href",t,M)};return e}(Ie);U(Rn,Hn);a({Container:{link:Q((function(t){return this.put(new Rn).to(t)}))},Element:{unlink:function(){var t=this.linker();if(!t)return this;var e=t.parent();if(!e){return this.remove()}var r=e.index(t);e.add(this,r);t.remove();return this},linkTo:function(t){var e=this.linker();if(!e){e=new Rn;this.wrap(e)}if(typeof t==="function"){t.call(e,e)}else{e.to(t)}return this},linker:function(){var t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a"){return t}return null}}});q(Rn,"A");var Fn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("mask",e),r)||this}e.prototype.remove=function(){this.targets().forEach((function(t){t.unmask()}));return t.prototype.remove.call(this)};e.prototype.targets=function(){return ie('svg [mask*="'+this.id()+'"]')};return e}(Ie);a({Container:{mask:Q((function(){return this.defs().put(new Fn)}))},Element:{masker:function(){return this.reference("mask")},maskWith:function(t){var e=t instanceof Fn?t:this.parent().mask().add(t);return this.attr("mask",'url("#'+e.id()+'")')},unmask:function(){return this.attr("mask",null)}}});q(Fn,"Mask");var qn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("stop",e),r)||this}e.prototype.update=function(t){if(typeof t==="number"||t instanceof Ce){t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}}if(t.opacity!=null)this.attr("stop-opacity",t.opacity);if(t.color!=null)this.attr("stop-color",t.color);if(t.offset!=null)this.attr("offset",new Ce(t.offset));return this};return e}(Oe);a({Gradient:{stop:function(t,e,r){return this.put(new qn).update(t,e,r)}}});q(qn,"Stop");function Zn(t,e){if(!t)return"";if(!e)return t;var r=t+"{";for(var n in e){r+=y(n)+":"+e[n]+";"}r+="}";return r}var Xn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("style",e),r)||this}e.prototype.addText=function(t){if(t===void 0){t=""}this.node.textContent+=t;return this};e.prototype.font=function(t,e,r){if(r===void 0){r={}}return this.rule("@font-face",__assign({fontFamily:t,src:e},r))};e.prototype.rule=function(t,e){return this.addText(Zn(t,e))};return e}(Oe);a("Dom",{style:function(t,e){return this.put(new Xn).rule(t,e)},fontface:function(t,e,r){return this.put(new Xn).font(t,e,r)}});q(Xn,"Style");var Yn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("textPath",e),r)||this}e.prototype.array=function(){var t=this.track();return t?t.array():null};e.prototype.plot=function(t){var e=this.track();var r=null;if(e){r=e.plot(t)}return t==null?r:this};e.prototype.track=function(){return this.reference("href")};return e}(kn);a({Container:{textPath:Q((function(t,e){if(!(t instanceof kn)){t=this.text(t)}return t.path(e)}))},Text:{path:Q((function(t,e){if(e===void 0){e=true}var r=new Yn;if(!(t instanceof Rr)){t=this.defs().path(t)}r.attr("href","#"+t,M);var n;if(e){while(n=this.node.firstChild){r.node.appendChild(n)}}return this.put(r)})),textPath:function(){return this.findOne("textPath")}},Path:{text:Q((function(t){if(!(t instanceof kn)){t=(new kn).addTo(this.parent()).text(t)}return t.path(this)})),targets:function(){var t=this;return ie("svg textPath").filter((function(e){return(e.attr("href")||"").includes(t.id())}))}}});Yn.prototype.MorphArray=Lr;q(Yn,"TextPath");var Gn=function(t){__extends(e,t);function e(e,r){if(r===void 0){r=e}return t.call(this,H("use",e),r)||this}e.prototype.use=function(t,e){return this.attr("href",(e||"")+"#"+t,M)};return e}(ze);a({Container:{use:Q((function(t,e){return this.put(new Gn).use(t,e)}))}});q(Gn,"Use");var Un=V;U([fn,ln,Ke,Je,ur],u("viewbox"));U([ar,Qr,Ur,Rr],u("marker"));U(kn,u("Text"));U(Rr,u("Path"));U(De,u("Defs"));U([kn,On],u("Tspan"));U([Wr,Ye,$e,rn],u("radius"));U(ve,u("EventTarget"));U(ke,u("Dom"));U(Oe,u("Element"));U(ze,u("Shape"));U([Ie,Ge],u("Container"));U($e,u("Gradient"));U(rn,u("Runner"));re.extend(h());Hr([Ce,Rt,$t,Xt,_e,tr,Lr,Ft]);Pr();function Qn(){var t={entities:[]};var e;var r=[];function n(t,r,n){e=Un().addTo(t).size(r,n);e.entities=[];e.lines=e.group();e.labels=e.group()}function i(t,e){var r;var n=t.group().attr({id:e.id});t.entities.push(n);e.background_color=e.background_color?e.background_color:"#f06";e.color=e.color?e.color:"#ffffff";e.radius=e.radius?e.radius:0;n.entity=n.rect(e.width,e.height).cx(e.width/2).cy(e.height/2).attr((r={fill:"#ffffff",stroke:e.color},r["stroke-width"]=2,r)).radius(e.radius);if(e.class){n.entity.attr("class",e.class)}n.plain(e.text).cx(14).cy(e.height/2+6).attr({fill:e.color});n.move(e.x,e.y)}function o(){if(t.labels&&t.labels.length>0){t.labels.forEach((function(t){e.labels.text(t.value).x(t.x).y(t.y)}))}}function s(t,e){e.forEach((function(e){return a(t,e)}))}function a(t,e){var r="";var n=e.color||"#4c56cb";var i=t.findOne("#"+e.from.element);var o=t.findOne("#"+e.to.element);var s=u(e,i,o);r+=f(i,e.from.point)+","+l(i,e.from.point)+" ";s.forEach((function(t){return r+=t.x+","+t.y+" "}));if(e.to.point==="top"){r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}else if(e.to.point==="bottom"){r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}else{r+=f(o,e.to.point)+","+l(o,e.to.point)+" "}if(!e.polyline){e.polyline=t.lines.polyline(r).fill("none").stroke({color:n,width:2,linecap:"round",linejoin:"round"}).attr("id",e.id)}else{e.polyline.plot(r)}}function u(t,e,r){var n=[];var i=l(e,t.from.point);var o=l(r,t.to.point);var s=f(e,t.from.point);var a=f(r,t.to.point);var u=h(t.from.point);var c=h(t.to.point);var p=u-c;if(p===0){if(t.from.point==="top"){if(i<=o){n.push({x:s,y:i-20});n.push({x:a,y:i-20})}else{n.push({x:s,y:o-20});n.push({x:a,y:o-20})}}else if(t.from.point==="bottom"){if(i<=o){n.push({x:s,y:o+20});n.push({x:a,y:o+20})}else{n.push({x:s,y:i+20});n.push({x:a,y:i+20})}}else{if(s<=a){n.push({x:a+20,y:i});n.push({x:a+20,y:o})}else{n.push({x:s+20,y:i});n.push({x:s+20,y:o})}}}if(p===2||p===-2){if(s!==a){n.push({x:s,y:o+(i-o)/2});n.push({x:a,y:o+(i-o)/2})}}if(p===1||p===-1||p===3||p===-3){if(t.from.point==="top"){if(i<o+20){n.push({x:s,y:i-20});n.push({x:a+20,y:i-20});n.push({x:a+20,y:o})}else{n.push({x:s,y:o})}}if(t.from.point==="bottom"){if(i>o-20){n.push({x:s,y:i+20});n.push({x:a+20,y:i+20});n.push({x:a+20,y:o})}else{n.push({x:s,y:o})}}}return n}function h(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function f(t,e){var r=t.entity.attr("width");var n=t.entity.attr("x");switch(e){case"top":case"bottom":return n+r/2;default:return n-r/2}}function l(t,e){var r=t.entity.attr("height");var n=t.entity.attr("y");switch(e){case"top":return n;case"bottom":return n+r;default:return n}}function c(){e.entities.forEach((function(t){return t.remove()}));e.entities=[];r=[];if(!t.labels){t.labels=[]}t.labels=t.labels.map((function(t){return{id:t.id,value:t.value?t.value:"",x:t.x?t.x:0,y:t.y?t.y:0,color:t.color?t.color:"black"}}));t.entities.map((function(t){t.type=t.type?t.type:"entity";if(t.type==="operation"){t.height=t.width}}));o();t.entities.forEach((function(t){return i(e,t)}));r=t.lines;s(e,r)}function p(e){t=e;c()}return{initalize:n,update:p}}var Wn='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<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"/>\n</svg>\n';var $n='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<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"/>\n</svg>\n';var Jn='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var Kn='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var ti='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var ei='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var ri='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var ni='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var ii='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var oi='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var si='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<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"/>\n</svg>\n';var ai='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<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"/>\n</svg>\n';var ui='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var hi='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var fi='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/>\n<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"/>\n</svg>\n';var li='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/>\n<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"/>\n</svg>\n';var ci='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var pi='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var di='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var vi='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n<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"/>\n</svg>\n';var yi='verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;padding:4px 12px;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"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 -4px 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 -4px 0}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}';var mi=140;var gi=40;var wi=40;var _i=t("verdocs_status_indicator",function(){function t(t){e(this,t);this.size="normal";this.theme="light";this.recipientStatusIcons=[]}t.prototype.componentDidLoad=function(){var t=this;var e;this.popper=i(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((e=this.document)===null||e===void 0?void 0:e.recipients){var r=[];this.document.recipients.forEach((function(t){var e=t.sequence-1;r[e]||(r[e]=[]);var n="r-".concat(e,"-").concat(r[e].length);r[e].push(__assign(__assign({},t),{id:n}))}));var n=Object.keys(r).length;var o=n*gi+(n+1)*wi;var s=0;Object.values(r).forEach((function(t){var e=t.length*mi+(t.length+1)*wi;if(e>s){s=e}}));var a=[];var u=[];var h=[];var f=wi;Object.entries(r).forEach((function(e){var n=e[0],i=e[1];var o=i.length*(mi+wi);var l=s-o;var c=wi/2+l/2;i.forEach((function(e,i){var o;var s=(e.full_name||"Unknown").toUpperCase().split(" "),l=s[0],p=s[1];var d="".concat(l," ").concat(p===null||p===void 0?void 0:p.substring(0,1));var v={id:e.id,text:d,icon:t.getStatusIcon(e.status),x:i*(mi+wi)+c,y:f,width:mi,height:gi,color:t.getStatusColor(e.status),radius:8};a.push(v);h.push({icon:t.getStatusIcon(e.status),x:i*(mi+wi)+c+(mi-32),y:f+gi/2-13});(o=r[+n-1])===null||o===void 0?void 0:o.forEach((function(r){var n={id:"line-".concat(r.id,"-").concat(v.id),from:{element:r.id,point:"bottom"},to:{element:v.id,point:"top"},color:t.getStatusColor(e.status)};u.push(n)}))}));f+=gi+wi}));this.recipientStatusIcons=h;var l=Qn();l.initalize("#verdocs-recipient-status-diagram",s,o);l.update({entities:a,lines:u})}};t.prototype.showDropdown=function(){var t,e;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));(e=this.popper)===null||e===void 0?void 0:e.update()};t.prototype.handleHideDropdown=function(t){var e,r;if(((e=t===null||t===void 0?void 0:t.target)===null||e===void 0?void 0:e.localName)==="button"&&((r=t===null||t===void 0?void 0:t.target)===null||r===void 0?void 0:r.className)==="arrow"){return}this.hide()};t.prototype.toggleDropdown=function(){if(this.isOpen){this.hide()}else{this.showDropdown()}};t.prototype.hide=function(){var t;this.isOpen=false;this.detailPanel.removeAttribute("data-show");this.detailPanel.setAttribute("aria-hidden","true");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}))};t.prototype.getStatusColor=function(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"}};t.prototype.getStatusIcon=function(t){switch(t){case"accepted":return this.theme==="light"?Wn:$n;case"complete":return this.theme==="light"?ti:ei;case"in progress":return this.theme==="light"?ii:oi;case"canceled":return this.theme==="light"?Jn:Kn;case"declined":return this.theme==="light"?ri:ni;case"invited":return this.theme==="light"?ii:oi;case"opened":return this.theme==="light"?si:ai;case"signed":return this.theme==="light"?fi:li;case"submitted":return this.theme==="light"?di:vi;case"some-signed":return this.theme==="light"?ci:pi;default:case"pending":return this.theme==="light"?ui:hi}};t.prototype.getStatusMessage=function(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";default:case"pending":return"Pending"}};t.prototype.render=function(){var t=this;var e,i;var o=this.status||((e=this.document)===null||e===void 0?void 0:e.status)||"pending"||"accepted";if(!this.status&&((i=this.document)===null||i===void 0?void 0:i.recipients)){var s=this.document.recipients.filter((function(t){return t.status==="submitted"}));if(s.length>0&&s.length!==this.document.recipients.length){o="some-signed"}}var a=this.getStatusIcon(o);var u=this.getStatusMessage(o);return r(n,{ref:function(e){return t.summaryComponent=e},class:"".concat(this.theme," ").concat(this.size," ").concat(this.document?"has-document":""),"aria-label":"Click to View Details",onClick:function(){return t.document&&t.toggleDropdown()},onBlur:function(e){return t.document&&t.handleHideDropdown(e)}},r("span",{class:"icon",innerHTML:a}),r("span",{class:"content"},u),r("div",{class:"detail-panel",ref:function(e){return t.detailPanel=e}},r("div",{id:"verdocs-recipient-status-diagram"}),this.recipientStatusIcons.map((function(t){return r("span",{innerHTML:t.icon,style:{position:"absolute",top:"".concat(t.y,"px"),left:"".concat(t.x,"px")}})}))))};return t}());_i.style=yi}}}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { r as registerInstance, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
+
|
|
3
|
+
const ActionsIcon = `<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>`;
|
|
4
|
+
|
|
5
|
+
const EmailIcon = `<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>`;
|
|
6
|
+
|
|
7
|
+
const PagesIcon = `<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>`;
|
|
8
|
+
|
|
9
|
+
const StarIcon = `<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
+
<g clip-path="url(#clip0_31553_1553)">
|
|
11
|
+
<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"/>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id="clip0_31553_1553">
|
|
15
|
+
<rect width="30" height="29" fill="white" transform="translate(0.886719)"/>
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
const verdocsTemplateCardCss = "verdocs-template-card{font-family:\"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}";
|
|
22
|
+
|
|
23
|
+
const VerdocsTemplateCard = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
registerInstance(this, hostRef);
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
var _a, _b, _c, _d, _e;
|
|
29
|
+
return (h(Host, null, h("img", { src: ((_b = (_a = this.template) === null || _a === void 0 ? void 0 : _a.template_document) === null || _b === void 0 ? void 0 : _b.thumbnail_url) || '', alt: "Template Thumbnail", class: "thumbnail" }), h("span", { class: "name" }, this.template.name), h("span", { class: "org-name" }, ((_c = this.template.organization) === null || _c === void 0 ? void 0 : _c.name) || 'Public'), h("hr", null), h("div", { class: "controls" }, h("div", { class: "control" }, h("span", { class: "icon", innerHTML: StarIcon }), h("span", { class: "value" }, this.template.star_counter)), h("div", { class: "control secondary" }, h("span", { class: "icon", innerHTML: PagesIcon }), h("span", { class: "value" }, ((_e = (_d = this.template) === null || _d === void 0 ? void 0 : _d.template_document) === null || _e === void 0 ? void 0 : _e.page_numbers) || 1)), h("div", { class: "control secondary" }, h("span", { class: "icon", innerHTML: EmailIcon }), h("span", { class: "value" }, this.template.counter)), h("span", { class: "additional-controls", innerHTML: ActionsIcon }))));
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
VerdocsTemplateCard.style = verdocsTemplateCardCss;
|
|
33
|
+
|
|
34
|
+
export { VerdocsTemplateCard as verdocs_template_card };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./index-6465280a.system.js"],(function(t){"use strict";var e,l,o;return{setters:[function(t){e=t.r;l=t.h;o=t.f}],execute:function(){var n='<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 a='<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 s='<svg width="31" height="29" viewBox="0 0 31 29" fill="none" xmlns="http://www.w3.org/2000/svg">\n<g clip-path="url(#clip0_31553_1553)">\n<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"/>\n</g>\n<defs>\n<clipPath id="clip0_31553_1553">\n<rect width="30" height="29" fill="white" transform="translate(0.886719)"/>\n</clipPath>\n</defs>\n</svg>\n';var r='verdocs-template-card{font-family:"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 c=t("verdocs_template_card",function(){function t(t){e(this,t)}t.prototype.render=function(){var t,e,r,c,p;return l(o,null,l("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"}),l("span",{class:"name"},this.template.name),l("span",{class:"org-name"},((r=this.template.organization)===null||r===void 0?void 0:r.name)||"Public"),l("hr",null),l("div",{class:"controls"},l("div",{class:"control"},l("span",{class:"icon",innerHTML:s}),l("span",{class:"value"},this.template.star_counter)),l("div",{class:"control secondary"},l("span",{class:"icon",innerHTML:i}),l("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)),l("div",{class:"control secondary"},l("span",{class:"icon",innerHTML:a}),l("span",{class:"value"},this.template.counter)),l("span",{class:"additional-controls",innerHTML:n})))};return t}());c.style=r}}}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
+
|
|
3
|
+
const verdocsTemplateTagsCss = "verdocs-template-tags{font-family:\"Barlow\", sans-serif}verdocs-template-tags span{margin:0 4px;height:28px;font-size:12px;font-weight:600;padding:5px 12px 7px;border-radius:5px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:uppercase;color:#33364b;border:1px solid #707ae5;background-color:#f5f5fa}";
|
|
4
|
+
|
|
5
|
+
const VerdocsTemplateTags = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
var _a;
|
|
11
|
+
return (h(Host, null, (_a = this.tags) === null || _a === void 0 ? void 0 : _a.map(tag => (h("span", null, tag)))));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
VerdocsTemplateTags.style = verdocsTemplateTagsCss;
|
|
15
|
+
|
|
16
|
+
export { VerdocsTemplateTags as verdocs_template_tags };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./index-6465280a.system.js"],(function(t){"use strict";var e,r,n;return{setters:[function(t){e=t.r;r=t.h;n=t.f}],execute:function(){var o='verdocs-template-tags{font-family:"Barlow", sans-serif}verdocs-template-tags span{margin:0 4px;height:28px;font-size:12px;font-weight:600;padding:5px 12px 7px;border-radius:5px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:uppercase;color:#33364b;border:1px solid #707ae5;background-color:#f5f5fa}';var s=t("verdocs_template_tags",function(){function t(t){e(this,t)}t.prototype.render=function(){var t;return r(n,null,(t=this.tags)===null||t===void 0?void 0:t.map((function(t){return r("span",null,t)})))};return t}());s.style=o}}}));
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { r as registerInstance, e as createEvent, h, f as Host } from './index-ddbd60b5.js';
|
|
2
|
+
|
|
3
|
+
const verdocsTextInputCss = "verdocs-text-input{font-family:\"Barlow\", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:20px 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}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-label{display:block;color:#33354c;font-weight:400;font-size:14px;margin:0 0 4px 0}";
|
|
4
|
+
|
|
5
|
+
const VerdocsTextInput = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.fieldInput = createEvent(this, "fieldInput", 7);
|
|
9
|
+
this.fieldFocus = createEvent(this, "fieldFocus", 7);
|
|
10
|
+
this.fieldBlur = createEvent(this, "fieldBlur", 7);
|
|
11
|
+
/**
|
|
12
|
+
* The value for the input field.
|
|
13
|
+
*/
|
|
14
|
+
this.value = '';
|
|
15
|
+
/**
|
|
16
|
+
* The label for the field.
|
|
17
|
+
*/
|
|
18
|
+
this.label = '';
|
|
19
|
+
/**
|
|
20
|
+
* The placeholder for the field.
|
|
21
|
+
*/
|
|
22
|
+
this.placeholder = '';
|
|
23
|
+
/**
|
|
24
|
+
* If desired, the autocomplete attribute to set.
|
|
25
|
+
*/
|
|
26
|
+
this.autocomplete = '';
|
|
27
|
+
/**
|
|
28
|
+
* The type of field to render. Only text-type fields are allowed here for the current styling. Additional types
|
|
29
|
+
* (e.g. a date picker) will be supported by other controls in the future.
|
|
30
|
+
*/
|
|
31
|
+
this.type = 'text';
|
|
32
|
+
/**
|
|
33
|
+
* Should the field be disabled?
|
|
34
|
+
*/
|
|
35
|
+
this.disabled = false;
|
|
36
|
+
this._value = '';
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this._value = this.value;
|
|
40
|
+
}
|
|
41
|
+
componentDidLoad() { }
|
|
42
|
+
handleInput(event) {
|
|
43
|
+
this._value = event.target.value;
|
|
44
|
+
this.fieldInput.emit(this._value);
|
|
45
|
+
}
|
|
46
|
+
handleFocus(event) {
|
|
47
|
+
this.fieldFocus.emit(event);
|
|
48
|
+
}
|
|
49
|
+
handleBlur(event) {
|
|
50
|
+
this.fieldBlur.emit(event);
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return (h(Host, { class: "input-field" }, h("label", null, this.label ? h("div", { class: "input-label" }, this.label + ':') : h("div", null), h("input", { type: this.type, placeholder: this.placeholder, autoComplete: this.autocomplete, disabled: this.disabled, value: this._value, class: "input-element", onInput: event => this.handleInput(event), onFocus: event => this.handleFocus(event), onBlur: event => this.handleBlur(event) }))));
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
VerdocsTextInput.style = verdocsTextInputCss;
|
|
57
|
+
|
|
58
|
+
export { VerdocsTextInput as verdocs_text_input };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./index-6465280a.system.js"],(function(t){"use strict";var e,i,o,n;return{setters:[function(t){e=t.r;i=t.e;o=t.h;n=t.f}],execute:function(){var l='verdocs-text-input{font-family:"Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:20px 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}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-label{display:block;color:#33354c;font-weight:400;font-size:14px;margin:0 0 4px 0}';var a=t("verdocs_text_input",function(){function t(t){e(this,t);this.fieldInput=i(this,"fieldInput",7);this.fieldFocus=i(this,"fieldFocus",7);this.fieldBlur=i(this,"fieldBlur",7);this.value="";this.label="";this.placeholder="";this.autocomplete="";this.type="text";this.disabled=false;this._value=""}t.prototype.componentWillLoad=function(){this._value=this.value};t.prototype.componentDidLoad=function(){};t.prototype.handleInput=function(t){this._value=t.target.value;this.fieldInput.emit(this._value)};t.prototype.handleFocus=function(t){this.fieldFocus.emit(t)};t.prototype.handleBlur=function(t){this.fieldBlur.emit(t)};t.prototype.render=function(){var t=this;return o(n,{class:"input-field"},o("label",null,this.label?o("div",{class:"input-label"},this.label+":"):o("div",null),o("input",{type:this.type,placeholder:this.placeholder,autoComplete:this.autocomplete,disabled:this.disabled,value:this._value,class:"input-element",onInput:function(e){return t.handleInput(e)},onFocus:function(e){return t.handleFocus(e)},onBlur:function(e){return t.handleBlur(e)}})))};return t}());a.style=l}}}));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-ddbd60b5.js';
|
|
2
|
+
|
|
3
|
+
const verdocsToggleCss = "verdocs-toggle{font-family:\"Barlow\", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";
|
|
4
|
+
|
|
5
|
+
const VerdocsToggle = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
handleClick(event) {
|
|
10
|
+
event.preventDefault();
|
|
11
|
+
let container = event.target;
|
|
12
|
+
if (container.matches('toggle-icon-buttons')) {
|
|
13
|
+
container = event.target.shadowRoot;
|
|
14
|
+
const element = container.activeElement;
|
|
15
|
+
const siblings = Array.from(element.parentElement.children).filter(child => {
|
|
16
|
+
return child !== element;
|
|
17
|
+
});
|
|
18
|
+
siblings.map((sibling) => {
|
|
19
|
+
return sibling.classList.remove('selected');
|
|
20
|
+
});
|
|
21
|
+
if (!element.classList.contains('selected')) {
|
|
22
|
+
element.classList.add('selected');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (h("div", { class: "container" }, h("span", { class: "label" }, `${this.options.label}:`), h("div", { class: "buttons" }, this.options.buttons.map((button, index) => (h("button", { id: button.id, key: button.id, innerHTML: button.icon, class: index === this.options.defaultSelection ? 'selected' : '' }))))));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
VerdocsToggle.style = verdocsToggleCss;
|
|
31
|
+
|
|
32
|
+
export { VerdocsToggle as verdocs_toggle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./index-6465280a.system.js"],(function(t){"use strict";var e,o;return{setters:[function(t){e=t.r;o=t.h}],execute:function(){var s='verdocs-toggle{font-family:"Barlow", sans-serif}verdocs-toggle .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f5f5fa}verdocs-toggle .label{font-size:24px;font-weight:700;color:#33354c;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}verdocs-toggle .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}verdocs-toggle .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}verdocs-toggle .buttons button:not(:last-child){margin-right:11px}verdocs-toggle .buttons svg{width:30px;height:30px}verdocs-toggle .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .buttons button:hover svg{fill:#f5f5fa;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}verdocs-toggle .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}';var n=t("verdocs_toggle",function(){function t(t){e(this,t)}t.prototype.handleClick=function(t){t.preventDefault();var e=t.target;if(e.matches("toggle-icon-buttons")){e=t.target.shadowRoot;var o=e.activeElement;var s=Array.from(o.parentElement.children).filter((function(t){return t!==o}));s.map((function(t){return t.classList.remove("selected")}));if(!o.classList.contains("selected")){o.classList.add("selected")}}};t.prototype.render=function(){var t=this;return o("div",{class:"container"},o("span",{class:"label"},"".concat(this.options.label,":")),o("div",{class:"buttons"},this.options.buttons.map((function(e,s){return o("button",{id:e.id,key:e.id,innerHTML:e.icon,class:s===t.options.defaultSelection?"selected":""})}))))};return t}());n.style=s}}}));
|