@verdocs/web-sdk 6.9.10 → 6.9.12

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.
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-CjTHbolG.js";export{s as setNonce}from"./p-CjTHbolG.js";import{g as i}from"./p-DQuL1Twl.js";var d=()=>{const a=import.meta.url;const i={};if(a!==""){i.resourcesUrl=new URL(".",a).href}return e(i)};d().then((async e=>{await i();return a(JSON.parse('[["p-c5039c2d",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-9c6cca6e",[[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-f97ca49e",[[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-1ed16766",[[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-58b84a5a",[[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-50d51d96",[[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-79c46160",[[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-04baf279",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-c89d74b2",[[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-ed953cca",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-810e09ca",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-b0aafc0a",[[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-7f76166a",[[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-0638a269",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-d7284af0",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-60812b90",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-cfb275c5",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-812244ec",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-62b6402f",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-aa6d4398",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-0496538b",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-d4f72da9",[[0,"verdocs-template-card",{"template":[16]}]]],["p-682c5a5c",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-a90b623c",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-f645909b",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-842c345c",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-1f1fc6d7",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-b3f941c2",[[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-b464b598",[[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],"featureFlags":[32],"activeEntitlements":[32]}]]],["p-7de7cb5b",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-9624aa95",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-8adef8f2",[[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-d09a4bb9",[[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-2e76c944",[[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-a4a12a7f",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-2c25292b",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-eceed44b",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-ee84944b",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-421c231a",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-744a9a03",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-12676649",[[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-6abf8f8f",[[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-226be1fc",[[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-143c6b5c",[[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-e632e92c",[[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-f2876180",[[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-9756028f",[[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}]}]]]]'),e)}));
1
+ import{p as e,b as a}from"./p-CjTHbolG.js";export{s as setNonce}from"./p-CjTHbolG.js";import{g as i}from"./p-DQuL1Twl.js";var d=()=>{const a=import.meta.url;const i={};if(a!==""){i.resourcesUrl=new URL(".",a).href}return e(i)};d().then((async e=>{await i();return a(JSON.parse('[["p-c5039c2d",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-9c6cca6e",[[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-f97ca49e",[[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-1ed16766",[[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-58b84a5a",[[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-50d51d96",[[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-79c46160",[[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-04baf279",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-c89d74b2",[[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-ed953cca",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-810e09ca",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-b0aafc0a",[[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-7f76166a",[[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-0638a269",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-d7284af0",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-60812b90",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-cfb275c5",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-812244ec",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-62b6402f",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-aa6d4398",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-0496538b",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-d4f72da9",[[0,"verdocs-template-card",{"template":[16]}]]],["p-682c5a5c",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-a90b623c",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-f645909b",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-842c345c",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-1f1fc6d7",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-b3f941c2",[[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-ae4290c6",[[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],"featureFlags":[32],"activeEntitlements":[32]}]]],["p-7de7cb5b",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-9624aa95",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-8adef8f2",[[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-d09a4bb9",[[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-2e76c944",[[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-a4a12a7f",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-2c25292b",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-eceed44b",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-ee84944b",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-421c231a",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-744a9a03",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-12676649",[[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-6abf8f8f",[[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-226be1fc",[[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-143c6b5c",[[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-e632e92c",[[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-f2876180",[[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-9756028f",[[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}]}]]]]'),e)}));
2
2
  //# sourceMappingURL=verdocs-web-sdk.esm.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/web-sdk",
3
- "version": "6.9.10",
3
+ "version": "6.9.12",
4
4
  "private": false,
5
5
  "description": "Verdocs Web SDK",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "@popperjs/core": "^2.11.8",
35
35
  "@stencil/core": "^4.38.3",
36
36
  "@svgdotjs/svg.js": "^3.2.5",
37
- "@verdocs/js-sdk": "^6.9.10",
37
+ "@verdocs/js-sdk": "^6.9.11",
38
38
  "air-datepicker": "^3.6.0",
39
39
  "choices.js": "^11.2.3",
40
40
  "date-fns": "^4.2.1",
@@ -1,3 +0,0 @@
1
- import{p as e,H as t,c as n,h as o,F as r,t as s}from"./p-yZBlG3YQ.js";import{VerdocsEndpoint as i,formatFullName as c,getActiveEntitlements as a,isValidEmail as l}from"@verdocs/js-sdk";import{c as f,g as u}from"./p-BFTU3MAI.js";import{B as d}from"./p-C_Xku1v2.js";import{c as h}from"./p-BCwFpXpV.js";import{d as p}from"./p-Bdf8pPWm.js";import{d as m}from"./p-REnrt0JM.js";import{d as b}from"./p-wUsR0Dpa.js";import{d as w}from"./p-DQTI8vRX.js";
2
- /*! Axios v1.16.1 Copyright (c) 2026 Matt Zabriskie and contributors */var y;var g;function v(){if(g)return y;g=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const s=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const i=e=>{e=e.toLowerCase();return t=>s(t)===e};const c=e=>t=>typeof t===e;const{isArray:a}=Array;const l=c("undefined");function u(e){return e!==null&&!l(e)&&e.constructor!==null&&!l(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const d=i("ArrayBuffer");function h(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&d(e.buffer)}return t}const p=c("string");const m=c("function");const b=c("number");const w=e=>e!==null&&typeof e==="object";const v=e=>e===true||e===false;const x=e=>{if(s(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=e=>{if(!w(e)||u(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const O=i("Date");const R=i("File");const E=e=>!!(e&&typeof e.uri!=="undefined");const S=e=>e&&typeof e.getParts!=="undefined";const T=i("Blob");const j=i("FileList");const _=e=>w(e)&&m(e.pipe);function C(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof f!=="undefined")return f;return{}}const A=C();const F=typeof A.FormData!=="undefined"?A.FormData:undefined;const N=e=>{if(!e)return false;if(F&&e instanceof F)return true;const t=n(e);if(!t||t===Object.prototype)return false;if(!m(e.append))return false;const o=s(e);return o==="formdata"||o==="object"&&m(e.toString)&&e.toString()==="[object FormData]"};const P=i("URLSearchParams");const[U,B,I,D]=["ReadableStream","Request","Response","Headers"].map(i);const L=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function M(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(a(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{if(u(e)){return}const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const s=r.length;let i;for(o=0;o<s;o++){i=r[o];t.call(null,e[i],i,e)}}}function z(e,t){if(u(e)){return null}t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const q=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:f})();const $=e=>!l(e)&&e!==q;function H(...e){const{caseless:t,skipUndefined:n}=$(this)&&this||{};const o={};const r=(e,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype"){return}const s=t&&z(o,r)||r;const i=ne(o,s)?o[s]:undefined;if(x(i)&&x(e)){o[s]=H(i,e)}else if(x(e)){o[s]=H({},e)}else if(a(e)){o[s]=e.slice()}else if(!n||!l(e)){o[s]=e}};for(let t=0,n=e.length;t<n;t++){e[t]&&M(e[t],r)}return o}const J=(t,n,o,{allOwnKeys:r}={})=>{M(n,((n,r)=>{if(o&&m(n)){Object.defineProperty(t,r,{__proto__:null,value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{__proto__:null,value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const K=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const X=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{__proto__:null,value:t.prototype});n&&Object.assign(e.prototype,n)};const W=(e,t,o,r)=>{let s;let i;let c;const a={};t=t||{};if(e==null)return t;do{s=Object.getOwnPropertyNames(e);i=s.length;while(i-- >0){c=s[i];if((!r||r(c,e,t))&&!a[c]){t[c]=e[c];a[c]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const V=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const G=e=>{if(!e)return null;if(a(e))return e;let t=e.length;if(!b(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const Q=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const Z=(e,t)=>{const n=e&&e[o];const r=n.call(e);let s;while((s=r.next())&&!s.done){const n=s.value;t.call(e,n[0],n[1])}};const Y=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const ee=i("HTMLFormElement");const te=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const ne=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const oe=i("RegExp");const re=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};M(n,((n,r)=>{let s;if((s=t(n,r,e))!==false){o[r]=s||n}}));Object.defineProperties(e,o)};const se=e=>{re(e,((t,n)=>{if(m(e)&&["arguments","caller","callee"].includes(n)){return false}const o=e[n];if(!m(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const ie=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};a(e)?o(e):o(String(e).split(t));return n};const ce=()=>{};const ae=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function le(e){return!!(e&&m(e.append)&&e[r]==="FormData"&&e[o])}const fe=e=>{const t=new WeakSet;const n=e=>{if(w(e)){if(t.has(e)){return}if(u(e)){return e}if(!("toJSON"in e)){t.add(e);const o=a(e)?[]:{};M(e,((e,t)=>{const r=n(e);!l(r)&&(o[t]=r)}));t.delete(e);return o}}return e};return n(e)};const ue=i("AsyncFunction");const de=e=>e&&(w(e)||m(e))&&m(e.then)&&m(e.catch);const he=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{q.addEventListener("message",(({source:n,data:o})=>{if(n===q&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);q.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",m(q.postMessage));const pe=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(q):typeof process!=="undefined"&&process.nextTick||he;const me=e=>e!=null&&m(e[o]);var be={isArray:a,isArrayBuffer:d,isBuffer:u,isFormData:N,isArrayBufferView:h,isString:p,isNumber:b,isBoolean:v,isObject:w,isPlainObject:x,isEmptyObject:k,isReadableStream:U,isRequest:B,isResponse:I,isHeaders:D,isUndefined:l,isDate:O,isFile:R,isReactNativeBlob:E,isReactNative:S,isBlob:T,isRegExp:oe,isFunction:m,isStream:_,isURLSearchParams:P,isTypedArray:Q,isFileList:j,forEach:M,merge:H,extend:J,trim:L,stripBOM:K,inherits:X,toFlatObject:W,kindOf:s,kindOfTest:i,endsWith:V,toArray:G,forEachEntry:Z,matchAll:Y,isHTMLForm:ee,hasOwnProperty:ne,hasOwnProp:ne,reduceDescriptors:re,freezeMethods:se,toObjectSet:ie,toCamelCase:te,noop:ce,toFiniteNumber:ae,findKey:z,global:q,isContextDefined:$,isSpecCompliantForm:le,toJSONObject:fe,isAsyncFn:ue,isThenable:de,setImmediate:he,asap:pe,isIterable:me};const we=be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ye=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(s){r=s.indexOf(":");n=s.substring(0,r).trim().toLowerCase();o=s.substring(r+1).trim();if(!n||t[n]&&we[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};function ge(e){let t=0;let n=e.length;while(t<n){const n=e.charCodeAt(t);if(n!==9&&n!==32){break}t+=1}while(n>t){const t=e.charCodeAt(n-1);if(t!==9&&t!==32){break}n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const ve=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g");const xe=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ke(e,t){if(be.isArray(e)){return e.map((e=>ke(e,t)))}return ge(String(e).replace(t,""))}const Oe=e=>ke(e,ve);const Re=e=>ke(e,xe);function Ee(e){const t=Object.create(null);be.forEach(e.toJSON(),((e,n)=>{t[n]=Re(e)}));return t}const Se=Symbol("internals");function Te(e){return e&&String(e).trim().toLowerCase()}function je(e){if(e===false||e==null){return e}return be.isArray(e)?e.map(je):Oe(String(e))}function _e(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ce=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ae(e,t,n,o,r){if(be.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!be.isString(t))return;if(be.isString(o)){return t.indexOf(o)!==-1}if(be.isRegExp(o)){return o.test(t)}}function Fe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function Ne(e,t){const n=be.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{__proto__:null,value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class Pe{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Te(t);if(!r){throw new Error("header name must be a non-empty string")}const s=be.findKey(o,r);if(!s||o[s]===undefined||n===true||n===undefined&&o[s]!==false){o[s||t]=je(e)}}const s=(e,t)=>be.forEach(e,((e,n)=>r(e,n,t)));if(be.isPlainObject(e)||e instanceof this.constructor){s(e,t)}else if(be.isString(e)&&(e=e.trim())&&!Ce(e)){s(ye(e),t)}else if(be.isObject(e)&&be.isIterable(e)){let n={},o,r;for(const t of e){if(!be.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?be.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}s(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Te(e);if(e){const n=be.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return _e(e)}if(be.isFunction(t)){return t.call(this,e,n)}if(be.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Te(e);if(e){const n=be.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||Ae(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Te(e);if(e){const r=be.findKey(n,e);if(r&&(!t||Ae(n,n[r],r,t))){delete n[r];o=true}}}if(be.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||Ae(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};be.forEach(this,((o,r)=>{const s=be.findKey(n,r);if(s){t[s]=je(o);delete t[r];return}const i=e?Fe(r):String(r).trim();if(i!==r){delete t[r]}t[i]=je(o);n[i]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);be.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&be.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[Se]=this[Se]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Te(e);if(!n[t]){Ne(o,e);n[t]=true}}be.isArray(e)?e.forEach(r):r(e);return this}}Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);be.reduceDescriptors(Pe.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));be.freezeMethods(Pe);const Ue="[REDACTED ****]";function Be(e){if(be.hasOwnProp(e,"toJSON")){return true}let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(be.hasOwnProp(t,"toJSON")){return true}t=Object.getPrototypeOf(t)}return false}function Ie(e,t){const n=new Set(t.map((e=>String(e).toLowerCase())));const o=[];const r=e=>{if(e===null||typeof e!=="object")return e;if(be.isBuffer(e))return e;if(o.indexOf(e)!==-1)return undefined;if(e instanceof Pe){e=e.toJSON()}o.push(e);let t;if(be.isArray(e)){t=[];e.forEach(((e,n)=>{const o=r(e);if(!be.isUndefined(o)){t[n]=o}}))}else{if(!be.isPlainObject(e)&&Be(e)){o.pop();return e}t=Object.create(null);for(const[o,s]of Object.entries(e)){const e=n.has(o.toLowerCase())?Ue:r(s);if(!be.isUndefined(e)){t[o]=e}}}o.pop();return t};return r(e)}class De extends Error{static from(e,t,n,o,r,s){const i=new De(e.message,t||e.code,n,o,r);i.cause=e;i.name=e.name;if(e.status!=null&&i.status==null){i.status=e.status}s&&Object.assign(i,s);return i}constructor(e,t,n,o,r){super(e);Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:true,writable:true,configurable:true});this.name="AxiosError";this.isAxiosError=true;t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status}}toJSON(){const e=this.config;const t=e&&be.hasOwnProp(e,"redact")?e.redact:undefined;const n=be.isArray(t)&&t.length>0?Ie(e,t):be.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}De.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";De.ERR_BAD_OPTION="ERR_BAD_OPTION";De.ECONNABORTED="ECONNABORTED";De.ETIMEDOUT="ETIMEDOUT";De.ECONNREFUSED="ECONNREFUSED";De.ERR_NETWORK="ERR_NETWORK";De.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";De.ERR_DEPRECATED="ERR_DEPRECATED";De.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";De.ERR_BAD_REQUEST="ERR_BAD_REQUEST";De.ERR_CANCELED="ERR_CANCELED";De.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";De.ERR_INVALID_URL="ERR_INVALID_URL";De.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Le=null;function Me(e){return be.isPlainObject(e)||be.isArray(e)}function ze(e){return be.endsWith(e,"[]")?e.slice(0,-2):e}function qe(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=ze(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function $e(e){return be.isArray(e)&&!e.some(Me)}const He=be.toFlatObject(be,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function Je(e,t,n){if(!be.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=be.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!be.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const s=n.dots;const i=n.indexes;const c=n.Blob||typeof Blob!=="undefined"&&Blob;const a=n.maxDepth===undefined?100:n.maxDepth;const l=c&&be.isSpecCompliantForm(t);if(!be.isFunction(r)){throw new TypeError("visitor must be a function")}function f(e){if(e===null)return"";if(be.isDate(e)){return e.toISOString()}if(be.isBoolean(e)){return e.toString()}if(!l&&be.isBlob(e)){throw new De("Blob is not supported. Use a Buffer instead.")}if(be.isArrayBuffer(e)||be.isTypedArray(e)){return l&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(be.isReactNative(t)&&be.isReactNativeBlob(e)){t.append(qe(r,n,s),f(e));return false}if(e&&!r&&typeof e==="object"){if(be.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(be.isArray(e)&&$e(e)||(be.isFileList(e)||be.endsWith(n,"[]"))&&(c=be.toArray(e))){n=ze(n);c.forEach((function e(o,r){!(be.isUndefined(o)||o===null)&&t.append(i===true?qe([n],r,s):i===null?n:n+"[]",f(o))}));return false}}if(Me(e)){return true}t.append(qe(r,n,s),f(e));return false}const d=[];const h=Object.assign(He,{defaultVisitor:u,convertValue:f,isVisitable:Me});function p(e,n,o=0){if(be.isUndefined(e))return;if(o>a){throw new De("Object is too deeply nested ("+o+" levels). Max depth: "+a,De.ERR_FORM_DATA_DEPTH_EXCEEDED)}if(d.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}d.push(e);be.forEach(e,(function e(s,i){const c=!(be.isUndefined(s)||s===null)&&r.call(t,s,be.isString(i)?i.trim():i,n,h);if(c===true){p(s,n?n.concat(i):[i],o+1)}}));d.pop()}if(!be.isObject(e)){throw new TypeError("data must be an object")}p(e);return t}function Ke(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function e(n){return t[n]}))}function Xe(e,t){this._pairs=[];e&&Je(e,this,t)}const We=Xe.prototype;We.append=function e(t,n){this._pairs.push([t,n])};We.toString=function e(t){const n=t?function(e){return t.call(this,e,Ke)}:Ke;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Ve(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ge(e,t,n){if(!t){return e}const o=n&&n.encode||Ve;const r=be.isFunction(n)?{serialize:n}:n;const s=r&&r.serialize;let i;if(s){i=s(t,r)}else{i=be.isURLSearchParams(t)?t.toString():new Xe(t,r).toString(o)}if(i){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Qe{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){be.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ze={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true};var Ye=typeof URLSearchParams!=="undefined"?URLSearchParams:Xe;var et=typeof FormData!=="undefined"?FormData:null;var tt=typeof Blob!=="undefined"?Blob:null;var nt={isBrowser:true,classes:{URLSearchParams:Ye,FormData:et,Blob:tt},protocols:["http","https","file","blob","url","data"]};const ot=typeof window!=="undefined"&&typeof document!=="undefined";const rt=typeof navigator==="object"&&navigator||undefined;const st=ot&&(!rt||["ReactNative","NativeScript","NS"].indexOf(rt.product)<0);const it=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const ct=ot&&window.location.href||"http://localhost";var at=Object.freeze({__proto__:null,hasBrowserEnv:ot,hasStandardBrowserEnv:st,hasStandardBrowserWebWorkerEnv:it,navigator:rt,origin:ct});var lt={...at,...nt};function ft(e,t){return Je(e,new lt.classes.URLSearchParams,{visitor:function(e,t,n,o){if(lt.isNode&&be.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function ut(e){return be.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function dt(e){const t={};const n=Object.keys(e);let o;const r=n.length;let s;for(o=0;o<r;o++){s=n[o];t[s]=e[s]}return t}function ht(e){function t(e,n,o,r){let s=e[r++];if(s==="__proto__")return true;const i=Number.isFinite(+s);const c=r>=e.length;s=!s&&be.isArray(o)?o.length:s;if(c){if(be.hasOwnProp(o,s)){o[s]=be.isArray(o[s])?o[s].concat(n):[o[s],n]}else{o[s]=n}return!i}if(!be.hasOwnProp(o,s)||!be.isObject(o[s])){o[s]=[]}const a=t(e,n,o[s],r);if(a&&be.isArray(o[s])){o[s]=dt(o[s])}return!i}if(be.isFormData(e)&&be.isFunction(e.entries)){const n={};be.forEachEntry(e,((e,o)=>{t(ut(e),o,n,0)}));return n}return null}const pt=(e,t)=>e!=null&&be.hasOwnProp(e,t)?e[t]:undefined;function mt(e,t,n){if(be.isString(e)){try{(0,JSON.parse)(e);return be.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const bt={transitional:Ze,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const s=be.isObject(t);if(s&&be.isHTMLForm(t)){t=new FormData(t)}const i=be.isFormData(t);if(i){return r?JSON.stringify(ht(t)):t}if(be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t)||be.isReadableStream(t)){return t}if(be.isArrayBufferView(t)){return t.buffer}if(be.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(s){const e=pt(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1){return ft(t,e).toString()}if((c=be.isFileList(t))||o.indexOf("multipart/form-data")>-1){const n=pt(this,"env");const o=n&&n.FormData;return Je(c?{"files[]":t}:t,o&&new o,e)}}if(s||r){n.setContentType("application/json",false);return mt(t)}return t}],transformResponse:[function e(t){const n=pt(this,"transitional")||bt.transitional;const o=n&&n.forcedJSONParsing;const r=pt(this,"responseType");const s=r==="json";if(be.isResponse(t)||be.isReadableStream(t)){return t}if(t&&be.isString(t)&&(o&&!r||s)){const e=n&&n.silentJSONParsing;const o=!e&&s;try{return JSON.parse(t,pt(this,"parseReviver"))}catch(e){if(o){if(e.name==="SyntaxError"){throw De.from(e,De.ERR_BAD_RESPONSE,this,null,pt(this,"response"))}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lt.classes.FormData,Blob:lt.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};be.forEach(["delete","get","head","post","put","patch","query"],(e=>{bt.headers[e]={}}));function wt(e,t){const n=this||bt;const o=t||n;const r=Pe.from(o.headers);let s=o.data;be.forEach(e,(function e(o){s=o.call(n,s,r.normalize(),t?t.status:undefined)}));r.normalize();return s}function yt(e){return!!(e&&e.__CANCEL__)}class gt extends De{constructor(e,t,n){super(e==null?"canceled":e,De.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}function vt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new De("Request failed with status code "+n.status,n.status>=400&&n.status<500?De.ERR_BAD_REQUEST:De.ERR_BAD_RESPONSE,n.config,n.request,n))}}function xt(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function kt(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let s=0;let i;t=t!==undefined?t:1e3;return function c(a){const l=Date.now();const f=o[s];if(!i){i=l}n[r]=a;o[r]=l;let u=s;let d=0;while(u!==r){d+=n[u++];u=u%e}r=(r+1)%e;if(r===s){s=(s+1)%e}if(l-i<t){return}const h=f&&l-f;return h?Math.round(d*1e3/h):undefined}}function Ot(e,t){let n=0;let o=1e3/t;let r;let s;const i=(t,o=Date.now())=>{n=o;r=null;if(s){clearTimeout(s);s=null}e(...t)};const c=(...e)=>{const t=Date.now();const c=t-n;if(c>=o){i(e,t)}else{r=e;if(!s){s=setTimeout((()=>{s=null;i(r)}),o-c)}}};const a=()=>r&&i(r);return[c,a]}const Rt=(e,t,n=3)=>{let o=0;const r=kt(50,250);return Ot((n=>{if(!n||typeof n.loaded!=="number"){return}const s=n.loaded;const i=n.lengthComputable?n.total:undefined;const c=i!=null?Math.min(s,i):s;const a=Math.max(0,c-o);const l=r(a);o=Math.max(o,c);const f={loaded:c,total:i,progress:i?c/i:undefined,bytes:a,rate:l?l:undefined,estimated:l&&i?(i-c)/l:undefined,event:n,lengthComputable:i!=null,[t?"download":"upload"]:true};e(f)}),n)};const Et=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const St=e=>(...t)=>be.asap((()=>e(...t)));var Tt=lt.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,lt.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(lt.origin),lt.navigator&&/(msie|trident)/i.test(lt.navigator.userAgent)):()=>true;var jt=lt.hasStandardBrowserEnv?{write(e,t,n,o,r,s,i){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(be.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(be.isString(o)){c.push(`path=${o}`)}if(be.isString(r)){c.push(`domain=${r}`)}if(s===true){c.push("secure")}if(be.isString(i)){c.push(`SameSite=${i}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const o=t[n].replace(/^\s+/,"");const r=o.indexOf("=");if(r!==-1&&o.slice(0,r)===e){return decodeURIComponent(o.slice(r+1))}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function _t(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ct(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function At(e,t,n){let o=!_t(t);if(e&&(o||n===false)){return Ct(e,t)}return t}const Ft=e=>e instanceof Pe?{...e}:e;function Nt(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:false,writable:true,configurable:true});function o(e,t,n,o){if(be.isPlainObject(e)&&be.isPlainObject(t)){return be.merge.call({caseless:o},e,t)}else if(be.isPlainObject(t)){return be.merge({},t)}else if(be.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!be.isUndefined(t)){return o(e,t,n,r)}else if(!be.isUndefined(e)){return o(undefined,e,n,r)}}function s(e,t){if(!be.isUndefined(t)){return o(undefined,t)}}function i(e,t){if(!be.isUndefined(t)){return o(undefined,t)}else if(!be.isUndefined(e)){return o(undefined,e)}}function c(n,r,s){if(be.hasOwnProp(t,s)){return o(n,r)}else if(be.hasOwnProp(e,s)){return o(undefined,n)}}const a={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:c,headers:(e,t,n)=>r(Ft(e),Ft(t),n,true)};be.forEach(Object.keys({...e,...t}),(function o(s){if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=be.hasOwnProp(a,s)?a[s]:r;const l=be.hasOwnProp(e,s)?e[s]:undefined;const f=be.hasOwnProp(t,s)?t[s]:undefined;const u=i(l,f,s);be.isUndefined(u)&&i!==c||(n[s]=u)}));return n}const Pt=["content-type","content-length"];function Ut(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach((([t,n])=>{if(Pt.includes(t.toLowerCase())){e.set(t,n)}}))}const Bt=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,((e,t)=>String.fromCharCode(parseInt(t,16))));var It=e=>{const t=Nt({},e);const n=e=>be.hasOwnProp(t,e)?t[e]:undefined;const o=n("data");let r=n("withXSRFToken");const s=n("xsrfHeaderName");const i=n("xsrfCookieName");let c=n("headers");const a=n("auth");const l=n("baseURL");const f=n("allowAbsoluteUrls");const u=n("url");t.headers=c=Pe.from(c);t.url=Ge(At(l,u,f),e.params,e.paramsSerializer);if(a){c.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?Bt(a.password):"")))}if(be.isFormData(o)){if(lt.hasStandardBrowserEnv||lt.hasStandardBrowserWebWorkerEnv){c.setContentType(undefined)}else if(be.isFunction(o.getHeaders)){Ut(c,o.getHeaders(),n("formDataHeaderPolicy"))}}if(lt.hasStandardBrowserEnv){if(be.isFunction(r)){r=r(t)}const e=r===true||r==null&&Tt(t.url);if(e){const e=s&&i&&jt.read(i);if(e){c.set(s,e)}}}return t};const Dt=typeof XMLHttpRequest!=="undefined";var Lt=Dt&&function(e){return new Promise((function t(n,o){const r=It(e);let s=r.data;const i=Pe.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let f;let u,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(f);r.signal&&r.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=Pe.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!c||c==="text"||c==="json"?b.responseText:b.response;const s={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};vt((function e(t){n(t);m()}),(function e(t){o(t);m()}),s);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new De("Request aborted",De.ECONNABORTED,e,b));m();b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const s=new De(r,De.ERR_NETWORK,e,b);s.event=n||null;o(s);m();b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const s=r.transitional||Ze;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new De(n,s.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,b));m();b=null};s===undefined&&i.setContentType(null);if("setRequestHeader"in b){be.forEach(Ee(i),(function e(t,n){b.setRequestHeader(n,t)}))}if(!be.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=Rt(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[u,h]=Rt(a);b.upload.addEventListener("progress",u);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){f=t=>{if(!b){return}o(!t||t.type?new gt(null,e,b):t);b.abort();m();b=null};r.cancelToken&&r.cancelToken.subscribe(f);if(r.signal){r.signal.aborted?f():r.signal.addEventListener("abort",f)}}const y=xt(r.url);if(y&&!lt.protocols.includes(y)){o(new De("Unsupported protocol "+y+":",De.ERR_BAD_REQUEST,e));return}b.send(s||null)}))};const Mt=(e,t)=>{e=e?e.filter(Boolean):[];if(!t&&!e.length){return}const n=new AbortController;let o=false;const r=function(e){if(!o){o=true;i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof De?t:new gt(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null;r(new De(`timeout of ${t}ms exceeded`,De.ETIMEDOUT))}),t);const i=()=>{if(!e){return}s&&clearTimeout(s);s=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null};e.forEach((e=>e.addEventListener("abort",r)));const{signal:c}=n;c.unsubscribe=()=>be.asap(i);return c};const zt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const qt=async function*(e,t){for await(const n of $t(e)){yield*zt(n,t)}};const $t=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ht=(e,t,n,o)=>{const r=qt(e,t);let s=0;let i;let c=e=>{if(!i){i=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){c();e.close();return}let i=o.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(o))}catch(e){c(e);throw e}},cancel(e){c(e);return r.return()}},{highWaterMark:2})};function Jt(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t);const o=e.slice(t+1);const r=/;base64/i.test(n);if(r){let e=o.length;const t=o.length;for(let n=0;n<t;n++){if(o.charCodeAt(n)===37&&n+2<t){const t=o.charCodeAt(n+1);const r=o.charCodeAt(n+2);const s=(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102);if(s){e-=2;n+=2}}}let n=0;let r=t-1;const s=e=>e>=2&&o.charCodeAt(e-2)===37&&o.charCodeAt(e-1)===51&&(o.charCodeAt(e)===68||o.charCodeAt(e)===100);if(r>=0){if(o.charCodeAt(r)===61){n++;r--}else if(s(r)){n++;r-=3}}if(n===1&&r>=0){if(o.charCodeAt(r)===61){n++}else if(s(r)){n++}}const i=Math.floor(e/4);const c=i*3-(n||0);return c>0?c:0}if(typeof Buffer!=="undefined"&&typeof Buffer.byteLength==="function"){return Buffer.byteLength(o,"utf8")}let s=0;for(let e=0,t=o.length;e<t;e++){const n=o.charCodeAt(e);if(n<128){s+=1}else if(n<2048){s+=2}else if(n>=55296&&n<=56319&&e+1<t){const t=o.charCodeAt(e+1);if(t>=56320&&t<=57343){s+=4;e++}else{s+=3}}else{s+=3}}return s}const Kt="1.16.1";const Xt=64*1024;const{isFunction:Wt}=be;const Vt=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const Gt=e=>{const t=be.global!==undefined&&be.global!==null?be.global:globalThis;const{ReadableStream:n,TextEncoder:o}=t;e=be.merge.call({skipUndefined:true},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:s,Response:i}=e;const c=r?Wt(r):typeof fetch==="function";const a=Wt(s);const l=Wt(i);if(!c){return false}const f=c&&Wt(n);const u=c&&(typeof o==="function"?(e=>t=>e.encode(t))(new o):async e=>new Uint8Array(await new s(e).arrayBuffer()));const d=a&&f&&Vt((()=>{let e=false;const t=new s(lt.origin,{body:new n,method:"POST",get duplex(){e=true;return"half"}});const o=t.headers.has("Content-Type");if(t.body!=null){t.body.cancel()}return e&&!o}));const h=l&&f&&Vt((()=>be.isReadableStream(new i("").body)));const p={stream:h&&(e=>e.body)};c&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!p[e]&&(p[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new De(`Response type '${e}' is not supported`,De.ERR_NOT_SUPPORT,n)})}))})();const m=async e=>{if(e==null){return 0}if(be.isBlob(e)){return e.size}if(be.isSpecCompliantForm(e)){const t=new s(lt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(be.isArrayBufferView(e)||be.isArrayBuffer(e)){return e.byteLength}if(be.isURLSearchParams(e)){e=e+""}if(be.isString(e)){return(await u(e)).byteLength}};const b=async(e,t)=>{const n=be.toFiniteNumber(e.getContentLength());return n==null?m(t):n};return async e=>{let{url:t,method:n,data:c,signal:l,cancelToken:f,timeout:u,onDownloadProgress:m,onUploadProgress:w,responseType:y,headers:g,withCredentials:v="same-origin",fetchOptions:x,maxContentLength:k,maxBodyLength:O}=It(e);const R=be.isNumber(k)&&k>-1;const E=be.isNumber(O)&&O>-1;let S=r||fetch;y=y?(y+"").toLowerCase():"text";let T=Mt([l,f&&f.toAbortSignal()],u);let j=null;const _=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let C;try{if(R&&typeof t==="string"&&t.startsWith("data:")){const n=Jt(t);if(n>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,j)}}if(E&&n!=="get"&&n!=="head"){const t=await b(g,c);if(typeof t==="number"&&isFinite(t)&&t>O){throw new De("Request body larger than maxBodyLength limit",De.ERR_BAD_REQUEST,e,j)}}if(w&&d&&n!=="get"&&n!=="head"&&(C=await b(g,c))!==0){let e=new s(t,{method:"POST",body:c,duplex:"half"});let n;if(be.isFormData(c)&&(n=e.headers.get("content-type"))){g.setContentType(n)}if(e.body){const[t,n]=Et(C,Rt(St(w)));c=Ht(e.body,Xt,t,n)}}if(!be.isString(v)){v=v?"include":"omit"}const r=a&&"credentials"in s.prototype;if(be.isFormData(c)){const e=g.getContentType();if(e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)){g.delete("content-type")}}g.set("User-Agent","axios/"+Kt,false);const l={...x,signal:T,method:n.toUpperCase(),headers:Ee(g.normalize()),body:c,duplex:"half",credentials:r?v:undefined};j=a&&new s(t,l);let f=await(a?S(j,x):S(t,l));if(R){const t=be.toFiniteNumber(f.headers.get("content-length"));if(t!=null&&t>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,j)}}const u=h&&(y==="stream"||y==="response");if(h&&f.body&&(m||R||u&&_)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=f[e]}));const n=be.toFiniteNumber(f.headers.get("content-length"));const[o,r]=m&&Et(n,Rt(St(m),true))||[];let s=0;const c=t=>{if(R){s=t;if(s>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,j)}}o&&o(t)};f=new i(Ht(f.body,Xt,c,(()=>{r&&r();_&&_()})),t)}y=y||"text";let A=await p[be.findKey(p,y)||"text"](f,e);if(R&&!h&&!u){let t;if(A!=null){if(typeof A.byteLength==="number"){t=A.byteLength}else if(typeof A.size==="number"){t=A.size}else if(typeof A==="string"){t=typeof o==="function"?(new o).encode(A).byteLength:A.length}}if(typeof t==="number"&&t>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,j)}}!u&&_&&_();return await new Promise(((t,n)=>{vt(t,n,{data:A,headers:Pe.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:j})}))}catch(t){_&&_();if(T&&T.aborted&&T.reason instanceof De){const n=T.reason;n.config=e;j&&(n.request=j);t!==n&&(n.cause=t);throw n}if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new De("Network Error",De.ERR_NETWORK,e,j,t&&t.response),{cause:t.cause||t})}throw De.from(t,t&&t.code,e,j,t&&t.response)}}};const Qt=new Map;const Zt=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t;const s=[o,r,n];let i=s.length,c=i,a,l,f=Qt;while(c--){a=s[c];l=f.get(a);l===undefined&&f.set(a,l=c?new Map:Gt(t));f=l}return l};Zt();const Yt={http:Le,xhr:Lt,fetch:{get:Zt}};be.forEach(Yt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}}));const en=e=>`- ${e}`;const tn=e=>be.isFunction(e)||e===null||e===false;function nn(e,t){e=be.isArray(e)?e:[e];const{length:n}=e;let o;let r;const s={};for(let i=0;i<n;i++){o=e[i];let n;r=o;if(!tn(o)){r=Yt[(n=String(o)).toLowerCase()];if(r===undefined){throw new De(`Unknown adapter '${n}'`)}}if(r&&(be.isFunction(r)||(r=r.get(t)))){break}s[n||"#"+i]=r}if(!r){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(en).join("\n"):" "+en(e[0]):"as no adapter specified";throw new De(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var on={getAdapter:nn,adapters:Yt};function rn(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new gt(null,e)}}function sn(e){rn(e);e.headers=Pe.from(e.headers);e.data=wt.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=on.getAdapter(e.adapter||bt.adapter,e);return t(e).then((function t(n){rn(e);e.response=n;try{n.data=wt.call(e,e.transformResponse,n)}finally{delete e.response}n.headers=Pe.from(n.headers);return n}),(function t(n){if(!yt(n)){rn(e);if(n&&n.response){e.response=n.response;try{n.response.data=wt.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Pe.from(n.response.headers)}}return Promise.reject(n)}))}const cn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{cn[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const an={};cn.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Kt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,s)=>{if(t===false){throw new De(r(o," has been removed"+(n?" in "+n:"")),De.ERR_DEPRECATED)}if(n&&!an[o]){an[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,s):true}};cn.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function ln(e,t,n){if(typeof e!=="object"){throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const s=o[r];const i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:undefined;if(i){const t=e[s];const n=t===undefined||i(t,s,e);if(n!==true){throw new De("option "+s+" must be "+n,De.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new De("Unknown option "+s,De.ERR_BAD_OPTION)}}}var fn={assertOptions:ln,validators:cn};const un=fn.validators;class dn{constructor(e){this.defaults=e||{};this.interceptors={request:new Qe,response:new Qe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack){return""}const e=t.stack.indexOf("\n");return e===-1?"":t.stack.slice(e+1)})();try{if(!e.stack){e.stack=n}else if(n){const t=n.indexOf("\n");const o=t===-1?-1:n.indexOf("\n",t+1);const r=o===-1?"":n.slice(o+1);if(!String(e.stack).endsWith(r)){e.stack+="\n"+n}}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=Nt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){fn.assertOptions(n,{silentJSONParsing:un.transitional(un.boolean),forcedJSONParsing:un.transitional(un.boolean),clarifyTimeoutError:un.transitional(un.boolean),legacyInterceptorReqResOrdering:un.transitional(un.boolean)},false)}if(o!=null){if(be.isFunction(o)){t.paramsSerializer={serialize:o}}else{fn.assertOptions(o,{encode:un.function,serialize:un.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}fn.assertOptions(t,{baseUrl:un.spelling("baseURL"),withXsrfToken:un.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=r&&be.merge(r.common,r[t.method]);r&&be.forEach(["delete","get","head","post","put","patch","query","common"],(e=>{delete r[e]}));t.headers=Pe.concat(s,r);const i=[];let c=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}c=c&&n.synchronous;const o=t.transitional||Ze;const r=o&&o.legacyInterceptorReqResOrdering;if(r){i.unshift(n.fulfilled,n.rejected)}else{i.push(n.fulfilled,n.rejected)}}));const a=[];this.interceptors.response.forEach((function e(t){a.push(t.fulfilled,t.rejected)}));let l;let f=0;let u;if(!c){const e=[sn.bind(this),undefined];e.unshift(...i);e.push(...a);u=e.length;l=Promise.resolve(t);while(f<u){l=l.then(e[f++],e[f++])}return l}u=i.length;let d=t;while(f<u){const e=i[f++];const t=i[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=sn.call(this,d)}catch(e){return Promise.reject(e)}f=0;u=a.length;while(f<u){l=l.then(a[f++],a[f++])}return l}getUri(e){e=Nt(this.defaults,e);const t=At(e.baseURL,e.url,e.allowAbsoluteUrls);return Ge(t,e.params,e.paramsSerializer)}}be.forEach(["delete","get","head","options"],(function e(t){dn.prototype[t]=function(e,n){return this.request(Nt(n||{},{method:t,url:e,data:(n||{}).data}))}}));be.forEach(["post","put","patch","query"],(function e(t){function n(e){return function n(o,r,s){return this.request(Nt(s||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}dn.prototype[t]=n();if(t!=="query"){dn.prototype[t+"Form"]=n(true)}}));class hn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,s){if(n.reason){return}n.reason=new gt(o,r,s);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new hn((function t(n){e=n}));return{token:t,cancel:e}}}function pn(e){return function t(n){return e.apply(null,n)}}function mn(e){return be.isObject(e)&&e.isAxiosError===true}const bn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(bn).forEach((([e,t])=>{bn[t]=e}));function wn(t){const n=new dn(t);const o=e(dn.prototype.request,n);be.extend(o,dn.prototype,n,{allOwnKeys:true});be.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return wn(Nt(t,n))};return o}const yn=wn(bt);yn.Axios=dn;yn.CanceledError=gt;yn.CancelToken=hn;yn.isCancel=yt;yn.VERSION=Kt;yn.toFormData=Je;yn.AxiosError=De;yn.Cancel=yn.CanceledError;yn.all=function e(t){return Promise.all(t)};yn.spread=pn;yn.isAxiosError=mn;yn.mergeConfig=Nt;yn.AxiosHeaders=Pe;yn.formToJSON=e=>ht(be.isHTMLForm(e)?new FormData(e):e);yn.getAdapter=on.getAdapter;yn.HttpStatusCode=bn;yn.default=yn;y=yn;return y}var x=v();var k=u(x);const O=d.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const R=()=>k.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:O}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const E=()=>`verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}`;const S=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const T=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.searchContacts=n(this,"searchContacts");this.exit=n(this,"exit");this.next=n(this,"next");this.endpoint=i.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.name_locked=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=c(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.name_locked=this.delegator?false:this.templateRole.name_locked||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}a(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));R().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,name_locked:this.name_locked,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,n,s,i,a,f,u,d,p,m,b,w,y,g,v,x,k;const O=this.first_name&&this.last_name&&l(this.email);const R=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const E=O&&R;const T=((n=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||n===void 0?void 0:n.enabled)===true;const j=[];if(((a=(i=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||i===void 0?void 0:i.find((e=>e.name==="passcode-verification")))===null||a===void 0?void 0:a.enabled)===true){j.push({label:"Passcode",value:"passcode"})}if(((d=(u=(f=this.featureFlags)===null||f===void 0?void 0:f.toggles)===null||u===void 0?void 0:u.find((e=>e.name==="email-verification")))===null||d===void 0?void 0:d.enabled)===true){j.push({label:"Email",value:"email"})}if(T&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){j.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(y=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||y===void 0?void 0:y.find((e=>e.name==="kba-verification")))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){j.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((k=(x=(v=this.featureFlags)===null||v===void 0?void 0:v.toggles)===null||x===void 0?void 0:x.find((e=>e.name==="id-verification")))===null||k===void 0?void 0:k.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return o("form",{key:"374d6f0907e09a4c312bcd666eaabf578f8671b5",onSubmit:e=>e.preventDefault(),autocomplete:"off"},o("div",{key:"bbdb01e7229992ff75b3b124fde6a8606769d53c",class:"row"},o("label",{key:"546da7ec599b17cc2e514dcaf47fe41d7107ec11",htmlFor:this.firstNameFieldId},"Name:"),o("div",{key:"e5819a8cb2c261c302a4923561578c5928063e64",class:"names-row"},o("input",{key:"05a471f19b8018993d50f4ba9776864392c13c9d",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),o("input",{key:"4e56ab4161e6bd7894c636619282915243c8aeec",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&o("verdocs-portal",{key:"0a856517832b4dc417627675a0327e5a5e9e4710",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},o("div",{key:"6c0c1747e5ed512ad463c26f220b34db395e8f2c",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return o("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?o("img",{alt:"Avatar",class:"avatar",src:e.picture}):o("div",{class:"avatar",innerHTML:S}),o("div",{class:"details"},o("div",{class:"name"},c(e)),e.email&&o("div",{class:"destination"},e.email),e.phone&&o("div",{class:"destination"},e.phone)))}))))),o("div",{key:"85552b20424fb4884fa88d22c78375fe5c6513e0",class:"row"},o("label",{key:"2b438ee30f3c0115d0445e3f5bfe4ae8b7635073",htmlFor:this.emailFieldId},"Email:"),o("input",{key:"a349fb9e534ed7786268d9aac9184fc38a8a102e",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),T&&o("div",{key:"f015a535d0a37d94eb73b145342d00dde7b63a50",class:"row"},o("label",{key:"eff877e183e38de65ca11e535b81e11b5ee1bd92",htmlFor:this.phoneFieldId},"Phone:"),o("input",{key:"41db6e4607189c0b0da0ef658b1fbafcfeab92ba",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=h(e.target.value)}})),o(r,{key:"c037e234e206b1cd45bf91649f211ebe42f885fe"},j.length>0&&o("div",{key:"23fa9db672498199d7c053b258669e0676852322",class:"row pin-code"},o("label",{key:"d5208d3cd083716589aa6c18dbd85ba88ca208b3"},"Verification Methods:"),o("div",{key:"f239551b28d2ca51b8f9ab5ec64bfdfdce4bf823"},j.map(((e,t)=>o("div",{class:"option"},o("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),o("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&o("div",{key:"d57e7078dfefb1c816a15c52a8aa44eae62a5557",class:"row pin-code"},o("label",{key:"df97978ae0e4c176c7d6ca38850537d3d6db5ce3",htmlFor:this.phoneFieldId},"Passcode:"),o("input",{key:"7791e5a2d856bdd9dbbfcf8c339531e3e5c5e52b",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),o("div",{key:"7de2d50963399db273bd1d38941ea967a2d92827",class:"row pin-code"},o("label",{key:"d0202a6e0969b405d303cdc291dee95048460b43",style:{marginTop:"6px"}},"Options:"),o("div",{key:"52f68972a5fee697972fa9baa284ca6a37830ab9"},o("div",{key:"8e15a3caa1e4ce0cbb943fb7bfaaf274d4410de3",class:"option"},o("verdocs-checkbox",{key:"7d21cafec340458f1c6a06b577fad30bbd5680eb",size:"small",id:"verdocs-delegator",checked:this.delegator,disabled:this.name_locked,onInput:e=>{this.delegator=e.target.checked;if(this.delegator)this.name_locked=false}}),o("label",{key:"2b96fb477ce41038cf9d115e9fabf102d670d801",htmlFor:"verdocs-delegator"},"May delegate signing")),o("div",{key:"7f616562ee03e6026bf09b355ae20720b45655b0",class:"option"},o("verdocs-checkbox",{key:"47bfa40e403ddf6da8cba33fda8ebff05625d353",size:"small",id:"verdocs-name-locked",checked:this.name_locked,disabled:this.delegator,onInput:e=>{this.name_locked=e.target.checked;if(this.name_locked)this.delegator=false}}),o("label",{key:"382d0b92f8999dc1a0adaa91d00c6c0f95a17552",htmlFor:"verdocs-name-locked"},"Name locked")))),o("div",{key:"6797886d95d1e08dc0c018e89cf6040aa60b02ff",class:"row message"},o("label",{key:"cb6f04c40e1b6601d0292e248b26cb4f2519e7d9",htmlFor:"verdocs-contact-picker-message"},"Message:"),o("textarea",{key:"018a9162f52e73650283a7f2271a99352008085c",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),o("div",{key:"d2f04563ad450f4c6c0c19735a064d01182cf458",class:"buttons"},o("div",{key:"43f240077f3c5b3e252c60a277668c94c9163b24",class:"flex-fill"}),o("verdocs-button",{key:"f758cb6d10b3deb58d13aaf54c212e6455933104",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),o("verdocs-button",{key:"3aa451a2d6d23ada4a7a5ddb5843b22954b69161",label:"OK",size:"small",disabled:!E,onClick:!E?()=>{}:e=>this.handleSubmit(e)})))}static get style(){return E()}},[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],featureFlags:[32],activeEntitlements:[32]}]);function j(){if(typeof customElements==="undefined"){return}const e=["verdocs-contact-picker","verdocs-button","verdocs-checkbox","verdocs-flag","verdocs-portal"];e.forEach((e=>{switch(e){case"verdocs-contact-picker":if(!customElements.get(s(e))){customElements.define(s(e),T)}break;case"verdocs-button":if(!customElements.get(s(e))){p()}break;case"verdocs-checkbox":if(!customElements.get(s(e))){m()}break;case"verdocs-flag":if(!customElements.get(s(e))){b()}break;case"verdocs-portal":if(!customElements.get(s(e))){w()}break}}))}export{T as V,j as d};
3
- //# sourceMappingURL=p-CT0DHyPw.js.map