mito-ai 0.1.41__py3-none-any.whl → 0.1.43__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mito-ai might be problematic. Click here for more details.

Files changed (56) hide show
  1. mito_ai/__init__.py +7 -0
  2. mito_ai/_version.py +1 -1
  3. mito_ai/app_manager/__init__.py +4 -0
  4. mito_ai/app_manager/handlers.py +134 -0
  5. mito_ai/app_manager/models.py +57 -0
  6. mito_ai/app_manager/utils.py +24 -0
  7. mito_ai/completions/completion_handlers/agent_execution_handler.py +1 -1
  8. mito_ai/completions/completion_handlers/chat_completion_handler.py +2 -2
  9. mito_ai/completions/completion_handlers/utils.py +99 -37
  10. mito_ai/completions/prompt_builders/utils.py +7 -1
  11. mito_ai/file_uploads/handlers.py +49 -26
  12. mito_ai/tests/completions/completion_handlers_utils_test.py +190 -0
  13. mito_ai/tests/file_uploads/test_handlers.py +15 -0
  14. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/build_log.json +100 -100
  15. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/package.json +2 -2
  16. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/package.json.orig +1 -1
  17. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.01a962c68c8fae380f30.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.81703ac2bc645e5c2fc2.js +1324 -247
  18. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.81703ac2bc645e5c2fc2.js.map +1 -0
  19. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/node_modules_process_browser_js.4b128e94d31a81ebd209.js +198 -0
  20. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/node_modules_process_browser_js.4b128e94d31a81ebd209.js.map +1 -0
  21. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.9a70f033717ba8689564.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.502aef26f0416fab7435.js +23 -23
  22. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.502aef26f0416fab7435.js.map +1 -0
  23. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_apis_signOut_mjs-node_module-75790d.688c25857e7b81b1740f.js +533 -0
  24. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_apis_signOut_mjs-node_module-75790d.688c25857e7b81b1740f.js.map +1 -0
  25. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_tokenProvider_tokenProvider_mjs.16430abf3466c3153f59.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_tokenProvider_tokenProvider_-72f1c8.a917210f057fcfe224ad.js +2977 -610
  26. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_tokenProvider_tokenProvider_-72f1c8.a917210f057fcfe224ad.js.map +1 -0
  27. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.61289bff0db44828605b.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.4fcecd65bef9e9847609.js +1 -481
  28. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.4fcecd65bef9e9847609.js.map +1 -0
  29. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_core_dist_esm_singleton_apis_fetchAuthSession_mjs-node_modul-758875.dc495fd682071d97070c.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_react-dom_client_js-node_modules_aws-amplify_ui-react_dist_styles_css.b43d4249e4d3dac9ad7b.js +2 -60
  30. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_react-dom_client_js-node_modules_aws-amplify_ui-react_dist_styles_css.b43d4249e4d3dac9ad7b.js.map +1 -0
  31. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js → mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.3f6754ac5116d47de76b.js +2 -240
  32. mito_ai-0.1.43.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.3f6754ac5116d47de76b.js.map +1 -0
  33. {mito_ai-0.1.41.dist-info → mito_ai-0.1.43.dist-info}/METADATA +1 -1
  34. {mito_ai-0.1.41.dist-info → mito_ai-0.1.43.dist-info}/RECORD +46 -41
  35. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/lib_index_js.01a962c68c8fae380f30.js.map +0 -1
  36. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/node_modules_aws-amplify_core_dist_esm_singleton_apis_fetchAuthSession_mjs.182232e7bc6311fe4528.js +0 -63
  37. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/node_modules_aws-amplify_core_dist_esm_singleton_apis_fetchAuthSession_mjs.182232e7bc6311fe4528.js.map +0 -1
  38. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/remoteEntry.9a70f033717ba8689564.js.map +0 -1
  39. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_auth_dist_esm_providers_cognito_tokenProvider_tokenProvider_mjs.16430abf3466c3153f59.js.map +0 -1
  40. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_core_dist_esm_singleton_Amplify_mjs.3c0035b95fe369aede82.js +0 -2345
  41. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_core_dist_esm_singleton_Amplify_mjs.3c0035b95fe369aede82.js.map +0 -1
  42. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_core_dist_esm_singleton_apis_fetchAuthSession_mjs-node_modul-758875.dc495fd682071d97070c.js.map +0 -1
  43. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.61289bff0db44828605b.js.map +0 -1
  44. mito_ai-0.1.41.data/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_semver_index_js.9795f79265ddb416864b.js.map +0 -1
  45. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/etc/jupyter/jupyter_server_config.d/mito_ai.json +0 -0
  46. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/schemas/mito_ai/toolbar-buttons.json +0 -0
  47. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/style.js +0 -0
  48. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.5876024bb17dbd6a3ee6.js +0 -0
  49. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/style_index_js.5876024bb17dbd6a3ee6.js.map +0 -0
  50. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_dist_esm_index_mjs.6bac1a8c4cc93f15f6b7.js +0 -0
  51. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_aws-amplify_dist_esm_index_mjs.6bac1a8c4cc93f15f6b7.js.map +0 -0
  52. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_vscode-diff_dist_index_js.ea55f1f9346638aafbcf.js +0 -0
  53. {mito_ai-0.1.41.data → mito_ai-0.1.43.data}/data/share/jupyter/labextensions/mito_ai/static/vendors-node_modules_vscode-diff_dist_index_js.ea55f1f9346638aafbcf.js.map +0 -0
  54. {mito_ai-0.1.41.dist-info → mito_ai-0.1.43.dist-info}/WHEEL +0 -0
  55. {mito_ai-0.1.41.dist-info → mito_ai-0.1.43.dist-info}/entry_points.txt +0 -0
  56. {mito_ai-0.1.41.dist-info → mito_ai-0.1.43.dist-info}/licenses/LICENSE +0 -0
