{"version":3,"file":"bundle.js","sources":["../../node_modules/svelte/internal/index.mjs","../../node_modules/svelte/store/index.mjs","../../src/helpers/storage/sessions.js","../../node_modules/svelte-spa-router/Router.svelte","../../node_modules/regexparam/dist/index.mjs","../../src/components/Layouts/Layout_Modal.svelte","../../src/Routes/Login/LoadingModal.svelte","../../node_modules/@aws-amplify/core/lib-esm/Util/Constants.js","../../node_modules/@aws-amplify/core/lib-esm/Logger/ConsoleLogger.js","../../node_modules/@aws-amplify/core/lib-esm/Amplify.js","../../node_modules/@aws-amplify/core/lib-esm/Platform/index.js","../../node_modules/@aws-amplify/core/lib-esm/Hub.js","../../node_modules/@aws-amplify/core/lib-esm/I18n/I18n.js","../../node_modules/@aws-amplify/core/lib-esm/I18n/index.js","../../node_modules/@aws-amplify/core/lib-esm/JS.js","../../node_modules/@aws-sdk/util-hex-encoding/dist/es/index.js","../../node_modules/rollup-plugin-node-builtins/src/es6/punycode.js","../../node_modules/process-es6/browser.js","../../node_modules/rollup-plugin-node-builtins/src/es6/util.js","../../node_modules/rollup-plugin-node-builtins/src/es6/qs.js","../../node_modules/rollup-plugin-node-builtins/src/es6/url.js","../../node_modules/@aws-amplify/core/lib-esm/Util/Retry.js","../../node_modules/@aws-amplify/core/lib-esm/Parser.js","../../node_modules/tslib/tslib.es6.mjs","../../node_modules/@aws-sdk/util-utf8-browser/dist/es/index.js","../../node_modules/@aws-sdk/util-utf8-browser/dist/es/whatwgEncodingApi.js","../../node_modules/@aws-sdk/util-utf8-browser/dist/es/pureJs.js","../../node_modules/@aws-sdk/util-locate-window/dist-es/index.js","../../node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js","../../node_modules/@aws-crypto/ie11-detection/build/Key.js","../../node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js","../../node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js","../../node_modules/@aws-crypto/ie11-detection/build/MsWindow.js","../../node_modules/@aws-crypto/ie11-detection/build/index.js","../../node_modules/@aws-sdk/fetch-http-handler/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/protocol-http/dist/es/httpResponse.js","../../node_modules/@aws-sdk/protocol-http/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/protocol-http/dist/es/httpRequest.js","../../node_modules/@aws-sdk/util-uri-escape/dist/es/escape-uri.js","../../node_modules/@aws-sdk/querystring-builder/dist/es/index.js","../../node_modules/@aws-sdk/querystring-builder/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/util-base64-browser/dist/es/index.js","../../node_modules/@aws-sdk/fetch-http-handler/dist/es/fetch-http-handler.js","../../node_modules/@aws-sdk/fetch-http-handler/dist/es/request-timeout.js","../../node_modules/@aws-sdk/fetch-http-handler/dist/es/stream-collector.js","../../node_modules/@aws-sdk/invalid-dependency/dist/es/invalidProvider.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/retryMiddleware.js","../../node_modules/@aws-sdk/service-error-classification/dist/es/constants.js","../../node_modules/@aws-sdk/service-error-classification/dist/es/index.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/uuid/lib/rng-browser.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/uuid/v1.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/uuid/v4.js","../../node_modules/@aws-sdk/middleware-retry/node_modules/uuid/index.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/delayDecider.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/constants.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/retryDecider.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/defaultStrategy.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/defaultRetryQuota.js","../../node_modules/@aws-sdk/middleware-retry/dist/es/configurations.js","../../node_modules/bowser/es5.js","../../node_modules/@aws-sdk/querystring-parser/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/querystring-parser/dist/es/index.js","../../node_modules/@aws-sdk/url-parser/dist/es/index.js","../../node_modules/@aws-sdk/config-resolver/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/config-resolver/dist/es/EndpointsConfig.js","../../node_modules/@aws-sdk/config-resolver/dist/es/RegionConfig.js","../../node_modules/@aws-sdk/middleware-content-length/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/middleware-content-length/dist/es/index.js","../../node_modules/@aws-sdk/middleware-signing/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/signature-v4/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/signature-v4/dist/es/constants.js","../../node_modules/@aws-sdk/signature-v4/dist/es/credentialDerivation.js","../../node_modules/@aws-sdk/signature-v4/dist/es/getCanonicalHeaders.js","../../node_modules/@aws-sdk/signature-v4/dist/es/getPayloadHash.js","../../node_modules/@aws-sdk/is-array-buffer/dist/es/index.js","../../node_modules/@aws-sdk/signature-v4/dist/es/cloneRequest.js","../../node_modules/@aws-sdk/signature-v4/dist/es/prepareRequest.js","../../node_modules/@aws-sdk/signature-v4/dist/es/utilDate.js","../../node_modules/@aws-sdk/signature-v4/dist/es/SignatureV4.js","../../node_modules/@aws-sdk/signature-v4/dist/es/moveHeadersToQuery.js","../../node_modules/@aws-sdk/signature-v4/dist/es/hasHeader.js","../../node_modules/@aws-sdk/signature-v4/dist/es/getCanonicalQuery.js","../../node_modules/@aws-sdk/middleware-signing/dist/es/configurations.js","../../node_modules/@aws-sdk/middleware-stack/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/middleware-stack/dist/es/MiddlewareStack.js","../../node_modules/@aws-sdk/smithy-client/dist/es/client.js","../../node_modules/@aws-sdk/smithy-client/dist/es/command.js","../../node_modules/@aws-sdk/smithy-client/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/smithy-client/dist/es/lazy-json.js","../../node_modules/@aws-sdk/middleware-serde/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/middleware-serde/dist/es/deserializerMiddleware.js","../../node_modules/@aws-sdk/middleware-serde/dist/es/serdePlugin.js","../../node_modules/@aws-sdk/middleware-serde/dist/es/serializerMiddleware.js","../../node_modules/@aws-amplify/core/lib-esm/OAuthHelper/GoogleOAuth.js","../../node_modules/@aws-amplify/core/lib-esm/OAuthHelper/FacebookOAuth.js","../../node_modules/@aws-amplify/core/lib-esm/OAuthHelper/index.js","../../node_modules/@aws-amplify/core/lib-esm/StorageHelper/index.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/constants.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/util/build/convertToBuffer.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/util/build/isEmptyData.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/util/build/numToUint8.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/util/build/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-js/build/constants.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-js/build/RawSha256.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-js/build/jsSha256.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-js/build/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/supports-web-crypto/build/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-crypto/sha256-browser/build/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-browser/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/util-user-agent-browser/dist/es/index.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/endpoints.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/runtimeConfig.shared.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/runtimeConfig.browser.js","../../node_modules/@aws-sdk/util-body-length-browser/dist/es/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-host-header/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-host-header/dist/es/index.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-logger/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-logger/dist/es/loggerMiddleware.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/dist/es/constants.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/models/models_0.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/dist/es/user-agent-middleware.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/CognitoIdentityClient.js","../../node_modules/@aws-sdk/client-cognito-identity/node_modules/@aws-sdk/middleware-user-agent/dist/es/configurations.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/protocols/Aws_json1_1.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/commands/GetCredentialsForIdentityCommand.js","../../node_modules/@aws-sdk/client-cognito-identity/dist/es/commands/GetIdCommand.js","../../node_modules/@aws-sdk/property-provider/node_modules/tslib/tslib.es6.js","../../node_modules/@aws-sdk/property-provider/dist/es/ProviderError.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/resolveLogins.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/fromCognitoIdentity.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/IndexedDbStorage.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/InMemoryStorage.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/localStorage.js","../../node_modules/@aws-sdk/credential-provider-cognito-identity/dist/es/fromCognitoIdentityPool.js","../../node_modules/@aws-amplify/core/lib-esm/Util/CognitoIdentityClient.js","../../node_modules/@aws-amplify/core/lib-esm/Credentials.js","../../node_modules/cookie/index.js","../../node_modules/universal-cookie/es6/utils.js","../../node_modules/universal-cookie/es6/Cookies.js","../../node_modules/@aws-amplify/auth/lib-esm/types/Auth.js","../../node_modules/@aws-amplify/core/lib-esm/UniversalStorage/index.js","../../node_modules/@aws-amplify/core/lib-esm/index.js","../../node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js","../../node_modules/buffer-es6/base64.js","../../node_modules/buffer-es6/ieee754.js","../../node_modules/buffer-es6/isArray.js","../../node_modules/buffer-es6/index.js","../../node_modules/rollup-plugin-node-builtins/src/es6/empty.js","../../node_modules/crypto-js/core.js","../../node_modules/crypto-js/lib-typedarrays.js","../../node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js","../../node_modules/crypto-js/sha256.js","../../node_modules/crypto-js/hmac.js","../../node_modules/crypto-js/hmac-sha256.js","../../node_modules/amazon-cognito-identity-js/es/utils/WordArray.js","../../node_modules/amazon-cognito-identity-js/es/BigInteger.js","../../node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js","../../node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js","../../node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js","../../node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js","../../node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js","../../node_modules/crypto-js/enc-base64.js","../../node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js","../../node_modules/amazon-cognito-identity-js/es/DateHelper.js","../../node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js","../../node_modules/amazon-cognito-identity-js/es/StorageHelper.js","../../node_modules/amazon-cognito-identity-js/es/CognitoUser.js","../../node_modules/unfetch/dist/unfetch.module.js","../../node_modules/isomorphic-unfetch/browser.js","../../node_modules/amazon-cognito-identity-js/es/Platform/version.js","../../node_modules/amazon-cognito-identity-js/es/Platform/index.js","../../node_modules/amazon-cognito-identity-js/es/UserAgent.js","../../node_modules/amazon-cognito-identity-js/es/Client.js","../../node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js","../../node_modules/@aws-amplify/auth/lib-esm/common/AuthErrorStrings.js","../../node_modules/js-cookie/src/js.cookie.js","../../node_modules/amazon-cognito-identity-js/es/CookieStorage.js","../../node_modules/@aws-amplify/auth/lib-esm/OAuth/urlOpener.js","../../node_modules/@aws-amplify/auth/lib-esm/OAuth/OAuth.js","../../node_modules/@aws-amplify/core/lib-esm/Util/StringUtils.js","../../node_modules/@aws-amplify/auth/lib-esm/OAuth/oauthStorage.js","../../node_modules/@aws-amplify/auth/lib-esm/Errors.js","../../node_modules/@aws-amplify/auth/lib-esm/Auth.js","../../node_modules/@aws-amplify/auth/lib-esm/urlListener.js","../../node_modules/lodash/_isPrototype.js","../../node_modules/lodash/_overArg.js","../../node_modules/lodash/_nativeKeys.js","../../node_modules/lodash/_baseKeys.js","../../node_modules/lodash/_freeGlobal.js","../../node_modules/lodash/_root.js","../../node_modules/lodash/_Symbol.js","../../node_modules/lodash/_getRawTag.js","../../node_modules/lodash/_objectToString.js","../../node_modules/lodash/_baseGetTag.js","../../node_modules/lodash/isObject.js","../../node_modules/lodash/isFunction.js","../../node_modules/lodash/_coreJsData.js","../../node_modules/lodash/_isMasked.js","../../node_modules/lodash/_toSource.js","../../node_modules/lodash/_baseIsNative.js","../../node_modules/lodash/_getValue.js","../../node_modules/lodash/_getNative.js","../../node_modules/lodash/_DataView.js","../../node_modules/lodash/_Map.js","../../node_modules/lodash/_Promise.js","../../node_modules/lodash/_Set.js","../../node_modules/lodash/_WeakMap.js","../../node_modules/lodash/_getTag.js","../../node_modules/lodash/isObjectLike.js","../../node_modules/lodash/_baseIsArguments.js","../../node_modules/lodash/isArguments.js","../../node_modules/lodash/isArray.js","../../node_modules/lodash/isLength.js","../../node_modules/lodash/isArrayLike.js","../../node_modules/lodash/stubFalse.js","../../node_modules/lodash/isBuffer.js","../../node_modules/lodash/_baseIsTypedArray.js","../../node_modules/lodash/_baseUnary.js","../../node_modules/lodash/_nodeUtil.js","../../node_modules/lodash/isTypedArray.js","../../node_modules/lodash/_listCacheClear.js","../../node_modules/lodash/eq.js","../../node_modules/lodash/_assocIndexOf.js","../../node_modules/lodash/_listCacheDelete.js","../../node_modules/lodash/_listCacheGet.js","../../node_modules/lodash/_listCacheHas.js","../../node_modules/lodash/_listCacheSet.js","../../node_modules/lodash/_ListCache.js","../../node_modules/lodash/_stackClear.js","../../node_modules/lodash/_stackDelete.js","../../node_modules/lodash/_stackGet.js","../../node_modules/lodash/_stackHas.js","../../node_modules/lodash/_nativeCreate.js","../../node_modules/lodash/_hashClear.js","../../node_modules/lodash/_hashDelete.js","../../node_modules/lodash/_hashGet.js","../../node_modules/lodash/_hashHas.js","../../node_modules/lodash/_hashSet.js","../../node_modules/lodash/_Hash.js","../../node_modules/lodash/_mapCacheClear.js","../../node_modules/lodash/_isKeyable.js","../../node_modules/lodash/_getMapData.js","../../node_modules/lodash/_mapCacheDelete.js","../../node_modules/lodash/_mapCacheGet.js","../../node_modules/lodash/_mapCacheHas.js","../../node_modules/lodash/_mapCacheSet.js","../../node_modules/lodash/_MapCache.js","../../node_modules/lodash/_stackSet.js","../../node_modules/lodash/_Stack.js","../../node_modules/lodash/_setCacheAdd.js","../../node_modules/lodash/_setCacheHas.js","../../node_modules/lodash/_SetCache.js","../../node_modules/lodash/_arraySome.js","../../node_modules/lodash/_cacheHas.js","../../node_modules/lodash/_equalArrays.js","../../node_modules/lodash/_Uint8Array.js","../../node_modules/lodash/_mapToArray.js","../../node_modules/lodash/_setToArray.js","../../node_modules/lodash/_equalByTag.js","../../node_modules/lodash/_arrayPush.js","../../node_modules/lodash/_baseGetAllKeys.js","../../node_modules/lodash/_arrayFilter.js","../../node_modules/lodash/stubArray.js","../../node_modules/lodash/_getSymbols.js","../../node_modules/lodash/_baseTimes.js","../../node_modules/lodash/_isIndex.js","../../node_modules/lodash/_arrayLikeKeys.js","../../node_modules/lodash/keys.js","../../node_modules/lodash/_getAllKeys.js","../../node_modules/lodash/_equalObjects.js","../../node_modules/lodash/_baseIsEqualDeep.js","../../node_modules/lodash/_baseIsEqual.js","../../node_modules/lodash/isSymbol.js","../../node_modules/lodash/_isKey.js","../../node_modules/lodash/memoize.js","../../node_modules/lodash/_memoizeCapped.js","../../node_modules/lodash/_stringToPath.js","../../node_modules/lodash/_arrayMap.js","../../node_modules/lodash/_baseToString.js","../../node_modules/lodash/toString.js","../../node_modules/lodash/_castPath.js","../../node_modules/lodash/_toKey.js","../../node_modules/lodash/_baseGet.js","../../node_modules/lodash/get.js","../../src/aws-exports.js","../../src/helpers/storage/stores.js","../../node_modules/nanoclone/src/index.js","../../node_modules/yup/es/util/printValue.js","../../node_modules/yup/es/locale.js","../../node_modules/lodash/_baseHas.js","../../node_modules/lodash/_hasPath.js","../../node_modules/lodash/has.js","../../node_modules/yup/es/util/isSchema.js","../../node_modules/yup/es/Condition.js","../../node_modules/yup/es/util/toArray.js","../../node_modules/yup/es/ValidationError.js","../../node_modules/yup/es/util/runTests.js","../../node_modules/lodash/_defineProperty.js","../../node_modules/lodash/_baseAssignValue.js","../../node_modules/lodash/_createBaseFor.js","../../node_modules/lodash/_baseFor.js","../../node_modules/lodash/_baseForOwn.js","../../node_modules/lodash/_baseIsMatch.js","../../node_modules/lodash/_isStrictComparable.js","../../node_modules/lodash/_getMatchData.js","../../node_modules/lodash/_matchesStrictComparable.js","../../node_modules/lodash/_baseMatches.js","../../node_modules/lodash/_baseHasIn.js","../../node_modules/lodash/hasIn.js","../../node_modules/lodash/_baseMatchesProperty.js","../../node_modules/lodash/identity.js","../../node_modules/lodash/_baseProperty.js","../../node_modules/lodash/_basePropertyDeep.js","../../node_modules/lodash/property.js","../../node_modules/lodash/_baseIteratee.js","../../node_modules/lodash/mapValues.js","../../node_modules/property-expr/index.js","../../node_modules/yup/es/Reference.js","../../node_modules/yup/es/util/createValidation.js","../../node_modules/yup/es/util/reach.js","../../node_modules/yup/es/util/ReferenceSet.js","../../node_modules/yup/es/schema.js","../../node_modules/yup/es/mixed.js","../../node_modules/yup/es/util/isAbsent.js","../../node_modules/yup/es/boolean.js","../../node_modules/yup/es/string.js","../../node_modules/yup/es/util/isodate.js","../../node_modules/yup/es/date.js","../../node_modules/lodash/_arrayReduce.js","../../node_modules/lodash/_basePropertyOf.js","../../node_modules/lodash/_deburrLetter.js","../../node_modules/lodash/deburr.js","../../node_modules/lodash/_asciiWords.js","../../node_modules/lodash/_hasUnicodeWord.js","../../node_modules/lodash/_unicodeWords.js","../../node_modules/lodash/words.js","../../node_modules/lodash/_createCompounder.js","../../node_modules/lodash/snakeCase.js","../../node_modules/lodash/_baseSlice.js","../../node_modules/lodash/_castSlice.js","../../node_modules/lodash/_hasUnicode.js","../../node_modules/lodash/_asciiToArray.js","../../node_modules/lodash/_unicodeToArray.js","../../node_modules/lodash/_stringToArray.js","../../node_modules/lodash/_createCaseFirst.js","../../node_modules/lodash/upperFirst.js","../../node_modules/lodash/capitalize.js","../../node_modules/lodash/camelCase.js","../../node_modules/lodash/mapKeys.js","../../node_modules/toposort/index.js","../../node_modules/yup/es/util/sortByKeyOrder.js","../../node_modules/yup/es/object.js","../../node_modules/yup/es/util/sortFields.js","../../node_modules/yup/es/array.js","../../node_modules/deepmerge/dist/cjs.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/error.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/types.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js","../../node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js","../../node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js","../../node_modules/@formatjs/icu-skeleton-parser/lib/number.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/parser.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js","../../node_modules/@formatjs/icu-messageformat-parser/lib/index.js","../../node_modules/@formatjs/fast-memoize/lib/index.js","../../node_modules/intl-messageformat/lib/src/error.js","../../node_modules/intl-messageformat/lib/src/formatters.js","../../node_modules/intl-messageformat/lib/src/core.js","../../node_modules/svelte-i18n/dist/runtime.esm.js","../../src/Routes/schema.js","../../src/helpers/apiBackend.js","../../src/helpers/helpers.js","../../node_modules/svelte-modals/dist/store.js","../../node_modules/svelte-modals/dist/Modals.svelte","../../node_modules/svelte/easing/index.mjs","../../node_modules/svelte/transition/index.mjs","../../src/Routes/Login/Login.svelte","../../src/Routes/Login/ResetPassword.svelte","../../src/Routes/Login/NewPassword.svelte","../../node_modules/svelte-select/src/Item.svelte","../../node_modules/svelte-select/src/List.svelte","../../node_modules/svelte-select/src/utils/isOutOfViewport.js","../../node_modules/svelte-select/src/Selection.svelte","../../node_modules/svelte-select/src/MultiSelection.svelte","../../node_modules/svelte-select/src/VirtualList.svelte","../../node_modules/svelte-select/src/ClearIcon.svelte","../../node_modules/svelte-select/src/Select.svelte","../../node_modules/svelte-select/src/utils/debounce.js","../../src/helpers/validation.js","../../src/Routes/Register/Register.svelte","../../src/components/Modal.svelte","../../src/Routes/Register/EmailCodeVerify.svelte","../../src/Routes/Login/LoginError.svelte","../../src/components/Loader.svelte","../../node_modules/cropperjs/dist/cropper.js","../../src/components/imagEdit.svelte","../../src/components/FileAttach.svelte","../../src/components/ConfirmationPatient.svelte","../../src/Routes/Register/PatientRecord.svelte","../../src/components/MultiSelect.svelte","../../src/components/ConfirmationProfessional.svelte","../../src/Routes/Register/ProfessionalRecord.svelte","../../src/components/Register/Personal-Information.svelte","../../src/Routes/Register/PersonalInformation.svelte","../../src/components/HelpFomr.svelte","../../src/components/Menu.svelte","../../src/components/Layouts/Layout_Nav.svelte","../../src/Routes/Home/Home.svelte","../../src/Routes/Home/Doctor/Profile.svelte","../../src/Routes/Home/Forbidden.svelte","../../src/Routes/Home/Error.svelte","../../src/components/Layouts/Layout_Patient.svelte","../../src/Routes/Home/Success.svelte","../../src/components/icon-paths.js","../../src/components/Icon.svelte","../../src/components/Pagination.svelte","../../src/Routes/Questionnaires/FormInit.svelte","../../src/components/Register/AddPatient.svelte","../../src/components/DeletedPatient.svelte","../../src/components/Layouts/Layout_DoctorListHeader.svelte","../../src/Routes/Home/Doctor/Doctor.svelte","../../src/Routes/Home/Doctor/Altas.svelte","../../src/components/PdfIcon.svelte","../../src/Routes/Home/Doctor/Patient.svelte","../../src/Routes/Home/Doctor/AssignPlan.svelte","../../src/components/addMedications.svelte","../../src/Routes/Home/Doctor/Subit.svelte","../../src/components/ConfirmationMediation.svelte","../../src/components/addDetailsMedications.svelte","../../src/components/Lists/List_Records.svelte","../../src/Routes/Home/Doctor/InterviewAdd.svelte","../../src/Routes/Home/Doctor/ExamsAdd.svelte","../../src/Routes/Home/Doctor/Records.svelte","../../src/components/Lists/List_Records_medication_Prof.svelte","../../src/Routes/Home/Doctor/RecordsMedicationProf.svelte","../../src/components/Lists/List_Question_Professional.svelte","../../src/Routes/Home/Doctor/QuestionnairesAdd.svelte","../../src/Routes/Home/Doctor/ViewCuestionarioProf.svelte","../../src/components/Layouts/Layout_Patient_Header.svelte","../../src/components/Lists/List_Question_Patients.svelte","../../src/Routes/Home/Patient/ViewCuestionarioPatient.svelte","../../src/Routes/Home/Doctor/SelectPlan.svelte","../../src/Routes/Home/Doctor/Plan.svelte","../../src/components/SearchDoctorGral.svelte","../../src/components/ModalNotePatient.svelte","../../src/components/ModalComplete.svelte","../../src/Routes/Home/Doctor/RegisterDetail.svelte","../../src/Routes/Home/Doctor/RegisterDetailMedicationProf.svelte","../../node_modules/@babel/runtime/helpers/esm/typeof.js","../../node_modules/jspdf/node_modules/fflate/esm/browser.js","../../node_modules/jspdf/dist/jspdf.es.min.js","../../src/Routes/Home/Doctor/RegisterDetailQuestion.svelte","../../src/Routes/Home/Patient/RegisterDetailQuestion.svelte","../../src/Routes/Home/Doctor/MySession.svelte","../../src/Routes/Home/Doctor/ClinicHistory.svelte","../../src/helpers/helperQuestsResults.js","../../src/Routes/Home/Doctor/DiagnosisByProf.svelte","../../src/Routes/Home/Doctor/ProfessionalProfile.svelte","../../src/Routes/Home/Doctor/PatientSession.svelte","../../src/Routes/Home/Doctor/PatientSessions.svelte","../../src/Routes/Home/Patient/Plan.svelte","../../src/Routes/Home/Patient/SearchDoctor.svelte","../../src/Routes/Home/Patient/Pending.svelte","../../src/Routes/Home/Patient/PendingValidation.svelte","../../src/components/Lists/List_Records_Patients.svelte","../../src/Routes/Home/Patient/Records.svelte","../../src/components/Lists/List_Record_Medication_patient.svelte","../../src/Routes/Home/Patient/RecordMedicationPatient.svelte","../../src/Routes/Home/Patient/RegisterDetail.svelte","../../src/Routes/Home/Patient/RegisterDetailMedicationPatient.svelte","../../src/Routes/Home/Carer/CarerSelectPerfil.svelte","../../src/routes.js","../../src/App.svelte","../../src/helpers/i18n.js","../../src/main.js","../../src/components/ModalValidationsForm.svelte","../../node_modules/core-js/internals/environment-v8-version.js","../../node_modules/html2canvas/dist/html2canvas.js","../../node_modules/dompurify/dist/purify.js","../../node_modules/core-js/internals/global-this.js","../../node_modules/core-js/internals/fails.js","../../node_modules/core-js/internals/descriptors.js","../../node_modules/core-js/internals/function-bind-native.js","../../node_modules/core-js/internals/function-call.js","../../node_modules/core-js/internals/object-property-is-enumerable.js","../../node_modules/core-js/internals/create-property-descriptor.js","../../node_modules/core-js/internals/function-uncurry-this.js","../../node_modules/core-js/internals/classof-raw.js","../../node_modules/core-js/internals/indexed-object.js","../../node_modules/core-js/internals/is-null-or-undefined.js","../../node_modules/core-js/internals/require-object-coercible.js","../../node_modules/core-js/internals/to-indexed-object.js","../../node_modules/core-js/internals/is-callable.js","../../node_modules/core-js/internals/is-object.js","../../node_modules/core-js/internals/get-built-in.js","../../node_modules/core-js/internals/object-is-prototype-of.js","../../node_modules/core-js/internals/environment-user-agent.js","../../node_modules/core-js/internals/symbol-constructor-detection.js","../../node_modules/core-js/internals/use-symbol-as-uid.js","../../node_modules/core-js/internals/is-symbol.js","../../node_modules/core-js/internals/try-to-string.js","../../node_modules/core-js/internals/a-callable.js","../../node_modules/core-js/internals/get-method.js","../../node_modules/core-js/internals/ordinary-to-primitive.js","../../node_modules/core-js/internals/define-global-property.js","../../node_modules/core-js/internals/shared-store.js","../../node_modules/core-js/internals/shared.js","../../node_modules/core-js/internals/to-object.js","../../node_modules/core-js/internals/has-own-property.js","../../node_modules/core-js/internals/uid.js","../../node_modules/core-js/internals/well-known-symbol.js","../../node_modules/core-js/internals/to-primitive.js","../../node_modules/core-js/internals/to-property-key.js","../../node_modules/core-js/internals/document-create-element.js","../../node_modules/core-js/internals/ie8-dom-define.js","../../node_modules/core-js/internals/object-get-own-property-descriptor.js","../../node_modules/core-js/internals/v8-prototype-define-bug.js","../../node_modules/core-js/internals/an-object.js","../../node_modules/core-js/internals/object-define-property.js","../../node_modules/core-js/internals/create-non-enumerable-property.js","../../node_modules/core-js/internals/function-name.js","../../node_modules/core-js/internals/inspect-source.js","../../node_modules/core-js/internals/internal-state.js","../../node_modules/core-js/internals/weak-map-basic-detection.js","../../node_modules/core-js/internals/shared-key.js","../../node_modules/core-js/internals/hidden-keys.js","../../node_modules/core-js/internals/make-built-in.js","../../node_modules/core-js/internals/define-built-in.js","../../node_modules/core-js/internals/math-trunc.js","../../node_modules/core-js/internals/to-integer-or-infinity.js","../../node_modules/core-js/internals/to-absolute-index.js","../../node_modules/core-js/internals/to-length.js","../../node_modules/core-js/internals/length-of-array-like.js","../../node_modules/core-js/internals/array-includes.js","../../node_modules/core-js/internals/object-keys-internal.js","../../node_modules/core-js/internals/enum-bug-keys.js","../../node_modules/core-js/internals/object-get-own-property-names.js","../../node_modules/core-js/internals/object-get-own-property-symbols.js","../../node_modules/core-js/internals/own-keys.js","../../node_modules/core-js/internals/copy-constructor-properties.js","../../node_modules/core-js/internals/is-forced.js","../../node_modules/core-js/internals/export.js","../../node_modules/core-js/internals/environment.js","../../node_modules/core-js/internals/environment-is-node.js","../../node_modules/core-js/internals/a-possible-prototype.js","../../node_modules/core-js/internals/is-possible-prototype.js","../../node_modules/core-js/internals/object-set-prototype-of.js","../../node_modules/core-js/internals/function-uncurry-this-accessor.js","../../node_modules/core-js/internals/set-to-string-tag.js","../../node_modules/core-js/internals/set-species.js","../../node_modules/core-js/internals/an-instance.js","../../node_modules/core-js/internals/to-string-tag-support.js","../../node_modules/core-js/internals/classof.js","../../node_modules/core-js/internals/is-constructor.js","../../node_modules/core-js/internals/task.js","../../node_modules/core-js/internals/a-constructor.js","../../node_modules/core-js/internals/species-constructor.js","../../node_modules/core-js/internals/function-apply.js","../../node_modules/core-js/internals/function-uncurry-this-clause.js","../../node_modules/core-js/internals/function-bind-context.js","../../node_modules/core-js/internals/html.js","../../node_modules/core-js/internals/array-slice.js","../../node_modules/core-js/internals/validate-arguments-length.js","../../node_modules/core-js/internals/environment-is-ios.js","../../node_modules/core-js/internals/safe-get-built-in.js","../../node_modules/core-js/internals/queue.js","../../node_modules/core-js/internals/microtask.js","../../node_modules/core-js/internals/environment-is-ios-pebble.js","../../node_modules/core-js/internals/environment-is-webos-webkit.js","../../node_modules/core-js/internals/perform.js","../../node_modules/core-js/internals/promise-native-constructor.js","../../node_modules/core-js/internals/promise-constructor-detection.js","../../node_modules/core-js/modules/es.promise.constructor.js","../../node_modules/core-js/internals/new-promise-capability.js","../../node_modules/core-js/internals/host-report-errors.js","../../node_modules/core-js/internals/define-built-in-accessor.js","../../node_modules/core-js/internals/iterators.js","../../node_modules/core-js/internals/is-array-iterator-method.js","../../node_modules/core-js/internals/get-iterator-method.js","../../node_modules/core-js/internals/get-iterator.js","../../node_modules/core-js/internals/iterator-close.js","../../node_modules/core-js/internals/iterate.js","../../node_modules/core-js/internals/check-correctness-of-iteration.js","../../node_modules/core-js/internals/promise-statics-incorrect-iteration.js","../../node_modules/core-js/modules/es.promise.all.js","../../node_modules/core-js/modules/es.promise.catch.js","../../node_modules/core-js/modules/es.promise.race.js","../../node_modules/core-js/modules/es.promise.reject.js","../../node_modules/core-js/internals/promise-resolve.js","../../node_modules/core-js/modules/es.promise.resolve.js","../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../../node_modules/core-js/internals/to-string.js","../../node_modules/core-js/internals/object-create.js","../../node_modules/core-js/internals/regexp-flags.js","../../node_modules/core-js/internals/regexp-sticky-helpers.js","../../node_modules/core-js/internals/object-keys.js","../../node_modules/core-js/internals/object-define-properties.js","../../node_modules/core-js/internals/regexp-exec.js","../../node_modules/core-js/internals/regexp-unsupported-dot-all.js","../../node_modules/core-js/internals/regexp-unsupported-ncg.js","../../node_modules/core-js/modules/es.regexp.exec.js","../../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","../../node_modules/core-js/internals/string-multibyte.js","../../node_modules/core-js/internals/advance-string-index.js","../../node_modules/core-js/internals/regexp-exec-abstract.js","../../node_modules/core-js/modules/es.string.match.js","../../node_modules/core-js/internals/get-substitution.js","../../node_modules/core-js/modules/es.string.replace.js","../../node_modules/core-js/internals/is-regexp.js","../../node_modules/core-js/modules/es.string.starts-with.js","../../node_modules/core-js/internals/not-a-regexp.js","../../node_modules/core-js/internals/correct-is-regexp-logic.js","../../node_modules/core-js/internals/add-to-unscopables.js","../../node_modules/core-js/internals/iterators-core.js","../../node_modules/core-js/internals/correct-prototype-getter.js","../../node_modules/core-js/internals/object-get-prototype-of.js","../../node_modules/core-js/internals/iterator-create-constructor.js","../../node_modules/core-js/internals/iterator-define.js","../../node_modules/core-js/internals/create-iter-result-object.js","../../node_modules/core-js/modules/es.array.iterator.js","../../node_modules/core-js/internals/dom-iterables.js","../../node_modules/core-js/internals/dom-token-list-prototype.js","../../node_modules/core-js/modules/web.dom-collections.iterator.js","../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../node_modules/core-js/internals/array-reduce.js","../../node_modules/core-js/internals/array-method-is-strict.js","../../node_modules/core-js/modules/es.array.reduce.js","../../node_modules/core-js/modules/es.string.ends-with.js","../../node_modules/core-js/modules/es.string.split.js","../../node_modules/raf/index.js","../../node_modules/performance-now/lib/performance-now.js","../../node_modules/core-js/internals/whitespaces.js","../../node_modules/core-js/internals/string-trim-forced.js","../../node_modules/core-js/internals/string-trim.js","../../node_modules/core-js/modules/es.string.trim.js","../../node_modules/rgbcolor/index.js","../../node_modules/core-js/modules/es.array.index-of.js","../../node_modules/core-js/modules/es.string.includes.js","../../node_modules/core-js/internals/is-array.js","../../node_modules/core-js/modules/es.array.reverse.js","../../node_modules/svg-pathdata/lib/SVGPathData.module.js","../../node_modules/core-js/internals/regexp-get-flags.js","../../node_modules/core-js/modules/es.regexp.to-string.js","../../node_modules/stackblur-canvas/dist/stackblur-es.js","../../node_modules/canvg/lib/index.es.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\n// Adapted from https://github.com/then/is-promise/blob/master/index.js\n// Distributed under MIT License https://github.com/then/is-promise/blob/master/LICENSE\nfunction is_promise(value) {\n return !!value && (typeof value === 'object' || typeof value === 'function') && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\nfunction split_css_unit(value) {\n const split = typeof value === 'string' && value.match(/^\\s*(-?[\\d.]+)([^\\s]*)\\s*$/);\n return split ? [parseFloat(split[1]), split[2] || 'px'] : [value, 'px'];\n}\nconst contenteditable_truthy_values = ['', true, 1, 'true', 'contenteditable'];\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\n/**\n * Resize observer singleton.\n * One listener per element only!\n * https://groups.google.com/a/chromium.org/g/blink-dev/c/z6ienONUb5A/m/F5-VcUZtBAAJ\n */\nclass ResizeObserverSingleton {\n constructor(options) {\n this.options = options;\n this._listeners = 'WeakMap' in globals ? new WeakMap() : undefined;\n }\n observe(element, listener) {\n this._listeners.set(element, listener);\n this._getObserver().observe(element, this.options);\n return () => {\n this._listeners.delete(element);\n this._observer.unobserve(element); // this line can probably be removed\n };\n }\n _getObserver() {\n var _a;\n return (_a = this._observer) !== null && _a !== void 0 ? _a : (this._observer = new ResizeObserver((entries) => {\n var _a;\n for (const entry of entries) {\n ResizeObserverSingleton.entries.set(entry.target, entry);\n (_a = this._listeners.get(entry.target)) === null || _a === void 0 ? void 0 : _a(entry);\n }\n }));\n }\n}\n// Needs to be written like this to pass the tree-shake-test\nResizeObserverSingleton.entries = 'WeakMap' in globals ? new WeakMap() : undefined;\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not \n let children = target.childNodes;\n // If target is , there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n return style.sheet;\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentNode !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction comment(content) {\n return document.createComment(content);\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_immediate_propagation(fn) {\n return function (event) {\n event.stopImmediatePropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\n/**\n * List of attributes that should always be set through the attr method,\n * because updating them through the property setter doesn't work reliably.\n * In the example of `width`/`height`, the problem is that the setter only\n * accepts numeric values, but the attribute can also be set to a string like `50%`.\n * If this list becomes too big, rethink this approach.\n */\nconst always_set_through_set_attribute = ['width', 'height'];\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set && always_set_through_set_attribute.indexOf(key) === -1) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data_map(node, data_map) {\n Object.keys(data_map).forEach((key) => {\n set_custom_element_data(node, key, data_map[key]);\n });\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction set_dynamic_element_data(tag) {\n return (/-/.test(tag)) ? set_custom_element_data_map : set_attributes;\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction init_binding_group(group) {\n let _inputs;\n return {\n /* push */ p(...inputs) {\n _inputs = inputs;\n _inputs.forEach(input => group.push(input));\n },\n /* remove */ r() {\n _inputs.forEach(input => group.splice(group.indexOf(input), 1));\n }\n };\n}\nfunction init_binding_group_dynamic(group, indexes) {\n let _group = get_binding_group(group);\n let _inputs;\n function get_binding_group(group) {\n for (let i = 0; i < indexes.length; i++) {\n group = group[indexes[i]] = group[indexes[i]] || [];\n }\n return group;\n }\n function push() {\n _inputs.forEach(input => _group.push(input));\n }\n function remove() {\n _inputs.forEach(input => _group.splice(_group.indexOf(input), 1));\n }\n return {\n /* update */ u(new_indexes) {\n indexes = new_indexes;\n const new_group = get_binding_group(group);\n if (new_group !== _group) {\n remove();\n _group = new_group;\n push();\n }\n },\n /* push */ p(...inputs) {\n _inputs = inputs;\n push();\n },\n /* remove */ r: remove\n };\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction claim_comment(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 8, (node) => {\n node.data = '' + data;\n return undefined;\n }, () => comment(data), true);\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes, is_svg) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration(undefined, is_svg);\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes, is_svg);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.data === data)\n return;\n text.data = data;\n}\nfunction set_data_contenteditable(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n text.data = data;\n}\nfunction set_data_maybe_contenteditable(text, data, attr_value) {\n if (~contenteditable_truthy_values.indexOf(attr_value)) {\n set_data_contenteditable(text, data);\n }\n else {\n set_data(text, data);\n }\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value == null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value, mounting) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n if (!mounting || value !== undefined) {\n select.selectedIndex = -1; // no option should be selected\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked');\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_iframe_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n // make sure an initial resize event is fired _after_ the iframe is loaded (which is asynchronous)\n // see https://github.com/sveltejs/svelte/issues/4233\n fn();\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nconst resize_observer_content_box = /* @__PURE__ */ new ResizeObserverSingleton({ box: 'content-box' });\nconst resize_observer_border_box = /* @__PURE__ */ new ResizeObserverSingleton({ box: 'border-box' });\nconst resize_observer_device_pixel_content_box = /* @__PURE__ */ new ResizeObserverSingleton({ box: 'device-pixel-content-box' });\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, cancelable, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nfunction head_selector(nodeId, head) {\n const result = [];\n let started = 0;\n for (const node of head.childNodes) {\n if (node.nodeType === 8 /* comment node */) {\n const comment = node.textContent.trim();\n if (comment === `HEAD_${nodeId}_END`) {\n started -= 1;\n result.push(node);\n }\n else if (comment === `HEAD_${nodeId}_START`) {\n started += 1;\n result.push(node);\n }\n }\n else if (started > 0) {\n result.push(node);\n }\n }\n return result;\n}\nclass HtmlTag {\n constructor(is_svg = false) {\n this.is_svg = false;\n this.is_svg = is_svg;\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n if (this.is_svg)\n this.e = svg_element(target.nodeName);\n /** #7364 target for