UNPKG

@spiffcommerce/core

Version:

Core client API for interacting with the Spiff Commerce backend.

1 lines • 7.31 MB
{"version":3,"file":"index-CLSBoA2B.cjs","sources":["../../../node_modules/tslib/tslib.es6.mjs","../../../node_modules/ts-invariant/lib/invariant.js","../node_modules/@apollo/client/version.js","../node_modules/@apollo/client/utilities/globals/maybe.js","../node_modules/@apollo/client/utilities/globals/global.js","../node_modules/@apollo/client/utilities/common/makeUniqueId.js","../node_modules/@apollo/client/utilities/common/stringifyForDisplay.js","../node_modules/@apollo/client/utilities/globals/invariantWrappers.js","../../../node_modules/graphql/jsutils/devAssert.mjs","../../../node_modules/graphql/jsutils/isObjectLike.mjs","../../../node_modules/graphql/jsutils/invariant.mjs","../../../node_modules/graphql/language/location.mjs","../../../node_modules/graphql/language/printLocation.mjs","../../../node_modules/graphql/error/GraphQLError.mjs","../../../node_modules/graphql/error/syntaxError.mjs","../../../node_modules/graphql/language/ast.mjs","../../../node_modules/graphql/language/directiveLocation.mjs","../../../node_modules/graphql/language/kinds.mjs","../../../node_modules/graphql/language/characterClasses.mjs","../../../node_modules/graphql/language/blockString.mjs","../../../node_modules/graphql/language/tokenKind.mjs","../../../node_modules/graphql/language/lexer.mjs","../../../node_modules/graphql/jsutils/inspect.mjs","../../../node_modules/graphql/jsutils/instanceOf.mjs","../../../node_modules/graphql/language/source.mjs","../../../node_modules/graphql/language/parser.mjs","../../../node_modules/graphql/language/printString.mjs","../../../node_modules/graphql/language/visitor.mjs","../../../node_modules/graphql/language/printer.mjs","../../../node_modules/graphql/language/predicates.mjs","../node_modules/@apollo/client/utilities/graphql/directives.js","../../../node_modules/@wry/trie/lib/index.js","../node_modules/@apollo/client/utilities/common/canUse.js","../node_modules/@apollo/client/utilities/common/objects.js","../node_modules/@apollo/client/utilities/graphql/fragments.js","../../../node_modules/@wry/caches/lib/strong.js","../../../node_modules/@wry/caches/lib/weak.js","../node_modules/@apollo/client/utilities/caching/caches.js","../node_modules/@apollo/client/utilities/caching/sizes.js","../node_modules/@apollo/client/utilities/common/canonicalStringify.js","../node_modules/@apollo/client/utilities/graphql/storeUtils.js","../node_modules/@apollo/client/utilities/graphql/getFromAST.js","../../../node_modules/@wry/context/lib/slot.js","../../../node_modules/@wry/context/lib/index.js","../../../node_modules/optimism/lib/context.js","../../../node_modules/optimism/lib/helpers.js","../../../node_modules/optimism/lib/entry.js","../../../node_modules/optimism/lib/dep.js","../../../node_modules/optimism/lib/index.js","../node_modules/@apollo/client/utilities/graphql/DocumentTransform.js","../node_modules/@apollo/client/utilities/graphql/print.js","../node_modules/@apollo/client/utilities/common/arrays.js","../node_modules/@apollo/client/utilities/graphql/transform.js","../node_modules/@apollo/client/utilities/common/mergeDeep.js","../../../node_modules/zen-observable-ts/module.js","../../../node_modules/symbol-observable/es/ponyfill.js","../../../node_modules/symbol-observable/es/index.js","../node_modules/@apollo/client/utilities/observables/Observable.js","../node_modules/@apollo/client/utilities/promises/preventUnhandledRejection.js","../node_modules/@apollo/client/utilities/common/cloneDeep.js","../node_modules/@apollo/client/utilities/observables/iteration.js","../node_modules/@apollo/client/utilities/observables/asyncMap.js","../node_modules/@apollo/client/utilities/observables/subclassing.js","../node_modules/@apollo/client/utilities/observables/Concast.js","../node_modules/@apollo/client/utilities/common/incrementalResult.js","../node_modules/@apollo/client/utilities/common/errorHandling.js","../node_modules/@apollo/client/utilities/common/compact.js","../node_modules/@apollo/client/utilities/common/mergeOptions.js","../node_modules/@apollo/client/utilities/common/omitDeep.js","../node_modules/@apollo/client/utilities/common/stripTypename.js","../node_modules/@apollo/client/utilities/deprecation/index.js","../node_modules/@apollo/client/link/utils/fromError.js","../node_modules/@apollo/client/link/utils/throwServerError.js","../node_modules/@apollo/client/link/utils/validateOperation.js","../node_modules/@apollo/client/link/utils/createOperation.js","../node_modules/@apollo/client/link/utils/transformOperation.js","../node_modules/@apollo/client/link/utils/filterOperationVariables.js","../node_modules/@apollo/client/link/core/ApolloLink.js","../node_modules/@apollo/client/link/core/from.js","../node_modules/@apollo/client/link/core/execute.js","../node_modules/@apollo/client/link/http/iterators/async.js","../node_modules/@apollo/client/link/http/iterators/nodeStream.js","../node_modules/@apollo/client/link/http/iterators/promise.js","../node_modules/@apollo/client/link/http/iterators/reader.js","../node_modules/@apollo/client/link/http/responseIterator.js","../node_modules/@apollo/client/errors/index.js","../node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js","../node_modules/@apollo/client/link/http/serializeFetchParameter.js","../node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js","../node_modules/@apollo/client/link/http/selectURI.js","../node_modules/@apollo/client/link/http/rewriteURIForGET.js","../node_modules/@apollo/client/link/http/createHttpLink.js","../node_modules/@apollo/client/link/http/HttpLink.js","../../../node_modules/@wry/equality/lib/index.js","../node_modules/@apollo/client/core/equalByQuery.js","../node_modules/@apollo/client/masking/utils.js","../node_modules/@apollo/client/masking/maskDefinition.js","../node_modules/@apollo/client/masking/maskFragment.js","../node_modules/@apollo/client/masking/maskOperation.js","../node_modules/@apollo/client/cache/core/cache.js","../node_modules/@apollo/client/cache/core/types/common.js","../node_modules/@apollo/client/cache/inmemory/helpers.js","../node_modules/@apollo/client/cache/inmemory/entityStore.js","../node_modules/@apollo/client/cache/inmemory/object-canon.js","../node_modules/@apollo/client/cache/inmemory/readFromStore.js","../node_modules/@apollo/client/cache/inmemory/reactiveVars.js","../node_modules/@apollo/client/cache/inmemory/key-extractor.js","../node_modules/@apollo/client/cache/inmemory/policies.js","../node_modules/@apollo/client/cache/inmemory/writeToStore.js","../node_modules/@apollo/client/cache/inmemory/inMemoryCache.js","../node_modules/@apollo/client/core/networkStatus.js","../node_modules/@apollo/client/core/ObservableQuery.js","../node_modules/@apollo/client/core/QueryInfo.js","../node_modules/@apollo/client/core/QueryManager.js","../node_modules/@apollo/client/core/LocalState.js","../node_modules/@apollo/client/core/ApolloClient.js","../../../node_modules/graphql-tag/lib/index.js","../src/types.ts","../src/util/exception.ts","../src/services/persistence.ts","../node_modules/@apollo/client/link/context/index.js","../node_modules/@apollo/client/link/error/index.js","../src/Configuration.ts","../node_modules/react/cjs/react.production.min.js","../node_modules/react/cjs/react.development.js","../node_modules/react/index.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js","../node_modules/react-dom/cjs/react-dom-server.browser.development.js","../node_modules/react-dom/server.browser.js","../src/util/crossplatform.ts","../node_modules/@apollo/client/link/remove-typename/removeTypenameFromVariables.js","../node_modules/@apollo/client/link/retry/delayFunction.js","../node_modules/@apollo/client/link/retry/retryFunction.js","../node_modules/@apollo/client/link/retry/retryLink.js","../src/services/server.ts","../src/customCanvas.ts","../../../node_modules/exifr/dist/mini.umd.cjs","../src/util/image.ts","../../../node_modules/css/lib/parse/index.js","../../../node_modules/css/index.js","../../../node_modules/fuse.js/dist/fuse.mjs","../src/util/color.ts","../src/util/illustration.ts","../src/services/asset.ts","../src/services/promiseCache.ts","../src/util/asset.ts","../src/services/option.ts","../src/query.ts","../../../node_modules/performance-now/lib/performance-now.js","../../../node_modules/raf/index.js","../../../node_modules/rgbcolor/index.js","../../../node_modules/svg-pathdata/lib/SVGPathData.module.js","../../../node_modules/stackblur-canvas/dist/stackblur-es.js","../../../node_modules/pith/dist/index.mjs","../src/WorkflowManager/scenes/index.ts","../src/util/PromiseQueue/index.ts","../../../node_modules/lodash.clonedeep/index.js","../../../node_modules/lodash.isequal/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/util/guid.ts","../src/Elements/SVGLayout.tsx","../src/util/math.ts","../src/Elements/Image.tsx","../src/Elements/Group.tsx","../src/Elements/Frame.tsx","../../../node_modules/opentype.js/dist/opentype.module.js","../../../node_modules/html-entities/dist/esm/named-references.js","../../../node_modules/html-entities/dist/esm/numeric-unicode-map.js","../../../node_modules/html-entities/dist/esm/surrogate-pairs.js","../../../node_modules/html-entities/dist/esm/index.js","../src/util/font.ts","../src/text/algorithm/traditional.ts","../src/text/shared.ts","../../../node_modules/handlebars/dist/cjs/handlebars/utils.js","../../../node_modules/handlebars/dist/cjs/handlebars/exception.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js","../../../node_modules/handlebars/dist/cjs/handlebars/helpers.js","../../../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js","../../../node_modules/handlebars/dist/cjs/handlebars/decorators.js","../../../node_modules/handlebars/dist/cjs/handlebars/logger.js","../../../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js","../../../node_modules/handlebars/dist/cjs/handlebars/base.js","../../../node_modules/handlebars/dist/cjs/handlebars/safe-string.js","../../../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js","../../../node_modules/handlebars/dist/cjs/handlebars/runtime.js","../../../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js","../../../node_modules/handlebars/dist/cjs/handlebars.runtime.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js","../../../node_modules/source-map/lib/base64.js","../../../node_modules/source-map/lib/base64-vlq.js","../../../node_modules/source-map/lib/util.js","../../../node_modules/source-map/lib/array-set.js","../../../node_modules/source-map/lib/mapping-list.js","../../../node_modules/source-map/lib/source-map-generator.js","../../../node_modules/source-map/lib/binary-search.js","../../../node_modules/source-map/lib/quick-sort.js","../../../node_modules/source-map/lib/source-map-consumer.js","../../../node_modules/source-map/lib/source-node.js","../../../node_modules/source-map/source-map.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js","../../../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js","../../../node_modules/handlebars/dist/cjs/handlebars.js","../src/util/text.ts","../src/Elements/Textbox.tsx","../src/Elements/Illustration.tsx","../src/CommandContext.tsx","../../../node_modules/data-uri-to-buffer/dist/common.js","../../../node_modules/data-uri-to-buffer/dist/index.js","../src/util/frame.ts","../src/Elements/factory.ts","../src/LayoutsState.ts","../src/command.ts","../src/services/SilentStepHandler/index.ts","../../../node_modules/qrcode/lib/can-promise.js","../../../node_modules/qrcode/lib/core/utils.js","../../../node_modules/qrcode/lib/core/error-correction-level.js","../../../node_modules/qrcode/lib/core/bit-buffer.js","../../../node_modules/qrcode/lib/core/bit-matrix.js","../../../node_modules/qrcode/lib/core/alignment-pattern.js","../../../node_modules/qrcode/lib/core/finder-pattern.js","../../../node_modules/qrcode/lib/core/mask-pattern.js","../../../node_modules/qrcode/lib/core/error-correction-code.js","../../../node_modules/qrcode/lib/core/galois-field.js","../../../node_modules/qrcode/lib/core/polynomial.js","../../../node_modules/qrcode/lib/core/reed-solomon-encoder.js","../../../node_modules/qrcode/lib/core/version-check.js","../../../node_modules/qrcode/lib/core/regex.js","../../../node_modules/qrcode/lib/core/mode.js","../../../node_modules/qrcode/lib/core/version.js","../../../node_modules/qrcode/lib/core/format-info.js","../../../node_modules/qrcode/lib/core/numeric-data.js","../../../node_modules/qrcode/lib/core/alphanumeric-data.js","../../../node_modules/qrcode/lib/core/byte-data.js","../../../node_modules/qrcode/lib/core/kanji-data.js","../../../node_modules/dijkstrajs/dijkstra.js","../../../node_modules/qrcode/lib/core/segments.js","../../../node_modules/qrcode/lib/core/qrcode.js","../../../node_modules/qrcode/lib/renderer/utils.js","../../../node_modules/qrcode/lib/renderer/canvas.js","../../../node_modules/qrcode/lib/renderer/svg-tag.js","../../../node_modules/qrcode/lib/browser.js","../src/services/shortener.ts","../src/util/Poller.ts","../src/services/steps/digitalContent.ts","../src/services/steps/frame/index.ts","../src/services/steps/illustration.ts","../src/services/steps/material.ts","../src/services/steps/model.ts","../../../node_modules/unicode-default-word-boundary/lib/gen/WordBreakProperty.js","../../../node_modules/unicode-default-word-boundary/lib/findBoundaries.js","../../../node_modules/unicode-default-word-boundary/lib/index.js","../src/services/steps/module.ts","../src/services/steps/picture.ts","../src/services/steps/question.ts","../src/services/steps/shape.ts","../src/services/toast.ts","../src/text/algorithm/autosize.ts","../src/services/steps/text/index.ts","../src/module/ModuleProduct.ts","../src/module/products/Vegemite/font.ts","../src/module/svg/elements.ts","../src/module/svg/modify.ts","../src/module/svg/Warp.ts","../../../node_modules/svgpath/lib/path_parse.js","../../../node_modules/svgpath/lib/matrix.js","../../../node_modules/svgpath/lib/transform_parse.js","../../../node_modules/svgpath/lib/a2c.js","../../../node_modules/svgpath/lib/ellipse.js","../../../node_modules/svgpath/lib/svgpath.js","../../../node_modules/svgpath/index.js","../../../node_modules/svg-path-bbox/dist/index.js","../src/module/products/Vegemite/index.ts","../src/module/resolver.ts","../src/generation/index.ts","../src/WorkflowManager/LayoutPreviewService/index.ts","../src/GlobalPropertyStateManager/query.ts","../src/Bundle/query.ts","../src/util/object.ts","../src/WorkflowManager/index.ts","../src/stepHandles/resource/variant.ts","../src/stepHandles/index.ts","../src/stepHandles/steps/illustration.ts","../src/stepHandles/steps/material.ts","../src/stepHandles/steps/model.ts","../src/stepHandles/steps/picture.ts","../src/stepHandles/steps/question.ts","../src/stepHandles/steps/shape.ts","../src/stepHandles/steps/text.ts","../src/stepHandles/steps/information.ts","../src/stepHandles/steps/digitalContent.ts","../src/stepHandles/steps/module.ts","../src/stepHandles/factory.ts","../../../node_modules/lodash.chunk/index.js","../src/services/design.ts","../../../node_modules/lodash.debounce/index.js","../src/WorkflowExperience/index.ts","../src/GlobalPropertyConfiguration/index.ts","../../../node_modules/lodash.omit/index.js","../src/util/omitDeep.ts","../src/GlobalPropertyStateManager/index.ts","../src/Bundle/stateManager.ts","../src/services/metafield.ts","../src/productCollection.ts","../src/util/event.ts","../src/Bundle/index.ts","../src/flowService.ts","../src/integration.ts","../src/customer.ts","../src/services/graphql.ts","../../../node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js","../../../node_modules/@smithy/types/dist-es/endpoint.js","../../../node_modules/@smithy/types/dist-es/extensions/checksum.js","../../../node_modules/@smithy/types/dist-es/middleware.js","../../../node_modules/@smithy/protocol-http/dist-es/httpRequest.js","../../../node_modules/@smithy/protocol-http/dist-es/httpResponse.js","../../../node_modules/@aws-sdk/middleware-host-header/dist-es/index.js","../../../node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js","../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js","../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js","../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js","../../../node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js","../../../node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js","../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js","../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js","../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js","../../../node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js","../../../node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js","../../../node_modules/@smithy/core/dist-es/normalizeProvider.js","../../../node_modules/@smithy/util-base64/dist-es/constants.browser.js","../../../node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js","../../../node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js","../../../node_modules/@smithy/util-utf8/dist-es/toUint8Array.js","../../../node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js","../../../node_modules/@smithy/util-base64/dist-es/toBase64.browser.js","../../../node_modules/@smithy/core/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js","../../../node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js","../../../node_modules/@smithy/querystring-builder/dist-es/index.js","../../../node_modules/@smithy/fetch-http-handler/dist-es/create-request.js","../../../node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js","../../../node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js","../../../node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js","../../../node_modules/@smithy/util-hex-encoding/dist-es/index.js","../../../node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/deref.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js","../../../node_modules/@smithy/querystring-parser/dist-es/index.js","../../../node_modules/@smithy/url-parser/dist-es/index.js","../../../node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js","../../../node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js","../../../node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js","../../../node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js","../../../node_modules/@smithy/uuid/dist-es/randomUUID.browser.js","../../../node_modules/@smithy/uuid/dist-es/v4.js","../../../node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js","../../../node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js","../../../node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js","../../../node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js","../../../node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js","../../../node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js","../../../node_modules/@smithy/core/dist-es/setFeature.js","../../../node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js","../../../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js","../../../node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js","../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js","../../../node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js","../../../node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js","../../../node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js","../../../node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/not.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/substring.js","../../../node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js","../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js","../../../node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js","../../../node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js","../../../node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js","../../../node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js","../../../node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js","../../../node_modules/@aws-sdk/middleware-user-agent/node_modules/@smithy/util-retry/dist-es/config.js","../../../node_modules/@smithy/service-error-classification/dist-es/constants.js","../../../node_modules/@smithy/service-error-classification/dist-es/index.js","../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js","../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js","../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js","../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js","../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js","../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js","../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js","../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js","../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js","../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js","../../../node_modules/@smithy/middleware-content-length/dist-es/index.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js","../../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js","../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/config.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/constants.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/middleware-retry/dist-es/util.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/middleware-retry/dist-es/configurations.js","../../../node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js","../../../node_modules/@smithy/smithy-client/dist-es/client.js","../../../node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js","../../../node_modules/@smithy/smithy-client/dist-es/command.js","../../../node_modules/@smithy/smithy-client/dist-es/exceptions.js","../../../node_modules/@smithy/smithy-client/dist-es/defaults-mode.js","../../../node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js","../../../node_modules/@smithy/smithy-client/dist-es/extensions/retry.js","../../../node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js","../../../node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js","../../../node_modules/@smithy/property-provider/dist-es/memoize.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/constants.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js","../../../node_modules/@smithy/is-array-buffer/dist-es/index.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/headerUtil.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/utilDate.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js","../../../node_modules/@aws-sdk/core/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/auth/httpAuthSchemeProvider.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/endpoint/EndpointParameters.js","../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js","../../../node_modules/@aws-crypto/util/build/module/convertToBuffer.js","../../../node_modules/@aws-crypto/util/build/module/isEmptyData.js","../../../node_modules/@aws-crypto/sha256-browser/build/module/constants.js","../../../node_modules/@aws-sdk/util-locate-window/dist-es/index.js","../../../node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js","../../../node_modules/@aws-crypto/sha256-js/build/module/constants.js","../../../node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js","../../../node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js","../../../node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js","../../../node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js","../../../node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js","../../../node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js","../../../node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js","../../../node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js","../../../node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js","../../../node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/endpoint/ruleset.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/endpoint/endpointResolver.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/models/CognitoIdentityProviderServiceException.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/models/errors.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/schemas/schemas_0.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/runtimeConfig.shared.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/runtimeConfig.browser.js","../../../node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/auth/httpAuthExtensionConfiguration.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/runtimeExtensions.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/CognitoIdentityProviderClient.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/commands/InitiateAuthCommand.js","../../../node_modules/@aws-sdk/client-cognito-identity-provider/dist-es/commands/RespondToAuthChallengeCommand.js","../src/services/userPool.ts","../../../node_modules/dinero.js/build/esm/dinero.js","../../../node_modules/first-match/index.js","../../../node_modules/nub/index.js","../../../node_modules/currency-codes/data.js","../../../node_modules/currency-codes/iso-4217-publish-date.js","../../../node_modules/currency-codes/index.js","../src/currency.ts","../src/client.ts","../src/services/steps/frame/Service.ts","../src/WorkflowManager/mock.ts","../src/stepHandles/steps/frame.ts","../src/customerPortal/queries.ts","../src/customerPortal/functions.ts","../src/addressValidation.ts","../src/util/integrationProduct.ts"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f