@@ -1976,43 +1976,6 @@ const createGetUserClient = (config) => (0,_aws_amplify_core_internals_aws_clien
1976
1976
  //# sourceMappingURL=createGetUserClient.mjs.map
1977
1977
 
1978
1978
 
1979
- /***/ }),
1980
-
1981
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createGlobalSignOutClient.mjs":
1982
- /*!*******************************************************************************************************************************************!*\
1983
- !*** ./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createGlobalSignOutClient.mjs ***!
1984
- \*******************************************************************************************************************************************/
1985
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1986
-
1987
- "use strict";
1988
- __webpack_require__.r(__webpack_exports__);
1989
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1990
- /* harmony export */ createGlobalSignOutClient: () => (/* binding */ createGlobalSignOutClient)
1991
- /* harmony export */ });
1992
- /* harmony import */ var _aws_amplify_core_internals_aws_client_utils_composers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/core/internals/aws-client-utils/composers */ "./node_modules/@aws-amplify/core/dist/esm/clients/internal/composeServiceApi.mjs");
1993
- /* harmony import */ var _shared_handler_cognitoUserPoolTransferHandler_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./shared/handler/cognitoUserPoolTransferHandler.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs");
1994
- /* harmony import */ var _shared_serde_createUserPoolSerializer_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./shared/serde/createUserPoolSerializer.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/serde/createUserPoolSerializer.mjs");
1995
- /* harmony import */ var _shared_serde_createUserPoolDeserializer_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared/serde/createUserPoolDeserializer.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/serde/createUserPoolDeserializer.mjs");
1996
- /* harmony import */ var _constants_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs");
1997
-
1998
-
1999
-
2000
-
2001
-
2002
-
2003
-
2004
-
2005
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2006
- // SPDX-License-Identifier: Apache-2.0
2007
- const createGlobalSignOutClient = (config) => (0,_aws_amplify_core_internals_aws_client_utils_composers__WEBPACK_IMPORTED_MODULE_0__.composeServiceApi)(_shared_handler_cognitoUserPoolTransferHandler_mjs__WEBPACK_IMPORTED_MODULE_1__.cognitoUserPoolTransferHandler, (0,_shared_serde_createUserPoolSerializer_mjs__WEBPACK_IMPORTED_MODULE_2__.createUserPoolSerializer)('GlobalSignOut'), (0,_shared_serde_createUserPoolDeserializer_mjs__WEBPACK_IMPORTED_MODULE_3__.createUserPoolDeserializer)(), {
2008
- ..._constants_mjs__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_SERVICE_CLIENT_API_CONFIG,
2009
- ...config,
2010
- });
2011
-
2012
-
2013
- //# sourceMappingURL=createGlobalSignOutClient.mjs.map
2014
-
2015
-
2016
1979
  /***/ }),
2017
1980
 
