@verdocs/web-sdk 6.10.2 → 6.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-DLmnUl1_.js +4 -4
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +5681 -7384
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js.map +1 -1
- package/dist/components/p-DtHLJ-XO.js +2 -0
- package/dist/components/p-DtHLJ-XO.js.map +1 -0
- package/dist/components/verdocs-envelopes-list.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/esm/index-CjTHbolG.js +4 -4
- package/dist/esm/verdocs-status-indicator.entry.js +5681 -7384
- package/dist/esm/verdocs-status-indicator.entry.js.map +1 -1
- package/dist/esm-es5/index-CjTHbolG.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js.map +1 -1
- package/dist/verdocs-web-sdk/p-1a06dffb.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1a06dffb.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
- package/dist/verdocs-web-sdk/p-addd303e.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-addd303e.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +3 -3
- package/dist/components/p-CL2-oWjL.js +0 -2
- package/dist/components/p-CL2-oWjL.js.map +0 -1
- package/dist/verdocs-web-sdk/p-28418080.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-28418080.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-f60672f5.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-f60672f5.entry.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,d){function s(e){try{l(a.next(e))}catch(e){d(e)}}function o(e){try{l(a["throw"](e))}catch(e){d(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},a,n,d,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(a=1,n&&(d=o[0]&2?n["return"]:o[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,o[1])).done)return d;if(n=0,d)o=[o[0]&2,d.value];switch(o[0]){case 0:case 1:d=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(d=i.trys,d=d.length>0&&d[d.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!d||o[1]>d[0]&&o[1]<d[3])){i.label=o[1];break}if(o[0]===6&&i.label<d[1]){i.label=d[1];d=o;break}if(d&&i.label<d[2]){i.label=d[2];i.ops.push(o);break}if(d[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=d=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-De3fNE_u.system.js","./p-BbPAtVJG.system.js"],(function(e,t){"use strict";var i,a,n;return{setters:[function(t){i=t.p;a=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var d=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return i(a)};d().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,a(JSON.parse('[["p-99e594ef.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-4a2d69b9.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"toolbarStyle":[1,"toolbar-style"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"disclosures":[32],"fieldUpdateCounter":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"adoptingSignature":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"signatureId":[32],"initialId":[32],"documentsSingularPlural":[32],"authStep":[32],"authMethodStates":[32],"pageNumber":[32],"kbaQuestions":[32],"showSpinner":[32],"declining":[32],"delegating":[32],"delegated":[32],"kbaChoices":[32],"showDownloadDialog":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"signingProgressMode":[32],"polling":[32]}]]],["p-e2acf751.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":[{"handleViewUpdated":0}],"status":[{"handleStatusUpdated":0}],"sort":[{"handleSortUpdated":0}],"match":[{"handleMatchUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-97fcac5e.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":[{"handleSharingUpdated":0}],"starred":[{"handleStarredUpdated":0}],"sort":[{"handleSortUpdated":0}],"name":[{"handleNameUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-228c0fa3.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"showUpdateDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-b3ac740e.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}]]],["p-4b269de0.system",[[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}]]],["p-9a40e58c.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-16d655d4.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-c72daca8.system",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-b73405ad.system",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-cfc2d31b.system",[[0,"verdocs-date-input",{"value":[1537],"label":[1],"placeholder":[1],"helpText":[1,"help-text"],"disabled":[4],"required":[4],"showingPw":[32],"focused":[32],"containerId":[32],"focusField":[64]}]]],["p-88244ef4.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-9cae97dc.system",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-0d19368a.system",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-9f65fa0d.system",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-fafc51b9.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-b5572507.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-4f5e39eb.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-51a3c97d.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-abe7c086.system",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-08de250b.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-34829b57.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-1bae66d5.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-a06772cc.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-28418080.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-5aca9c76.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-83153211.system",[[0,"verdocs-envelope-update-recipient",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"originalRecipient":[32],"updatedRecipient":[32]}],[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-66375e80.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[260,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-5f92320e.system",[[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}],[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}]]],["p-1d100b90.system",[[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"description":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}],[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-098b3852.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[513,"template-id"],"documentId":[513,"document-id"],"pageNumber":[514,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-869024e0.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-34ae1f00.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[260,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-0eaeb487.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"name_locked":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"activeEntitlements":[32],"authMethodsLoading":[32]}]]],["p-6379773e.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-629301d3.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-147256a8.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-112ff1d7.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-38bdedc5.system",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-c5d0abe5.system",[[0,"verdocs-sign-footer",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"isDone":[4,"is-done"],"askingQuestion":[32],"declinine":[32],"envelope":[32]}],[0,"verdocs-download-dialog",{"signed":[4],"polling":[4],"documents":[16],"hasCertificate":[4,"has-certificate"]}],[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}],[0,"verdocs-question-dialog",{"question":[1025],"closed":[32]}]]],["p-c45927e3.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-83d23528.system",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-a65e1762.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"readonly":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-loader"]]],["p-1273627b.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"showDownloadDialog":[32],"polling":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"agreed":[32],"response":[32],"updatedRecipient":[32],"dobContainerId":[32]}],[0,"verdocs-adopt-signature-dialog",{"name":[1],"nameLocked":[4,"name-locked"],"fontLoaded":[32],"enteredName":[32],"enteredInitials":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasDrawnInitials":[32]}],[0,"verdocs-otp-dialog",{"endpoint":[1040],"method":[1],"resendDisabled":[32],"response":[32]}],[0,"verdocs-passcode-dialog",{"endpoint":[1040],"response":[32]}],[0,"verdocs-disclosure-dialog",{"disclosures":[1],"delegator":[4],"accepted":[32]}],[0,"verdocs-delegate-dialog",{"endpoint":[1040],"envelope":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"message":[32]}]]],["p-4f9bd0bd.system",[[0,"verdocs-field-attachment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"isPreview":[516,"is-preview"],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"initialid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"signatureid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"],[0,"blur","onBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-6af0110a.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"],[0,"settingsChanged","handleFieldSettingsChanged"],[0,"deleted","handleFieldDeleted"]],{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"showCancel":[4,"show-cancel"],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]]]'),t)]}}))}))}))}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,d){function s(e){try{l(a.next(e))}catch(e){d(e)}}function o(e){try{l(a["throw"](e))}catch(e){d(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},a,n,d,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(a=1,n&&(d=o[0]&2?n["return"]:o[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,o[1])).done)return d;if(n=0,d)o=[o[0]&2,d.value];switch(o[0]){case 0:case 1:d=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(d=i.trys,d=d.length>0&&d[d.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!d||o[1]>d[0]&&o[1]<d[3])){i.label=o[1];break}if(o[0]===6&&i.label<d[1]){i.label=d[1];d=o;break}if(d&&i.label<d[2]){i.label=d[2];i.ops.push(o);break}if(d[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=d=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-De3fNE_u.system.js","./p-BbPAtVJG.system.js"],(function(e,t){"use strict";var i,a,n;return{setters:[function(t){i=t.p;a=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var d=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return i(a)};d().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,a(JSON.parse('[["p-99e594ef.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-4a2d69b9.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"toolbarStyle":[1,"toolbar-style"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"disclosures":[32],"fieldUpdateCounter":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"adoptingSignature":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"signatureId":[32],"initialId":[32],"documentsSingularPlural":[32],"authStep":[32],"authMethodStates":[32],"pageNumber":[32],"kbaQuestions":[32],"showSpinner":[32],"declining":[32],"delegating":[32],"delegated":[32],"kbaChoices":[32],"showDownloadDialog":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"signingProgressMode":[32],"polling":[32]}]]],["p-e2acf751.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":[{"handleViewUpdated":0}],"status":[{"handleStatusUpdated":0}],"sort":[{"handleSortUpdated":0}],"match":[{"handleMatchUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-97fcac5e.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":[{"handleSharingUpdated":0}],"starred":[{"handleStarredUpdated":0}],"sort":[{"handleSortUpdated":0}],"name":[{"handleNameUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-228c0fa3.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"showUpdateDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-b3ac740e.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}]]],["p-4b269de0.system",[[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}]]],["p-9a40e58c.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-16d655d4.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-c72daca8.system",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-b73405ad.system",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-cfc2d31b.system",[[0,"verdocs-date-input",{"value":[1537],"label":[1],"placeholder":[1],"helpText":[1,"help-text"],"disabled":[4],"required":[4],"showingPw":[32],"focused":[32],"containerId":[32],"focusField":[64]}]]],["p-88244ef4.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-9cae97dc.system",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-0d19368a.system",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-9f65fa0d.system",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-fafc51b9.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-b5572507.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-4f5e39eb.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-51a3c97d.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-abe7c086.system",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-08de250b.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-34829b57.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-1bae66d5.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-a06772cc.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-addd303e.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-5aca9c76.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-83153211.system",[[0,"verdocs-envelope-update-recipient",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"originalRecipient":[32],"updatedRecipient":[32]}],[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-66375e80.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[260,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-5f92320e.system",[[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}],[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}]]],["p-1d100b90.system",[[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"description":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}],[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-098b3852.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[513,"template-id"],"documentId":[513,"document-id"],"pageNumber":[514,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-869024e0.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-34ae1f00.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[260,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-0eaeb487.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"name_locked":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"activeEntitlements":[32],"authMethodsLoading":[32]}]]],["p-6379773e.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-629301d3.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-147256a8.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-112ff1d7.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-38bdedc5.system",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-c5d0abe5.system",[[0,"verdocs-sign-footer",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"isDone":[4,"is-done"],"askingQuestion":[32],"declinine":[32],"envelope":[32]}],[0,"verdocs-download-dialog",{"signed":[4],"polling":[4],"documents":[16],"hasCertificate":[4,"has-certificate"]}],[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}],[0,"verdocs-question-dialog",{"question":[1025],"closed":[32]}]]],["p-c45927e3.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-83d23528.system",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-a65e1762.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"readonly":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-loader"]]],["p-1273627b.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"showDownloadDialog":[32],"polling":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"agreed":[32],"response":[32],"updatedRecipient":[32],"dobContainerId":[32]}],[0,"verdocs-adopt-signature-dialog",{"name":[1],"nameLocked":[4,"name-locked"],"fontLoaded":[32],"enteredName":[32],"enteredInitials":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasDrawnInitials":[32]}],[0,"verdocs-otp-dialog",{"endpoint":[1040],"method":[1],"resendDisabled":[32],"response":[32]}],[0,"verdocs-passcode-dialog",{"endpoint":[1040],"response":[32]}],[0,"verdocs-disclosure-dialog",{"disclosures":[1],"delegator":[4],"accepted":[32]}],[0,"verdocs-delegate-dialog",{"endpoint":[1040],"envelope":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"message":[32]}]]],["p-4f9bd0bd.system",[[0,"verdocs-field-attachment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"isPreview":[516,"is-preview"],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"initialid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"signatureid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"],[0,"blur","onBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-6af0110a.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"],[0,"settingsChanged","handleFieldSettingsChanged"],[0,"deleted","handleFieldDeleted"]],{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"showCancel":[4,"show-cancel"],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]]]'),t)]}}))}))}))}}}));
|
|
2
2
|
//# sourceMappingURL=p-BdZ5Ghsa.system.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(n,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))t[r]=n[r]};return t(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(n,r);function i(){this.constructor=n}n.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))t[e]=n[e]}return t};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(t,n,r){if(r||arguments.length===2)for(var i=0,e=n.length,u;i<e;i++){if(u||!(i in n)){if(!u)u=Array.prototype.slice.call(n,0,i);u[i]=n[i]}}return t.concat(u||Array.prototype.slice.call(n))};System.register(["./p-De3fNE_u.system.js","@verdocs/js-sdk","./p-DzZgjFK8.system.js"],(function(t){"use strict";var n,r,i,e,u;return{setters:[function(t){n=t.r;r=t.h;i=t.H},function(t){e=t.formatFullName},function(t){u=t.c}],execute:function(){var s=Object.create;var o=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var h=Object.getPrototypeOf;var c=Object.prototype.hasOwnProperty;var v=function(t,n){return function(){return n||(t((n={exports:{}}).exports,n),t=null),n.exports}};var l=function(t,n){var r={};for(var i in t){o(r,i,{get:t[i],enumerable:true})}{o(r,Symbol.toStringTag,{value:"Module"})}return r};var d=function(t,n,r,i){if(n&&typeof n==="object"||typeof n==="function"){for(var e=a(n),u=0,s=e.length,h;u<s;u++){h=e[u];if(!c.call(t,h)&&h!==r){o(t,h,{get:function(t){return n[t]}.bind(null,h),enumerable:!(i=f(n,h))||i.enumerable})}}}return t};var C=function(t,n,r){return r=t!=null?s(h(t)):{},d(o(r,"default",{value:t,enumerable:true}),t)};var w={};var p=[];function y(t,n){if(Array.isArray(t)){for(var r=0,i=t;r<i.length;r++){var e=i[r];y(e,n)}return}if(typeof t==="object"){for(var e in t)y(e,t[e]);return}b(Object.getOwnPropertyNames(n));w[t]=Object.assign(w[t]||{},n)}function g(t){return w[t]||{}}function m(){return __spreadArray([],new Set(p),true)}function b(t){p.push.apply(p,t)}var x=v((function(t,n){n.exports=function(t){try{return!!t()}catch(t){return true}}}));var _=v((function(t,n){var r=x();n.exports=!r((function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}))}));var M=v((function(t,n){var r=_();var i=Function.prototype;var e=i.call;var u=r&&i.bind.bind(e,e);n.exports=r?u:function(t){return function(){return e.apply(t,arguments)}}}));var j=v((function(t,n){var r=M();n.exports=r({}.isPrototypeOf)}));var k=v((function(t,n){var r=function(t){return t&&t.Math===Math&&t};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof global=="object"&&global)||r(typeof t=="object"&&t)||function(){return this}()||Function("return this")()}));var A=v((function(t,n){var r=_();var i=Function.prototype;var e=i.apply;var u=i.call;n.exports=typeof Reflect=="object"&&Reflect.apply||(r?u.bind(e):function(){return u.apply(e,arguments)})}));var O=v((function(t,n){var r=M();var i=r({}.toString);var e=r("".slice);n.exports=function(t){return e(i(t),8,-1)}}));var S=v((function(t,n){var r=O();var i=M();n.exports=function(t){if(r(t)==="Function")return i(t)}}));var L=v((function(t,n){var r=typeof document=="object"&&document.all;n.exports=typeof r=="undefined"&&r!==void 0?function(t){return typeof t=="function"||t===r}:function(t){return typeof t=="function"}}));var E=v((function(t,n){var r=x();n.exports=!r((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))}));var V=v((function(t,n){var r=_();var i=Function.prototype.call;n.exports=r?i.bind(i):function(){return i.apply(i,arguments)}}));var T=v((function(t){var n={}.propertyIsEnumerable;var r=Object.getOwnPropertyDescriptor;var i=r&&!n.call({1:2},1);t.f=i?function t(n){var i=r(this,n);return!!i&&i.enumerable}:n}));var B=v((function(t,n){n.exports=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}}}));var H=v((function(t,n){var r=M();var i=x();var e=O();var u=Object;var s=r("".split);n.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return e(t)==="String"?s(t,""):u(t)}:u}));var Z=v((function(t,n){n.exports=function(t){return t===null||t===void 0}}));var F=v((function(t,n){var r=Z();var i=TypeError;n.exports=function(t){if(r(t))throw new i("Can't call method on "+t);return t}}));var z=v((function(t,n){var r=H();var i=F();n.exports=function(t){return r(i(t))}}));var D=v((function(t,n){var r=L();n.exports=function(t){return typeof t=="object"?t!==null:r(t)}}));var I=v((function(t,n){n.exports={}}));var N=v((function(t,n){var r=I();var i=k();var e=L();var u=function(t){return e(t)?t:void 0};n.exports=function(t,n){return arguments.length<2?u(r[t])||u(i[t]):r[t]&&r[t][n]||i[t]&&i[t][n]}}));var P=v((function(t,n){var r=k().navigator;var i=r&&r.userAgent;n.exports=i?String(i):""}));var R=v((function(t,n){var r=k();var i=P();var e=r.process;var u=r.Deno;var s=e&&e.versions||u&&u.version;var o=s&&s.v8;var f;var a;if(o){f=o.split(".");a=f[0]>0&&f[0]<4?1:+(f[0]+f[1])}if(!a&&i){f=i.match(/Edge\/(\d+)/);if(!f||f[1]>=74){f=i.match(/Chrome\/(\d+)/);if(f)a=+f[1]}}n.exports=a}));var G=v((function(t,n){var r=R();var i=x();var e=k().String;n.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!e(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))}));var Y=v((function(t,n){var r=G();n.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}));var X=v((function(t,n){var r=N();var i=L();var e=j();var u=Y();var s=Object;n.exports=u?function(t){return typeof t=="symbol"}:function(t){var n=r("Symbol");return i(n)&&e(n.prototype,s(t))}}));var $=v((function(t,n){var r=String;n.exports=function(t){try{return r(t)}catch(t){return"Object"}}}));var J=v((function(t,n){var r=L();var i=$();var e=TypeError;n.exports=function(t){if(r(t))return t;throw new e(i(t)+" is not a function")}}));var Q=v((function(t,n){var r=J();var i=Z();n.exports=function(t,n){var e=t[n];return i(e)?void 0:r(e)}}));var U=v((function(t,n){var r=V();var i=L();var e=D();var u=TypeError;n.exports=function(t,n){var s,o;if(n==="string"&&i(s=t.toString)&&!e(o=r(s,t)))return o;if(i(s=t.valueOf)&&!e(o=r(s,t)))return o;if(n!=="string"&&i(s=t.toString)&&!e(o=r(s,t)))return o;throw new u("Can't convert object to primitive value")}}));var W=v((function(t,n){n.exports=true}));var q=v((function(t,n){var r=k();var i=Object.defineProperty;n.exports=function(t,n){try{i(r,t,{value:n,configurable:true,writable:true})}catch(i){r[t]=n}return n}}));var K=v((function(t,n){var r=W();var i=k();var e=q();var u="__core-js_shared__";var s=n.exports=i[u]||e(u,{});(s.versions||(s.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})}));var tt=v((function(t,n){var r=K();n.exports=function(t,n){return r[t]||(r[t]=n||{})}}));var nt=v((function(t,n){var r=F();var i=Object;n.exports=function(t){return i(r(t))}}));var rt=v((function(t,n){var r=M();var i=nt();var e=r({}.hasOwnProperty);n.exports=Object.hasOwn||function t(n,r){return e(i(n),r)}}));var it=v((function(t,n){var r=M();var i=0;var e=Math.random();var u=r(1.1.toString);n.exports=function(t){return"Symbol("+(t===void 0?"":t)+")_"+u(++i+e,36)}}));var et=v((function(t,n){var r=k();var i=tt();var e=rt();var u=it();var s=G();var o=Y();var f=r.Symbol;var a=i("wks");var h=o?f["for"]||f:f&&f.withoutSetter||u;n.exports=function(t){if(!e(a,t))a[t]=s&&e(f,t)?f[t]:h("Symbol."+t);return a[t]}}));var ut=v((function(t,n){var r=V();var i=D();var e=X();var u=Q();var s=U();var o=et();var f=TypeError;var a=o("toPrimitive");n.exports=function(t,n){if(!i(t)||e(t))return t;var o=u(t,a);var h;if(o){if(n===void 0)n="default";h=r(o,t,n);if(!i(h)||e(h))return h;throw new f("Can't convert object to primitive value")}if(n===void 0)n="number";return s(t,n)}}));var st=v((function(t,n){var r=ut();var i=X();n.exports=function(t){var n=r(t,"string");return i(n)?n:n+""}}));var ot=v((function(t,n){var r=k();var i=D();var e=r.document;var u=i(e)&&i(e.createElement);n.exports=function(t){return u?e.createElement(t):{}}}));var ft=v((function(t,n){var r=E();var i=x();var e=ot();n.exports=!r&&!i((function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7}))}));var at=v((function(t){var n=E();var r=V();var i=T();var e=B();var u=z();var s=st();var o=rt();var f=ft();var a=Object.getOwnPropertyDescriptor;t.f=n?a:function t(n,h){n=u(n);h=s(h);if(f)try{return a(n,h)}catch(t){}if(o(n,h))return e(!r(i.f,n,h),n[h])}}));var ht=v((function(t,n){var r=x();var i=L();var e=/#|\.prototype\./;var u=function(t,n){var e=o[s(t)];return e===a?true:e===f?false:i(n)?r(n):!!n};var s=u.normalize=function(t){return String(t).replace(e,".").toLowerCase()};var o=u.data={};var f=u.NATIVE="N";var a=u.POLYFILL="P";n.exports=u}));var ct=v((function(t,n){var r=S();var i=J();var e=_();var u=r(r.bind);n.exports=function(t,n){i(t);return n===void 0?t:e?u(t,n):function(){return t.apply(n,arguments)}}}));var vt=v((function(t,n){var r=E();var i=x();n.exports=r&&i((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:false}).prototype!==42}))}));var lt=v((function(t,n){var r=D();var i=String;var e=TypeError;n.exports=function(t){if(r(t))return t;throw new e(i(t)+" is not an object")}}));var dt=v((function(t){var n=E();var r=ft();var i=vt();var e=lt();var u=st();var s=TypeError;var o=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var a="enumerable";var h="configurable";var c="writable";t.f=n?i?function t(n,r,i){e(n);r=u(r);e(i);if(typeof n==="function"&&r==="prototype"&&"value"in i&&c in i&&!i[c]){var s=f(n,r);if(s&&s[c]){n[r]=i.value;i={configurable:h in i?i[h]:s[h],enumerable:a in i?i[a]:s[a],writable:false}}}return o(n,r,i)}:o:function t(n,i,f){e(n);i=u(i);e(f);if(r)try{return o(n,i,f)}catch(t){}if("get"in f||"set"in f)throw new s("Accessors not supported");if("value"in f)n[i]=f.value;return n}}));var Ct=v((function(t,n){var r=E();var i=dt();var e=B();n.exports=r?function(t,n,r){return i.f(t,n,e(1,r))}:function(t,n,r){t[n]=r;return t}}));var wt=v((function(t,n){var r=k();var i=A();var e=S();var u=L();var s=at().f;var o=ht();var f=I();var a=ct();var h=Ct();var c=rt();K();var v=function(t){var n=function(r,e,u){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,e)}return new t(r,e,u)}return i(t,this,arguments)};n.prototype=t.prototype;return n};n.exports=function(t,n){var i=t.target;var l=t.global;var d=t.stat;var C=t.proto;var w=l?r:d?r[i]:r[i]&&r[i].prototype;var p=l?f:f[i]||h(f,i,{})[i];var y=p.prototype;var g,m,b;var x,_,M,j,k,A;for(x in n){g=o(l?x:i+(d?".":"#")+x,t.forced);m=!g&&w&&c(w,x);M=p[x];if(m)if(t.dontCallGetSet){A=s(w,x);j=A&&A.value}else j=w[x];_=m&&j?j:n[x];if(!g&&!C&&typeof M==typeof _)continue;if(t.bind&&m)k=a(_,r);else if(t.wrap&&m)k=v(_);else if(C&&u(_))k=e(_);else k=_;if(t.sham||_&&_.sham||M&&M.sham)h(k,"sham",true);h(p,x,k);if(C){b=i+"Prototype";if(!c(f,b))h(f,b,{});h(f[b],x,_);if(t.real&&y&&(g||!y[x]))h(y,x,_)}}}}));var pt=v((function(t,n){var r=Math.ceil;var i=Math.floor;n.exports=Math.trunc||function t(n){var e=+n;return(e>0?i:r)(e)}}));var yt=v((function(t,n){var r=pt();n.exports=function(t){var n=+t;return n!==n||n===0?0:r(n)}}));var gt=v((function(t,n){var r=yt();var i=Math.max;var e=Math.min;n.exports=function(t,n){var u=r(t);return u<0?i(u+n,0):e(u,n)}}));var mt=v((function(t,n){var r=yt();var i=Math.min;n.exports=function(t){var n=r(t);return n>0?i(n,9007199254740991):0}}));var bt=v((function(t,n){var r=mt();n.exports=function(t){return r(t.length)}}));var xt=v((function(t,n){var r=z();var i=gt();var e=bt();var u=function(t){return function(n,u,s){var o=r(n);var f=e(o);if(f===0)return!t&&-1;var a=i(s,f);var h;if(t&&u!==u)while(f>a){h=o[a++];if(h!==h)return true}else for(;f>a;a++)if((t||a in o)&&o[a]===u)return t||a||0;return!t&&-1}};n.exports={includes:u(true),indexOf:u(false)}}));var _t=v((function(t,n){n.exports=function(){}}));var Mt=v((function(){var t=wt();var n=xt().includes;var r=x();var i=_t();var e=r((function(){return!Array(1).includes()}));var u=r((function(){return[,1].includes(void 0,1)}));t({target:"Array",proto:true,forced:e||u},{includes:function t(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}});i("includes")}));var jt=v((function(t,n){var r=k();var i=I();n.exports=function(t,n){var e=i[t+"Prototype"];var u=e&&e[n];if(u)return u;var s=r[t];var o=s&&s.prototype;return o&&o[n]}}));var kt=v((function(t,n){Mt();var r=jt();n.exports=r("Array","includes")}));var At=v((function(t,n){var r=D();var i=O();var e=et()("match");n.exports=function(t){var n;return r(t)&&((n=t[e])!==void 0?!!n:i(t)==="RegExp")}}));var Ot=v((function(t,n){var r=At();var i=TypeError;n.exports=function(t){if(r(t))throw new i("The method doesn't accept regular expressions");return t}}));var St=v((function(t,n){var r=et()("toStringTag");var i={};i[r]="z";n.exports=String(i)==="[object z]"}));var Lt=v((function(t,n){var r=St();var i=L();var e=O();var u=et()("toStringTag");var s=Object;var o=e(function(){return arguments}())==="Arguments";var f=function(t,n){try{return t[n]}catch(t){}};n.exports=r?e:function(t){var n,r,a;return t===void 0?"Undefined":t===null?"Null":typeof(r=f(n=s(t),u))=="string"?r:o?e(n):(a=e(n))==="Object"&&i(n.callee)?"Arguments":a}}));var Et=v((function(t,n){var r=Lt();var i=String;n.exports=function(t){if(r(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}}));var Vt=v((function(t,n){var r=et()("match");n.exports=function(t){var n=/./;try{"/./"[t](n)}catch(i){try{n[r]=false;return"/./"[t](n)}catch(t){}}return false}}));var Tt=v((function(){var t=wt();var n=M();var r=Ot();var i=F();var e=Et();var u=Vt();var s=n("".indexOf);t({target:"String",proto:true,forced:!u("includes")},{includes:function t(n){return!!~s(e(i(this)),e(r(n)),arguments.length>1?arguments[1]:void 0)}})}));var Bt=v((function(t,n){Tt();var r=jt();n.exports=r("String","includes")}));var Ht=v((function(t,n){var r=j();var i=kt();var e=Bt();var u=Array.prototype;var s=String.prototype;n.exports=function(t){var n=t.includes;if(t===u||r(u,t)&&n===u.includes)return i;if(typeof t=="string"||t===s||r(s,t)&&n===s.includes)return e;return n}}));var Zt=v((function(t,n){var r=Ht();n.exports=r}));var Ft=C(Zt());function zt(t,n){var r;var i=t.length;var e=[];for(r=0;r<i;r++)e.push(n(t[r]));return e}function Dt(t,n){var r;var i=t.length;var e=[];for(r=0;r<i;r++)if(n(t[r]))e.push(t[r]);return e}function It(t){return t%360*Math.PI/180}function Nt(t){return t.replace(/([A-Z])/g,(function(t,n){return"-"+n.toLowerCase()}))}function Pt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Rt(t,n,r,i){if(n==null||r==null){i=i||t.bbox();if(n==null)n=i.width/i.height*r;else if(r==null)r=i.height/i.width*n}return{width:n,height:r}}function Gt(t,n){var r;var i=t.origin;var e=t.ox!=null?t.ox:t.originX!=null?t.originX:"center";var u=t.oy!=null?t.oy:t.originY!=null?t.originY:"center";if(i!=null)r=Array.isArray(i)?i:typeof i==="object"?[i.x,i.y]:[i,i],e=r[0],u=r[1];var s=typeof e==="string";var o=typeof u==="string";if(s||o){var f=n.bbox(),a=f.height,h=f.width,c=f.x,v=f.y;if(s)e=(0,Ft.default)(e).call(e,"left")?c:(0,Ft.default)(e).call(e,"right")?c+h:c+h/2;if(o)u=(0,Ft.default)(u).call(u,"top")?v:(0,Ft.default)(u).call(u,"bottom")?v+a:v+a/2}return[e,u]}var Yt=new Set(["desc","metadata","title"]);var Xt=function(t){return Yt.has(t.nodeName)};var $t=function(t,n,r){if(r===void 0){r={}}var i=__assign({},n);for(var e in i)if(i[e].valueOf()===r[e])delete i[e];if(Object.keys(i).length)t.node.setAttribute("data-svgjs",JSON.stringify(i));else{t.node.removeAttribute("data-svgjs");t.node.removeAttribute("svgjs:data")}};var Jt="http://www.w3.org/2000/svg";var Qt="http://www.w3.org/1999/xhtml";var Ut="http://www.w3.org/2000/xmlns/";var Wt="http://www.w3.org/1999/xlink";var qt={window:typeof window==="undefined"?null:window,document:typeof document==="undefined"?null:document};function Kt(){return qt.window}var tn=function(){function t(){}return t}();var nn={};var rn="___SYMBOL___ROOT___";function en(t,n){if(n===void 0){n=Jt}return qt.document.createElementNS(n,t)}function un(t,n){if(n===void 0){n=false}if(t instanceof tn)return t;if(typeof t==="object")return fn(t);if(t==null)return new nn[rn];if(typeof t==="string"&&t.trim().charAt(0)!=="<")return fn(qt.document.querySelector(t));var r=n?qt.document.createElement("div"):en("svg");r.innerHTML=t.trim();t=fn(r.firstElementChild);r.removeChild(r.firstElementChild);return t}function sn(t,n){return n&&(n instanceof qt.window.Node||n.ownerDocument&&n instanceof n.ownerDocument.defaultView.Node)?n:en(t)}function on(t){if(!t)return null;if(t.instance instanceof tn)return t.instance;if(t.nodeName==="#document-fragment")return new nn.Fragment(t);var n=Pt(t.nodeName||"Dom");if(n==="LinearGradient"||n==="RadialGradient")n="Gradient";else if(!nn[n])n="Dom";return new nn[n](t)}var fn=on;function an(t,n,r){if(n===void 0){n=t.name}if(r===void 0){r=false}nn[n]=t;if(r)nn[rn]=t;b(Object.getOwnPropertyNames(t.prototype));return t}function hn(t){return nn[t]}var cn=1e3;function vn(t){return"Svgjs"+Pt(t)+cn++}function ln(t){for(var n=t.children.length-1;n>=0;n--)ln(t.children[n]);if(t.id){t.id=vn(t.nodeName);return t}return t}function dn(t,n){var r,i;t=Array.isArray(t)?t:[t];for(i=t.length-1;i>=0;i--)for(r in n)t[i].prototype[r]=n[r]}function Cn(t){return function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}var i=n[n.length-1];if(i&&i.constructor===Object&&!(i instanceof Array))return t.apply(this,n.slice(0,-1)).attr(i);else return t.apply(this,n)}}function wn(){return this.parent().children()}function pn(){return this.parent().index(this)}function yn(){return this.siblings()[this.position()+1]}function gn(){return this.siblings()[this.position()-1]}function mn(){var t=this.position();this.parent().add(this.remove(),t+1);return this}function bn(){var t=this.position();this.parent().add(this.remove(),t?t-1:0);return this}function xn(){this.parent().add(this.remove());return this}function _n(){this.parent().add(this.remove(),0);return this}function Mn(t){t=un(t);t.remove();var n=this.position();this.parent().add(t,n);return this}function jn(t){t=un(t);t.remove();var n=this.position();this.parent().add(t,n+1);return this}function kn(t){t=un(t);t.before(this);return this}function An(t){t=un(t);t.after(this);return this}y("Dom",{siblings:wn,position:pn,next:yn,prev:gn,forward:mn,backward:bn,front:xn,back:_n,before:Mn,after:jn,insertBefore:kn,insertAfter:An});var On=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i;var Sn=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;var Ln=/rgb\((\d+),(\d+),(\d+)\)/;var En=/^(#[^\s]+)$/;var Vn=/\)\s*,?\s*/;var Tn=/\s/g;var Bn=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i;var Hn=/^rgb\(/;var Zn=/^(\s+)?$/;var Fn=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;var zn=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i;var Dn=/[\s,]+/;var In=/[MLHVCSQTAZ]/i;function Nn(){var t=this.attr("class");return t==null?[]:t.trim().split(Dn)}function Pn(t){return this.classes().indexOf(t)!==-1}function Rn(t){if(!this.hasClass(t)){var n=this.classes();n.push(t);this.attr("class",n.join(" "))}return this}function Gn(t){if(this.hasClass(t))this.attr("class",this.classes().filter((function(n){return n!==t})).join(" "));return this}function Yn(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)}y("Dom",{classes:Nn,hasClass:Pn,addClass:Rn,removeClass:Gn,toggleClass:Yn});var Xn=function(t){return t.startsWith("--")?t:Nt(t)};function $n(t,n){var r={};if(arguments.length===0){var i=this.node.style;for(var e=0;e<i.length;e++){var u=i.item(e);var s=i.getPropertyValue(u);var o=i.getPropertyPriority(u);r[u]=o?"".concat(s," !").concat(o):s}return r}if(arguments.length<2){if(Array.isArray(t)){for(var f=0,a=t;f<a.length;f++){var u=a[f];var h=Xn(u);r[u]=this.node.style.getPropertyValue(h)}return r}if(typeof t==="string")return this.node.style.getPropertyValue(Xn(t));if(typeof t==="object")for(var u in t)this.node.style.setProperty(Xn(u),t[u]==null||Zn.test(t[u])?"":t[u])}if(arguments.length===2)this.node.style.setProperty(Xn(t),n==null||Zn.test(n)?"":n);return this}function Jn(){return this.css("display","")}function Qn(){return this.css("display","none")}function Un(){return this.css("display")!=="none"}y("Dom",{css:$n,show:Jn,hide:Qn,visible:Un});function Wn(t,n,r){if(t==null)return this.data(zt(Dt(this.node.attributes,(function(t){return t.nodeName.indexOf("data-")===0})),(function(t){return t.nodeName.slice(5)})));else if(t instanceof Array){var i={};for(var e=0,u=t;e<u.length;e++){var s=u[e];i[s]=this.data(s)}return i}else if(typeof t==="object")for(n in t)this.data(n,t[n]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+t))}catch(n){return this.attr("data-"+t)}else this.attr("data-"+t,n===null?null:r===true||typeof n==="string"||typeof n==="number"?n:JSON.stringify(n));return this}y("Dom",{data:Wn});function qn(t,n){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]=n;return this}function Kn(){if(arguments.length===0)this._memory={};else for(var t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this}function tr(){return this._memory=this._memory||{}}y("Dom",{remember:qn,forget:Kn,memory:tr});function nr(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 rr(t){var n=Math.max(0,Math.min(255,Math.round(t))).toString(16);return n.length===1?"0"+n:n}function ir(t,n){for(var r=n.length;r--;)if(t[n[r]]==null)return false;return true}function er(t,n){var r=ir(t,"rgb")?{_a:t.r,_b:t.g,_c:t.b,_d:0,space:"rgb"}:ir(t,"xyz")?{_a:t.x,_b:t.y,_c:t.z,_d:0,space:"xyz"}:ir(t,"hsl")?{_a:t.h,_b:t.s,_c:t.l,_d:0,space:"hsl"}:ir(t,"lab")?{_a:t.l,_b:t.a,_c:t.b,_d:0,space:"lab"}:ir(t,"lch")?{_a:t.l,_b:t.c,_c:t.h,_d:0,space:"lch"}:ir(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=n||r.space;return r}function ur(t){if(t==="lab"||t==="xyz"||t==="lch")return true;else return false}function sr(t,n,r){if(r<0)r+=1;if(r>1)r-=1;if(r<1/6)return t+(n-t)*6*r;if(r<1/2)return n;if(r<2/3)return t+(n-t)*(2/3-r)*6;return t}var or=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.isColor=function(n){return n&&(n instanceof t||this.isRgb(n)||this.test(n))};t.isRgb=function(t){return t&&typeof t.r==="number"&&typeof t.g==="number"&&typeof t.b==="number"};t.random=function(n,r){if(n===void 0){n="vibrant"}var i=Math.random,e=Math.round,u=Math.sin,s=Math.PI;if(n==="vibrant"){var o=24*i()+57;var f=38*i()+45;var a=360*i();return new t(o,f,a,"lch")}else if(n==="sine"){r=r==null?i():r;var h=e(80*u(2*s*r/.5+.01)+150);var c=e(50*u(2*s*r/.5+4.6)+200);var v=e(100*u(2*s*r/.5+2.3)+150);return new t(h,c,v)}else if(n==="pastel"){var o=8*i()+86;var f=17*i()+9;var l=360*i();return new t(o,f,l,"lch")}else if(n==="dark"){var o=10+10*i();var f=50*i()+86;var d=360*i();return new t(o,f,d,"lch")}else if(n==="rgb"){var h=255*i();var c=255*i();var v=255*i();return new t(h,c,v)}else if(n==="lab"){var o=100*i();var C=256*i()-128;var v=256*i()-128;return new t(o,C,v,"lab")}else if(n==="grey"){var w=255*i();return new t(w,w,w)}else throw new Error("Unsupported random color mode")};t.test=function(t){return typeof t==="string"&&(Bn.test(t)||Hn.test(t))};t.prototype.cmyk=function(){var n=this.rgb(),r=n._a,i=n._b,e=n._c;var u=[r,i,e].map((function(t){return t/255})),s=u[0],o=u[1],f=u[2];var a=Math.min(1-s,1-o,1-f);if(a===1)return new t(0,0,0,1,"cmyk");var h=(1-s-a)/(1-a);var c=(1-o-a)/(1-a);var v=(1-f-a)/(1-a);return new t(h,c,v,a,"cmyk")};t.prototype.hsl=function(){var n=this.rgb(),r=n._a,i=n._b,e=n._c;var u=[r,i,e].map((function(t){return t/255})),s=u[0],o=u[1],f=u[2];var a=Math.max(s,o,f);var h=Math.min(s,o,f);var c=(a+h)/2;var v=a===h;var l=a-h;var d=v?0:c>.5?l/(2-a-h):l/(a+h);var C=v?0:a===s?((o-f)/l+(o<f?6:0))/6:a===o?((f-s)/l+2)/6:a===f?((s-o)/l+4)/6:0;return new t(360*C,100*d,100*c,"hsl")};t.prototype.init=function(t,n,r,i,e){if(t===void 0){t=0}if(n===void 0){n=0}if(r===void 0){r=0}if(i===void 0){i=0}if(e===void 0){e="rgb"}t=!t?0:t;if(this.space)for(var u in this.space)delete this[this.space[u]];if(typeof t==="number"){e=typeof i==="string"?i:e;i=typeof i==="string"?0:i;Object.assign(this,{_a:t,_b:n,_c:r,_d:i,space:e})}else if(t instanceof Array){this.space=n||(typeof t[3]==="string"?t[3]:t[4])||"rgb";Object.assign(this,{_a:t[0],_b:t[1],_c:t[2],_d:t[3]||0})}else if(t instanceof Object){var s=er(t,n);Object.assign(this,s)}else if(typeof t==="string")if(Hn.test(t)){var o=t.replace(Tn,"");var f=Ln.exec(o).slice(1,4).map((function(t){return parseInt(t)})),a=f[0],h=f[1],c=f[2];Object.assign(this,{_a:a,_b:h,_c:c,_d:0,space:"rgb"})}else if(Bn.test(t)){var v=function(t){return parseInt(t,16)};var l=Sn.exec(nr(t)).map(v),d=l[1],C=l[2],w=l[3];Object.assign(this,{_a:d,_b:C,_c:w,_d:0,space:"rgb"})}else throw Error("Unsupported string format, can't construct Color");var p=this,y=p._a,g=p._b,m=p._c,b=p._d;var x=this.space==="rgb"?{r:y,g:g,b:m}:this.space==="xyz"?{x:y,y:g,z:m}:this.space==="hsl"?{h:y,s:g,l:m}:this.space==="lab"?{l:y,a:g,b:m}:this.space==="lch"?{l:y,c:g,h:m}:this.space==="cmyk"?{c:y,m:g,y:m,k:b}:{};Object.assign(this,x)};t.prototype.lab=function(){var n=this.xyz(),r=n.x,i=n.y,e=n.z;var u=116*i-16;var s=500*(r-i);var o=200*(i-e);return new t(u,s,o,"lab")};t.prototype.lch=function(){var n=this.lab(),r=n.l,i=n.a,e=n.b;var u=Math.sqrt(Math.pow(i,2)+Math.pow(e,2));var s=180*Math.atan2(e,i)/Math.PI;if(s<0){s*=-1;s=360-s}return new t(r,u,s,"lch")};t.prototype.rgb=function(){if(this.space==="rgb")return this;else if(ur(this.space)){var n=this,r=n.x,i=n.y,e=n.z;if(this.space==="lab"||this.space==="lch"){var u=this,s=u.l,o=u.a,f=u.b;if(this.space==="lch"){var a=this,h=a.c,c=a.h;var v=Math.PI/180;o=h*Math.cos(v*c);f=h*Math.sin(v*c)}var l=(s+16)/116;var d=o/500+l;var C=l-f/200;var w=16/116;var p=.008856;var y=7.787;r=.95047*(Math.pow(d,3)>p?Math.pow(d,3):(d-w)/y);i=1*(Math.pow(l,3)>p?Math.pow(l,3):(l-w)/y);e=1.08883*(Math.pow(C,3)>p?Math.pow(C,3):(C-w)/y)}var g=r*3.2406+i*-1.5372+e*-.4986;var m=r*-.9689+i*1.8758+e*.0415;var b=r*.0557+i*-.204+e*1.057;var x=Math.pow;var _=.0031308;var M=g>_?1.055*x(g,1/2.4)-.055:12.92*g;var j=m>_?1.055*x(m,1/2.4)-.055:12.92*m;var k=b>_?1.055*x(b,1/2.4)-.055:12.92*b;return new t(255*M,255*j,255*k)}else if(this.space==="hsl"){var A=this,O=A.h,S=A.s,s=A.l;O/=360;S/=100;s/=100;if(S===0){s*=255;return new t(s,s,s)}var L=s<.5?s*(1+S):s+S-s*S;var E=2*s-L;var M=255*sr(E,L,O+1/3);var j=255*sr(E,L,O);var k=255*sr(E,L,O-1/3);return new t(M,j,k)}else if(this.space==="cmyk"){var V=this,h=V.c,T=V.m,B=V.y,H=V.k;var M=255*(1-Math.min(1,h*(1-H)+H));var j=255*(1-Math.min(1,T*(1-H)+H));var k=255*(1-Math.min(1,B*(1-H)+H));return new t(M,j,k)}else return this};t.prototype.toArray=function(){var t=this,n=t._a,r=t._b,i=t._c,e=t._d,u=t.space;return[n,r,i,e,u]};t.prototype.toHex=function(){var t=this._clamped().map(rr),n=t[0],r=t[1],i=t[2];return"#".concat(n).concat(r).concat(i)};t.prototype.toRgb=function(){var t=this._clamped(),n=t[0],r=t[1],i=t[2];return"rgb(".concat(n,",").concat(r,",").concat(i,")")};t.prototype.toString=function(){return this.toHex()};t.prototype.xyz=function(){var n=this.rgb(),r=n._a,i=n._b,e=n._c;var u=[r,i,e].map((function(t){return t/255})),s=u[0],o=u[1],f=u[2];var a=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var h=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92;var c=f>.04045?Math.pow((f+.055)/1.055,2.4):f/12.92;var v=(a*.4124+h*.3576+c*.1805)/.95047;var l=(a*.2126+h*.7152+c*.0722)/1;var d=(a*.0193+h*.1192+c*.9505)/1.08883;var C=v>.008856?Math.pow(v,1/3):7.787*v+16/116;var w=l>.008856?Math.pow(l,1/3):7.787*l+16/116;var p=d>.008856?Math.pow(d,1/3):7.787*d+16/116;return new t(C,w,p,"xyz")};t.prototype._clamped=function(){var t=this.rgb(),n=t._a,r=t._b,i=t._c;var e=Math.max,u=Math.min,s=Math.round;var o=function(t){return e(0,u(s(t),255))};return[n,r,i].map(o)};return t}();var fr=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.prototype.clone=function(){return new t(this)};t.prototype.init=function(t,n){var r={x:0,y:0};var i=Array.isArray(t)?{x:t[0],y:t[1]}:typeof t==="object"?{x:t.x,y:t.y}:{x:t,y:n};this.x=i.x==null?r.x:i.x;this.y=i.y==null?r.y:i.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(!cr.isMatrixLike(t))t=new cr(t);var n=this,r=n.x,i=n.y;this.x=t.a*r+t.c*i+t.e;this.y=t.b*r+t.d*i+t.f;return this};return t}();function ar(t,n){return new fr(t,n).transformO(this.screenCTM().inverseO())}function hr(t,n,r){return Math.abs(n-t)<1e-6}var cr=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.formatTransforms=function(t){var n,r,i,e,u;var s=t.flip==="both"||t.flip===true;var o=t.flip&&(s||t.flip==="x")?-1:1;var f=t.flip&&(s||t.flip==="y")?-1:1;var a=t.skew&&t.skew.length?t.skew[0]:isFinite(t.skew)?t.skew:isFinite(t.skewX)?t.skewX:0;var h=t.skew&&t.skew.length?t.skew[1]:isFinite(t.skew)?t.skew:isFinite(t.skewY)?t.skewY:0;var c=t.scale&&t.scale.length?t.scale[0]*o:isFinite(t.scale)?t.scale*o:isFinite(t.scaleX)?t.scaleX*o:o;var v=t.scale&&t.scale.length?t.scale[1]*f:isFinite(t.scale)?t.scale*f:isFinite(t.scaleY)?t.scaleY*f:f;var l=t.shear||0;var d=t.rotate||t.theta||0;var C=new fr(t.origin||t.around||t.ox||t.originX,t.oy||t.originY);var w=C.x;var p=C.y;var y=new fr((i=(r=(n=t.position)!==null&&n!==void 0?n:t.px)!==null&&r!==void 0?r:t.positionX)!==null&&i!==void 0?i:NaN,(u=(e=t.py)!==null&&e!==void 0?e:t.positionY)!==null&&u!==void 0?u:NaN);var g=y.x;var m=y.y;var b=new fr(t.translate||t.tx||t.translateX,t.ty||t.translateY);var x=b.x;var _=b.y;var M=new fr(t.relative||t.rx||t.relativeX,t.ry||t.relativeY);return{scaleX:c,scaleY:v,skewX:a,skewY:h,shear:l,theta:d,rx:M.x,ry:M.y,tx:x,ty:_,ox:w,oy:p,px:g,py:m}};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,n,r){var i=t.a*n.a+t.c*n.b;var e=t.b*n.a+t.d*n.b;var u=t.a*n.c+t.c*n.d;var s=t.b*n.c+t.d*n.d;var o=t.e+t.a*n.e+t.c*n.f;var f=t.f+t.b*n.e+t.d*n.f;r.a=i;r.b=e;r.c=u;r.d=s;r.e=o;r.f=f;return r};t.prototype.around=function(t,n,r){return this.clone().aroundO(t,n,r)};t.prototype.aroundO=function(t,n,r){var i=t||0;var e=n||0;return this.translateO(-i,-e).lmultiplyO(r).translateO(i,e)};t.prototype.clone=function(){return new t(this)};t.prototype.decompose=function(t,n){if(t===void 0){t=0}if(n===void 0){n=0}var r=this.a;var i=this.b;var e=this.c;var u=this.d;var s=this.e;var o=this.f;var f=r*u-i*e;var a=f>0?1:-1;var h=a*Math.sqrt(r*r+i*i);var c=Math.atan2(a*i,a*r);var v=180/Math.PI*c;var l=(r*e+i*u)/f;return{scaleX:h,scaleY:e*h/(l*r-i)||u*h/(l*i+r),shear:l,rotate:v,translateX:s-t+t*r+n*e,translateY:o-n+t*i+n*u,originX:t,originY:n,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}};t.prototype.equals=function(n){if(n===this)return true;var r=new t(n);return hr(this.a,r.a)&&hr(this.b,r.b)&&hr(this.c,r.c)&&hr(this.d,r.d)&&hr(this.e,r.e)&&hr(this.f,r.f)};t.prototype.flip=function(t,n){return this.clone().flipO(t,n)};t.prototype.flipO=function(t,n){return t==="x"?this.scaleO(-1,1,n,0):t==="y"?this.scaleO(1,-1,0,n):this.scaleO(-1,-1,t,n||t)};t.prototype.init=function(n){var r=t.fromArray([1,0,0,1,0,0]);n=n instanceof qr?n.matrixify():typeof n==="string"?t.fromArray(n.split(Dn).map(parseFloat)):Array.isArray(n)?t.fromArray(n):typeof n==="object"&&t.isMatrixLike(n)?n:typeof n==="object"?(new t).transform(n):arguments.length===6?t.fromArray([].slice.call(arguments)):r;this.a=n.a!=null?n.a:r.a;this.b=n.b!=null?n.b:r.b;this.c=n.c!=null?n.c:r.c;this.d=n.d!=null?n.d:r.d;this.e=n.e!=null?n.e:r.e;this.f=n.f!=null?n.f:r.f;return this};t.prototype.inverse=function(){return this.clone().inverseO()};t.prototype.inverseO=function(){var t=this.a;var n=this.b;var r=this.c;var i=this.d;var e=this.e;var u=this.f;var s=t*i-n*r;if(!s)throw new Error("Cannot invert "+this);var o=i/s;var f=-n/s;var a=-r/s;var h=t/s;var c=-(o*e+a*u);var v=-(f*e+h*u);this.a=o;this.b=f;this.c=a;this.d=h;this.e=c;this.f=v;return this};t.prototype.lmultiply=function(t){return this.clone().lmultiplyO(t)};t.prototype.lmultiplyO=function(n){var r=this;var i=n instanceof t?n:new t(n);return t.matrixMultiply(i,r,this)};t.prototype.multiply=function(t){return this.clone().multiplyO(t)};t.prototype.multiplyO=function(n){var r=this;var i=n instanceof t?n:new t(n);return t.matrixMultiply(r,i,this)};t.prototype.rotate=function(t,n,r){return this.clone().rotateO(t,n,r)};t.prototype.rotateO=function(t,n,r){if(n===void 0){n=0}if(r===void 0){r=0}t=It(t);var i=Math.cos(t);var e=Math.sin(t);var u=this,s=u.a,o=u.b,f=u.c,a=u.d,h=u.e,c=u.f;this.a=s*i-o*e;this.b=o*i+s*e;this.c=f*i-a*e;this.d=a*i+f*e;this.e=h*i-c*e+r*e-n*i+n;this.f=c*i+h*e-n*e-r*i+r;return this};t.prototype.scale=function(){var t;return(t=this.clone()).scaleO.apply(t,arguments)};t.prototype.scaleO=function(t,n,r,i){if(n===void 0){n=t}if(r===void 0){r=0}if(i===void 0){i=0}if(arguments.length===3){i=r;r=n;n=t}var e=this,u=e.a,s=e.b,o=e.c,f=e.d,a=e.e,h=e.f;this.a=u*t;this.b=s*n;this.c=o*t;this.d=f*n;this.e=a*t-r*t+r;this.f=h*n-i*n+i;return this};t.prototype.shear=function(t,n,r){return this.clone().shearO(t,n,r)};t.prototype.shearO=function(t,n,r){if(n===void 0){n=0}if(r===void 0){r=0}var i=this,e=i.a,u=i.b,s=i.c,o=i.d,f=i.e,a=i.f;this.a=e+u*t;this.c=s+o*t;this.e=f+a*t-r*t;return this};t.prototype.skew=function(){var t;return(t=this.clone()).skewO.apply(t,arguments)};t.prototype.skewO=function(t,n,r,i){if(n===void 0){n=t}if(r===void 0){r=0}if(i===void 0){i=0}if(arguments.length===3){i=r;r=n;n=t}t=It(t);n=It(n);var e=Math.tan(t);var u=Math.tan(n);var s=this,o=s.a,f=s.b,a=s.c,h=s.d,c=s.e,v=s.f;this.a=o+f*e;this.b=f+o*u;this.c=a+h*e;this.d=h+a*u;this.e=c+v*e-i*e;this.f=v+c*u-r*u;return this};t.prototype.skewX=function(t,n,r){return this.skew(t,0,n,r)};t.prototype.skewY=function(t,n,r){return this.skew(0,t,n,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(n){if(t.isMatrixLike(n))return new t(n).multiplyO(this);var r=t.formatTransforms(n);var i=this;var e=new fr(r.ox,r.oy).transform(i),u=e.x,s=e.y;var o=(new t).translateO(r.rx,r.ry).lmultiplyO(i).translateO(-u,-s).scaleO(r.scaleX,r.scaleY).skewO(r.skewX,r.skewY).shearO(r.shear).rotateO(r.theta).translateO(u,s);if(isFinite(r.px)||isFinite(r.py)){var f=new fr(u,s).transform(o);var a=isFinite(r.px)?r.px-f.x:0;var h=isFinite(r.py)?r.py-f.y:0;o.translateO(a,h)}o.translateO(r.tx,r.ty);return o};t.prototype.translate=function(t,n){return this.clone().translateO(t,n)};t.prototype.translateO=function(t,n){this.e+=t||0;this.f+=n||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 vr(){return new cr(this.node.getCTM())}function lr(){try{if(typeof this.isRoot==="function"&&!this.isRoot()){var t=this.rect(1,1);var n=t.node.getScreenCTM();t.remove();return new cr(n)}return new cr(this.node.getScreenCTM())}catch(t){console.warn("Cannot get CTM from SVG node ".concat(this.node.nodeName,". Is the element rendered?"));return new cr}}an(cr,"Matrix");function dr(){if(!dr.nodes||dr.nodes.svg.node.ownerDocument!==qt.document){var t=un().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");dr.nodes={svg:t,path:t.path().node}}if(!dr.nodes.svg.node.parentNode)dr.nodes.svg.addTo(qt.document.body||qt.document.documentElement);return dr.nodes}function Cr(t){return!t.width&&!t.height&&!t.x&&!t.y}function wr(t){return t===qt.document||(qt.document.documentElement.contains||function(t){while(t.parentNode)t=t.parentNode;return t===qt.document}).call(qt.document.documentElement,t)}var pr=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.prototype.addOffset=function(){this.x+=qt.window.pageXOffset;this.y+=qt.window.pageYOffset;return new t(this)};t.prototype.init=function(t){t=typeof t==="string"?t.split(Dn).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):[0,0,0,0];this.x=t[0]||0;this.y=t[1]||0;this.width=this.w=t[2]||0;this.height=this.h=t[3]||0;this.x2=this.x+this.w;this.y2=this.y+this.h;this.cx=this.x+this.w/2;this.cy=this.y+this.h/2;return this};t.prototype.isNulled=function(){return Cr(this)};t.prototype.merge=function(n){var r=Math.min(this.x,n.x);var i=Math.min(this.y,n.y);var e=Math.max(this.x+this.width,n.x+n.width)-r;var u=Math.max(this.y+this.height,n.y+n.height)-i;return new t(r,i,e,u)};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(n){if(!(n instanceof cr))n=new cr(n);var r=Infinity;var i=-Infinity;var e=Infinity;var u=-Infinity;[new fr(this.x,this.y),new fr(this.x2,this.y),new fr(this.x,this.y2),new fr(this.x2,this.y2)].forEach((function(t){t=t.transform(n);r=Math.min(r,t.x);i=Math.max(i,t.x);e=Math.min(e,t.y);u=Math.max(u,t.y)}));return new t(r,e,i-r,u-e)};return t}();function yr(t,n,r){var i;try{i=n(t.node);if(Cr(i)&&!wr(t.node))throw new Error("Element not in the dom")}catch(n){i=r(t)}return i}function gr(){var t=function(t){return t.getBBox()};var n=function(t){try{var n=t.clone().addTo(dr().svg).show();var r=n.node.getBBox();n.remove();return r}catch(n){throw new Error('Getting bbox of element "'.concat(t.node.nodeName,'" is not possible: ').concat(n.toString()))}};var r=yr(this,t,n);return new pr(r)}function mr(t){var n=function(t){return t.getBoundingClientRect()};var r=function(t){throw new Error('Getting rbox of element "'.concat(t.node.nodeName,'" is not possible'))};var i=yr(this,n,r);var e=new pr(i);if(t)return e.transform(t.screenCTM().inverseO());return e.addOffset()}function br(t,n){var r=this.bbox();return t>r.x&&n>r.y&&t<r.x+r.width&&n<r.y+r.height}y({viewbox:{viewbox:function(t,n,r,i){if(t==null)return new pr(this.attr("viewBox"));return this.attr("viewBox",new pr(t,n,r,i))},zoom:function(t,n){var r=this.attr(["width","height"]),i=r.width,e=r.height;if(!i&&!e||typeof i==="string"||typeof e==="string"){i=this.node.clientWidth;e=this.node.clientHeight}if(!i||!e)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");var u=this.viewbox();var s=i/u.width;var o=e/u.height;var f=Math.min(s,o);if(t==null)return f;var a=f/t;if(a===Infinity)a=Number.MAX_SAFE_INTEGER/100;n=n||new fr(i/2/s+u.x,e/2/o+u.y);var h=new pr(u).transform(new cr({scale:a,origin:n}));return this.viewbox(h)}}});an(pr,"Box");var xr=function(t){__extends(n,t);function n(n){if(n===void 0){n=[]}var r=[];for(var i=1;i<arguments.length;i++){r[i-1]=arguments[i]}var e=t.apply(this,__spreadArray([n],r,false))||this;if(typeof n==="number")return e;e.length=0;e.push.apply(e,n);return e}return n}(Array);dn([xr],{each:function(t){var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}if(typeof t==="function")return this.map((function(n,r,i){return t.call(n,n,r,i)}));else return this.map((function(r){return r[t].apply(r,n)}))},toArray:function(){return Array.prototype.concat.apply([],this)}});var _r=["toArray","constructor","each"];xr.extend=function(t){t=t.reduce((function(t,n){if((0,Ft.default)(_r).call(_r,n))return t;if(n[0]==="_")return t;if(n in Array.prototype)t["$"+n]=Array.prototype[n];t[n]=function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return this.each.apply(this,__spreadArray([n],t,false))};return t}),{});dn([xr],t)};function Mr(t){var n=(t+"").trim();var r=n.match(/^url\((.*)\)$/i);if(r){n=r[1].trim();var i=n[0];if(i==='"'||i==="'"){if(n[n.length-1]!==i)return null;n=n.slice(1,-1)}}var e=n.match(En);return e?e[1].slice(1):null}function jr(t,n){var r="#".concat(qt.window.CSS.escape(n));if(t.nodeType===1&&t.matches(r))return t;return t.querySelector(r)}function kr(t,n){var r=Mr(n);return r?jr(t.getRootNode(),r):null}function Ar(t,n,r){if(r===void 0){r="[".concat(n,"]")}var i=t.getAttribute("id");var e=t.getRootNode();if(!i||jr(e,i)!==t)return new xr;var u=[];if(e.nodeType===1&&e.matches(r)&&Mr(e.getAttribute(n))===i)u.push(on(e));for(var s=0,o=e.querySelectorAll(r);s<o.length;s++){var f=o[s];if(Mr(f.getAttribute(n))===i)u.push(on(f))}return new xr(u)}function Or(t,n){return new xr(zt((n||qt.document).querySelectorAll(t),(function(t){return on(t)})))}function Sr(t){return Or(t,this.node)}function Lr(t){return on(this.node.querySelector(t))}var Er=0;var Vr=new WeakMap;var Tr=new WeakMap;var Br=function(){return Object.create(null)};function Hr(t){var n=t.getEventHolder();var r=Vr.get(n);if(!r){r=Br();Vr.set(n,r)}return r}function Zr(t){return t.getEventTarget()}function Fr(t){Vr.delete(t.getEventHolder())}function zr(t,n,r,i,e){var u=r.bind(i||t);var s=e||false;var o=un(t);var f=Hr(o);var a=Zr(o);n=Array.isArray(n)?n:n.split(Dn);var h=Tr.get(r);if(!h){h=++Er;Tr.set(r,h)}n.forEach((function(t){var n=t.split(".")[0];var r=t.split(".")[1]||"*";f[n]=f[n]||Br();f[n][r]=f[n][r]||Br();f[n][r][h]=f[n][r][h]||[];f[n][r][h].push({listener:u,options:s});a.addEventListener(n,u,s)}))}function Dr(t,n,r,i){var e=un(t);var u=Hr(e);var s=Zr(e);if(typeof r==="function"){r=Tr.get(r);if(!r)return}n=Array.isArray(n)?n:(n||"").split(Dn);n.forEach((function(t){var n=t&&t.split(".")[0];var o=t&&t.split(".")[1];var f,a;if(r){if(u[n]&&u[n][o||"*"]){var h=u[n][o||"*"][r];if(!h)return;h.forEach((function(t){var r,e;s.removeEventListener(n,t.listener,(e=(r=t.options)!==null&&r!==void 0?r:i)!==null&&e!==void 0?e:false)}));delete u[n][o||"*"][r]}}else if(n&&o){if(u[n]&&u[n][o]){for(a in u[n][o])Dr(s,[n,o].join("."),a);delete u[n][o]}}else if(o){for(t in u)for(f in u[t])if(o===f)Dr(s,[t,o].join("."))}else if(n){if(u[n]){for(f in u[n])Dr(s,[n,f].join("."));delete u[n]}}else{for(t in u)Dr(s,t);Fr(e)}}))}function Ir(t,n,r,i){var e=Zr(t);if(n instanceof qt.window.Event)e.dispatchEvent(n);else{n=new qt.window.CustomEvent(n,__assign({detail:r,cancelable:true},i));e.dispatchEvent(n)}return n}var Nr=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}n.prototype.addEventListener=function(){};n.prototype.dispatch=function(t,n,r){return Ir(this,t,n,r)};n.prototype.dispatchEvent=function(t){var n=Hr(this)[t.type];if(!n)return true;for(var r in n)for(var i in n[r])n[r][i].forEach((function(n){n.listener(t)}));return!t.defaultPrevented};n.prototype.fire=function(t,n,r){this.dispatch(t,n,r);return this};n.prototype.getEventHolder=function(){return this};n.prototype.getEventTarget=function(){return this};n.prototype.off=function(t,n,r){Dr(this,t,n,r);return this};n.prototype.on=function(t,n,r,i){zr(this,t,n,r,i);return this};n.prototype.removeEventListener=function(){};return n}(tn);an(Nr,"EventTarget");function Pr(){}var Rr={duration:400,ease:">",delay:0};var Gr={"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 Yr=function(t){__extends(n,t);function n(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}var i=t.apply(this,n)||this;i.init.apply(i,n);return i}n.prototype.clone=function(){return new this.constructor(this)};n.prototype.init=function(t){if(typeof t==="number")return this;this.length=0;this.push.apply(this,this.parse(t));return this};n.prototype.parse=function(t){if(t===void 0){t=[]}if(t instanceof Array)return t;return t.trim().split(Dn).map(parseFloat)};n.prototype.toArray=function(){return Array.prototype.concat.apply([],this)};n.prototype.toSet=function(){return new Set(this)};n.prototype.toString=function(){return this.join(" ")};n.prototype.valueOf=function(){var t=[];t.push.apply(t,this);return t};return n}(Array);var Xr=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.prototype.convert=function(n){return new t(this.value,n)};t.prototype.divide=function(n){n=new t(n);return new t(this/n,this.unit||n.unit)};t.prototype.init=function(n,r){r=Array.isArray(n)?n[1]:r;n=Array.isArray(n)?n[0]:n;this.value=0;this.unit=r||"";if(typeof n==="number")this.value=isNaN(n)?0:!isFinite(n)?n<0?-34e37:34e37:n;else if(typeof n==="string"){r=n.match(On);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(n instanceof t){this.value=n.valueOf();this.unit=n.unit}return this};t.prototype.minus=function(n){n=new t(n);return new t(this-n,this.unit||n.unit)};t.prototype.plus=function(n){n=new t(n);return new t(this+n,this.unit||n.unit)};t.prototype.times=function(n){n=new t(n);return new t(this*n,this.unit||n.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 $r=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]);var Jr=[];function Qr(t){Jr.push(t)}function Ur(t,n,r){var i=this;if(t==null){t={};n=this.node.attributes;for(var e=0,u=n;e<u.length;e++){var s=u[e];t[s.nodeName]=Fn.test(s.nodeValue)?parseFloat(s.nodeValue):s.nodeValue}return t}else if(t instanceof Array)return t.reduce((function(t,n){t[n]=i.attr(n);return t}),{});else if(typeof t==="object"&&t.constructor===Object)for(n in t)this.attr(n,t[n]);else if(n===null)this.node.removeAttribute(t);else if(n==null){n=this.node.getAttribute(t);return n==null?Gr[t]:Fn.test(n)?parseFloat(n):n}else{n=Jr.reduce((function(n,r){return r(t,n,i)}),n);if(typeof n==="number")n=new Xr(n);else if($r.has(t)&&or.isColor(n))n=new or(n);else if(n.constructor===Array)n=new Yr(n);if(t==="leading"){if(this.leading)this.leading(n)}else typeof r==="string"?this.node.setAttributeNS(r,t,n.toString()):this.node.setAttribute(t,n.toString());if(this.rebuild&&(t==="font-size"||t==="x"))this.rebuild()}return this}var Wr=function(t){__extends(n,t);function n(n,r){var i=t.call(this)||this;i.node=n;i.type=n.nodeName;if(r&&n!==r)i.attr(r);return i}n.prototype.add=function(t,n){t=un(t);if(t.removeNamespace&&this.node instanceof qt.window.SVGElement)t.removeNamespace();if(n==null)this.node.appendChild(t.node);else if(t.node!==this.node.childNodes[n])this.node.insertBefore(t.node,this.node.childNodes[n]);return this};n.prototype.addTo=function(t,n){return un(t).put(this,n)};n.prototype.children=function(){return new xr(zt(this.node.children,(function(t){return on(t)})))};n.prototype.clear=function(){while(this.node.hasChildNodes())this.node.removeChild(this.node.lastChild);return this};n.prototype.clone=function(t,n){if(t===void 0){t=true}if(n===void 0){n=true}this.writeDataToDom();var r=this.node.cloneNode(t);if(n)r=ln(r);return new this.constructor(r)};n.prototype.each=function(t,n){var r=this.children();var i,e;for(i=0,e=r.length;i<e;i++){t.apply(r[i],[i,r]);if(n)r[i].each(t,n)}return this};n.prototype.element=function(t,r){return this.put(new n(en(t),r))};n.prototype.first=function(){return on(this.node.firstChild)};n.prototype.get=function(t){return on(this.node.childNodes[t])};n.prototype.getEventHolder=function(){return this.node};n.prototype.getEventTarget=function(){return this.node};n.prototype.has=function(t){return this.index(t)>=0};n.prototype.html=function(t,n){return this.xml(t,n,Qt)};n.prototype.id=function(t){if(typeof t==="undefined"&&!this.node.id)this.node.id=vn(this.type);return this.attr("id",t)};n.prototype.index=function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)};n.prototype.last=function(){return on(this.node.lastChild)};n.prototype.matches=function(t){var n=this.node;var r=n.matches||n.matchesSelector||n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||null;return r&&r.call(n,t)};n.prototype.parent=function(t){var n=this;if(!n.node.parentNode)return null;n=on(n.node.parentNode);if(!t)return n;do{if(typeof t==="string"?n.matches(t):n instanceof t)return n}while(n=on(n.node.parentNode));return n};n.prototype.put=function(t,n){t=un(t);this.add(t,n);return t};n.prototype.putIn=function(t,n){return un(t).add(this,n)};n.prototype.remove=function(){if(this.parent())this.parent().removeElement(this);return this};n.prototype.removeElement=function(t){this.node.removeChild(t.node);return this};n.prototype.replace=function(t){t=un(t);if(this.node.parentNode)this.node.parentNode.replaceChild(t.node,this.node);return t};n.prototype.round=function(t,n){if(t===void 0){t=2}if(n===void 0){n=null}var r=Math.pow(10,t);var i=this.attr(n);for(var e in i)if(typeof i[e]==="number")i[e]=Math.round(i[e]*r)/r;this.attr(i);return this};n.prototype.svg=function(t,n){return this.xml(t,n,Jt)};n.prototype.toString=function(){return this.id()};n.prototype.words=function(t){this.node.textContent=t;return this};n.prototype.wrap=function(t){var n=this.parent();if(!n)return this.addTo(t);var r=n.index(this);return n.put(t,r).put(this)};n.prototype.writeDataToDom=function(){this.each((function(){this.writeDataToDom()}));return this};n.prototype.xml=function(t,n,r){if(typeof t==="boolean"){r=n;n=t;t=null}if(t==null||typeof t==="function"){n=n==null?true:n;this.writeDataToDom();var i=this;if(t!=null){i=on(i.node.cloneNode(true));if(n){var e=t(i);i=e||i;if(e===false)return""}i.each((function(){var n=t(this);var r=n||this;if(n===false)this.remove();else if(n&&this!==r)this.replace(r)}),true)}return n?i.node.outerHTML:i.node.innerHTML}n=n==null?false:n;var u=en("wrapper",r);var s=qt.document.createDocumentFragment();u.innerHTML=t;for(var o=u.children.length;o--;)s.appendChild(u.firstElementChild);var f=this.parent();return n?this.replace(s)&&f:this.add(s)};return n}(Nr);dn(Wr,{attr:Ur,find:Sr,findOne:Lr});an(Wr,"Dom");var qr=function(t){__extends(n,t);function n(n,r){var i,e;var u=t.call(this,n,r)||this;u.dom={};u.node.instance=u;if(n.hasAttribute("data-svgjs")||n.hasAttribute("svgjs:data"))u.setData((e=(i=JSON.parse(n.getAttribute("data-svgjs")))!==null&&i!==void 0?i:JSON.parse(n.getAttribute("svgjs:data")))!==null&&e!==void 0?e:{});return u}n.prototype.center=function(t,n){return this.cx(t).cy(n)};n.prototype.cx=function(t){return t==null?this.x()+this.width()/2:this.x(t-this.width()/2)};n.prototype.cy=function(t){return t==null?this.y()+this.height()/2:this.y(t-this.height()/2)};n.prototype.defs=function(){var t=this.root();return t&&t.defs()};n.prototype.dmove=function(t,n){return this.dx(t).dy(n)};n.prototype.dx=function(t){if(t===void 0){t=0}return this.x(new Xr(t).plus(this.x()))};n.prototype.dy=function(t){if(t===void 0){t=0}return this.y(new Xr(t).plus(this.y()))};n.prototype.getEventHolder=function(){return this};n.prototype.height=function(t){return this.attr("height",t)};n.prototype.move=function(t,n){return this.x(t).y(n)};n.prototype.parents=function(t){if(t===void 0){t=this.root()}var n=typeof t==="string";var r=this.root();var i=r&&r.node;if(!n)t=t&&un(t).node;var e=new xr;var u=this;while((u=u.parent())&&u.node!==qt.document&&u.node.nodeName!=="#document-fragment"){e.push(u);if(!n&&u.node===t)break;if(n&&u.matches(t))break;if(i&&u.node===i)return null}return e};n.prototype.reference=function(t){t=this.attr(t);if(!t)return null;var n=kr(this.node,t);return n?un(n):null};n.prototype.root=function(){var t=this.parent(hn(rn));return t&&t.root()};n.prototype.setData=function(t){this.dom=t;return this};n.prototype.size=function(t,n){var r=Rt(this,t,n);return this.width(new Xr(r.width)).height(new Xr(r.height))};n.prototype.width=function(t){return this.attr("width",t)};n.prototype.writeDataToDom=function(n){$t(this,this.dom,n);return t.prototype.writeDataToDom.call(this)};n.prototype.x=function(t){return this.attr("x",t)};n.prototype.y=function(t){return this.attr("y",t)};return n}(Wr);dn(qr,{bbox:gr,rbox:mr,inside:br,point:ar,ctm:vr,screenCTM:lr});an(qr,"Element");var Kr={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,n){return n==="color"?t:t+"-"+n}};["fill","stroke"].forEach((function(t){var n={};var r;n[t]=function(n){if(typeof n==="undefined")return this.attr(t);if(typeof n==="string"||n instanceof or||or.isRgb(n)||n instanceof qr)this.attr(t,n);else for(r=Kr[t].length-1;r>=0;r--)if(n[Kr[t][r]]!=null)this.attr(Kr.prefix(t,Kr[t][r]),n[Kr[t][r]]);return this};y(["Element","Runner"],n)}));y(["Element","Runner"],{matrix:function(t,n,r,i,e,u){if(t==null)return new cr(this);return this.attr("transform",new cr(t,n,r,i,e,u))},rotate:function(t,n,r){return this.transform({rotate:t,ox:n,oy:r},true)},skew:function(t,n,r,i){return arguments.length===1||arguments.length===3?this.transform({skew:t,ox:n,oy:r},true):this.transform({skew:[t,n],ox:r,oy:i},true)},shear:function(t,n,r){return this.transform({shear:t,ox:n,oy:r},true)},scale:function(t,n,r,i){return arguments.length===1||arguments.length===3?this.transform({scale:t,ox:n,oy:r},true):this.transform({scale:[t,n],ox:r,oy:i},true)},translate:function(t,n){return this.transform({translate:[t,n]},true)},relative:function(t,n){return this.transform({relative:[t,n]},true)},flip:function(t,n){if(t===void 0){t="both"}if(n===void 0){n="center"}if("xybothtrue".indexOf(t)===-1){n=t;t="both"}return this.transform({flip:t,origin:n},true)},opacity:function(t){return this.attr("opacity",t)}});y("radius",{radius:function(t,n){if(n===void 0){n=t}return(this._element||this).type==="radialGradient"?this.attr("r",new Xr(t)):this.rx(t).ry(n)}});y("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(t){return new fr(this.node.getPointAtLength(t))}});y(["Element","Runner"],{font:function(t,n){if(typeof t==="object"){for(n in t)this.font(n,t[n]);return this}return t==="leading"?this.leading(n):t==="anchor"?this.attr("text-anchor",n):t==="size"||t==="family"||t==="weight"||t==="stretch"||t==="variant"||t==="style"?this.attr("font-"+t,n):this.attr(t,n)}});y("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(t,n){var r=function(t){if(t===null)this.off(n);else this.on(n,t);return this};t[n]=r;return t}),{}));function ti(){return this.attr("transform",null)}function ni(){return(this.attr("transform")||"").split(Vn).slice(0,-1).map((function(t){var n=t.trim().split("(");return[n[0].trim(),n[1].split(Dn).map((function(t){return parseFloat(t)}))]})).reverse().reduce((function(t,n){if(n[0]==="matrix")return t.lmultiply(cr.fromArray(n[1]));return t[n[0]].apply(t,n[1])}),new cr)}function ri(t,n){if(this===t)return this;if(Xt(this.node))return this.addTo(t,n);var r=this.screenCTM();var i=t.screenCTM().inverse();this.addTo(t,n).untransform().transform(i.multiply(r));return this}function ii(t){return this.toParent(this.root(),t)}function ei(t,n){if(t==null||typeof t==="string"){var r=new cr(this).decompose();return t==null?r:r[t]}if(!cr.isMatrixLike(t))t=__assign(__assign({},t),{origin:Gt(t,this)});var i=new cr(n===true?this:n||false).transform(t);return this.attr("transform",i)}y("Element",{untransform:ti,matrixify:ni,toParent:ri,toRoot:ii,transform:ei});var ui=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}n.prototype.flatten=function(){this.each((function(){if(this instanceof n)return this.flatten().ungroup()}));return this};n.prototype.ungroup=function(t,n){if(t===void 0){t=this.parent()}if(n===void 0){n=t.index(this)}n=n===-1?t.children().length:n;this.each((function(r,i){return i[i.length-r-1].toParent(t,n)}));return this.remove()};return n}(qr);an(ui,"Container");var si=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("defs",n),r)||this}n.prototype.flatten=function(){return this};n.prototype.ungroup=function(){return this};return n}(ui);an(si,"Defs");var oi=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}return n}(qr);an(oi,"Shape");var fi=l({cx:function(){return li},cy:function(){return di},height:function(){return wi},rx:function(){return ai},ry:function(){return hi},width:function(){return Ci},x:function(){return ci},y:function(){return vi}});function ai(t){return this.attr("rx",t)}function hi(t){return this.attr("ry",t)}function ci(t){return t==null?this.cx()-this.rx():this.cx(t+this.rx())}function vi(t){return t==null?this.cy()-this.ry():this.cy(t+this.ry())}function li(t){return this.attr("cx",t)}function di(t){return this.attr("cy",t)}function Ci(t){return t==null?this.rx()*2:this.rx(new Xr(t).divide(2))}function wi(t){return t==null?this.ry()*2:this.ry(new Xr(t).divide(2))}var pi=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("ellipse",n),r)||this}n.prototype.size=function(t,n){var r=Rt(this,t,n);return this.rx(new Xr(r.width).divide(2)).ry(new Xr(r.height).divide(2))};return n}(oi);dn(pi,fi);y("Container",{ellipse:Cn((function(t,n){if(t===void 0){t=0}if(n===void 0){n=t}return this.put(new pi).size(t,n).move(0,0)}))});an(pi,"Ellipse");var yi=function(t){__extends(n,t);function n(n){if(n===void 0){n=qt.document.createDocumentFragment()}return t.call(this,n)||this}n.prototype.xml=function(n,r,i){if(typeof n==="boolean"){i=r;r=n;n=null}if(n==null||typeof n==="function"){var e=new Wr(en("wrapper",i));e.add(this.node.cloneNode(true));return e.xml(false,i)}return t.prototype.xml.call(this,n,false,i)};return n}(Wr);an(yi,"Fragment");var gi=l({from:function(){return mi},to:function(){return bi}});function mi(t,n){return(this._element||this).type==="radialGradient"?this.attr({fx:new Xr(t),fy:new Xr(n)}):this.attr({x1:new Xr(t),y1:new Xr(n)})}function bi(t,n){return(this._element||this).type==="radialGradient"?this.attr({cx:new Xr(t),cy:new Xr(n)}):this.attr({x2:new Xr(t),y2:new Xr(n)})}var xi=function(t){__extends(n,t);function n(n,r){return t.call(this,sn(n+"Gradient",typeof n==="string"?null:n),r)||this}n.prototype.attr=function(n,r,i){if(n==="transform")n="gradientTransform";return t.prototype.attr.call(this,n,r,i)};n.prototype.bbox=function(){return new pr};n.prototype.targets=function(){return Ar(this.node,"fill")};n.prototype.toString=function(){return this.url()};n.prototype.update=function(t){this.clear();if(typeof t==="function")t.call(this,this);return this};n.prototype.url=function(){return"url(#"+this.id()+")"};return n}(ui);dn(xi,gi);y({Container:{gradient:function(){var t;var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return(t=this.defs()).gradient.apply(t,n)}},Defs:{gradient:Cn((function(t,n){return this.put(new xi(t)).update(n)}))}});an(xi,"Gradient");var _i=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("pattern",n),r)||this}n.prototype.attr=function(n,r,i){if(n==="transform")n="patternTransform";return t.prototype.attr.call(this,n,r,i)};n.prototype.bbox=function(){return new pr};n.prototype.targets=function(){return Ar(this.node,"fill")};n.prototype.toString=function(){return this.url()};n.prototype.update=function(t){this.clear();if(typeof t==="function")t.call(this,this);return this};n.prototype.url=function(){return"url(#"+this.id()+")"};return n}(ui);y({Container:{pattern:function(){var t;var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return(t=this.defs()).pattern.apply(t,n)}},Defs:{pattern:Cn((function(t,n,r){return this.put(new _i).update(r).attr({x:0,y:0,width:t,height:n,patternUnits:"userSpaceOnUse"})}))}});an(_i,"Pattern");var Mi=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("image",n),r)||this}n.prototype.load=function(t,n){if(!t)return this;var r=new qt.window.Image;zr(r,"load",(function(t){var i=this.parent(_i);if(this.width()===0&&this.height()===0)this.size(r.width,r.height);if(i instanceof _i){if(i.width()===0&&i.height()===0)i.size(this.width(),this.height())}if(typeof n==="function")n.call(this,t)}),this);zr(r,"load error",(function(){Dr(r)}));return this.attr("href",r.src=t,Wt)};return n}(oi);Qr((function(t,n,r){if(t==="fill"||t==="stroke"){if(zn.test(n))n=r.root().defs().image(n)}if(n instanceof Mi)n=r.root().defs().pattern(0,0,(function(t){t.add(n)}));return n}));y({Container:{image:Cn((function(t,n){return this.put(new Mi).size(0,0).load(t,n)}))}});an(Mi,"Image");var ji=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}n.prototype.bbox=function(){var t=-Infinity;var n=-Infinity;var r=Infinity;var i=Infinity;this.forEach((function(e){t=Math.max(e[0],t);n=Math.max(e[1],n);r=Math.min(e[0],r);i=Math.min(e[1],i)}));return new pr(r,i,t-r,n-i)};n.prototype.move=function(t,n){var r=this.bbox();t-=r.x;n-=r.y;if(!isNaN(t)&&!isNaN(n))for(var i=this.length-1;i>=0;i--)this[i]=[this[i][0]+t,this[i][1]+n];return this};n.prototype.parse=function(t){if(t===void 0){t=[0,0]}var n=[];if(t instanceof Array)t=Array.prototype.concat.apply([],t);else t=t.trim().split(Dn).map(parseFloat);if(t.length%2!==0)t.pop();for(var r=0,i=t.length;r<i;r=r+2)n.push([t[r],t[r+1]]);return n};n.prototype.size=function(t,n){var r;var i=this.bbox();for(r=this.length-1;r>=0;r--){if(i.width)this[r][0]=(this[r][0]-i.x)*t/i.width+i.x;if(i.height)this[r][1]=(this[r][1]-i.y)*n/i.height+i.y}return this};n.prototype.toLine=function(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}};n.prototype.toString=function(){var t=[];for(var n=0,r=this.length;n<r;n++)t.push(this[n].join(","));return t.join(" ")};n.prototype.transform=function(t){return this.clone().transformO(t)};n.prototype.transformO=function(t){if(!cr.isMatrixLike(t))t=new cr(t);for(var n=this.length;n--;){var r=this[n],i=r[0],e=r[1];this[n][0]=t.a*i+t.c*e+t.e;this[n][1]=t.b*i+t.d*e+t.f}return this};return n}(Yr);var ki=l({MorphArray:function(){return Ai},height:function(){return Ei},width:function(){return Li},x:function(){return Oi},y:function(){return Si}});var Ai=ji;function Oi(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)}function Si(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)}function Li(t){var n=this.bbox();return t==null?n.width:this.size(t,n.height)}function Ei(t){var n=this.bbox();return t==null?n.height:this.size(n.width,t)}var Vi=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("line",n),r)||this}n.prototype.array=function(){return new ji([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])};n.prototype.move=function(t,n){return this.attr(this.array().move(t,n).toLine())};n.prototype.plot=function(t,n,r,i){if(t==null)return this.array();else if(typeof n!=="undefined")t={x1:t,y1:n,x2:r,y2:i};else t=new ji(t).toLine();return this.attr(t)};n.prototype.size=function(t,n){var r=Rt(this,t,n);return this.attr(this.array().size(r.width,r.height).toLine())};return n}(oi);dn(Vi,ki);y({Container:{line:Cn((function(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return Vi.prototype.plot.apply(this.put(new Vi),t[0]!=null?t:[0,0,0,0])}))}});an(Vi,"Line");var Ti=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("marker",n),r)||this}n.prototype.height=function(t){return this.attr("markerHeight",t)};n.prototype.orient=function(t){return this.attr("orient",t)};n.prototype.ref=function(t,n){return this.attr("refX",t).attr("refY",n)};n.prototype.toString=function(){return"url(#"+this.id()+")"};n.prototype.update=function(t){this.clear();if(typeof t==="function")t.call(this,this);return this};n.prototype.width=function(t){return this.attr("markerWidth",t)};return n}(ui);y({Container:{marker:function(){var t;var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return(t=this.defs()).marker.apply(t,n)}},Defs:{marker:Cn((function(t,n,r){return this.put(new Ti).size(t,n).ref(t/2,n/2).viewbox(0,0,t,n).attr("orient","auto").update(r)}))},marker:{marker:function(t,n,r,i){var e=["marker"];if(t!=="all")e.push(t);e=e.join("-");t=arguments[1]instanceof Ti?arguments[1]:this.defs().marker(n,r,i);return this.attr(e,t)}}});an(Ti,"Marker");function Bi(t,n){return function(r){if(r==null)return this[t];this[t]=r;if(n)n.call(this);return this}}var Hi={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return-Math.cos(t*Math.PI/2)+1},bezier:function(t,n,r,i){return function(e){if(e<0)if(t>0)return n/t*e;else if(r>0)return i/r*e;else return 0;else if(e>1)if(r<1)return(1-i)/(1-r)*e+(i-r)/(1-r);else if(t<1)return(1-n)/(1-t)*e+(n-t)/(1-t);else return 1;else return 3*e*Math.pow(1-e,2)*n+3*Math.pow(e,2)*(1-e)*i+Math.pow(e,3)}},steps:function(t,n){if(n===void 0){n="end"}n=n.split("-").reverse()[0];var r=t;if(n==="none")--r;else if(n==="both")++r;return function(i,e){if(e===void 0){e=false}var u=Math.floor(i*t);var s=i*u%1===0;if(n==="start"||n==="both")++u;if(e&&s)--u;if(i>=0&&u<0)u=0;if(i<=1&&u>r)u=r;return u/r}}};var Zi=function(){function t(){}t.prototype.done=function(){return false};return t}();var Fi=function(t){__extends(n,t);function n(n){if(n===void 0){n=Rr.ease}var r=t.call(this)||this;r.ease=Hi[n]||n;return r}n.prototype.step=function(t,n,r){if(typeof t!=="number")return r<1?t:n;return t+(n-t)*this.ease(r)};return n}(Zi);var zi=function(t){__extends(n,t);function n(n){var r=t.call(this)||this;r.stepper=n;return r}n.prototype.done=function(t){return t.done};n.prototype.step=function(t,n,r,i){return this.stepper(t,n,r,i)};return n}(Zi);function Di(){var t=(this._duration||500)/1e3;var n=this._overshoot||0;var r=1e-10;var i=Math.PI;var e=Math.log(n/100+r);var u=-e/Math.sqrt(i*i+e*e);var s=3.9/(u*t);this.d=2*u*s;this.k=s*s}var Ii=function(t){__extends(n,t);function n(n,r){if(n===void 0){n=500}if(r===void 0){r=0}var i=t.call(this)||this;i.duration(n).overshoot(r);return i}n.prototype.step=function(t,n,r,i){if(typeof t==="string")return t;i.done=r===Infinity;if(r===Infinity)return n;if(r===0)return t;if(r>100)r=16;r/=1e3;var e=i.velocity||0;var u=-this.d*e-this.k*(t-n);var s=t+e*r+u*r*r/2;i.velocity=e+u*r;i.done=Math.abs(n-s)+Math.abs(e)<.002;return i.done?n:s};return n}(zi);dn(Ii,{duration:Bi("_duration",Di),overshoot:Bi("_overshoot",Di)});var Ni=function(t){__extends(n,t);function n(n,r,i,e){if(n===void 0){n=.1}if(r===void 0){r=.01}if(i===void 0){i=0}if(e===void 0){e=1e3}var u=t.call(this)||this;u.p(n).i(r).d(i).windup(e);return u}n.prototype.step=function(t,n,r,i){if(typeof t==="string")return t;i.done=r===Infinity;if(r===Infinity)return n;if(r===0)return t;var e=n-t;var u=(i.integral||0)+e*r;var s=(e-(i.error||0))/r;var o=this._windup;if(o!==false)u=Math.max(-o,Math.min(u,o));i.error=e;i.integral=u;i.done=Math.abs(e)<.001;return i.done?n:t+(this.P*e+this.I*u+this.D*s)};return n}(zi);dn(Ni,{windup:Bi("_windup"),p:Bi("P"),i:Bi("I"),d:Bi("D")});var Pi={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};var Ri={M:function(t,n,r){n.x=r.x=t[0];n.y=r.y=t[1];return["M",n.x,n.y]},L:function(t,n){n.x=t[0];n.y=t[1];return["L",t[0],t[1]]},H:function(t,n){n.x=t[0];return["H",t[0]]},V:function(t,n){n.y=t[0];return["V",t[0]]},C:function(t,n){n.x=t[4];n.y=t[5];return["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,n){n.x=t[2];n.y=t[3];return["S",t[0],t[1],t[2],t[3]]},Q:function(t,n){n.x=t[2];n.y=t[3];return["Q",t[0],t[1],t[2],t[3]]},T:function(t,n){n.x=t[0];n.y=t[1];return["T",t[0],t[1]]},Z:function(t,n,r){n.x=r.x;n.y=r.y;return["Z"]},A:function(t,n){n.x=t[5];n.y=t[6];return["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}};var Gi="mlhvqtcsaz".split("");for(var Yi=0,Xi=Gi.length;Yi<Xi;++Yi)Ri[Gi[Yi]]=function(t){return function(n,r,i){if(t==="H")n[0]=n[0]+r.x;else if(t==="V")n[0]=n[0]+r.y;else if(t==="A"){n[5]=n[5]+r.x;n[6]=n[6]+r.y}else for(var e=0,u=n.length;e<u;++e)n[e]=n[e]+(e%2?r.y:r.x);return Ri[t](n,r,i)}}(Gi[Yi].toUpperCase());function $i(t){return Ri[t.segment[0]](t.segment.slice(1),t.p,t.p0)}function Ji(t){return t.segment.length&&t.segment.length-1===Pi[t.segment[0].toUpperCase()]}function Qi(t,n){t.inNumber&&Ui(t,false);var r=In.test(n);if(r)t.segment=[n];else{var i=t.lastCommand;var e=i.toLowerCase();t.segment=[e==="m"?i===e?"l":"L":i]}t.inSegment=true;t.lastCommand=t.segment[0];return r}function Ui(t,n){if(!t.inNumber)throw new Error("Parser Error");t.number&&t.segment.push(parseFloat(t.number));t.inNumber=n;t.number="";t.pointSeen=false;t.hasExponent=false;if(Ji(t))Wi(t)}function Wi(t){t.inSegment=false;if(t.absolute)t.segment=$i(t);t.segments.push(t.segment)}function qi(t){if(!t.segment.length)return false;var n=t.segment[0].toUpperCase()==="A";var r=t.segment.length;return n&&(r===4||r===5)}function Ki(t){return t.lastToken.toUpperCase()==="E"}var te=new Set([" ",",","\t","\n","\r","\f"]);function ne(t,n){if(n===void 0){n=true}var r=0;var i="";var e={segment:[],inNumber:false,number:"",lastToken:"",inSegment:false,segments:[],pointSeen:false,hasExponent:false,absolute:n,p0:new fr,p:new fr};while(e.lastToken=i,i=t.charAt(r++)){if(!e.inSegment){if(Qi(e,i))continue}if(i==="."){if(e.pointSeen||e.hasExponent){Ui(e,false);--r;continue}e.inNumber=true;e.pointSeen=true;e.number+=i;continue}if(!isNaN(parseInt(i))){if(e.number==="0"||qi(e)){e.inNumber=true;e.number=i;Ui(e,true);continue}e.inNumber=true;e.number+=i;continue}if(te.has(i)){if(e.inNumber)Ui(e,false);continue}if(i==="-"||i==="+"){if(e.inNumber&&!Ki(e)){Ui(e,false);--r;continue}e.number+=i;e.inNumber=true;continue}if(i.toUpperCase()==="E"){e.number+=i;e.hasExponent=true;continue}if(In.test(i)){if(e.inNumber)Ui(e,false);else if(!Ji(e))throw new Error("parser Error");else Wi(e);--r}}if(e.inNumber)Ui(e,false);if(e.inSegment&&Ji(e))Wi(e);return e.segments}function re(t){var n="";for(var r=0,i=t.length;r<i;r++){n+=t[r][0];if(t[r][1]!=null){n+=t[r][1];if(t[r][2]!=null){n+=" ";n+=t[r][2];if(t[r][3]!=null){n+=" ";n+=t[r][3];n+=" ";n+=t[r][4];if(t[r][5]!=null){n+=" ";n+=t[r][5];n+=" ";n+=t[r][6];if(t[r][7]!=null){n+=" ";n+=t[r][7]}}}}}}return n+" "}var ie=function(t){__extends(n,t);function n(){return t!==null&&t.apply(this,arguments)||this}n.prototype.bbox=function(){dr().path.setAttribute("d",this.toString());return new pr(dr.nodes.path.getBBox())};n.prototype.move=function(t,n){var r=this.bbox();t-=r.x;n-=r.y;if(!isNaN(t)&&!isNaN(n))for(var i=void 0,e=this.length-1;e>=0;e--){i=this[e][0];if(i==="M"||i==="L"||i==="T"){this[e][1]+=t;this[e][2]+=n}else if(i==="H")this[e][1]+=t;else if(i==="V")this[e][1]+=n;else if(i==="C"||i==="S"||i==="Q"){this[e][1]+=t;this[e][2]+=n;this[e][3]+=t;this[e][4]+=n;if(i==="C"){this[e][5]+=t;this[e][6]+=n}}else if(i==="A"){this[e][6]+=t;this[e][7]+=n}}return this};n.prototype.parse=function(t){if(t===void 0){t="M0 0"}if(Array.isArray(t))t=Array.prototype.concat.apply([],t).toString();return ne(t)};n.prototype.size=function(t,n){var r=this.bbox();var i,e;r.width=r.width===0?1:r.width;r.height=r.height===0?1:r.height;for(i=this.length-1;i>=0;i--){e=this[i][0];if(e==="M"||e==="L"||e==="T"){this[i][1]=(this[i][1]-r.x)*t/r.width+r.x;this[i][2]=(this[i][2]-r.y)*n/r.height+r.y}else if(e==="H")this[i][1]=(this[i][1]-r.x)*t/r.width+r.x;else if(e==="V")this[i][1]=(this[i][1]-r.y)*n/r.height+r.y;else if(e==="C"||e==="S"||e==="Q"){this[i][1]=(this[i][1]-r.x)*t/r.width+r.x;this[i][2]=(this[i][2]-r.y)*n/r.height+r.y;this[i][3]=(this[i][3]-r.x)*t/r.width+r.x;this[i][4]=(this[i][4]-r.y)*n/r.height+r.y;if(e==="C"){this[i][5]=(this[i][5]-r.x)*t/r.width+r.x;this[i][6]=(this[i][6]-r.y)*n/r.height+r.y}}else if(e==="A"){this[i][1]=this[i][1]*t/r.width;this[i][2]=this[i][2]*n/r.height;this[i][6]=(this[i][6]-r.x)*t/r.width+r.x;this[i][7]=(this[i][7]-r.y)*n/r.height+r.y}}return this};n.prototype.toString=function(){return re(this)};return n}(Yr);var ee=function(t){var n=typeof t;if(n==="number")return Xr;else if(n==="string")if(or.isColor(t))return or;else if(Dn.test(t))return In.test(t)?ie:Yr;else if(On.test(t))return Xr;else return se;else if(he.indexOf(t.constructor)>-1)return t.constructor;else if(Array.isArray(t))return Yr;else if(n==="object")return ae;else return se};var ue=function(){function t(t){this._stepper=t||new Fi("-");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(){return this._context.map(this._stepper.done).reduce((function(t,n){return t&&n}),true)};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(ee(t));var n=new this._type(t);if(this._type===or)n=this._to?n[this._to[4]]():this._from?n[this._from[4]]():n;if(this._type===ae)n=this._to?n.align(this._to):this._from?n.align(this._from):n;n=n.toConsumable();this._morphObj=this._morphObj||new this._type;this._context=this._context||Array.apply(null,Array(n.length)).map(Object).map((function(t){t.done=true;return t}));return n};return t}();var se=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}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 oe=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.prototype.init=function(n){if(Array.isArray(n))n={scaleX:n[0],scaleY:n[1],shear:n[2],rotate:n[3],translateX:n[4],translateY:n[5],originX:n[6],originY:n[7]};Object.assign(this,t.defaults,n);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}();oe.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};var fe=function(t,n){return t[0]<n[0]?-1:t[0]>n[0]?1:0};var ae=function(){function t(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}this.init.apply(this,t)}t.prototype.align=function(t){var n;var r=this.values;for(var i=0,e=r.length;i<e;++i){if(r[i+1]===t[i+1]){if(r[i+1]===or&&t[i+7]!==r[i+7]){var u=t[i+7];var s=new or(this.values.splice(i+3,5))[u]().toArray();(n=this.values).splice.apply(n,__spreadArray([i+3,0],s,false))}i+=r[i+2]+2;continue}if(!t[i+1])return this;var o=(new t[i+1]).toArray();var f=r[i+2]+3;r.splice.apply(r,__spreadArray([i,f,t[i],t[i+1],t[i+2]],o,false));i+=r[i+2]+2}return this};t.prototype.init=function(t){this.values=[];if(Array.isArray(t)){this.values=t.slice();return}t=t||{};var n=[];for(var r in t){var i=ee(t[r]);var e=new i(t[r]).toArray();n.push(__spreadArray([r,i,e.length],e,true))}n.sort(fe);this.values=n.reduce((function(t,n){return t.concat(n)}),[]);return this};t.prototype.toArray=function(){return this.values};t.prototype.valueOf=function(){var t={};var n=this.values;while(n.length){var r=n.shift();var i=n.shift();var e=n.shift();t[r]=new i(n.splice(0,e))}return t};return t}();var he=[se,oe,ae];function ce(t){if(t===void 0){t=[]}he.push.apply(he,[].concat(t))}function ve(){dn(he,{to:function(t){return(new ue).type(this.constructor).from(this.toArray()).to(t)},fromArray:function(t){this.init(t);return this},toConsumable:function(){return this.toArray()},morph:function(t,n,r,i,e){var u=function(t,u){return i.step(t,n[u],r,e[u],e)};return this.fromArray(t.map(u))}})}var le=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("path",n),r)||this}n.prototype.array=function(){return this._array||(this._array=new ie(this.attr("d")))};n.prototype.clear=function(){delete this._array;return this};n.prototype.height=function(t){return t==null?this.bbox().height:this.size(this.bbox().width,t)};n.prototype.move=function(t,n){return this.attr("d",this.array().move(t,n))};n.prototype.plot=function(t){return t==null?this.array():this.clear().attr("d",typeof t==="string"?t:this._array=new ie(t))};n.prototype.size=function(t,n){var r=Rt(this,t,n);return this.attr("d",this.array().size(r.width,r.height))};n.prototype.width=function(t){return t==null?this.bbox().width:this.size(t,this.bbox().height)};n.prototype.x=function(t){return t==null?this.bbox().x:this.move(t,this.bbox().y)};n.prototype.y=function(t){return t==null?this.bbox().y:this.move(this.bbox().x,t)};return n}(oi);le.prototype.MorphArray=ie;y({Container:{path:Cn((function(t){return this.put(new le).plot(t||new ie)}))}});an(le,"Path");var de=l({array:function(){return Ce},clear:function(){return we},move:function(){return pe},plot:function(){return ye},size:function(){return ge}});function Ce(){return this._array||(this._array=new ji(this.attr("points")))}function we(){delete this._array;return this}function pe(t,n){return this.attr("points",this.array().move(t,n))}function ye(t){return t==null?this.array():this.clear().attr("points",typeof t==="string"?t:this._array=new ji(t))}function ge(t,n){var r=Rt(this,t,n);return this.attr("points",this.array().size(r.width,r.height))}var me=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("polygon",n),r)||this}return n}(oi);y({Container:{polygon:Cn((function(t){return this.put(new me).plot(t||new ji)}))}});dn(me,ki);dn(me,de);an(me,"Polygon");var be=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("polyline",n),r)||this}return n}(oi);y({Container:{polyline:Cn((function(t){return this.put(new be).plot(t||new ji)}))}});dn(be,ki);dn(be,de);an(be,"Polyline");var xe=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("rect",n),r)||this}return n}(oi);dn(xe,{rx:ai,ry:hi});y({Container:{rect:Cn((function(t,n){return this.put(new xe).size(t,n)}))}});an(xe,"Rect");var _e=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 n=typeof t.next!=="undefined"?t:{value:t,next:null,prev:null};if(this._last){n.prev=this._last;this._last.next=n;this._last=n}else{this._last=n;this._first=n}return n};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 Me={nextDraw:null,frames:new _e,timeouts:new _e,immediates:new _e,timer:function(){return qt.window.performance||qt.window.Date},transforms:[],frame:function(t){var n=Me.frames.push({run:t});if(Me.nextDraw===null)Me.nextDraw=qt.window.requestAnimationFrame(Me._draw);return n},timeout:function(t,n){n=n||0;var r=Me.timer().now()+n;var i=Me.timeouts.push({run:t,time:r});if(Me.nextDraw===null)Me.nextDraw=qt.window.requestAnimationFrame(Me._draw);return i},immediate:function(t){var n=Me.immediates.push(t);if(Me.nextDraw===null)Me.nextDraw=qt.window.requestAnimationFrame(Me._draw);return n},cancelFrame:function(t){t!=null&&Me.frames.remove(t)},clearTimeout:function(t){t!=null&&Me.timeouts.remove(t)},cancelImmediate:function(t){t!=null&&Me.immediates.remove(t)},_draw:function(t){try{var n=null;var r=Me.timeouts.last();while(n=Me.timeouts.shift()){if(t>=n.time)n.run();else Me.timeouts.push(n);if(n===r)break}var i=null;var e=Me.frames.last();while(i!==e&&(i=Me.frames.shift()))i.run(t);var u=null;while(u=Me.immediates.shift())u()}finally{var s=Me.timeouts.first()||Me.frames.first()||Me.immediates.first();Me.nextDraw=s?qt.window.requestAnimationFrame(Me._draw):null}}};var je=function(t){var n=t.start;var r=t.runner.duration();return{start:n,duration:r,end:n+r,runner:t.runner}};var ke=function(){var t=qt.window;return(t.performance||t.Date).now()};var Ae=function(t){__extends(n,t);function n(n){if(n===void 0){n=ke}var r=t.call(this)||this;r._timeSource=n;r.terminate();return r}n.prototype.active=function(){return!!this._nextFrame};n.prototype.finish=function(){this.time(this.getEndTimeOfTimeline()+1);return this.pause()};n.prototype.getEndTime=function(){var t=this.getLastRunnerInfo();var n=t?t.runner.duration():0;return(t?t.start:this._time)+n};n.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))};n.prototype.getLastRunnerInfo=function(){return this.getRunnerInfoById(this._lastRunnerId)};n.prototype.getRunnerInfoById=function(t){return this._runners[this._runnerIds.indexOf(t)]||null};n.prototype.pause=function(){this._paused=true;return this._continue()};n.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};n.prototype.play=function(){this._paused=false;return this.updateTime()._continue()};n.prototype.reverse=function(t){var n=this.speed();if(t==null)return this.speed(-n);var r=Math.abs(n);return this.speed(t?-r:r)};n.prototype.schedule=function(t,n,r){if(t==null)return this._runners.map(je);var i=0;var e=this.getEndTime();n=n||0;if(r==null||r==="last"||r==="after")i=e;else if(r==="absolute"||r==="start"){i=n;n=0}else if(r==="now")i=this._time;else if(r==="relative"){var u=this.getRunnerInfoById(t.id);if(u){i=u.start+n;n=0}}else if(r==="with-last"){var s=this.getLastRunnerInfo();i=s?s.start:this._time}else throw new Error('Invalid value for the "when" parameter');t.unschedule();t.timeline(this);var o=t.persist();var f={persist:o===null?this._persist:o,start:i+n,runner:t};this._lastRunnerId=t.id;this._runners.push(f);this._runners.sort((function(t,n){return t.start-n.start}));this._runnerIds=this._runners.map((function(t){return t.runner.id}));this.updateTime()._continue();return this};n.prototype.seek=function(t){return this.time(this._time+t)};n.prototype.source=function(t){if(t==null)return this._timeSource;this._timeSource=t;return this};n.prototype.speed=function(t){if(t==null)return this._speed;this._speed=t;return this};n.prototype.stop=function(){this.time(0);return this.pause()};n.prototype.time=function(t){if(t==null)return this._time;this._time=t;return this._continue(true)};n.prototype.unschedule=function(t){var n=this._runnerIds.indexOf(t.id);if(n<0)return this;this._runners.splice(n,1);this._runnerIds.splice(n,1);t.timeline(null);return this};n.prototype.updateTime=function(){if(!this.active())this._lastSourceTime=this._timeSource();return this};n.prototype._continue=function(t){if(t===void 0){t=false}Me.cancelFrame(this._nextFrame);this._nextFrame=null;if(t)return this._stepImmediate();if(this._paused)return this;this._nextFrame=Me.frame(this._step);return this};n.prototype._stepFn=function(t){if(t===void 0){t=false}var n=this._timeSource();var r=n-this._lastSourceTime;if(t)r=0;var i=this._speed*r+(this._time-this._lastStepTime);this._lastSourceTime=n;if(!t){this._time+=i;this._time=this._time<0?0:this._time}this._lastStepTime=this._time;this.fire("time",this._time);for(var e=this._runners.length;e--;){var u=this._runners[e];var s=u.runner;if(this._time-u.start<=0)s.reset()}var o=false;for(var f=0,a=this._runners.length;f<a;f++){var u=this._runners[f];var s=u.runner;var h=i;var c=this._time-u.start;if(c<=0){o=true;continue}else if(c<h)h=c;if(!s.active())continue;if(!s.step(h).done)o=true;else if(u.persist!==true){if(s.duration()-s.time()+this._time+u.persist<this._time){s.unschedule();--f;--a}}}if(o&&!(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};n.prototype.terminate=function(){this._startTime=0;this._speed=1;this._persist=0;this._nextFrame=null;this._paused=true;this._runners=[];this._runnerIds=[];this._lastRunnerId=-1;this._time=0;this._lastSourceTime=0;this._lastStepTime=0;this._step=this._stepFn.bind(this,false);this._stepImmediate=this._stepFn.bind(this,true)};return n}(Nr);y({Element:{timeline:function(t){if(t==null){this._timeline=this._timeline||new Ae;return this._timeline}else{this._timeline=t;return this}}}});var Oe=function(t){__extends(n,t);function n(r){var i=t.call(this)||this;i.id=n.id++;r=r==null?Rr.duration:r;r=typeof r==="function"?new zi(r):r;i._element=null;i._timeline=null;i.done=false;i._queue=[];i._duration=typeof r==="number"&&r;i._isDeclarative=r instanceof zi;i._stepper=i._isDeclarative?r:new Fi;i._history={};i.enabled=true;i._time=0;i._lastTime=0;i._reseted=true;i.transforms=new cr;i.transformId=1;i._haveReversed=false;i._reverse=false;i._loopsDone=0;i._swing=false;i._wait=0;i._times=1;i._frameId=null;i._persist=i._isDeclarative?true:null;return i}n.sanitise=function(t,n,r){var i,e,u,s,o;var f=1;var a=false;var h=0;t=t!==null&&t!==void 0?t:Rr.duration;n=n!==null&&n!==void 0?n:Rr.delay;r=r||"last";if(typeof t==="object"&&!(t instanceof Zi)){n=(i=t.delay)!==null&&i!==void 0?i:n;r=(e=t.when)!==null&&e!==void 0?e:r;a=t.swing||a;f=(u=t.times)!==null&&u!==void 0?u:f;h=(s=t.wait)!==null&&s!==void 0?s:h;t=(o=t.duration)!==null&&o!==void 0?o:Rr.duration}return{duration:t,delay:n,swing:a,times:f,wait:h,when:r}};n.prototype.active=function(t){if(t==null)return this.enabled;this.enabled=t;return this};n.prototype.addTransform=function(t){this.transforms.lmultiplyO(t);return this};n.prototype.after=function(t){return this.on("finished",t)};n.prototype.animate=function(t,r,i){var e=n.sanitise(t,r,i);var u=new n(e.duration);if(this._timeline)u.timeline(this._timeline);if(this._element)u.element(this._element);return u.loop(e).schedule(e.delay,e.when)};n.prototype.clearTransform=function(){this.transforms=new cr;return this};n.prototype.clearTransformsFromQueue=function(){var t;if(!this.done||!this._timeline||!(0,Ft.default)(t=this._timeline._runnerIds).call(t,this.id))this._queue=this._queue.filter((function(t){return!t.isTransform}))};n.prototype.delay=function(t){return this.animate(0,t)};n.prototype.duration=function(){return this._times*(this._wait+this._duration)-this._wait};n.prototype.during=function(t){return this.queue(null,t)};n.prototype.ease=function(t){this._stepper=new Fi(t);return this};n.prototype.element=function(t){if(t==null)return this._element;this._element=t;t._prepareRunner();return this};n.prototype.finish=function(){return this.step(Infinity)};n.prototype.loop=function(t,n,r){if(typeof t==="object"){n=t.swing;r=t.wait;t=t.times}this._times=t||Infinity;this._swing=n||false;this._wait=r||0;if(this._times===true)this._times=Infinity;return this};n.prototype.loops=function(t){var n=this._duration+this._wait;if(t==null){var r=Math.floor(this._time/n);var i=(this._time-r*n)/this._duration;return Math.min(r+i,this._times)}var e=Math.floor(t);var u=t%1;var s=n*e+this._duration*u;return this.time(s)};n.prototype.persist=function(t){if(t==null)return this._persist;this._persist=t;return this};n.prototype.position=function(t){var n=this._time;var r=this._duration;var i=this._wait;var e=this._times;var u=this._swing;var s=this._reverse;var o;if(t==null){var f=function(t){var n=u*Math.floor(t%(2*(i+r))/(i+r));var e=n&&!s||!n&&s;var o=Math.pow(-1,e)*(t%(i+r))/r+e;return Math.max(Math.min(o,1),0)};var a=e*(i+r)-i;o=n<=0?Math.round(f(1e-5)):n<a?f(n):Math.round(f(a-1e-5));return o}var h=Math.floor(this.loops());var c=u&&h%2===0;o=h+(c&&!s||s&&c?t:1-t);return this.loops(o)};n.prototype.progress=function(t){if(t==null)return Math.min(1,this._time/this.duration());return this.time(t*this.duration())};n.prototype.queue=function(t,n,r,i){this._queue.push({initialiser:t||Pr,runner:n||Pr,retarget:r,isTransform:i,initialised:false,finished:false});this.timeline()&&this.timeline()._continue();return this};n.prototype.reset=function(){if(this._reseted)return this;this.time(0);this._reseted=true;return this};n.prototype.reverse=function(t){this._reverse=t==null?!this._reverse:t;return this};n.prototype.schedule=function(t,n,r){if(!(t instanceof Ae)){r=n;n=t;t=this.timeline()}if(!t)throw Error("Runner cannot be scheduled without timeline");t.schedule(this,n,r);return this};n.prototype.step=function(t){if(!this.enabled)return this;t=t==null?16:t;this._time+=t;var n=this.position();var r=this._lastPosition!==n&&this._time>=0;this._lastPosition=n;var i=this.duration();var e=this._lastTime<=0&&this._time>0;var u=this._lastTime<i&&this._time>=i;this._lastTime=this._time;if(e)this.fire("start",this);var s=this._isDeclarative;this.done=!s&&!u&&this._time>=i;this._reseted=false;var o=false;if(r||s){this._initialise(r);this.transforms=new cr;o=this._run(s?t:n);this.fire("step",this)}this.done=this.done||o&&s;if(u)this.fire("finished",this);return this};n.prototype.time=function(t){if(t==null)return this._time;var n=t-this._time;this.step(n);return this};n.prototype.timeline=function(t){if(typeof t==="undefined")return this._timeline;this._timeline=t;return this};n.prototype.unschedule=function(){var t=this.timeline();t&&t.unschedule(this);return this};n.prototype._initialise=function(t){if(!t&&!this._isDeclarative)return;for(var n=0,r=this._queue.length;n<r;++n){var i=this._queue[n];var e=this._isDeclarative||!i.initialised&&t;t=!i.finished;if(e&&t){i.initialiser.call(this);i.initialised=true}}};n.prototype._rememberMorpher=function(t,n){this._history[t]={morpher:n,caller:this._queue[this._queue.length-1]};if(this._isDeclarative){var r=this.timeline();r&&r.play()}};n.prototype._run=function(t){var n=true;for(var r=0,i=this._queue.length;r<i;++r){var e=this._queue[r];var u=e.runner.call(this,t);e.finished=e.finished||u===true;n=n&&e.finished}return n};n.prototype._tryRetarget=function(t,n,r){if(this._history[t]){if(!this._history[t].caller.initialised){var i=this._queue.indexOf(this._history[t].caller);this._queue.splice(i,1);return false}if(this._history[t].caller.retarget)this._history[t].caller.retarget.call(this,n,r);else this._history[t].morpher.to(n);this._history[t].caller.finished=false;var e=this.timeline();e&&e.play();return true}return false};return n}(Nr);Oe.id=0;var Se=function(){function t(t,n,r){if(t===void 0){t=new cr}if(n===void 0){n=-1}if(r===void 0){r=true}this.transforms=t;this.id=n;this.done=r}t.prototype.clearTransformsFromQueue=function(){};return t}();dn([Oe,Se],{mergeWith:function(t){return new Se(t.transforms.lmultiply(this.transforms),t.id)}});var Le=function(t,n){return t.lmultiplyO(n)};var Ee=function(t){return t.transforms};function Ve(){var t=this._transformationRunners.runners.map(Ee).reduce(Le,new cr);this.transform(t);this._transformationRunners.merge();if(this._transformationRunners.length()===1)this._frameId=null}var Te=function(){function t(){this.runners=[];this.ids=[]}t.prototype.add=function(t){var n;if((0,Ft.default)(n=this.runners).call(n,t))return;var r=t.id+1;this.runners.push(t);this.ids.push(r);return this};t.prototype.clearBefore=function(t){var n=this.ids.indexOf(t+1)||1;this.ids.splice(0,n,0);this.runners.splice(0,n,new Se).forEach((function(t){return t.clearTransformsFromQueue()}));return this};t.prototype.edit=function(t,n){var r=this.ids.indexOf(t+1);this.ids.splice(r,1,t+1);this.runners.splice(r,1,n);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 n=0;n<this.runners.length;++n){var r,i;var e=this.runners[n];if(t&&e.done&&t.done&&(!e._timeline||!(0,Ft.default)(r=e._timeline._runnerIds).call(r,e.id))&&(!t._timeline||!(0,Ft.default)(i=t._timeline._runnerIds).call(i,t.id))){this.remove(e.id);var u=e.mergeWith(t);this.edit(t.id,u);t=u;--n}else t=e}return this};t.prototype.remove=function(t){var n=this.ids.indexOf(t+1);this.ids.splice(n,1);this.runners.splice(n,1);return this};return t}();y({Element:{animate:function(t,n,r){var i=Oe.sanitise(t,n,r);var e=this.timeline();return new Oe(i.duration).loop(i).element(this).timeline(e.play()).schedule(i.delay,i.when)},delay:function(t,n){return this.animate(0,t,n)},_clearTransformRunnersBefore:function(t){this._transformationRunners.clearBefore(t.id)},_currentTransform:function(t){return this._transformationRunners.runners.filter((function(n){return n.id<=t.id})).map(Ee).reduce(Le,new cr)},_addRunner:function(t){this._transformationRunners.add(t);Me.cancelImmediate(this._frameId);this._frameId=Me.immediate(Ve.bind(this))},_prepareRunner:function(){if(this._frameId==null)this._transformationRunners=(new Te).add(new Se(new cr(this)))}}});var Be=function(t,n){return t.filter((function(t){return!(0,Ft.default)(n).call(n,t)}))};dn(Oe,{attr:function(t,n){return this.styleAttr("attr",t,n)},css:function(t,n){return this.styleAttr("css",t,n)},styleAttr:function(t,n,r){var i;if(typeof n==="string")return this.styleAttr(t,(i={},i[n]=r,i));var e=n;var u=this._history[t];if(u&&!u.caller.initialised&&u.caller.retarget){u.caller.retarget.call(this,e);return this}if(this._tryRetarget(t,e))return this;var s=new ue(this._stepper).to(e);var o=Object.keys(e);this.queue((function(){s=s.from(this.element()[t](o))}),(function(n){this.element()[t](s.at(n).valueOf());return s.done()}),(function(n){var r=Be(Object.keys(n),o);if(r.length&&s.from()!=null){var i=this.element()[t](r);var e=new ae(s.from()).valueOf();Object.assign(e,i);s.from(e)}var u=new ae(s.to()).valueOf();Object.assign(u,n);s.to(u);o=Object.keys(u)}));this._rememberMorpher(t,s);return this},zoom:function(t,n){if(this._tryRetarget("zoom",t,n))return this;var r=new ue(this._stepper).to(new Xr(t));this.queue((function(){r=r.from(this.element().zoom())}),(function(t){this.element().zoom(r.at(t),n);return r.done()}),(function(t,i){n=i;r.to(t)}));this._rememberMorpher("zoom",r);return this},transform:function(t,n,r){n=t.relative||n;if(this._isDeclarative&&!n&&this._tryRetarget("transform",t))return this;var i=cr.isMatrixLike(t);r=t.affine!=null?t.affine:r!=null?r:!i;var e=new ue(this._stepper).type(r?oe:cr);var u;var s;var o;var f;var a;function h(){s=s||this.element();u=u||Gt(t,s);a=new cr(n?void 0:s);s._addRunner(this);if(!n)s._clearTransformRunnersBefore(this)}function c(h){if(!n)this.clearTransform();var c=new fr(u).transform(s._currentTransform(this)),v=c.x,l=c.y;var d=__assign(__assign({},t),{origin:[v,l]});if(d.relative===true)delete d.relative;var C=new cr(d);var w=this._isDeclarative&&o?o:a;if(r){C=C.decompose(v,l);w=w.decompose(v,l);var p=C.rotate;var y=w.rotate;var g=[p-360,p,p+360];var m=g.map((function(t){return Math.abs(t-y)}));var b=Math.min.apply(Math,m);var x=m.indexOf(b);C.rotate=g[x]}if(n){if(!i)C.rotate=t.rotate||0;if(this._isDeclarative&&f)w.rotate=f}e.from(w);e.to(C);var _=e.at(h);f=_.rotate;o=new cr(_);this.addTransform(o);s._addRunner(this);return e.done()}function v(n){if((n.origin||"center").toString()!==(t.origin||"center").toString())u=Gt(n,s);t=__assign(__assign({},n),{origin:u})}this.queue(h,c,v,true);this._isDeclarative&&this._rememberMorpher("transform",e);return this},x:function(t){return this._queueNumber("x",t)},y:function(t){return this._queueNumber("y",t)},ax:function(t){return this._queueNumber("ax",t)},ay:function(t){return this._queueNumber("ay",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,n){return this.dx(t).dy(n)},_queueNumberDelta:function(t,n){n=new Xr(n);if(this._tryRetarget(t,n))return this;var r=new ue(this._stepper).to(n);var i=null;this.queue((function(){i=this.element()[t]();r.from(i);r.to(i+n)}),(function(n){this.element()[t](r.at(n));return r.done()}),(function(t){r.to(i+new Xr(t))}));this._rememberMorpher(t,r);return this},_queueObject:function(t,n){if(this._tryRetarget(t,n))return this;var r=new ue(this._stepper).to(n);this.queue((function(){r.from(this.element()[t]())}),(function(n){this.element()[t](r.at(n));return r.done()}));this._rememberMorpher(t,r);return this},_queueNumber:function(t,n){return this._queueObject(t,new Xr(n))},cx:function(t){return this._queueNumber("cx",t)},cy:function(t){return this._queueNumber("cy",t)},move:function(t,n){return this.x(t).y(n)},amove:function(t,n){return this.ax(t).ay(n)},center:function(t,n){return this.cx(t).cy(n)},size:function(t,n){var r=Rt(this._element,t,n);return this.width(r.width).height(r.height)},width:function(t){return this._queueNumber("width",t)},height:function(t){return this._queueNumber("height",t)},plot:function(t,n,r,i){if(arguments.length===4)return this.plot([t,n,r,i]);if(this._tryRetarget("plot",t))return this;var e=new ue(this._stepper).type(this._element.MorphArray).to(t);this.queue((function(){e.from(this._element.array())}),(function(t){this._element.plot(e.at(t));return e.done()}));this._rememberMorpher("plot",e);return this},leading:function(t){return this._queueNumber("leading",t)},viewbox:function(t,n,r,i){return this._queueObject("viewbox",new pr(t,n,r,i))},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}});dn(Oe,{rx:ai,ry:hi,from:mi,to:bi});an(Oe,"Runner");var He=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}var i=t.call(this,sn("svg",n),r)||this;i.namespace();return i}n.prototype.defs=function(){if(!this.isRoot())return this.root().defs();return on(this.node.querySelector("defs"))||this.put(new si)};n.prototype.isRoot=function(){return!this.node.parentNode||!(this.node.parentNode instanceof qt.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"};n.prototype.namespace=function(){if(!this.isRoot())return this.root().namespace();return this.attr({xmlns:Jt,version:"1.1"}).attr("xmlns:xlink",Wt,Ut)};n.prototype.removeNamespace=function(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,Ut).attr("xmlns:svgjs",null,Ut)};n.prototype.root=function(){if(this.isRoot())return this;return t.prototype.root.call(this)};return n}(ui);y({Container:{nested:Cn((function(){return this.put(new He)}))}});an(He,"Svg",true);var Ze=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("symbol",n),r)||this}return n}(ui);y({Container:{symbol:Cn((function(){return this.put(new Ze)}))}});an(Ze,"Symbol");var Fe=l({amove:function(){return Je},ax:function(){return Xe},ay:function(){return $e},build:function(){return Qe},center:function(){return Ye},cx:function(){return Re},cy:function(){return Ge},length:function(){return De},move:function(){return Pe},plain:function(){return ze},x:function(){return Ie},y:function(){return Ne}});function ze(t){if(this._build===false)this.clear();this.node.appendChild(qt.document.createTextNode(t));return this}function De(){return this.node.getComputedTextLength()}function Ie(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.x;return this.attr("x",this.attr("x")+t-n.x)}function Ne(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.y;return this.attr("y",this.attr("y")+t-n.y)}function Pe(t,n,r){if(r===void 0){r=this.bbox()}return this.x(t,r).y(n,r)}function Re(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.cx;return this.attr("x",this.attr("x")+t-n.cx)}function Ge(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.cy;return this.attr("y",this.attr("y")+t-n.cy)}function Ye(t,n,r){if(r===void 0){r=this.bbox()}return this.cx(t,r).cy(n,r)}function Xe(t){return this.attr("x",t)}function $e(t){return this.attr("y",t)}function Je(t,n){return this.ax(t).ay(n)}function Qe(t){this._build=!!t;return this}var Ue=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}var i;var e=t.call(this,sn("text",n),r)||this;e.dom.leading=(i=e.dom.leading)!==null&&i!==void 0?i:new Xr(1.3);e._rebuild=true;e._build=false;return e}n.prototype.leading=function(t){if(t==null)return this.dom.leading;this.dom.leading=new Xr(t);return this.rebuild()};n.prototype.rebuild=function(t){if(typeof t==="boolean")this._rebuild=t;if(this._rebuild){var n=this;var r=0;var i=this.dom.leading;this.each((function(t){if(Xt(this.node))return;var e=qt.window.getComputedStyle(this.node).getPropertyValue("font-size");var u=i*new Xr(e);if(this.dom.newLined){this.attr("x",n.attr("x"));if(this.text()==="\n")r+=u;else{this.attr("dy",t?u+r:0);r=0}}}));this.fire("rebuild")}return this};n.prototype.setData=function(t){this.dom=t;this.dom.leading=new Xr(t.leading||1.3);return this};n.prototype.writeDataToDom=function(){return t.prototype.writeDataToDom.call(this,{leading:1.3})};n.prototype.text=function(t){if(t===void 0){var n=this.node.childNodes;var r=0;t="";for(var i=0,e=n.length;i<e;++i){if(n[i].nodeName==="textPath"||Xt(n[i])){if(i===0)r=i+1;continue}if(i!==r&&n[i].nodeType!==3&&on(n[i]).dom.newLined===true)t+="\n";t+=n[i].textContent}return t}this.clear().build(true);if(typeof t==="function")t.call(this,this);else{t=(t+"").split("\n");for(var u=0,s=t.length;u<s;u++)this.newLine(t[u])}return this.build(false).rebuild()};return n}(oi);dn(Ue,Fe);y({Container:{text:Cn((function(t){if(t===void 0){t=""}return this.put(new Ue).text(t)})),plain:Cn((function(t){if(t===void 0){t=""}return this.put(new Ue).plain(t)}))}});an(Ue,"Text");var We=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}var i=t.call(this,sn("tspan",n),r)||this;i._build=false;return i}n.prototype.dx=function(t){return this.attr("dx",t)};n.prototype.dy=function(t){return this.attr("dy",t)};n.prototype.newLine=function(){this.dom.newLined=true;var t=this.parent();if(!(t instanceof Ue))return this;var n=t.index(this);var r=qt.window.getComputedStyle(this.node).getPropertyValue("font-size");var i=t.dom.leading*new Xr(r);return this.dy(n?i:0).attr("x",t.x())};n.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 n}(oi);dn(We,Fe);y({Tspan:{tspan:Cn((function(t){if(t===void 0){t=""}var n=new We;if(!this._build)this.clear();return this.put(n).text(t)}))},Text:{newLine:function(t){if(t===void 0){t=""}return this.tspan(t).newLine()}}});an(We,"Tspan");var qe=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("circle",n),r)||this}n.prototype.radius=function(t){return this.attr("r",t)};n.prototype.rx=function(t){return this.attr("r",t)};n.prototype.ry=function(t){return this.rx(t)};n.prototype.size=function(t){return this.radius(new Xr(t).divide(2))};return n}(oi);dn(qe,{x:ci,y:vi,cx:li,cy:di,width:Ci,height:wi});y({Container:{circle:Cn((function(t){if(t===void 0){t=0}return this.put(new qe).size(t).move(0,0)}))}});an(qe,"Circle");var Ke=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("clipPath",n),r)||this}n.prototype.remove=function(){this.targets().forEach((function(t){t.unclip()}));return t.prototype.remove.call(this)};n.prototype.targets=function(){return Ar(this.node,"clip-path")};return n}(ui);y({Container:{clip:Cn((function(){return this.defs().put(new Ke)}))},Element:{clipper:function(){return this.reference("clip-path")},clipWith:function(t){var n=t instanceof Ke?t:this.parent().clip().add(t);return this.attr("clip-path","url(#"+n.id()+")")},unclip:function(){return this.attr("clip-path",null)}}});an(Ke,"ClipPath");var tu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("foreignObject",n),r)||this}return n}(qr);y({Container:{foreignObject:Cn((function(t,n){return this.put(new tu).size(t,n)}))}});an(tu,"ForeignObject");var nu=l({dmove:function(){return ru},dx:function(){return iu},dy:function(){return eu},height:function(){return uu},move:function(){return su},size:function(){return ou},width:function(){return fu},x:function(){return au},y:function(){return hu}});function ru(t,n){this.children().forEach((function(r){var i;try{i=r.node instanceof Kt().SVGSVGElement?new pr(r.attr(["x","y","width","height"])):r.bbox()}catch(t){return}var e=new cr(r);var u=e.translate(t,n).transform(e.inverse());var s=new fr(i.x,i.y).transform(u);r.dmove(s.x-i.x,s.y-i.y)}));return this}function iu(t){return this.dmove(t,0)}function eu(t){return this.dmove(0,t)}function uu(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.height;return this.size(n.width,t,n)}function su(t,n,r){if(t===void 0){t=0}if(n===void 0){n=0}if(r===void 0){r=this.bbox()}var i=t-r.x;var e=n-r.y;return this.dmove(i,e)}function ou(t,n,r){if(r===void 0){r=this.bbox()}var i=Rt(this,t,n,r);var e=i.width/r.width;var u=i.height/r.height;this.children().forEach((function(t){var n=new fr(r).transform(new cr(t).inverse());t.scale(e,u,n.x,n.y)}));return this}function fu(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.width;return this.size(t,n.height,n)}function au(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.x;return this.move(t,n.y,n)}function hu(t,n){if(n===void 0){n=this.bbox()}if(t==null)return n.y;return this.move(n.x,t,n)}var cu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("g",n),r)||this}return n}(ui);dn(cu,nu);y({Container:{group:Cn((function(){return this.put(new cu)}))}});an(cu,"G");var vu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("a",n),r)||this}n.prototype.target=function(t){return this.attr("target",t)};n.prototype.to=function(t){return this.attr("href",t,Wt)};return n}(ui);dn(vu,nu);y({Container:{link:Cn((function(t){return this.put(new vu).to(t)}))},Element:{unlink:function(){var t=this.linker();if(!t)return this;var n=t.parent();if(!n)return this.remove();var r=n.index(t);n.add(this,r);t.remove();return this},linkTo:function(t){var n=this.linker();if(!n){n=new vu;this.wrap(n)}if(typeof t==="function")t.call(n,n);else n.to(t);return this},linker:function(){var t=this.parent();if(t&&t.node.nodeName.toLowerCase()==="a")return t;return null}}});an(vu,"A");var lu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("mask",n),r)||this}n.prototype.remove=function(){this.targets().forEach((function(t){t.unmask()}));return t.prototype.remove.call(this)};n.prototype.targets=function(){return Ar(this.node,"mask")};return n}(ui);y({Container:{mask:Cn((function(){return this.defs().put(new lu)}))},Element:{masker:function(){return this.reference("mask")},maskWith:function(t){var n=t instanceof lu?t:this.parent().mask().add(t);return this.attr("mask","url(#"+n.id()+")")},unmask:function(){return this.attr("mask",null)}}});an(lu,"Mask");var du=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("stop",n),r)||this}n.prototype.update=function(t){if(typeof t==="number"||t instanceof Xr)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 Xr(t.offset));return this};return n}(qr);y({Gradient:{stop:function(t,n,r){return this.put(new du).update(t,n,r)}}});an(du,"Stop");function Cu(t,n){if(!t)return"";if(!n)return t;var r=t+"{";for(var i in n)r+=Nt(i)+":"+n[i]+";";r+="}";return r}var wu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("style",n),r)||this}n.prototype.addText=function(t){if(t===void 0){t=""}this.node.textContent+=t;return this};n.prototype.font=function(t,n,r){if(r===void 0){r={}}return this.rule("@font-face",__assign({fontFamily:t,src:n},r))};n.prototype.rule=function(t,n){return this.addText(Cu(t,n))};return n}(qr);y("Dom",{style:function(t,n){return this.put(new wu).rule(t,n)},fontface:function(t,n,r){return this.put(new wu).font(t,n,r)}});an(wu,"Style");var pu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("textPath",n),r)||this}n.prototype.array=function(){var t=this.track();return t?t.array():null};n.prototype.plot=function(t){var n=this.track();var r=null;if(n)r=n.plot(t);return t==null?r:this};n.prototype.track=function(){return this.reference("href")};return n}(Ue);y({Container:{textPath:Cn((function(t,n){if(!(t instanceof Ue))t=this.text(t);return t.path(n)}))},Text:{path:Cn((function(t,n){if(n===void 0){n=true}var r=new pu;if(!(t instanceof le))t=this.defs().path(t);r.attr("href","#"+t,Wt);var i;if(n)while(i=this.node.firstChild)r.node.appendChild(i);return this.put(r)})),textPath:function(){return this.findOne("textPath")}},Path:{text:Cn((function(t){if(!(t instanceof Ue))t=(new Ue).addTo(this.parent()).text(t);return t.path(this)})),targets:function(){return Ar(this.node,"href","textPath")}}});pu.prototype.MorphArray=ie;an(pu,"TextPath");var yu=function(t){__extends(n,t);function n(n,r){if(r===void 0){r=n}return t.call(this,sn("use",n),r)||this}n.prototype.use=function(t,n){return this.attr("href",(n||"")+"#"+t,Wt)};return n}(oi);y({Container:{use:Cn((function(t,n){return this.put(new yu).use(t,n)}))}});an(yu,"Use");var gu=un;dn([He,Ze,Mi,_i,Ti],g("viewbox"));dn([Vi,be,me,le],g("marker"));dn(Ue,g("Text"));dn(le,g("Path"));dn(si,g("Defs"));dn([Ue,We],g("Tspan"));dn([xe,pi,xi,Oe],g("radius"));dn(Nr,g("EventTarget"));dn(Wr,g("Dom"));dn(qr,g("Element"));dn(oi,g("Shape"));dn([ui,yi],g("Container"));dn(xi,g("Gradient"));dn(Oe,g("Runner"));xr.extend(m());ce([Xr,or,pr,cr,Yr,ji,ie,fr]);ve();function mu(){var t={entities:[]};var n;var r=[];function i(t,r,i){n=gu().addTo(t).size(r,i);n.entities=[];n.lines=n.group();n.labels=n.group()}function e(t,n){var r;var i=t.group().attr({id:n.id});t.entities.push(i);n.background_color=n.background_color?n.background_color:"#f06";n.color=n.color?n.color:"#ffffff";n.radius=n.radius?n.radius:0;i.entity=i.rect(n.width,n.height).cx(n.width/2).cy(n.height/2).attr((r={fill:"#ffffff",stroke:n.color},r["stroke-width"]=2,r)).radius(n.radius);if(n.class){i.entity.attr("class",n.class)}i.plain(n.text).cx(14).cy(n.height/2+6).attr({fill:n.color});i.move(n.x,n.y)}function u(){if(t.labels&&t.labels.length>0){t.labels.forEach((function(t){n.labels.text(t.value).x(t.x).y(t.y)}))}}function s(t,n){n.forEach((function(n){return o(t,n)}))}function o(t,n){var r="";var i=n.color||"#4c56cb";var e=t.findOne("#"+n.from.element);var u=t.findOne("#"+n.to.element);var s=f(n,e,u);r+=h(e,n.from.point)+","+c(e,n.from.point)+" ";s.forEach((function(t){return r+=t.x+","+t.y+" "}));if(n.to.point==="top"){r+=h(u,n.to.point)+","+c(u,n.to.point)+" "}else if(n.to.point==="bottom"){r+=h(u,n.to.point)+","+c(u,n.to.point)+" "}else{r+=h(u,n.to.point)+","+c(u,n.to.point)+" "}if(!n.polyline){n.polyline=t.lines.polyline(r).fill("none").stroke({color:i,width:2,linecap:"round",linejoin:"round"}).attr("id",n.id)}else{n.polyline.plot(r)}}function f(t,n,r){var i=[];var e=c(n,t.from.point);var u=c(r,t.to.point);var s=h(n,t.from.point);var o=h(r,t.to.point);var f=a(t.from.point);var v=a(t.to.point);var l=f-v;if(l===0){if(t.from.point==="top"){if(e<=u){i.push({x:s,y:e-20});i.push({x:o,y:e-20})}else{i.push({x:s,y:u-20});i.push({x:o,y:u-20})}}else if(t.from.point==="bottom"){if(e<=u){i.push({x:s,y:u+20});i.push({x:o,y:u+20})}else{i.push({x:s,y:e+20});i.push({x:o,y:e+20})}}else{if(s<=o){i.push({x:o+20,y:e});i.push({x:o+20,y:u})}else{i.push({x:s+20,y:e});i.push({x:s+20,y:u})}}}if(l===2||l===-2){if(s!==o){i.push({x:s,y:u+(e-u)/2});i.push({x:o,y:u+(e-u)/2})}}if(l===1||l===-1||l===3||l===-3){if(t.from.point==="top"){if(e<u+20){i.push({x:s,y:e-20});i.push({x:o+20,y:e-20});i.push({x:o+20,y:u})}else{i.push({x:s,y:u})}}if(t.from.point==="bottom"){if(e>u-20){i.push({x:s,y:e+20});i.push({x:o+20,y:e+20});i.push({x:o+20,y:u})}else{i.push({x:s,y:u})}}}return i}function a(t){switch(t){case"top":return 0;case"bottom":return 2;default:return 3}}function h(t,n){var r=t.entity.attr("width");var i=t.entity.attr("x");switch(n){case"top":case"bottom":return i+r/2;default:return i-r/2}}function c(t,n){var r=t.entity.attr("height");var i=t.entity.attr("y");switch(n){case"top":return i;case"bottom":return i+r;default:return i}}function v(){n.entities.forEach((function(t){return t.remove()}));n.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}}));u();t.entities.forEach((function(t){return e(n,t)}));r=t.lines;s(n,r)}function l(n){t=n;v()}return{initalize:i,update:l}}var bu=function(){return'verdocs-status-indicator{display:-ms-flexbox;display:flex;font-size:18px;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:6px;color:#33364b;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-status-indicator.has-document:hover{cursor:pointer;background:rgba(0, 0, 0, 0.1)}verdocs-status-indicator .icon{width:25px;height:25px;margin:0 10px 0 0}verdocs-status-indicator.dark{color:#ffffff}verdocs-status-indicator.small{font-size:16px}verdocs-status-indicator.small .icon{width:20px;height:20px;margin:0 8px 0 0}verdocs-status-indicator .content{white-space:nowrap}verdocs-status-indicator .detail-panel{display:none;background:#ffffff;border:1px solid #1e2031;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;border-radius:10px;font-weight:500}verdocs-status-indicator .detail-panel h1{font-size:44px;color:#092c4c}verdocs-status-indicator .detail-panel[data-show]{display:-ms-flexbox;display:flex}'};var xu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="white"/></svg>';var _u='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.728 15.968C11.7067 15.9893 11.7013 16.0107 11.712 16.032C11.7227 16.0533 11.744 16.064 11.776 16.064H16.112C16.1653 16.064 16.208 16.0853 16.24 16.128C16.2827 16.16 16.304 16.2027 16.304 16.256V17.808C16.304 17.8613 16.2827 17.9093 16.24 17.952C16.208 17.984 16.1653 18 16.112 18H8.912C8.85867 18 8.81067 17.984 8.768 17.952C8.736 17.9093 8.72 17.8613 8.72 17.808V16.336C8.72 16.24 8.752 16.16 8.816 16.096C9.33867 15.584 9.872 15.0293 10.416 14.432C10.96 13.824 11.3013 13.4453 11.44 13.296C11.7387 12.944 12.0427 12.608 12.352 12.288C13.3227 11.2107 13.808 10.4107 13.808 9.888C13.808 9.51467 13.6747 9.21067 13.408 8.976C13.1413 8.73067 12.7947 8.608 12.368 8.608C11.9413 8.608 11.5947 8.73067 11.328 8.976C11.0613 9.21067 10.928 9.52533 10.928 9.92V10.32C10.928 10.3733 10.9067 10.4213 10.864 10.464C10.832 10.496 10.7893 10.512 10.736 10.512H8.848C8.79467 10.512 8.74667 10.496 8.704 10.464C8.672 10.4213 8.656 10.3733 8.656 10.32V9.568C8.688 8.992 8.86933 8.48533 9.2 8.048C9.53067 7.6 9.968 7.25867 10.512 7.024C11.0667 6.78933 11.6853 6.672 12.368 6.672C13.1253 6.672 13.7813 6.816 14.336 7.104C14.9013 7.38133 15.3333 7.76 15.632 8.24C15.9413 8.72 16.096 9.25333 16.096 9.84C16.096 10.288 15.984 10.7467 15.76 11.216C15.536 11.6853 15.2 12.192 14.752 12.736C14.4213 13.152 14.064 13.5627 13.68 13.968C13.296 14.3733 12.7253 14.96 11.968 15.728L11.728 15.968Z" fill="#654DCB"/></svg>';var Mu='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>';var ju='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24C15.1826 24 18.2348 22.7357 20.4853 20.4853C22.7357 18.2348 24 15.1826 24 12C24 8.8174 22.7357 5.76516 20.4853 3.51472C18.2348 1.26428 15.1826 0 12 0C8.8174 0 5.76516 1.26428 3.51472 3.51472C1.26428 5.76516 0 8.8174 0 12C0 15.1826 1.26428 18.2348 3.51472 20.4853C5.76516 22.7357 8.8174 24 12 24V24ZM9 7.5C8.60218 7.5 8.22064 7.65804 7.93934 7.93934C7.65804 8.22064 7.5 8.60218 7.5 9V15C7.5 15.3978 7.65804 15.7794 7.93934 16.0607C8.22064 16.342 8.60218 16.5 9 16.5H15C15.3978 16.5 15.7794 16.342 16.0607 16.0607C16.342 15.7794 16.5 15.3978 16.5 15V9C16.5 8.60218 16.342 8.22064 16.0607 7.93934C15.7794 7.65804 15.3978 7.5 15 7.5H9Z" fill="#9095B3"/></svg>';var ku='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>';var Au='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>';var Ou='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#F95353"/></svg>';var Su='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 15.1826 22.7357 18.2348 20.4853 20.4853C18.2348 22.7357 15.1826 24 12 24C8.8174 24 5.76516 22.7357 3.51472 20.4853C1.26428 18.2348 0 15.1826 0 12C0 8.8174 1.26428 5.76516 3.51472 3.51472C5.76516 1.26428 8.8174 0 12 0C15.1826 0 18.2348 1.26428 20.4853 3.51472C22.7357 5.76516 24 8.8174 24 12V12ZM13.5 18C13.5 18.3978 13.342 18.7794 13.0607 19.0607C12.7794 19.342 12.3978 19.5 12 19.5C11.6022 19.5 11.2206 19.342 10.9393 19.0607C10.658 18.7794 10.5 18.3978 10.5 18C10.5 17.6022 10.658 17.2206 10.9393 16.9393C11.2206 16.658 11.6022 16.5 12 16.5C12.3978 16.5 12.7794 16.658 13.0607 16.9393C13.342 17.2206 13.5 17.6022 13.5 18V18ZM12 4.5C11.6022 4.5 11.2206 4.65804 10.9393 4.93934C10.658 5.22064 10.5 5.60218 10.5 6V12C10.5 12.3978 10.658 12.7794 10.9393 13.0607C11.2206 13.342 11.6022 13.5 12 13.5C12.3978 13.5 12.7794 13.342 13.0607 13.0607C13.342 12.7794 13.5 12.3978 13.5 12V6C13.5 5.60218 13.342 5.22064 13.0607 4.93934C12.7794 4.65804 12.3978 4.5 12 4.5Z" fill="#FF0000"/></svg>';var Lu='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Eu='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.7917 9.625L18.6667 13.5M18.6667 13.5L14.7917 17.375M18.6667 13.5H8.33333M25.125 13.5C25.125 15.0266 24.8243 16.5383 24.2401 17.9487C23.6559 19.3591 22.7996 20.6406 21.7201 21.7201C20.6406 22.7996 19.3591 23.6559 17.9487 24.2401C16.5383 24.8243 15.0266 25.125 13.5 25.125C11.9734 25.125 10.4617 24.8243 9.0513 24.2401C7.64089 23.6559 6.35936 22.7996 5.27988 21.7201C4.2004 20.6406 3.34411 19.3591 2.7599 17.9487C2.17569 16.5383 1.875 15.0266 1.875 13.5C1.875 10.4169 3.09977 7.45999 5.27988 5.27988C7.45999 3.09977 10.4169 1.875 13.5 1.875C16.5831 1.875 19.54 3.09977 21.7201 5.27988C23.9002 7.45999 25.125 10.4169 25.125 13.5Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Vu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="white"/></svg>';var Tu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M11.4 6.848C11.4533 6.816 11.5333 6.8 11.64 6.8H13.576C13.6293 6.8 13.672 6.82133 13.704 6.864C13.7467 6.896 13.768 6.93867 13.768 6.992V17.808C13.768 17.8613 13.7467 17.9093 13.704 17.952C13.672 17.984 13.6293 18 13.576 18H11.704C11.6507 18 11.6027 17.984 11.56 17.952C11.528 17.9093 11.512 17.8613 11.512 17.808V9.04C11.512 9.01867 11.5013 8.99733 11.48 8.976C11.4587 8.95467 11.4373 8.94933 11.416 8.96L9.832 9.392L9.768 9.408C9.672 9.408 9.624 9.34933 9.624 9.232L9.576 7.856C9.576 7.74933 9.624 7.67467 9.72 7.632L11.4 6.848Z" fill="#654DCB"/></svg>';var Bu='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#cccccc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Hu='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.33333 12H7.345M12 12H12.0117M16.6667 12H16.6783M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.70791 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 9.21523 2.60625 6.54451 4.57538 4.57538C6.54451 2.60625 9.21523 1.5 12 1.5C14.7848 1.5 17.4555 2.60625 19.4246 4.57538C21.3938 6.54451 22.5 9.21523 22.5 12Z" stroke="#999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Zu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="white" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="white"/></svg>';var Fu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="11.5" stroke="#654DCB" stroke-width="2"/><path d="M15.632 12.656C15.8453 13.1467 15.952 13.712 15.952 14.352C15.952 14.928 15.856 15.4613 15.664 15.952C15.408 16.6347 14.976 17.168 14.368 17.552C13.7707 17.936 13.0613 18.128 12.24 18.128C11.4293 18.128 10.7147 17.9253 10.096 17.52C9.488 17.1147 9.05067 16.5653 8.784 15.872C8.63467 15.456 8.54933 15.008 8.528 14.528C8.528 14.4 8.592 14.336 8.72 14.336H10.608C10.736 14.336 10.8 14.4 10.8 14.528C10.8427 14.88 10.9013 15.1413 10.976 15.312C11.072 15.5893 11.2267 15.808 11.44 15.968C11.664 16.1173 11.9253 16.192 12.224 16.192C12.8213 16.192 13.232 15.9307 13.456 15.408C13.6053 15.088 13.68 14.7147 13.68 14.288C13.68 13.7867 13.6 13.376 13.44 13.056C13.1947 12.5547 12.784 12.304 12.208 12.304C12.0907 12.304 11.968 12.3413 11.84 12.416C11.712 12.48 11.5573 12.576 11.376 12.704C11.3333 12.736 11.2907 12.752 11.248 12.752C11.184 12.752 11.136 12.72 11.104 12.656L10.16 11.328C10.1387 11.296 10.128 11.2587 10.128 11.216C10.128 11.152 10.1493 11.0987 10.192 11.056L12.736 8.832C12.7573 8.81067 12.7627 8.78933 12.752 8.768C12.752 8.74667 12.736 8.736 12.704 8.736H8.944C8.89067 8.736 8.84267 8.72 8.8 8.688C8.768 8.64533 8.752 8.59733 8.752 8.544V6.992C8.752 6.93867 8.768 6.896 8.8 6.864C8.84267 6.82133 8.89067 6.8 8.944 6.8H15.616C15.6693 6.8 15.712 6.82133 15.744 6.864C15.7867 6.896 15.808 6.93867 15.808 6.992V8.752C15.808 8.83733 15.7707 8.91733 15.696 8.992L13.6 10.912C13.5787 10.9333 13.568 10.9547 13.568 10.976C13.5787 10.9973 13.6053 11.008 13.648 11.008C14.576 11.1893 15.2373 11.7387 15.632 12.656Z" fill="#654DCB"/></svg>';var zu='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#63C58E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Du='<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.62395 13.5009L12.2073 16.0842L17.374 10.9176M8.11916 4.06786C9.04568 3.99392 9.92527 3.6296 10.6327 3.02678C11.4322 2.34513 12.4484 1.9707 13.499 1.9707C14.5495 1.9707 15.5657 2.34513 16.3652 3.02678C17.0726 3.6296 17.9522 3.99392 18.8787 4.06786C19.926 4.15118 20.9092 4.60497 21.6521 5.34781C22.3949 6.09064 22.8487 7.07389 22.932 8.12111C23.0059 9.04764 23.3703 9.92723 23.9731 10.6347C24.6547 11.4341 25.0292 12.4503 25.0292 13.5009C25.0292 14.5515 24.6547 15.5677 23.9731 16.3671C23.3703 17.0746 23.0059 17.9542 22.932 18.8807C22.8487 19.9279 22.3949 20.9112 21.6521 21.654C20.9092 22.3968 19.926 22.8506 18.8787 22.9339C17.9522 23.0079 17.0726 23.3722 16.3652 23.975C15.5657 24.6567 14.5495 25.0311 13.499 25.0311C12.4484 25.0311 11.4322 24.6567 10.6327 23.975C9.92527 23.3722 9.04568 23.0079 8.11916 22.9339C7.07194 22.8506 6.08869 22.3968 5.34585 21.654C4.60302 20.9112 4.14923 19.9279 4.06591 18.8807C3.99196 17.9542 3.62765 17.0746 3.02483 16.3671C2.34318 15.5677 1.96875 14.5515 1.96875 13.5009C1.96875 12.4503 2.34318 11.4341 3.02483 10.6347C3.62765 9.92723 3.99196 9.04764 4.06591 8.12111C4.14923 7.07389 4.60302 6.09064 5.34585 5.34781C6.08869 4.60497 7.07194 4.15118 8.11916 4.06786V4.06786Z" stroke="#654DCB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';var Iu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#63C58E"/></svg>';var Nu='<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.7152 2.35464C7.71225 2.27504 8.65876 1.88287 9.41995 1.23399C10.2797 0.501758 11.3721 0.0996094 12.5013 0.0996094C13.6306 0.0996094 14.723 0.501758 15.5827 1.23399C16.3439 1.88287 17.2904 2.27504 18.2875 2.35464C19.4135 2.44463 20.4706 2.93273 21.2693 3.73145C22.068 4.53017 22.5561 5.58727 22.6461 6.71324C22.7251 7.70989 23.1173 8.65694 23.7667 9.41799C24.499 10.2777 24.9011 11.3701 24.9011 12.4994C24.9011 13.6287 24.499 14.7211 23.7667 15.5808C23.1179 16.342 22.7257 17.2885 22.6461 18.2855C22.5561 19.4115 22.068 20.4686 21.2693 21.2673C20.4706 22.0661 19.4135 22.5542 18.2875 22.6441C17.2904 22.7237 16.3439 23.1159 15.5827 23.7648C14.723 24.497 13.6306 24.8992 12.5013 24.8992C11.3721 24.8992 10.2797 24.497 9.41995 23.7648C8.65876 23.1159 7.71225 22.7237 6.7152 22.6441C5.58923 22.5542 4.53213 22.0661 3.73341 21.2673C2.93469 20.4686 2.44658 19.4115 2.35659 18.2855C2.27699 17.2885 1.88482 16.342 1.23595 15.5808C0.503711 14.7211 0.101562 13.6287 0.101562 12.4994C0.101562 11.3701 0.503711 10.2777 1.23595 9.41799C1.88482 8.65681 2.27699 7.71029 2.35659 6.71324C2.44658 5.58727 2.93469 4.53017 3.73341 3.73145C4.53213 2.93273 5.58923 2.44463 6.7152 2.35464V2.35464ZM18.2472 10.4952C18.5295 10.2029 18.6858 9.81138 18.6822 9.40497C18.6787 8.99857 18.5157 8.60981 18.2283 8.32242C17.9409 8.03504 17.5522 7.87203 17.1458 7.8685C16.7394 7.86497 16.3478 8.0212 16.0555 8.30354L10.9513 13.4077L8.9472 11.4035C8.65486 11.1212 8.26333 10.965 7.85692 10.9685C7.45052 10.972 7.06176 11.135 6.77438 11.4224C6.48699 11.7098 6.32398 12.0986 6.32045 12.505C6.31692 12.9114 6.47315 13.3029 6.7555 13.5952L9.8555 16.6952C10.1462 16.9858 10.5403 17.1491 10.9513 17.1491C11.3624 17.1491 11.7565 16.9858 12.0472 16.6952L18.2472 10.4952V10.4952Z" fill="#50BE80"/></svg>';var Pu=140;var Ru=40;var Gu=40;var Yu=t("verdocs_status_indicator",function(){function t(t){n(this,t);this.size="normal";this.theme="light";this.containerId="verdocs-status-indicator-".concat(Math.random().toString(36).substring(2,11));this.recipientStatusIcons=[]}t.prototype.componentDidLoad=function(){var t=this;var n;this.popper=u(this.summaryComponent,this.detailPanel,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]});if((n=this.envelope)===null||n===void 0?void 0:n.recipients){var r=[];this.envelope.recipients.forEach((function(t){var n=t.sequence-1;r[n]||(r[n]=[]);var i="r-".concat(n,"-").concat(r[n].length);r[n].push(__assign(__assign({},t),{id:i}))}));var i=Object.keys(r).length;var s=i*Ru+(i+1)*Gu;var o=0;Object.values(r).forEach((function(t){var n=t.length*Pu+(t.length+1)*Gu;if(n>o){o=n}}));var f=[];var a=[];var h=[];var c=Gu;Object.entries(r).forEach((function(n){var i=n[0],u=n[1];var s=u.length*(Pu+Gu);var v=o-s;var l=Gu/2+v/2;u.forEach((function(n,u){var s;var o=e(n);var v={id:n.id,text:o,icon:t.getStatusIcon(n.status),x:u*(Pu+Gu)+l,y:c,width:Pu,height:Ru,color:t.getStatusColor(n.status),radius:8};f.push(v);h.push({icon:t.getStatusIcon(n.status),x:u*(Pu+Gu)+l+(Pu-32),y:c+Ru/2-13});(s=r[+i-1])===null||s===void 0?void 0:s.forEach((function(r){var i={id:"line-".concat(r.id,"-").concat(v.id),from:{element:r.id,point:"bottom"},to:{element:v.id,point:"top"},color:t.getStatusColor(n.status)};a.push(i)}))}));c+=Ru+Gu}));this.recipientStatusIcons=h;var v=mu();v.initalize("#".concat(this.containerId),o,s);v.update({entities:f,lines:a})}};t.prototype.showDropdown=function(){var t,n;this.isOpen=true;this.detailPanel.setAttribute("data-show","");this.detailPanel.removeAttribute("aria-hidden");(t=this.popper)===null||t===void 0?void 0:t.setOptions((function(t){return __assign(__assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));(n=this.popper)===null||n===void 0?void 0:n.update()};t.prototype.handleHideDropdown=function(t){var n,r;if(((n=t===null||t===void 0?void 0:t.target)===null||n===void 0?void 0:n.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"?_u:xu;case"complete":return this.theme==="light"?Au:ku;case"in progress":return this.theme==="light"?Eu:Lu;case"canceled":return this.theme==="light"?ju:Mu;case"declined":return this.theme==="light"?Su:Ou;case"invited":return this.theme==="light"?Eu:Lu;case"opened":return this.theme==="light"?Tu:Vu;case"signed":return this.theme==="light"?Fu:Zu;case"submitted":return this.theme==="light"?Nu:Iu;case"some-signed":return this.theme==="light"?Du:zu;default:case"pending":return this.theme==="light"?Hu:Bu}};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";case"pending":return"Pending";default:return t}};t.prototype.render=function(){var t=this;var n,e;var u=this.status||((n=this.envelope)===null||n===void 0?void 0:n.status)||"pending";if(!this.status&&((e=this.envelope)===null||e===void 0?void 0:e.recipients)){var s=this.envelope.recipients.filter((function(t){return t.status==="submitted"}));if(s.length>0&&s.length!==this.envelope.recipients.length){u="some-signed"}}var o=this.getStatusIcon(u);var f=this.getStatusMessage(u);return r(i,{key:"9c94c90d8fc3640cd0065d4476e822aef432ae66",ref:function(n){return t.summaryComponent=n},class:"".concat(this.theme," ").concat(this.size," ").concat(this.envelope?"has-document":""),"aria-label":"Click to View Details",onClick:function(n){n.stopPropagation();n.preventDefault();t.envelope&&t.toggleDropdown()},onBlur:function(n){return t.envelope&&t.handleHideDropdown(n)}},r("span",{key:"0ef24ac3375647b88d535cdef0157455c787e6e5",class:"icon",innerHTML:o}),r("span",{key:"1bbcabfd32b9599fe100cd16f9bf0c0389ff6511",class:"content"},f),r("div",{key:"976a3cd5ff440cf24b6e086d86a9afc86827c2b8",class:"detail-panel",ref:function(n){return t.detailPanel=n}},r("div",{key:"35b6337d32ae7420676a056648ea18cc474c1c97",id:"".concat(this.containerId)}),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}());Yu.style=bu()}}}));
|
|
2
|
+
//# sourceMappingURL=p-addd303e.system.entry.js.map
|