2018
1981
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createInitiateAuthClient.mjs":
@@ -2124,43 +2087,6 @@ const createRespondToAuthChallengeClient = (config) => (0,_aws_amplify_core_inte
2124
2087
  //# sourceMappingURL=createRespondToAuthChallengeClient.mjs.map
2125
2088
 
2126
2089
 
2127
- /***/ }),
2128
-
2129
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createRevokeTokenClient.mjs":
2130
- /*!*****************************************************************************************************************************************!*\
2131
- !*** ./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createRevokeTokenClient.mjs ***!
2132
- \*****************************************************************************************************************************************/
2133
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2134
-
2135
- "use strict";
2136
- __webpack_require__.r(__webpack_exports__);
2137
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2138
- /* harmony export */ createRevokeTokenClient: () => (/* binding */ createRevokeTokenClient)
2139
- /* harmony export */ });
2140
- /* harmony import */ var _aws_amplify_core_internals_aws_client_utils_composers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/core/internals/aws-client-utils/composers */ "./node_modules/@aws-amplify/core/dist/esm/clients/internal/composeServiceApi.mjs");
2141
- /* harmony import */ var _shared_handler_cognitoUserPoolTransferHandler_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./shared/handler/cognitoUserPoolTransferHandler.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs");
2142
- /* harmony import */ var _shared_serde_createUserPoolSerializer_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./shared/serde/createUserPoolSerializer.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/serde/createUserPoolSerializer.mjs");
2143
- /* harmony import */ var _shared_serde_createUserPoolDeserializer_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared/serde/createUserPoolDeserializer.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/shared/serde/createUserPoolDeserializer.mjs");
2144
- /* harmony import */ var _constants_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs");
2145
-
2146
-
2147
-
2148
-
2149
-
2150
-
2151
-
2152
-
2153
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2154
- // SPDX-License-Identifier: Apache-2.0
2155
- const createRevokeTokenClient = (config) => (0,_aws_amplify_core_internals_aws_client_utils_composers__WEBPACK_IMPORTED_MODULE_0__.composeServiceApi)(_shared_handler_cognitoUserPoolTransferHandler_mjs__WEBPACK_IMPORTED_MODULE_1__.cognitoUserPoolTransferHandler, (0,_shared_serde_createUserPoolSerializer_mjs__WEBPACK_IMPORTED_MODULE_2__.createUserPoolSerializer)('RevokeToken'), (0,_shared_serde_createUserPoolDeserializer_mjs__WEBPACK_IMPORTED_MODULE_3__.createUserPoolDeserializer)(), {
2156
- ..._constants_mjs__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_SERVICE_CLIENT_API_CONFIG,
2157
- ...config,
2158
- });
2159
-
2160
-
2161
- //# sourceMappingURL=createRevokeTokenClient.mjs.map
2162
-
2163
-
2164
2090
  /***/ }),
2165
2091
 
2166
2092
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createSignUpClient.mjs":
@@ -4248,161 +4174,6 @@ async function signInWithUserPassword(input) {
4248
4174
  //# sourceMappingURL=signInWithUserPassword.mjs.map
4249
4175
 
4250
4176
 
4251
- /***/ }),
4252
-
4253
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signOut.mjs":
4254
- /*!************************************************************************************!*\
4255
- !*** ./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signOut.mjs ***!
4256
- \************************************************************************************/
4257
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4258
-
4259
- "use strict";
4260
- __webpack_require__.r(__webpack_exports__);
4261
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4262
- /* harmony export */ signOut: () => (/* binding */ signOut)
4263
- /* harmony export */ });
4264
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/core */ "./node_modules/@aws-amplify/core/dist/esm/Logger/ConsoleLogger.mjs");
4265
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-amplify/core */ "./node_modules/@aws-amplify/core/dist/esm/singleton/Amplify.mjs");
4266
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @aws-amplify/core */ "./node_modules/@aws-amplify/core/dist/esm/storage/index.mjs");
4267
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @aws-amplify/core */ "./node_modules/@aws-amplify/core/dist/esm/singleton/apis/clearCredentials.mjs");
4268
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/Hub/index.mjs");
4269
- /* harmony import */ var _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/singleton/Auth/utils/index.mjs");
4270
- /* harmony import */ var _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/Platform/types.mjs");
4271
- /* harmony import */ var _utils_getAuthUserAgentValue_mjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../../utils/getAuthUserAgentValue.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/utils/getAuthUserAgentValue.mjs");
4272
- /* harmony import */ var _errors_AuthError_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../errors/AuthError.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/errors/AuthError.mjs");
4273
- /* harmony import */ var _utils_signInWithRedirectStore_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/signInWithRedirectStore.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/signInWithRedirectStore.mjs");
4274
- /* harmony import */ var _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../tokenProvider/tokenProvider.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/tokenProvider/tokenProvider.mjs");
4275
- /* harmony import */ var _foundation_parsers_regionParsers_mjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../../foundation/parsers/regionParsers.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/parsers/regionParsers.mjs");
4276
- /* harmony import */ var _utils_types_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/types.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/types.mjs");
4277
- /* harmony import */ var _aws_crypto_sha256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/sha256-js */ "./node_modules/@aws-crypto/sha256-js/build/module/index.js");
4278
- /* harmony import */ var _utils_oauth_handleOAuthSignOut_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/oauth/handleOAuthSignOut.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/handleOAuthSignOut.mjs");
4279
- /* harmony import */ var _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../errors/constants.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/errors/constants.mjs");
4280
- /* harmony import */ var _foundation_factories_serviceClients_cognitoIdentityProvider_createRevokeTokenClient_mjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRevokeTokenClient.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createRevokeTokenClient.mjs");
4281
- /* harmony import */ var _foundation_factories_serviceClients_cognitoIdentityProvider_createGlobalSignOutClient_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../../foundation/factories/serviceClients/cognitoIdentityProvider/createGlobalSignOutClient.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createGlobalSignOutClient.mjs");
4282
- /* harmony import */ var _factories_createCognitoUserPoolEndpointResolver_mjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../factories/createCognitoUserPoolEndpointResolver.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs");
4283
-
4284
-
4285
-
4286
-
4287
-
4288
-
4289
-
4290
-
4291
-
4292
-
4293
-
4294
-
4295
-
4296
-
4297
-
4298
-
4299
-
4300
-
4301
-
4302
-
4303
-
4304
-
4305
-
4306
-
4307
-
4308
-
4309
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4310
- // SPDX-License-Identifier: Apache-2.0
4311
- const logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__.ConsoleLogger('Auth');
4312
- /**
4313
- * Signs a user out
4314
- *
4315
- * @param input - The SignOutInput object
4316
- * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.
4317
- */
4318
- async function signOut(input) {
4319
- const cognitoConfig = _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__.Amplify.getConfig().Auth?.Cognito;
4320
- (0,_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_3__.assertTokenProviderConfig)(cognitoConfig);
4321
- if (input?.global) {
4322
- await globalSignOut(cognitoConfig);
4323
- }
4324
- else {
4325
- await clientSignOut(cognitoConfig);
4326
- }
4327
- let hasOAuthConfig;
4328
- try {
4329
- (0,_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_3__.assertOAuthConfig)(cognitoConfig);
4330
- hasOAuthConfig = true;
4331
- }
4332
- catch (err) {
4333
- hasOAuthConfig = false;
4334
- }
4335
- if (hasOAuthConfig) {
4336
- const oAuthStore = new _utils_signInWithRedirectStore_mjs__WEBPACK_IMPORTED_MODULE_4__.DefaultOAuthStore(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_5__.defaultStorage);
4337
- oAuthStore.setAuthConfig(cognitoConfig);
4338
- const { type } = (await (0,_utils_oauth_handleOAuthSignOut_mjs__WEBPACK_IMPORTED_MODULE_6__.handleOAuthSignOut)(cognitoConfig, oAuthStore, _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_7__.tokenOrchestrator, input?.oauth?.redirectUrl)) ?? {};
4339
- if (type === 'error') {
4340
- throw new _errors_AuthError_mjs__WEBPACK_IMPORTED_MODULE_8__.AuthError({
4341
- name: _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_9__.OAUTH_SIGNOUT_EXCEPTION,
4342
- message: `An error occurred when attempting to log out from OAuth provider.`,
4343
- });
4344
- }
4345
- }
4346
- else {
4347
- // complete sign out
4348
- _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_7__.tokenOrchestrator.clearTokens();
4349
- await (0,_aws_amplify_core__WEBPACK_IMPORTED_MODULE_10__.clearCredentials)();
4350
- _aws_amplify_core__WEBPACK_IMPORTED_MODULE_11__.Hub.dispatch('auth', { event: 'signedOut' }, 'Auth', _aws_amplify_core__WEBPACK_IMPORTED_MODULE_11__.AMPLIFY_SYMBOL);
4351
- }
4352
- }
4353
- async function clientSignOut(cognitoConfig) {
4354
- try {
4355
- const { userPoolEndpoint, userPoolId, userPoolClientId } = cognitoConfig;
4356
- const authTokens = await _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_7__.tokenOrchestrator.getTokenStore().loadTokens();
4357
- (0,_utils_types_mjs__WEBPACK_IMPORTED_MODULE_12__.assertAuthTokensWithRefreshToken)(authTokens);
4358
- if (isSessionRevocable(authTokens.accessToken)) {
4359
- const revokeToken = (0,_foundation_factories_serviceClients_cognitoIdentityProvider_createRevokeTokenClient_mjs__WEBPACK_IMPORTED_MODULE_13__.createRevokeTokenClient)({
4360
- endpointResolver: (0,_factories_createCognitoUserPoolEndpointResolver_mjs__WEBPACK_IMPORTED_MODULE_14__.createCognitoUserPoolEndpointResolver)({
4361
- endpointOverride: userPoolEndpoint,
4362
- }),
4363
- });
4364
- await revokeToken({
4365
- region: (0,_foundation_parsers_regionParsers_mjs__WEBPACK_IMPORTED_MODULE_15__.getRegionFromUserPoolId)(userPoolId),
4366
- userAgentValue: (0,_utils_getAuthUserAgentValue_mjs__WEBPACK_IMPORTED_MODULE_16__.getAuthUserAgentValue)(_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_17__.AuthAction.SignOut),
4367
- }, {
4368
- ClientId: userPoolClientId,
4369
- Token: authTokens.refreshToken,
4370
- });
4371
- }
4372
- }
4373
- catch (err) {
4374
- // this shouldn't throw
4375
- logger.debug('Client signOut error caught but will proceed with token removal');
4376
- }
4377
- }
4378
- async function globalSignOut(cognitoConfig) {
4379
- try {
4380
- const { userPoolEndpoint, userPoolId } = cognitoConfig;
4381
- const authTokens = await _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_7__.tokenOrchestrator.getTokenStore().loadTokens();
4382
- (0,_utils_types_mjs__WEBPACK_IMPORTED_MODULE_12__.assertAuthTokens)(authTokens);
4383
- const globalSignOutClient = (0,_foundation_factories_serviceClients_cognitoIdentityProvider_createGlobalSignOutClient_mjs__WEBPACK_IMPORTED_MODULE_18__.createGlobalSignOutClient)({
4384
- endpointResolver: (0,_factories_createCognitoUserPoolEndpointResolver_mjs__WEBPACK_IMPORTED_MODULE_14__.createCognitoUserPoolEndpointResolver)({
4385
- endpointOverride: userPoolEndpoint,
4386
- }),
4387
- });
4388
- await globalSignOutClient({
4389
- region: (0,_foundation_parsers_regionParsers_mjs__WEBPACK_IMPORTED_MODULE_15__.getRegionFromUserPoolId)(userPoolId),
4390
- userAgentValue: (0,_utils_getAuthUserAgentValue_mjs__WEBPACK_IMPORTED_MODULE_16__.getAuthUserAgentValue)(_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_17__.AuthAction.SignOut),
4391
- }, {
4392
- AccessToken: authTokens.accessToken.toString(),
4393
- });
4394
- }
4395
- catch (err) {
4396
- // it should not throw
4397
- logger.debug('Global signOut error caught but will proceed with token removal');
4398
- }
4399
- }
4400
- const isSessionRevocable = (token) => !!token?.payload?.origin_jti;
4401
-
4402
-
4403
- //# sourceMappingURL=signOut.mjs.map
4404
-
4405
-
4406
4177
  /***/ }),
4407
4178
 
4408
4179
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signUp.mjs":
@@ -5876,42 +5647,6 @@ const clearHistory = (redirectUri) => {
5876
5647
  //# sourceMappingURL=completeOAuthFlow.mjs.map
5877
5648
 
5878
5649
 
5879
- /***/ }),
5880
-
5881
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/completeOAuthSignOut.mjs":
5882
- /*!********************************************************************************************************!*\
5883
- !*** ./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/completeOAuthSignOut.mjs ***!
5884
- \********************************************************************************************************/
5885
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5886
-
5887
- "use strict";
5888
- __webpack_require__.r(__webpack_exports__);
5889
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5890
- /* harmony export */ completeOAuthSignOut: () => (/* binding */ completeOAuthSignOut)
5891
- /* harmony export */ });
5892
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/core */ "./node_modules/@aws-amplify/core/dist/esm/singleton/apis/clearCredentials.mjs");
5893
- /* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/Hub/index.mjs");
5894
- /* harmony import */ var _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../tokenProvider/tokenProvider.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/tokenProvider/tokenProvider.mjs");
5895
-
5896
-
5897
-
5898
-
5899
-
5900
-
5901
-
5902
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5903
- // SPDX-License-Identifier: Apache-2.0
5904
- const completeOAuthSignOut = async (store) => {
5905
- await store.clearOAuthData();
5906
- _tokenProvider_tokenProvider_mjs__WEBPACK_IMPORTED_MODULE_0__.tokenOrchestrator.clearTokens();
5907
- await (0,_aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__.clearCredentials)();
5908
- _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__.Hub.dispatch('auth', { event: 'signedOut' }, 'Auth', _aws_amplify_core__WEBPACK_IMPORTED_MODULE_2__.AMPLIFY_SYMBOL);
5909
- };
5910
-
5911
-
5912
- //# sourceMappingURL=completeOAuthSignOut.mjs.map
5913
-
5914
-
5915
5650
  /***/ }),
5916
5651
 
5917
5652
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/createOAuthError.mjs":
@@ -6067,57 +5802,6 @@ const generateState = () => {
6067
5802
  //# sourceMappingURL=generateState.mjs.map
6068
5803
 
6069
5804
 
6070
- /***/ }),
6071
-
6072
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/getRedirectUrl.mjs":
6073
- /*!**************************************************************************************************!*\
6074
- !*** ./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/getRedirectUrl.mjs ***!
6075
- \**************************************************************************************************/
6076
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6077
-
6078
- "use strict";
6079
- __webpack_require__.r(__webpack_exports__);
6080
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6081
- /* harmony export */ getRedirectUrl: () => (/* binding */ getRedirectUrl)
6082
- /* harmony export */ });
6083
- /* harmony import */ var _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../errors/constants.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/errors/constants.mjs");
6084
-
6085
-
6086
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
6087
- // SPDX-License-Identifier: Apache-2.0
6088
- /** @internal */
6089
- function getRedirectUrl(redirects, preferredRedirectUrl) {
6090
- if (preferredRedirectUrl) {
6091
- const redirectUrl = redirects?.find(redirect => redirect === preferredRedirectUrl);
6092
- if (!redirectUrl) {
6093
- throw _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_0__.invalidPreferredRedirectUrlException;
6094
- }
6095
- return redirectUrl;
6096
- }
6097
- else {
6098
- const redirectUrlFromTheSameOrigin = redirects?.find(isSameOriginAndPathName) ??
6099
- redirects?.find(isTheSameDomain);
6100
- const redirectUrlFromDifferentOrigin = redirects?.find(isHttps) ?? redirects?.find(isHttp);
6101
- if (redirectUrlFromTheSameOrigin) {
6102
- return redirectUrlFromTheSameOrigin;
6103
- }
6104
- else if (redirectUrlFromDifferentOrigin) {
6105
- throw _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_0__.invalidOriginException;
6106
- }
6107
- throw _errors_constants_mjs__WEBPACK_IMPORTED_MODULE_0__.invalidRedirectException;
6108
- }
6109
- }
6110
- // origin + pathname => https://example.com/app
6111
- const isSameOriginAndPathName = (redirect) => redirect.startsWith(String(window.location.origin + (window.location.pathname || '/')));
6112
- // domain => outlook.live.com, github.com
6113
- const isTheSameDomain = (redirect) => redirect.includes(String(window.location.hostname));
6114
- const isHttp = (redirect) => redirect.startsWith('http://');
6115
- const isHttps = (redirect) => redirect.startsWith('https://');
6116
-
6117
-
6118
- //# sourceMappingURL=getRedirectUrl.mjs.map
6119
-
6120
-
6121
5805
  /***/ }),
6122
5806
 
6123
5807
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/handleFailure.mjs":
@@ -6151,88 +5835,6 @@ const handleFailure = async (error) => {
6151
5835
  //# sourceMappingURL=handleFailure.mjs.map
6152
5836
 
6153
5837
 
6154
- /***/ }),
6155
-
6156
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/handleOAuthSignOut.mjs":
6157
- /*!******************************************************************************************************!*\
6158
- !*** ./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/handleOAuthSignOut.mjs ***!
6159
- \******************************************************************************************************/
6160
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6161
-
6162
- "use strict";
6163
- __webpack_require__.r(__webpack_exports__);
6164
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6165
- /* harmony export */ handleOAuthSignOut: () => (/* binding */ handleOAuthSignOut)
6166
- /* harmony export */ });
6167
- /* harmony import */ var _completeOAuthSignOut_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./completeOAuthSignOut.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/completeOAuthSignOut.mjs");
6168
- /* harmony import */ var _oAuthSignOutRedirect_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./oAuthSignOutRedirect.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/oAuthSignOutRedirect.mjs");
6169
-
6170
-
6171
-
6172
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
6173
- // SPDX-License-Identifier: Apache-2.0
6174
- const handleOAuthSignOut = async (cognitoConfig, store, tokenOrchestrator, redirectUrl) => {
6175
- const { isOAuthSignIn } = await store.loadOAuthSignIn();
6176
- const oauthMetadata = await tokenOrchestrator.getOAuthMetadata();
6177
- // Clear everything before attempting to visted logout endpoint since the current application
6178
- // state could be wiped away on redirect
6179
- await (0,_completeOAuthSignOut_mjs__WEBPACK_IMPORTED_MODULE_0__.completeOAuthSignOut)(store);
6180
- // The isOAuthSignIn flag is propagated by the oAuthToken store which manages oauth keys in local storage only.
6181
- // These keys are used to determine if a user is in an inflight or signedIn oauth states.
6182
- // However, this behavior represents an issue when 2 apps share the same set of tokens in Cookie storage because the app that didn't
6183
- // start the OAuth will not have access to the oauth keys.
6184
- // A heuristic solution is to add oauth metadata to the tokenOrchestrator which will have access to the underlying
6185
- // storage mechanism that is used by Amplify.
6186
- if (isOAuthSignIn || oauthMetadata?.oauthSignIn) {
6187
- // On web, this will always end up being a void action
6188
- return (0,_oAuthSignOutRedirect_mjs__WEBPACK_IMPORTED_MODULE_1__.oAuthSignOutRedirect)(cognitoConfig, false, redirectUrl);
6189
- }
6190
- };
6191
-
6192
-
6193
- //# sourceMappingURL=handleOAuthSignOut.mjs.map
6194
-
6195
-
6196
- /***/ }),
6197
-
6198
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/oAuthSignOutRedirect.mjs":
6199
- /*!********************************************************************************************************!*\
6200
- !*** ./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/oAuthSignOutRedirect.mjs ***!
6201
- \********************************************************************************************************/
6202
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6203
-
6204
- "use strict";
6205
- __webpack_require__.r(__webpack_exports__);
6206
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6207
- /* harmony export */ oAuthSignOutRedirect: () => (/* binding */ oAuthSignOutRedirect)
6208
- /* harmony export */ });
6209
- /* harmony import */ var _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/singleton/Auth/utils/index.mjs");
6210
- /* harmony import */ var _utils_openAuthSession_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../utils/openAuthSession.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/utils/openAuthSession.mjs");
6211
- /* harmony import */ var _getRedirectUrl_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getRedirectUrl.mjs */ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/getRedirectUrl.mjs");
6212
-
6213
-
6214
-
6215
-
6216
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
6217
- // SPDX-License-Identifier: Apache-2.0
6218
- const oAuthSignOutRedirect = async (authConfig, preferPrivateSession = false, redirectUrl) => {
6219
- (0,_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_0__.assertOAuthConfig)(authConfig);
6220
- const { loginWith, userPoolClientId } = authConfig;
6221
- const { domain, redirectSignOut } = loginWith.oauth;
6222
- const signoutUri = (0,_getRedirectUrl_mjs__WEBPACK_IMPORTED_MODULE_1__.getRedirectUrl)(redirectSignOut, redirectUrl);
6223
- const oAuthLogoutEndpoint = `https://${domain}/logout?${Object.entries({
6224
- client_id: userPoolClientId,
6225
- logout_uri: encodeURIComponent(signoutUri),
6226
- })
6227
- .map(([k, v]) => `${k}=${v}`)
6228
- .join('&')}`;
6229
- return (0,_utils_openAuthSession_mjs__WEBPACK_IMPORTED_MODULE_2__.openAuthSession)(oAuthLogoutEndpoint);
6230
- };
6231
-
6232
-
6233
- //# sourceMappingURL=oAuthSignOutRedirect.mjs.map
6234
-
6235
-
6236
5838
  /***/ }),
6237
5839
 
6238
5840
  /***/ "./node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/validateState.mjs":
@@ -9059,62 +8661,6 @@ var AuthErrorTypes;
9059
8661
  //# sourceMappingURL=Auth.mjs.map
9060
8662
 
9061
8663
 
9062
- /***/ }),
9063
-
9064
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/utils/getAuthUserAgentValue.mjs":
9065
- /*!*********************************************************************************!*\
9066
- !*** ./node_modules/@aws-amplify/auth/dist/esm/utils/getAuthUserAgentValue.mjs ***!
9067
- \*********************************************************************************/
9068
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9069
-
9070
- "use strict";
9071
- __webpack_require__.r(__webpack_exports__);
9072
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9073
- /* harmony export */ getAuthUserAgentValue: () => (/* binding */ getAuthUserAgentValue)
9074
- /* harmony export */ });
9075
- /* harmony import */ var _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/Platform/index.mjs");
9076
- /* harmony import */ var _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-amplify/core/internals/utils */ "./node_modules/@aws-amplify/core/dist/esm/Platform/types.mjs");
9077
-
9078
-
9079
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9080
- // SPDX-License-Identifier: Apache-2.0
9081
- const getAuthUserAgentValue = (action, customUserAgentDetails) => (0,_aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_0__.getAmplifyUserAgent)({
9082
- category: _aws_amplify_core_internals_utils__WEBPACK_IMPORTED_MODULE_1__.Category.Auth,
9083
- action,
9084
- ...customUserAgentDetails,
9085
- });
9086
-
9087
-
9088
- //# sourceMappingURL=getAuthUserAgentValue.mjs.map
9089
-
9090
-
9091
- /***/ }),
9092
-
9093
- /***/ "./node_modules/@aws-amplify/auth/dist/esm/utils/openAuthSession.mjs":
9094
- /*!***************************************************************************!*\
9095
- !*** ./node_modules/@aws-amplify/auth/dist/esm/utils/openAuthSession.mjs ***!
9096
- \***************************************************************************/
9097
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9098
-
9099
- "use strict";
9100
- __webpack_require__.r(__webpack_exports__);
9101
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9102
- /* harmony export */ openAuthSession: () => (/* binding */ openAuthSession)
9103
- /* harmony export */ });
9104
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9105
- // SPDX-License-Identifier: Apache-2.0
9106
- const openAuthSession = async (url) => {
9107
- if (!window?.location) {
9108
- return;
9109
- }
9110
- // enforce HTTPS
9111
- window.location.href = url.replace('http://', 'https://');
9112
- };
9113
-
9114
-
9115
- //# sourceMappingURL=openAuthSession.mjs.map
9116
-
9117
-
9118
8664
  /***/ }),
9119
8665
 
9120
8666
  /***/ "./node_modules/@aws-amplify/core/dist/esm/I18n/I18n.mjs":
@@ -9400,32 +8946,6 @@ I18n.createInstance();
9400
8946
  //# sourceMappingURL=index.mjs.map
9401
8947
 
9402
8948
 
9403
- /***/ }),
9404
-
9405
- /***/ "./node_modules/@aws-amplify/core/dist/esm/singleton/apis/clearCredentials.mjs":
9406
- /*!*************************************************************************************!*\
9407
- !*** ./node_modules/@aws-amplify/core/dist/esm/singleton/apis/clearCredentials.mjs ***!
9408
- \*************************************************************************************/
9409
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9410
-
9411
- "use strict";
9412
- __webpack_require__.r(__webpack_exports__);
9413
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9414
- /* harmony export */ clearCredentials: () => (/* binding */ clearCredentials)
9415
- /* harmony export */ });
9416
- /* harmony import */ var _Amplify_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Amplify.mjs */ "./node_modules/@aws-amplify/core/dist/esm/singleton/Amplify.mjs");
9417
-
9418
-
9419
- // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
9420
- // SPDX-License-Identifier: Apache-2.0
9421
- function clearCredentials() {
9422
- return _Amplify_mjs__WEBPACK_IMPORTED_MODULE_0__.Amplify.Auth.clearCredentials();
9423
- }
9424
-
9425
-
9426
- //# sourceMappingURL=clearCredentials.mjs.map
9427
-
9428
-
9429
8949
  /***/ }),
9430
8950
 
9431
8951
  /***/ "./node_modules/@aws-amplify/core/dist/esm/utils/WordArray.mjs":
@@ -60175,4 +59695,4 @@ function isRaisableAction(action) {
60175
59695
  /***/ })
60176
59696
 
60177
59697
  }]);
60178
- //# sourceMappingURL=vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.61289bff0db44828605b.js.map
59698
+ //# sourceMappingURL=vendors-node_modules_aws-amplify_ui-react_dist_esm_index_mjs.4fcecd65bef9e9847609.js.map