diff --git a/dsql-app/.local_dist/BUILD_ID b/dsql-app/.local_dist/BUILD_ID index 062544c..dbbeb73 100644 --- a/dsql-app/.local_dist/BUILD_ID +++ b/dsql-app/.local_dist/BUILD_ID @@ -1 +1 @@ -HcU1grNdeICz9zVVD_7aa \ No newline at end of file +1gOSN7HLWCIumskNUJc1E \ No newline at end of file diff --git a/dsql-app/.local_dist/build-manifest.json b/dsql-app/.local_dist/build-manifest.json index d7460d9..ad49048 100644 --- a/dsql-app/.local_dist/build-manifest.json +++ b/dsql-app/.local_dist/build-manifest.json @@ -5,8 +5,8 @@ "devFiles": [], "ampDevFiles": [], "lowPriorityFiles": [ - "static/HcU1grNdeICz9zVVD_7aa/_buildManifest.js", - "static/HcU1grNdeICz9zVVD_7aa/_ssgManifest.js" + "static/1gOSN7HLWCIumskNUJc1E/_buildManifest.js", + "static/1gOSN7HLWCIumskNUJc1E/_ssgManifest.js" ], "rootMainFiles": [], "rootMainFilesTree": {}, @@ -35,7 +35,7 @@ "static/chunks/webpack-5381863dc66a9c32.js", "static/chunks/framework-898697981b1ca118.js", "static/chunks/main-36f93e1764e6ea94.js", - "static/css/59f9d939bb2b7c23.css", + "static/css/40a7197d287e4ac0.css", "static/chunks/pages/_app-946b7f00d529ca86.js" ], "/_error": [ @@ -338,7 +338,7 @@ "static/chunks/main-36f93e1764e6ea94.js", "static/chunks/9799-abc615966398fac4.js", "static/chunks/5256-56bdbb8f4109cb29.js", - "static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js" + "static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js" ], "/admin/[user_id]/media/[...folder]": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -346,7 +346,7 @@ "static/chunks/main-36f93e1764e6ea94.js", "static/chunks/9799-abc615966398fac4.js", "static/chunks/5256-56bdbb8f4109cb29.js", - "static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js" + "static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js" ], "/admin/[user_id]/schema": [ "static/chunks/webpack-5381863dc66a9c32.js", diff --git a/dsql-app/.local_dist/cache/config.json b/dsql-app/.local_dist/cache/config.json index 341f006..f25414a 100644 --- a/dsql-app/.local_dist/cache/config.json +++ b/dsql-app/.local_dist/cache/config.json @@ -1,7 +1,7 @@ { "telemetry": { - "notifiedAt": "1733747119453", - "anonymousId": "0d240eb9f14eaa71752d03fb94b38bdbf327d425c1660e5bb6a61296a1b46901", - "salt": "4c9776bfc00f4c0417be0db8eac0efba" + "notifiedAt": "1734261936298", + "anonymousId": "ebafc3d19bc9fe4ccb439101988f90af2135dc7f7c7e64afad9454ef419293f8", + "salt": "58b09a75c3239fe3358c2d88a9b4cb44" } } \ No newline at end of file diff --git a/dsql-app/.local_dist/cache/webpack/client-production/0.pack b/dsql-app/.local_dist/cache/webpack/client-production/0.pack index e16ec5b..2456b4a 100644 Binary files a/dsql-app/.local_dist/cache/webpack/client-production/0.pack and b/dsql-app/.local_dist/cache/webpack/client-production/0.pack differ diff --git a/dsql-app/.local_dist/cache/webpack/client-production/index.pack b/dsql-app/.local_dist/cache/webpack/client-production/index.pack index dba03cc..c02c92f 100644 Binary files a/dsql-app/.local_dist/cache/webpack/client-production/index.pack and b/dsql-app/.local_dist/cache/webpack/client-production/index.pack differ diff --git a/dsql-app/.local_dist/cache/webpack/edge-server-production/index.pack b/dsql-app/.local_dist/cache/webpack/edge-server-production/index.pack index aa70a67..ac6ca48 100644 Binary files a/dsql-app/.local_dist/cache/webpack/edge-server-production/index.pack and b/dsql-app/.local_dist/cache/webpack/edge-server-production/index.pack differ diff --git a/dsql-app/.local_dist/cache/webpack/server-production/0.pack b/dsql-app/.local_dist/cache/webpack/server-production/0.pack index 38f51f9..5e134b0 100644 Binary files a/dsql-app/.local_dist/cache/webpack/server-production/0.pack and b/dsql-app/.local_dist/cache/webpack/server-production/0.pack differ diff --git a/dsql-app/.local_dist/cache/webpack/server-production/index.pack b/dsql-app/.local_dist/cache/webpack/server-production/index.pack index 7375ada..e911ced 100644 Binary files a/dsql-app/.local_dist/cache/webpack/server-production/index.pack and b/dsql-app/.local_dist/cache/webpack/server-production/index.pack differ diff --git a/dsql-app/.local_dist/next-minimal-server.js.nft.json b/dsql-app/.local_dist/next-minimal-server.js.nft.json index c9b07d6..9a2d105 100644 --- a/dsql-app/.local_dist/next-minimal-server.js.nft.json +++ b/dsql-app/.local_dist/next-minimal-server.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/compiled/next-server/server.runtime.prod.js","../node_modules/next/package.json","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/build/next-dir-paths.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/webpack-module-path.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-url.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/core.js","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js"]} \ No newline at end of file +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/compiled/next-server/server.runtime.prod.js","../node_modules/next/package.json","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/build/next-dir-paths.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/webpack-module-path.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-url.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/core.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js"]} \ No newline at end of file diff --git a/dsql-app/.local_dist/next-server.js.nft.json b/dsql-app/.local_dist/next-server.js.nft.json index fd5aca9..3d4cb9e 100644 --- a/dsql-app/.local_dist/next-server.js.nft.json +++ b/dsql-app/.local_dist/next-server.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/server/next-server.js","../node_modules/next/package.json","../node_modules/next/dist/server/base-server.js","../node_modules/next/dist/server/node-environment.js","../node_modules/next/dist/server/require-hook.js","../node_modules/next/dist/server/node-polyfill-crypto.js","../node_modules/next/dist/server/request-meta.js","../node_modules/next/dist/lib/find-pages-dir.js","../node_modules/next/dist/server/send-payload.js","../node_modules/next/dist/server/require.js","../node_modules/next/dist/server/load-components.js","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/server/setup-http-agent-env.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/server/pipe-readable.js","../node_modules/next/dist/server/load-manifest.js","../node_modules/next/dist/lib/interop-default.js","../node_modules/next/dist/lib/format-dynamic-import-path.js","../node_modules/next/dist/lib/generate-interception-routes-rewrites.js","../node_modules/next/dist/server/route-kind.js","../node_modules/next/dist/server/image-optimizer.js","../node_modules/next/dist/server/serve-static.js","../node_modules/next/dist/lib/format-server-error.js","../node_modules/next/dist/shared/lib/utils.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/base-http/node.js","../node_modules/next/dist/build/output/log.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/server/route-matches/pages-api-route-match.js","../node_modules/next/dist/server/lib/node-fs-methods.js","../node_modules/next/dist/server/lib/mock-request.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/server/lib/module-loader/route-module-loader.js","../node_modules/next/dist/server/route-modules/app-page/module.render.js","../node_modules/next/dist/server/route-modules/pages/module.render.js","../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/querystring.js","../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../node_modules/next/dist/server/web/spec-extension/adapters/next-request.js","../node_modules/react-dom/package.json","../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../node_modules/react/jsx-runtime.js","../node_modules/next/dist/server/api-utils/index.js","../node_modules/next/dist/server/response-cache/index.js","../node_modules/sharp/package.json","../node_modules/next/dist/server/lib/incremental-cache/index.js","../node_modules/next/dist/experimental/testmode/server.js","../node_modules/next/dist/server/web/sandbox/index.js","../node_modules/@next/env/package.json","../node_modules/sharp/lib/index.js","../node_modules/react-dom/index.js","../node_modules/next/dist/server/node-environment-baseline.js","../node_modules/next/dist/lib/wait.js","../node_modules/next/dist/lib/detached-promise.js","../node_modules/next/dist/server/client-component-renderer-logger.js","../node_modules/next/dist/lib/url.js","../node_modules/@next/env/dist/index.js","../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../node_modules/next/dist/server/node-environment-extensions/random.js","../node_modules/next/dist/server/node-environment-extensions/date.js","../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../node_modules/next/dist/server/lib/etag.js","../node_modules/next/dist/server/lib/revalidate.js","../node_modules/next/dist/server/lib/lru-cache.js","../node_modules/next/dist/server/app-render/encryption-utils.js","../node_modules/next/dist/server/app-render/action-utils.js","../node_modules/next/dist/lib/metadata/is-metadata-route.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/shared/lib/deep-freeze.js","../node_modules/next/dist/server/lib/interception-routes.js","../node_modules/next/dist/shared/lib/image-blur-svg.js","../node_modules/next/dist/shared/lib/match-local-pattern.js","../node_modules/next/dist/shared/lib/match-remote-pattern.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/head.js","../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../node_modules/next/dist/server/base-http/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../node_modules/next/dist/server/lib/module-loader/node-module-loader.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js","../node_modules/next/dist/shared/lib/segment.js","../node_modules/next/dist/shared/lib/escape-regexp.js","../node_modules/next/dist/server/base-http/helpers.js","../node_modules/next/dist/lib/batcher.js","../node_modules/next/dist/lib/scheduler.js","../node_modules/next/dist/server/web/spec-extension/request.js","../node_modules/next/dist/server/response-cache/types.js","../node_modules/next/dist/server/response-cache/utils.js","../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/next/dist/experimental/testmode/context.js","../node_modules/next/dist/experimental/testmode/fetch.js","../node_modules/next/dist/experimental/testmode/httpget.js","../node_modules/next/dist/server/lib/to-route.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/server/web/spec-extension/adapters/headers.js","../node_modules/next/dist/compiled/fresh/package.json","../node_modules/next/dist/compiled/path-to-regexp/package.json","../node_modules/next/dist/compiled/content-disposition/package.json","../node_modules/next/dist/compiled/is-animated/package.json","../node_modules/next/dist/compiled/image-size/package.json","../node_modules/next/dist/compiled/send/package.json","../node_modules/next/dist/server/lib/incremental-cache/fetch-cache.js","../node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js","../node_modules/next/dist/server/lib/incremental-cache/shared-revalidate-timings.js","../node_modules/next/dist/server/web/sandbox/sandbox.js","../node_modules/next/dist/server/web/sandbox/context.js","../node_modules/next/dist/lib/redirect-status.js","../node_modules/next/dist/lib/is-edge-runtime.js","../node_modules/next/dist/server/utils.js","../node_modules/next/dist/server/render-result.js","../node_modules/next/dist/server/server-utils.js","../node_modules/next/dist/server/send-response.js","../node_modules/next/dist/lib/fallback.js","../node_modules/next/dist/compiled/@hapi/accept/package.json","../node_modules/next/dist/shared/lib/router/utils/index.js","../node_modules/next/dist/server/request/fallback-params.js","../node_modules/next/dist/server/lib/format-hostname.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/shared/lib/get-hostname.js","../node_modules/next/dist/server/normalizers/locale-route-normalizer.js","../node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js","../node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js","../node_modules/next/dist/server/lib/i18n-provider.js","../node_modules/next/dist/server/lib/match-next-data-pathname.js","../node_modules/next/dist/server/app-render/strip-flight-headers.js","../node_modules/next/dist/server/route-modules/checks.js","../node_modules/next/dist/server/lib/server-action-request-meta.js","../node_modules/next/dist/server/lib/patch-set-header.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/next/dist/server/stream-utils/encodedTags.js","../node_modules/next/dist/server/web/adapter.js","../node_modules/next/dist/server/instrumentation/utils.js","../node_modules/next/dist/server/resume-data-cache/resume-data-cache.js","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/server/patch-error-inspect.js","../node_modules/next/dist/server/lib/router-utils/decode-path-params.js","../node_modules/next/dist/server/normalizers/request/rsc.js","../node_modules/next/dist/server/normalizers/request/prefetch-rsc.js","../node_modules/next/dist/server/normalizers/request/next-data.js","../node_modules/next/dist/server/lib/experimental/ppr.js","../node_modules/next/dist/server/api-utils/node/try-get-preview-data.js","../node_modules/next/dist/server/node-environment-extensions/utils.js","../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js","../node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/shared/lib/invariant-error.js","../node_modules/react-dom/server.browser.js","../node_modules/next/dist/compiled/fresh/index.js","../node_modules/next/dist/compiled/path-to-regexp/index.js","../node_modules/next/dist/compiled/content-disposition/index.js","../node_modules/next/dist/compiled/is-animated/index.js","../node_modules/next/dist/compiled/image-size/index.js","../node_modules/next/dist/compiled/send/index.js","../node_modules/next/dist/shared/lib/side-effect.js","../node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","../node_modules/next/dist/shared/lib/amp-mode.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/next/dist/client/components/redirect-status-code.js","../node_modules/next/dist/server/api-utils/get-cookie-parser.js","../node_modules/next/dist/shared/lib/utils/warn-once.js","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/cookie/package.json","../node_modules/next/dist/compiled/@hapi/accept/index.js","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/next/dist/server/web/next-url.js","../node_modules/next/dist/server/web/error.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/web/spec-extension/cookies.js","../node_modules/next/dist/compiled/cookie/index.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/lib/pick.js","../node_modules/next/dist/server/stream-utils/node-web-streams-helper.js","../node_modules/next/dist/compiled/picomatch/package.json","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../node_modules/next/dist/lib/is-app-page-route.js","../node_modules/next/dist/lib/is-app-route-route.js","../node_modules/next/dist/lib/is-api-route.js","../node_modules/next/dist/server/internal-utils.js","../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/next/dist/shared/lib/isomorphic/path.js","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js","../node_modules/next/dist/server/web/sandbox/resource-managers.js","../node_modules/@img/sharp-libvips-linux-x64/package.json","../node_modules/@img/sharp-libvips-linux-x64/versions.json","../node_modules/@img/sharp-libvips-linuxmusl-x64/package.json","../node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json","../node_modules/@img/sharp-linux-x64/LICENSE","../node_modules/@img/sharp-linux-x64/package.json","../node_modules/@img/sharp-linuxmusl-x64/LICENSE","../node_modules/@img/sharp-linuxmusl-x64/package.json","../node_modules/next/dist/server/lib/is-ipv6.js","../node_modules/next/dist/server/route-matchers/locale-route-matcher.js","../node_modules/next/dist/server/route-matchers/app-page-route-matcher.js","../node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js","../node_modules/next/dist/server/route-matchers/app-route-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-route-matcher.js","../node_modules/next/dist/server/resume-data-cache/cache-store.js","../node_modules/next/dist/server/web/globals.js","../node_modules/next/dist/server/async-storage/request-store.js","../node_modules/next/dist/server/async-storage/work-store.js","../node_modules/next/dist/server/web/web-on-close.js","../node_modules/next/dist/server/web/get-edge-preview-props.js","../node_modules/scheduler/package.json","../node_modules/@img/sharp-libvips-linux-x64/lib/index.js","../node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.42","../node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js","../node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.42","../node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node","../node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node","../node_modules/next/dist/server/crypto-utils.js","../node_modules/next/dist/server/web/spec-extension/adapters/reflect.js","../node_modules/next/dist/shared/lib/router/utils/path-match.js","../node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js","../node_modules/next/dist/server/web/spec-extension/fetch-event.js","../node_modules/next/dist/server/web/spec-extension/response.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/server/route-modules/app-page/module.js","../node_modules/next/dist/server/route-modules/pages/module.js","../node_modules/next/dist/server/app-render/dynamic-rendering.js","../node_modules/next/dist/shared/lib/router/utils/relativize-url.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/server/normalizers/request/suffix.js","../node_modules/next/dist/server/normalizers/request/prefix.js","../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/scheduler/index.js","../node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js","../node_modules/next/dist/compiled/picomatch/index.js","../node_modules/sharp/lib/constructor.js","../node_modules/sharp/lib/input.js","../node_modules/sharp/lib/composite.js","../node_modules/sharp/lib/resize.js","../node_modules/sharp/lib/operation.js","../node_modules/sharp/lib/channel.js","../node_modules/sharp/lib/colour.js","../node_modules/sharp/lib/utility.js","../node_modules/sharp/lib/output.js","../node_modules/next/dist/experimental/testmode/server-edge.js","../node_modules/next/dist/server/normalizers/built/app/index.js","../node_modules/next/dist/server/normalizers/built/pages/index.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json","../node_modules/next/dist/compiled/edge-runtime/package.json","../node_modules/next/dist/compiled/source-map/package.json","../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../node_modules/next/dist/server/stream-utils/uint8array-helpers.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/cjs/scheduler.development.js","../node_modules/next/dist/server/route-matchers/route-matcher.js","../node_modules/next/dist/server/async-storage/draft-mode-provider.js","../node_modules/next/dist/server/after/after-context.js","../node_modules/next/dist/build/next-dir-paths.js","../node_modules/next/dist/compiled/edge-runtime/index.js","../node_modules/next/dist/server/dynamic-rendering-utils.js","../node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js","../node_modules/next/dist/server/render.js","../node_modules/sharp/lib/is.js","../node_modules/sharp/lib/sharp.js","../node_modules/sharp/lib/libvips.js","../node_modules/next/dist/compiled/source-map/source-map.js","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js","../node_modules/next/dist/client/components/hooks-server-context.js","../node_modules/next/dist/client/components/static-generation-bailout.js","../node_modules/next/dist/lib/metadata/metadata-constants.js","../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js","../node_modules/next/dist/server/app-render/app-render.js","../node_modules/next/dist/server/route-modules/route-module.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/webpack-module-path.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/package.json","../node_modules/next/dist/compiled/bytes/package.json","../node_modules/next/dist/compiled/path-browserify/package.json","../node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js","../node_modules/next/dist/server/app-render/action-async-storage.external.js","../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/detect-libc/package.json","../node_modules/next/dist/lib/is-serializable-props.js","../node_modules/next/dist/server/post-process.js","../node_modules/next/dist/server/after/revalidation-utils.js","../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","../node_modules/next/dist/shared/lib/loadable.shared-runtime.js","../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js","../node_modules/next/dist/shared/lib/router-context.shared-runtime.js","../node_modules/next/dist/shared/lib/html-context.shared-runtime.js","../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","../node_modules/color/index.js","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/shared/lib/router/adapters.js","../node_modules/next/dist/compiled/bytes/index.js","../node_modules/next/dist/compiled/path-browserify/index.js","../node_modules/next/dist/lib/metadata/metadata-context.js","../node_modules/next/dist/client/components/not-found.js","../node_modules/next/dist/client/components/redirect.js","../node_modules/next/dist/server/lib/implicit-tags.js","../node_modules/next/dist/server/app-render/flight-render-result.js","../node_modules/next/dist/server/app-render/create-error-handler.js","../node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js","../node_modules/next/dist/server/app-render/get-segment-param.js","../node_modules/next/dist/server/app-render/get-script-nonce-from-header.js","../node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js","../node_modules/next/dist/server/app-render/action-handler.js","../node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js","../node_modules/next/dist/server/app-render/server-inserted-html.js","../node_modules/next/dist/server/app-render/required-scripts.js","../node_modules/next/dist/server/app-render/make-get-server-inserted-html.js","../node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js","../node_modules/next/dist/server/app-render/create-component-tree.js","../node_modules/next/dist/server/app-render/get-asset-query-string.js","../node_modules/next/dist/server/app-render/postponed-state.js","../node_modules/next/dist/server/app-render/use-flight-response.js","../node_modules/next/dist/client/components/app-router.js","../node_modules/next/dist/server/app-render/app-render-prerender-utils.js","../node_modules/next/dist/server/app-render/prospective-render-utils.js","../node_modules/next/dist/server/app-render/app-render-render-utils.js","../node_modules/next/dist/server/app-render/cache-signal.js","../node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js","../node_modules/next/dist/server/app-render/parse-loader-tree.js","../node_modules/next/dist/client/components/dev-root-not-found-boundary.js","../node_modules/color/package.json","../node_modules/detect-libc/lib/detect-libc.js","../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js","../node_modules/next/dist/shared/lib/router/action-queue.js","../node_modules/next/dist/server/lib/trace/utils.js","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/sharp/node_modules/semver/functions/gte.js","../node_modules/sharp/node_modules/semver/functions/satisfies.js","../node_modules/sharp/node_modules/semver/functions/coerce.js","../node_modules/next/dist/server/ReactDOMServerPages.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","../node_modules/sharp/node_modules/semver/package.json","../node_modules/next/dist/compiled/p-queue/package.json","../node_modules/next/dist/compiled/strip-ansi/package.json","../node_modules/next/dist/compiled/react-is/package.json","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-url.js","../node_modules/next/dist/lib/page-types.js","../node_modules/next/dist/server/normalizers/normalizers.js","../node_modules/next/dist/server/normalizers/prefixing-normalizer.js","../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js","../node_modules/next/dist/lib/non-nullable.js","../node_modules/next/dist/server/optimize-amp.js","../node_modules/next/dist/compiled/nanoid/package.json","../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/detect-libc/lib/process.js","../node_modules/detect-libc/lib/filesystem.js","../node_modules/next/dist/shared/lib/image-config.js","../node_modules/next/dist/server/htmlescape.js","../node_modules/next/dist/lib/client-reference.js","../node_modules/next/dist/client/add-base-path.js","../node_modules/next/dist/client/remove-base-path.js","../node_modules/next/dist/client/has-base-path.js","../node_modules/next/dist/client/app-call-server.js","../node_modules/next/dist/compiled/p-queue/index.js","../node_modules/next/dist/compiled/strip-ansi/index.js","../node_modules/next/dist/compiled/react-is/index.js","../node_modules/next/dist/client/components/is-next-router-error.js","../node_modules/next/dist/server/app-render/types.js","../node_modules/next/dist/server/app-render/csrf-protection.js","../node_modules/next/dist/server/app-render/react-server.node.js","../node_modules/next/dist/shared/lib/encode-uri-path.js","../node_modules/next/dist/client/components/match-segments.js","../node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js","../node_modules/next/dist/server/app-render/get-preloadable-fonts.js","../node_modules/next/dist/server/app-render/has-loading-component-in-tree.js","../node_modules/next/dist/server/lib/app-dir-module.js","../node_modules/next/dist/server/app-render/interop-default.js","../node_modules/next/dist/server/lib/patch-fetch.js","../node_modules/next/dist/server/app-render/get-layer-assets.js","../node_modules/next/dist/client/components/parallel-route-default.js","../node_modules/next/dist/client/components/use-reducer.js","../node_modules/next/dist/client/components/error-boundary.js","../node_modules/next/dist/client/components/app-router-announcer.js","../node_modules/next/dist/client/components/redirect-boundary.js","../node_modules/next/dist/client/components/unresolved-thenable.js","../node_modules/next/dist/client/components/nav-failure-handler.js","../node_modules/next/dist/client/components/not-found-boundary.js","../node_modules/next/dist/client/flight-data-helpers.js","../node_modules/react/jsx-dev-runtime.js","../node_modules/next/dist/server/lib/server-ipc/utils.js","../node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","../node_modules/next/dist/client/components/router-reducer/create-href-from-url.js","../node_modules/next/dist/client/components/router-reducer/compute-changed-path.js","../node_modules/next/dist/compiled/nanoid/index.cjs","../node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js","../node_modules/next/dist/client/components/react-dev-overlay/app/hot-reloader-client.js","../node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.js","../node_modules/next/dist/client/components/router-reducer/prefetch-cache-utils.js","../node_modules/next/dist/client/components/router-reducer/refetch-inactive-parallel-segments.js","../node_modules/next/dist/client/components/router-reducer/router-reducer.js","../node_modules/sharp/node_modules/semver/functions/compare.js","../node_modules/sharp/node_modules/semver/classes/range.js","../node_modules/sharp/node_modules/semver/classes/semver.js","../node_modules/sharp/node_modules/semver/functions/parse.js","../node_modules/sharp/node_modules/semver/internal/re.js","../node_modules/busboy/package.json","../node_modules/color-string/index.js","../node_modules/color-convert/index.js","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/color-string/package.json","../node_modules/color-convert/package.json","../node_modules/next/dist/compiled/string-hash/package.json","../node_modules/next/dist/compiled/superstruct/package.json","../node_modules/react/cjs/react-jsx-dev-runtime.production.min.js","../node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js","../node_modules/busboy/lib/index.js","../node_modules/next/dist/client/normalize-trailing-slash.js","../node_modules/next/dist/server/lib/dedupe-fetch.js","../node_modules/next/dist/client/components/navigation-untracked.js","../node_modules/next/dist/client/components/navigation.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.production.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../node_modules/next/dist/compiled/string-hash/index.js","../node_modules/next/dist/compiled/superstruct/index.cjs","../node_modules/color-convert/conversions.js","../node_modules/color-convert/route.js","../node_modules/sharp/node_modules/semver/internal/lrucache.js","../node_modules/sharp/node_modules/semver/internal/parse-options.js","../node_modules/sharp/node_modules/semver/classes/comparator.js","../node_modules/sharp/node_modules/semver/internal/debug.js","../node_modules/sharp/node_modules/semver/internal/constants.js","../node_modules/sharp/node_modules/semver/internal/identifiers.js","../node_modules/next/dist/server/dev/hot-reloader-types.js","../node_modules/next/dist/server/dev/extract-modules-from-turbopack-message.js","../node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js","../node_modules/next/dist/client/components/react-dev-overlay/shared.js","../node_modules/next/dist/client/components/router-reducer/fetch-server-response.js","../node_modules/next/dist/client/components/router-reducer/apply-flight-data.js","../node_modules/next/dist/client/components/react-dev-overlay/app/ReactDevOverlay.js","../node_modules/next/dist/client/components/router-reducer/reducers/prefetch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/format-webpack-messages.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-error-handler.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/runtime-error-handler.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-websocket.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-component-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stitched-error.js","../node_modules/busboy/lib/utils.js","../node_modules/busboy/lib/types/multipart.js","../node_modules/busboy/lib/types/urlencoded.js","../node_modules/color-name/package.json","../node_modules/next/dist/lib/metadata/get-metadata-route.js","../node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/simple-swizzle/index.js","../node_modules/color-name/index.js","../node_modules/next/dist/client/components/navigation.react-server.js","../node_modules/next/dist/client/components/bailout-to-client-rendering.js","../node_modules/simple-swizzle/package.json","../node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","../node_modules/sharp/node_modules/semver/functions/cmp.js","../node_modules/next/dist/client/app-find-source-map-url.js","../node_modules/next/dist/shared/lib/hash.js","../node_modules/next/dist/client/assign-location.js","../node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.js","../node_modules/next/dist/client/components/promise-queue.js","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.js","../node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.js","../node_modules/next/dist/client/components/router-reducer/should-hard-navigate.js","../node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js","../node_modules/next/dist/client/components/router-reducer/handle-mutable.js","../node_modules/next/dist/client/components/router-reducer/ppr-navigations.js","../node_modules/next/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.js","../node_modules/next/dist/client/components/router-reducer/aliased-prefetch-navigations.js","../node_modules/next/dist/client/components/router-reducer/handle-segment-mismatch.js","../node_modules/next/dist/client/lib/console.js","../node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/ShadowPortal.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/BuildError.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/Errors.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/StaticIndicator.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/ComponentStyles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/Base.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/CssReset.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/root-layout-missing-tags-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/attach-hydration-error-state.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/hydration-error-info.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/console-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/enqueue-client-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-socket-url.js","../node_modules/next/dist/client/components/unstable-rethrow.js","../node_modules/streamsearch/package.json","../node_modules/sharp/node_modules/semver/functions/eq.js","../node_modules/sharp/node_modules/semver/functions/neq.js","../node_modules/sharp/node_modules/semver/functions/gt.js","../node_modules/sharp/node_modules/semver/functions/lt.js","../node_modules/sharp/node_modules/semver/functions/lte.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/streamsearch/lib/sbmh.js","../node_modules/simple-swizzle/node_modules/is-arrayish/index.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/core.js","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.js","../node_modules/simple-swizzle/node_modules/is-arrayish/package.json","../node_modules/next/dist/shared/lib/normalized-asset-prefix.js","../node_modules/next/dist/export/helpers/is-dynamic-usage-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/noop-template.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-error-by-type.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CloseIcon.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/nodejs-inspector.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/LightningBolt.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/next/dist/server/lib/router-utils/is-postpone.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/styles.js","../node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json","../node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/hot-linked-text/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/copy-button/index.js","../node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json","../node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs","../node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stack-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CollapseIcon.js","../node_modules/next/dist/shared/lib/magic-identifier.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/group-stack-frames-by-framework.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/Dialog.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogBody.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogContent.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogHeader.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/Overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/Terminal.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/VersionStalenessInfo.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/LeftRightDialogHeader.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/Toast.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/GroupedStackFrames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/hooks/use-on-click-outside.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/FrameworkIcon.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/maintain--tab-focus.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/body-locker.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/EditorLink.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/CallStackFrame.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/CodeFrame.js","../node_modules/next/dist/compiled/anser/package.json","../node_modules/next/dist/compiled/anser/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-open-in-editor.js","../node_modules/next/dist/compiled/css.escape/package.json","../node_modules/next/dist/compiled/platform/package.json","../node_modules/next/dist/compiled/css.escape/css.escape.js","../node_modules/next/dist/compiled/platform/platform.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js"]} \ No newline at end of file +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/server/next-server.js","../node_modules/next/package.json","../node_modules/next/dist/server/require-hook.js","../node_modules/next/dist/server/base-server.js","../node_modules/next/dist/server/node-environment.js","../node_modules/next/dist/server/node-polyfill-crypto.js","../node_modules/next/dist/server/request-meta.js","../node_modules/next/dist/lib/find-pages-dir.js","../node_modules/next/dist/server/send-payload.js","../node_modules/next/dist/server/require.js","../node_modules/next/dist/server/load-components.js","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/server/setup-http-agent-env.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/server/pipe-readable.js","../node_modules/next/dist/server/load-manifest.js","../node_modules/next/dist/lib/interop-default.js","../node_modules/next/dist/lib/format-dynamic-import-path.js","../node_modules/next/dist/lib/generate-interception-routes-rewrites.js","../node_modules/next/dist/server/route-kind.js","../node_modules/next/dist/server/serve-static.js","../node_modules/next/dist/server/image-optimizer.js","../node_modules/next/dist/lib/format-server-error.js","../node_modules/next/dist/shared/lib/utils.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/base-http/node.js","../node_modules/next/dist/build/output/log.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/server/route-matches/pages-api-route-match.js","../node_modules/next/dist/server/lib/node-fs-methods.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/lib/mock-request.js","../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/server/lib/module-loader/route-module-loader.js","../node_modules/next/dist/server/route-modules/app-page/module.render.js","../node_modules/next/dist/server/route-modules/pages/module.render.js","../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/querystring.js","../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../node_modules/next/dist/server/web/spec-extension/adapters/next-request.js","../node_modules/react-dom/package.json","../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../node_modules/react/jsx-runtime.js","../node_modules/next/dist/server/api-utils/index.js","../node_modules/next/dist/server/response-cache/index.js","../node_modules/sharp/package.json","../node_modules/next/dist/server/lib/incremental-cache/index.js","../node_modules/next/dist/experimental/testmode/server.js","../node_modules/next/dist/server/web/sandbox/index.js","../node_modules/@next/env/package.json","../node_modules/sharp/lib/index.js","../node_modules/react-dom/index.js","../node_modules/next/dist/server/node-environment-baseline.js","../node_modules/next/dist/lib/wait.js","../node_modules/next/dist/lib/detached-promise.js","../node_modules/next/dist/server/client-component-renderer-logger.js","../node_modules/next/dist/lib/url.js","../node_modules/@next/env/dist/index.js","../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../node_modules/next/dist/server/node-environment-extensions/random.js","../node_modules/next/dist/server/node-environment-extensions/date.js","../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../node_modules/next/dist/server/lib/lru-cache.js","../node_modules/next/dist/server/app-render/action-utils.js","../node_modules/next/dist/server/app-render/encryption-utils.js","../node_modules/next/dist/lib/metadata/is-metadata-route.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/server/lib/etag.js","../node_modules/next/dist/server/lib/revalidate.js","../node_modules/next/dist/shared/lib/deep-freeze.js","../node_modules/next/dist/server/lib/interception-routes.js","../node_modules/next/dist/shared/lib/match-remote-pattern.js","../node_modules/next/dist/shared/lib/image-blur-svg.js","../node_modules/next/dist/shared/lib/match-local-pattern.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/head.js","../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../node_modules/next/dist/server/base-http/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js","../node_modules/next/dist/server/lib/module-loader/node-module-loader.js","../node_modules/next/dist/shared/lib/segment.js","../node_modules/next/dist/shared/lib/escape-regexp.js","../node_modules/next/dist/server/base-http/helpers.js","../node_modules/next/dist/lib/batcher.js","../node_modules/next/dist/lib/scheduler.js","../node_modules/next/dist/server/web/spec-extension/request.js","../node_modules/next/dist/server/response-cache/types.js","../node_modules/next/dist/server/response-cache/utils.js","../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/next/dist/experimental/testmode/fetch.js","../node_modules/next/dist/experimental/testmode/context.js","../node_modules/next/dist/experimental/testmode/httpget.js","../node_modules/next/dist/server/lib/to-route.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/next/dist/server/web/spec-extension/adapters/headers.js","../node_modules/next/dist/compiled/fresh/package.json","../node_modules/next/dist/compiled/path-to-regexp/package.json","../node_modules/next/dist/compiled/send/package.json","../node_modules/next/dist/compiled/image-size/package.json","../node_modules/next/dist/compiled/is-animated/package.json","../node_modules/next/dist/compiled/content-disposition/package.json","../node_modules/next/dist/server/lib/incremental-cache/fetch-cache.js","../node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js","../node_modules/next/dist/server/lib/incremental-cache/shared-revalidate-timings.js","../node_modules/next/dist/server/web/sandbox/context.js","../node_modules/next/dist/server/web/sandbox/sandbox.js","../node_modules/next/dist/lib/redirect-status.js","../node_modules/next/dist/lib/is-edge-runtime.js","../node_modules/next/dist/server/utils.js","../node_modules/next/dist/server/render-result.js","../node_modules/next/dist/server/server-utils.js","../node_modules/next/dist/server/send-response.js","../node_modules/next/dist/lib/fallback.js","../node_modules/next/dist/compiled/@hapi/accept/package.json","../node_modules/next/dist/shared/lib/router/utils/index.js","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/server/request/fallback-params.js","../node_modules/next/dist/server/lib/format-hostname.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/shared/lib/get-hostname.js","../node_modules/next/dist/server/normalizers/locale-route-normalizer.js","../node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js","../node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js","../node_modules/next/dist/server/lib/i18n-provider.js","../node_modules/next/dist/server/lib/match-next-data-pathname.js","../node_modules/next/dist/server/app-render/strip-flight-headers.js","../node_modules/next/dist/server/route-modules/checks.js","../node_modules/next/dist/server/lib/server-action-request-meta.js","../node_modules/next/dist/server/lib/patch-set-header.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/next/dist/server/stream-utils/encodedTags.js","../node_modules/next/dist/server/web/adapter.js","../node_modules/next/dist/server/instrumentation/utils.js","../node_modules/next/dist/server/resume-data-cache/resume-data-cache.js","../node_modules/next/dist/server/patch-error-inspect.js","../node_modules/next/dist/server/lib/router-utils/decode-path-params.js","../node_modules/next/dist/server/normalizers/request/rsc.js","../node_modules/next/dist/server/normalizers/request/prefetch-rsc.js","../node_modules/next/dist/server/normalizers/request/next-data.js","../node_modules/next/dist/server/lib/experimental/ppr.js","../node_modules/next/dist/server/api-utils/node/try-get-preview-data.js","../node_modules/next/dist/server/node-environment-extensions/utils.js","../node_modules/next/dist/shared/lib/invariant-error.js","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js","../node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js","../node_modules/react-dom/server.browser.js","../node_modules/next/dist/compiled/fresh/index.js","../node_modules/next/dist/compiled/path-to-regexp/index.js","../node_modules/next/dist/shared/lib/side-effect.js","../node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","../node_modules/next/dist/shared/lib/amp-mode.js","../node_modules/next/dist/compiled/send/index.js","../node_modules/next/dist/compiled/image-size/index.js","../node_modules/next/dist/compiled/is-animated/index.js","../node_modules/next/dist/compiled/content-disposition/index.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/next/dist/client/components/redirect-status-code.js","../node_modules/next/dist/server/api-utils/get-cookie-parser.js","../node_modules/next/dist/shared/lib/utils/warn-once.js","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/cookie/package.json","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/next/dist/compiled/@hapi/accept/index.js","../node_modules/next/dist/server/web/next-url.js","../node_modules/next/dist/server/web/error.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/web/spec-extension/cookies.js","../node_modules/next/dist/compiled/cookie/index.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/lib/pick.js","../node_modules/next/dist/server/stream-utils/node-web-streams-helper.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../node_modules/next/dist/compiled/picomatch/package.json","../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../node_modules/next/dist/lib/is-app-page-route.js","../node_modules/next/dist/lib/is-app-route-route.js","../node_modules/next/dist/lib/is-api-route.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/next/dist/server/internal-utils.js","../node_modules/next/dist/shared/lib/isomorphic/path.js","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js","../node_modules/next/dist/server/web/sandbox/resource-managers.js","../node_modules/@img/sharp-libvips-linux-x64/package.json","../node_modules/@img/sharp-libvips-linux-x64/versions.json","../node_modules/@img/sharp-libvips-linuxmusl-x64/package.json","../node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json","../node_modules/@img/sharp-linux-x64/LICENSE","../node_modules/@img/sharp-linux-x64/package.json","../node_modules/@img/sharp-linuxmusl-x64/LICENSE","../node_modules/@img/sharp-linuxmusl-x64/package.json","../node_modules/next/dist/server/lib/is-ipv6.js","../node_modules/next/dist/server/route-matchers/app-page-route-matcher.js","../node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js","../node_modules/next/dist/server/route-matchers/locale-route-matcher.js","../node_modules/next/dist/server/route-matchers/app-route-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-route-matcher.js","../node_modules/next/dist/server/web/globals.js","../node_modules/next/dist/server/async-storage/request-store.js","../node_modules/next/dist/server/async-storage/work-store.js","../node_modules/next/dist/server/web/web-on-close.js","../node_modules/next/dist/server/web/get-edge-preview-props.js","../node_modules/next/dist/server/resume-data-cache/cache-store.js","../node_modules/scheduler/package.json","../node_modules/@img/sharp-libvips-linux-x64/lib/index.js","../node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.42","../node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js","../node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.42","../node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node","../node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node","../node_modules/next/dist/server/web/spec-extension/adapters/reflect.js","../node_modules/next/dist/server/crypto-utils.js","../node_modules/next/dist/shared/lib/router/utils/path-match.js","../node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware.js","../node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../node_modules/next/dist/server/web/spec-extension/fetch-event.js","../node_modules/next/dist/server/web/spec-extension/response.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/server/route-modules/pages/module.js","../node_modules/next/dist/server/route-modules/app-page/module.js","../node_modules/next/dist/server/app-render/dynamic-rendering.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/shared/lib/router/utils/relativize-url.js","../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../node_modules/next/dist/server/normalizers/request/suffix.js","../node_modules/next/dist/server/normalizers/request/prefix.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/scheduler/index.js","../node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js","../node_modules/next/dist/compiled/picomatch/index.js","../node_modules/sharp/lib/constructor.js","../node_modules/sharp/lib/input.js","../node_modules/sharp/lib/resize.js","../node_modules/sharp/lib/composite.js","../node_modules/sharp/lib/operation.js","../node_modules/sharp/lib/colour.js","../node_modules/sharp/lib/channel.js","../node_modules/sharp/lib/output.js","../node_modules/sharp/lib/utility.js","../node_modules/next/dist/experimental/testmode/server-edge.js","../node_modules/next/dist/server/normalizers/built/app/index.js","../node_modules/next/dist/server/normalizers/built/pages/index.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json","../node_modules/next/dist/compiled/edge-runtime/package.json","../node_modules/next/dist/compiled/source-map/package.json","../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../node_modules/next/dist/server/stream-utils/uint8array-helpers.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/cjs/scheduler.development.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/server/route-matchers/route-matcher.js","../node_modules/next/dist/server/after/after-context.js","../node_modules/next/dist/server/async-storage/draft-mode-provider.js","../node_modules/next/dist/build/next-dir-paths.js","../node_modules/next/dist/compiled/edge-runtime/index.js","../node_modules/next/dist/server/dynamic-rendering-utils.js","../node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js","../node_modules/next/dist/server/render.js","../node_modules/sharp/lib/is.js","../node_modules/sharp/lib/sharp.js","../node_modules/sharp/lib/libvips.js","../node_modules/next/dist/compiled/source-map/source-map.js","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js","../node_modules/next/dist/client/components/hooks-server-context.js","../node_modules/next/dist/client/components/static-generation-bailout.js","../node_modules/next/dist/lib/metadata/metadata-constants.js","../node_modules/next/dist/server/route-modules/route-module.js","../node_modules/next/dist/server/app-render/app-render.js","../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/launchEditor.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/webpack-module-path.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/package.json","../node_modules/next/dist/compiled/bytes/package.json","../node_modules/next/dist/compiled/path-browserify/package.json","../node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js","../node_modules/next/dist/server/app-render/action-async-storage.external.js","../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/detect-libc/package.json","../node_modules/next/dist/lib/is-serializable-props.js","../node_modules/next/dist/server/post-process.js","../node_modules/next/dist/server/after/revalidation-utils.js","../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","../node_modules/next/dist/shared/lib/loadable.shared-runtime.js","../node_modules/next/dist/shared/lib/router-context.shared-runtime.js","../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js","../node_modules/next/dist/shared/lib/html-context.shared-runtime.js","../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","../node_modules/color/index.js","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/shared/lib/router/adapters.js","../node_modules/next/dist/compiled/bytes/index.js","../node_modules/next/dist/compiled/path-browserify/index.js","../node_modules/next/dist/lib/metadata/metadata-context.js","../node_modules/next/dist/client/components/not-found.js","../node_modules/next/dist/client/components/redirect.js","../node_modules/next/dist/server/lib/implicit-tags.js","../node_modules/next/dist/server/app-render/flight-render-result.js","../node_modules/next/dist/server/app-render/create-error-handler.js","../node_modules/next/dist/server/app-render/get-segment-param.js","../node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js","../node_modules/next/dist/server/app-render/get-script-nonce-from-header.js","../node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js","../node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js","../node_modules/next/dist/server/app-render/action-handler.js","../node_modules/next/dist/server/app-render/server-inserted-html.js","../node_modules/next/dist/server/app-render/required-scripts.js","../node_modules/next/dist/server/app-render/make-get-server-inserted-html.js","../node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js","../node_modules/next/dist/server/app-render/create-component-tree.js","../node_modules/next/dist/server/app-render/get-asset-query-string.js","../node_modules/next/dist/server/app-render/postponed-state.js","../node_modules/next/dist/server/app-render/use-flight-response.js","../node_modules/next/dist/client/components/app-router.js","../node_modules/next/dist/server/app-render/app-render-prerender-utils.js","../node_modules/next/dist/server/app-render/prospective-render-utils.js","../node_modules/next/dist/server/app-render/app-render-render-utils.js","../node_modules/next/dist/server/app-render/cache-signal.js","../node_modules/next/dist/server/app-render/parse-loader-tree.js","../node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js","../node_modules/next/dist/client/components/dev-root-not-found-boundary.js","../node_modules/color/package.json","../node_modules/detect-libc/lib/detect-libc.js","../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js","../node_modules/next/dist/shared/lib/router/action-queue.js","../node_modules/next/dist/server/lib/trace/utils.js","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/sharp/node_modules/semver/functions/coerce.js","../node_modules/sharp/node_modules/semver/functions/gte.js","../node_modules/sharp/node_modules/semver/functions/satisfies.js","../node_modules/next/dist/server/ReactDOMServerPages.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","../node_modules/sharp/node_modules/semver/package.json","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-source-map-url.js","../node_modules/next/dist/compiled/strip-ansi/package.json","../node_modules/next/dist/compiled/react-is/package.json","../node_modules/next/dist/compiled/p-queue/package.json","../node_modules/next/dist/lib/page-types.js","../node_modules/next/dist/server/normalizers/normalizers.js","../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../node_modules/next/dist/server/normalizers/prefixing-normalizer.js","../node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js","../node_modules/next/dist/lib/non-nullable.js","../node_modules/next/dist/server/optimize-amp.js","../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../node_modules/next/dist/compiled/nanoid/package.json","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/detect-libc/lib/process.js","../node_modules/detect-libc/lib/filesystem.js","../node_modules/next/dist/shared/lib/image-config.js","../node_modules/next/dist/server/htmlescape.js","../node_modules/next/dist/lib/client-reference.js","../node_modules/next/dist/client/add-base-path.js","../node_modules/next/dist/client/remove-base-path.js","../node_modules/next/dist/client/has-base-path.js","../node_modules/next/dist/client/app-call-server.js","../node_modules/next/dist/compiled/strip-ansi/index.js","../node_modules/next/dist/compiled/react-is/index.js","../node_modules/next/dist/compiled/p-queue/index.js","../node_modules/next/dist/server/app-render/types.js","../node_modules/next/dist/client/components/is-next-router-error.js","../node_modules/next/dist/server/app-render/csrf-protection.js","../node_modules/next/dist/server/app-render/react-server.node.js","../node_modules/next/dist/shared/lib/encode-uri-path.js","../node_modules/next/dist/client/components/match-segments.js","../node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js","../node_modules/next/dist/server/app-render/get-preloadable-fonts.js","../node_modules/next/dist/server/app-render/has-loading-component-in-tree.js","../node_modules/next/dist/server/lib/app-dir-module.js","../node_modules/next/dist/server/app-render/interop-default.js","../node_modules/next/dist/server/lib/patch-fetch.js","../node_modules/next/dist/server/app-render/get-layer-assets.js","../node_modules/next/dist/client/components/parallel-route-default.js","../node_modules/next/dist/client/components/error-boundary.js","../node_modules/next/dist/client/components/use-reducer.js","../node_modules/next/dist/client/components/app-router-announcer.js","../node_modules/next/dist/client/components/redirect-boundary.js","../node_modules/next/dist/client/components/unresolved-thenable.js","../node_modules/next/dist/client/components/nav-failure-handler.js","../node_modules/next/dist/client/components/not-found-boundary.js","../node_modules/react/jsx-dev-runtime.js","../node_modules/next/dist/client/flight-data-helpers.js","../node_modules/next/dist/server/lib/server-ipc/utils.js","../node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","../node_modules/next/dist/client/components/router-reducer/create-href-from-url.js","../node_modules/next/dist/client/components/router-reducer/compute-changed-path.js","../node_modules/next/dist/compiled/nanoid/index.cjs","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","../node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js","../node_modules/next/dist/client/components/react-dev-overlay/app/hot-reloader-client.js","../node_modules/next/dist/client/components/router-reducer/router-reducer.js","../node_modules/next/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.js","../node_modules/next/dist/client/components/router-reducer/prefetch-cache-utils.js","../node_modules/next/dist/client/components/router-reducer/refetch-inactive-parallel-segments.js","../node_modules/sharp/node_modules/semver/functions/compare.js","../node_modules/sharp/node_modules/semver/classes/range.js","../node_modules/sharp/node_modules/semver/classes/semver.js","../node_modules/sharp/node_modules/semver/functions/parse.js","../node_modules/sharp/node_modules/semver/internal/re.js","../node_modules/busboy/package.json","../node_modules/color-string/index.js","../node_modules/color-convert/index.js","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/color-string/package.json","../node_modules/color-convert/package.json","../node_modules/next/dist/compiled/superstruct/package.json","../node_modules/next/dist/compiled/string-hash/package.json","../node_modules/react/cjs/react-jsx-dev-runtime.production.min.js","../node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js","../node_modules/busboy/lib/index.js","../node_modules/next/dist/client/normalize-trailing-slash.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.production.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../node_modules/next/dist/server/lib/dedupe-fetch.js","../node_modules/next/dist/client/components/navigation.js","../node_modules/next/dist/client/components/navigation-untracked.js","../node_modules/next/dist/compiled/superstruct/index.cjs","../node_modules/next/dist/compiled/string-hash/index.js","../node_modules/color-convert/conversions.js","../node_modules/color-convert/route.js","../node_modules/sharp/node_modules/semver/internal/debug.js","../node_modules/sharp/node_modules/semver/internal/constants.js","../node_modules/sharp/node_modules/semver/internal/parse-options.js","../node_modules/sharp/node_modules/semver/internal/identifiers.js","../node_modules/sharp/node_modules/semver/internal/lrucache.js","../node_modules/sharp/node_modules/semver/classes/comparator.js","../node_modules/next/dist/server/dev/hot-reloader-types.js","../node_modules/next/dist/server/dev/extract-modules-from-turbopack-message.js","../node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js","../node_modules/next/dist/client/components/router-reducer/apply-flight-data.js","../node_modules/next/dist/client/components/router-reducer/fetch-server-response.js","../node_modules/next/dist/client/components/react-dev-overlay/shared.js","../node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/prefetch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js","../node_modules/next/dist/client/components/react-dev-overlay/app/ReactDevOverlay.js","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/format-webpack-messages.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/runtime-error-handler.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-error-handler.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-websocket.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/parse-component-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stitched-error.js","../node_modules/busboy/lib/utils.js","../node_modules/busboy/lib/types/multipart.js","../node_modules/busboy/lib/types/urlencoded.js","../node_modules/color-name/package.json","../node_modules/next/dist/lib/metadata/get-metadata-route.js","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/simple-swizzle/index.js","../node_modules/color-name/index.js","../node_modules/next/dist/client/components/navigation.react-server.js","../node_modules/next/dist/client/components/bailout-to-client-rendering.js","../node_modules/simple-swizzle/package.json","../node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","../node_modules/sharp/node_modules/semver/functions/cmp.js","../node_modules/next/dist/client/app-find-source-map-url.js","../node_modules/next/dist/shared/lib/hash.js","../node_modules/next/dist/client/assign-location.js","../node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.js","../node_modules/next/dist/client/components/promise-queue.js","../node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.js","../node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js","../node_modules/next/dist/client/components/router-reducer/handle-mutable.js","../node_modules/next/dist/client/components/router-reducer/ppr-navigations.js","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.js","../node_modules/next/dist/client/components/router-reducer/should-hard-navigate.js","../node_modules/next/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.js","../node_modules/next/dist/client/components/router-reducer/aliased-prefetch-navigations.js","../node_modules/next/dist/client/components/router-reducer/handle-segment-mismatch.js","../node_modules/next/dist/client/lib/console.js","../node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/ShadowPortal.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/BuildError.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/Errors.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/Base.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/StaticIndicator.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/CssReset.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/styles/ComponentStyles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/root-layout-missing-tags-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-socket-url.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/attach-hydration-error-state.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/hydration-error-info.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/enqueue-client-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/console-error.js","../node_modules/next/dist/client/components/unstable-rethrow.js","../node_modules/streamsearch/package.json","../node_modules/sharp/node_modules/semver/functions/eq.js","../node_modules/sharp/node_modules/semver/functions/neq.js","../node_modules/sharp/node_modules/semver/functions/gt.js","../node_modules/sharp/node_modules/semver/functions/lt.js","../node_modules/sharp/node_modules/semver/functions/lte.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/streamsearch/lib/sbmh.js","../node_modules/simple-swizzle/node_modules/is-arrayish/index.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/core.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.js","../node_modules/simple-swizzle/node_modules/is-arrayish/package.json","../node_modules/next/dist/shared/lib/normalized-asset-prefix.js","../node_modules/next/dist/export/helpers/is-dynamic-usage-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/noop-template.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-error-by-type.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CloseIcon.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/nodejs-inspector.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/LightningBolt.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/next/dist/server/lib/router-utils/is-postpone.js","../node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json","../node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/styles.js","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/hot-linked-text/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/copy-button/index.js","../node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json","../node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs","../node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stack-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CollapseIcon.js","../node_modules/next/dist/shared/lib/magic-identifier.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/group-stack-frames-by-framework.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/Dialog.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogBody.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogContent.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/DialogHeader.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Dialog/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/Overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/VersionStalenessInfo/VersionStalenessInfo.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/Terminal.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/LeftRightDialogHeader/LeftRightDialogHeader.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Toast/Toast.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/GroupedStackFrames.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/hooks/use-on-click-outside.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/FrameworkIcon.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/EditorLink.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/maintain--tab-focus.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Overlay/body-locker.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/CallStackFrame.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/CodeFrame/CodeFrame.js","../node_modules/next/dist/compiled/anser/package.json","../node_modules/next/dist/compiled/anser/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-open-in-editor.js","../node_modules/next/dist/compiled/platform/package.json","../node_modules/next/dist/compiled/css.escape/package.json","../node_modules/next/dist/compiled/platform/platform.js","../node_modules/next/dist/compiled/css.escape/css.escape.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js"]} \ No newline at end of file diff --git a/dsql-app/.local_dist/prerender-manifest.json b/dsql-app/.local_dist/prerender-manifest.json index 1e37436..02862ec 100644 --- a/dsql-app/.local_dist/prerender-manifest.json +++ b/dsql-app/.local_dist/prerender-manifest.json @@ -1 +1 @@ -{"version":4,"routes":{"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/gui-reference/getting-started.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/gui-reference/upload-media":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/gui-reference/upload-media.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference/get":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/api-reference/get.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference/post":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/api-reference/post.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference/data-types":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/database-reference/data-types.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference/querying-data":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/database-reference/querying-data.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/quick-start":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/quick-start.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/gui-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/gui-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/api-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/getting-started.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/database-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]}},"dynamicRoutes":{"/docs/[page]/[sub-page]":{"routeRegex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/([^/]+?)/([^/]+?)\\.json$","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/[page]":{"routeRegex":"^/docs/([^/]+?)(?:/)?$","dataRoute":"/_next/data/HcU1grNdeICz9zVVD_7aa/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/([^/]+?)\\.json$","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]}},"notFoundRoutes":[],"preview":{"previewModeId":"a805016cf83270186839684a138780ee","previewModeSigningKey":"1b0002c6ca112190a6bd0a900e3e1e37a08fd13354da11f39700d7ecacb16732","previewModeEncryptionKey":"603376905223e0a4b2f44939e6587fd6ee8f060e632f07e883a8eece6f6c489d"}} \ No newline at end of file +{"version":4,"routes":{"/docs/quick-start":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/quick-start.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/gui-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/gui-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/api-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/getting-started.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/database-reference.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/gui-reference/getting-started.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/gui-reference/upload-media":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/gui-reference/upload-media.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference/get":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/api-reference/get.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/api-reference/post":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/api-reference/post.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference/data-types":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/database-reference/data-types.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/database-reference/querying-data":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/database-reference/querying-data.json","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]}},"dynamicRoutes":{"/docs/[page]":{"routeRegex":"^/docs/([^/]+?)(?:/)?$","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/([^/]+?)\\.json$","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]},"/docs/[page]/[sub-page]":{"routeRegex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","dataRoute":"/_next/data/1gOSN7HLWCIumskNUJc1E/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/([^/]+?)/([^/]+?)\\.json$","allowHeader":["x-matched-path","x-prerender-revalidate","x-prerender-revalidate-if-generated","x-next-revalidated-tags","x-next-revalidate-tag-token"]}},"notFoundRoutes":[],"preview":{"previewModeId":"c70c0ec8ad2d68a566a0ad1266e5c0c4","previewModeSigningKey":"215d09a75fec81925d47db09522c71a0af8901474c66a13ae46b0fec6ace4bb7","previewModeEncryptionKey":"1eb13a32a76fa5d0bce8a2feb8566378958809a5651e21fcd5c37f19160491ae"}} \ No newline at end of file diff --git a/dsql-app/.local_dist/routes-manifest.json b/dsql-app/.local_dist/routes-manifest.json index af485dd..42193c8 100644 --- a/dsql-app/.local_dist/routes-manifest.json +++ b/dsql-app/.local_dist/routes-manifest.json @@ -1 +1 @@ -{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[{"page":"/admin/[user_id]","regex":"^/admin/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/api-keys","regex":"^/admin/([^/]+?)/api\\-keys(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/api\\-keys(?:/)?$"},{"page":"/admin/[user_id]/connect","regex":"^/admin/([^/]+?)/connect(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/connect(?:/)?$"},{"page":"/admin/[user_id]/databases","regex":"^/admin/([^/]+?)/databases(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/databases(?:/)?$"},{"page":"/admin/[user_id]/databases/add-database","regex":"^/admin/([^/]+?)/databases/add\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/databases/add\\-database(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]","regex":"^/admin/([^/]+?)/databases/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/connect","regex":"^/admin/([^/]+?)/databases/([^/]+?)/connect(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/connect(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/edit-database","regex":"^/admin/([^/]+?)/databases/([^/]+?)/edit\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/edit\\-database(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/schema","regex":"^/admin/([^/]+?)/databases/([^/]+?)/schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/schema(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/shell","regex":"^/admin/([^/]+?)/databases/([^/]+?)/shell(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/shell(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/add-table","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/add\\-table(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/add\\-table(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/edit\\-table(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/edit\\-table(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/add\\-entry(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/add\\-entry(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table","nxtPsingle_entry":"nxtPsingle_entry"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/fields(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/fields(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/add\\-social\\-logins(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-social\\-logins(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/add-user","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-user(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)/change\\-password(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)/change\\-password(?:/)?$"},{"page":"/admin/[user_id]/media","regex":"^/admin/([^/]+?)/media(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/media(?:/)?$"},{"page":"/admin/[user_id]/media/[...folder]","regex":"^/admin/([^/]+?)/media/(.+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPfolder":"nxtPfolder"},"namedRegex":"^/admin/(?[^/]+?)/media/(?.+?)(?:/)?$"},{"page":"/admin/[user_id]/schema","regex":"^/admin/([^/]+?)/schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/schema(?:/)?$"},{"page":"/admin/[user_id]/settings","regex":"^/admin/([^/]+?)/settings(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/settings(?:/)?$"},{"page":"/admin/[user_id]/users","regex":"^/admin/([^/]+?)/users(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users(?:/)?$"},{"page":"/admin/[user_id]/users/add-user","regex":"^/admin/([^/]+?)/users/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users/add\\-user(?:/)?$"},{"page":"/admin/[user_id]/users/databases","regex":"^/admin/([^/]+?)/users/databases(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users/databases(?:/)?$"},{"page":"/admin/[user_id]/users/databases/[database]","regex":"^/admin/([^/]+?)/users/databases/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase"},"namedRegex":"^/admin/(?[^/]+?)/users/databases/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/users/databases/[database]/[user]","regex":"^/admin/([^/]+?)/users/databases/([^/]+?)/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/users/databases/(?[^/]+?)/(?[^/]+?)(?:/)?$"},{"page":"/api/admin/docs/[action]","regex":"^/api/admin/docs/([^/]+?)(?:/)?$","routeKeys":{"nxtPaction":"nxtPaction"},"namedRegex":"^/api/admin/docs/(?[^/]+?)(?:/)?$"},{"page":"/api/query/[user_id]/add-file","regex":"^/api/query/([^/]+?)/add\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/add\\-file(?:/)?$"},{"page":"/api/query/[user_id]/add-image","regex":"^/api/query/([^/]+?)/add\\-image(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/add\\-image(?:/)?$"},{"page":"/api/query/[user_id]/delete-file","regex":"^/api/query/([^/]+?)/delete\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/delete\\-file(?:/)?$"},{"page":"/api/query/[user_id]/get","regex":"^/api/query/([^/]+?)/get(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get(?:/)?$"},{"page":"/api/query/[user_id]/get-private-file","regex":"^/api/query/([^/]+?)/get\\-private\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get\\-private\\-file(?:/)?$"},{"page":"/api/query/[user_id]/get-schema","regex":"^/api/query/([^/]+?)/get\\-schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get\\-schema(?:/)?$"},{"page":"/api/query/[user_id]/post","regex":"^/api/query/([^/]+?)/post(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/post(?:/)?$"},{"page":"/api/query/[user_id]/update-schema-from-single-database","regex":"^/api/query/([^/]+?)/update\\-schema\\-from\\-single\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/update\\-schema\\-from\\-single\\-database(?:/)?$"},{"page":"/api/stream/[path]","regex":"^/api/stream/([^/]+?)(?:/)?$","routeKeys":{"nxtPpath":"nxtPpath"},"namedRegex":"^/api/stream/(?[^/]+?)(?:/)?$"},{"page":"/api/user/[user_id]/add-user","regex":"^/api/user/([^/]+?)/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/add\\-user(?:/)?$"},{"page":"/api/user/[user_id]/delete-user","regex":"^/api/user/([^/]+?)/delete\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/delete\\-user(?:/)?$"},{"page":"/api/user/[user_id]/get-user","regex":"^/api/user/([^/]+?)/get\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/get\\-user(?:/)?$"},{"page":"/api/user/[user_id]/github-login","regex":"^/api/user/([^/]+?)/github\\-login(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/github\\-login(?:/)?$"},{"page":"/api/user/[user_id]/google-login","regex":"^/api/user/([^/]+?)/google\\-login(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/google\\-login(?:/)?$"},{"page":"/api/user/[user_id]/grab-google-user-from-token","regex":"^/api/user/([^/]+?)/grab\\-google\\-user\\-from\\-token(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/grab\\-google\\-user\\-from\\-token(?:/)?$"},{"page":"/api/user/[user_id]/login-user","regex":"^/api/user/([^/]+?)/login\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/login\\-user(?:/)?$"},{"page":"/api/user/[user_id]/reauth-user","regex":"^/api/user/([^/]+?)/reauth\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/reauth\\-user(?:/)?$"},{"page":"/api/user/[user_id]/send-email-code","regex":"^/api/user/([^/]+?)/send\\-email\\-code(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/send\\-email\\-code(?:/)?$"},{"page":"/api/user/[user_id]/update-user","regex":"^/api/user/([^/]+?)/update\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/update\\-user(?:/)?$"},{"page":"/docs/[page]","regex":"^/docs/([^/]+?)(?:/)?$","routeKeys":{"nxtPpage":"nxtPpage"},"namedRegex":"^/docs/(?[^/]+?)(?:/)?$"},{"page":"/docs/[page]/[sub-page]","regex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","routeKeys":{"nxtPpage":"nxtPpage","nxtPsubpage":"nxtPsub-page"},"namedRegex":"^/docs/(?[^/]+?)/(?[^/]+?)(?:/)?$"},{"page":"/su/docs/pages/[id]","regex":"^/su/docs/pages/([^/]+?)(?:/)?$","routeKeys":{"nxtPid":"nxtPid"},"namedRegex":"^/su/docs/pages/(?[^/]+?)(?:/)?$"},{"page":"/su/users/[single]","regex":"^/su/users/([^/]+?)(?:/)?$","routeKeys":{"nxtPsingle":"nxtPsingle"},"namedRegex":"^/su/users/(?[^/]+?)(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/404","regex":"^/404(?:/)?$","routeKeys":{},"namedRegex":"^/404(?:/)?$"},{"page":"/500","regex":"^/500(?:/)?$","routeKeys":{},"namedRegex":"^/500(?:/)?$"},{"page":"/about","regex":"^/about(?:/)?$","routeKeys":{},"namedRegex":"^/about(?:/)?$"},{"page":"/admin","regex":"^/admin(?:/)?$","routeKeys":{},"namedRegex":"^/admin(?:/)?$"},{"page":"/blog","regex":"^/blog(?:/)?$","routeKeys":{},"namedRegex":"^/blog(?:/)?$"},{"page":"/contact","regex":"^/contact(?:/)?$","routeKeys":{},"namedRegex":"^/contact(?:/)?$"},{"page":"/create-account","regex":"^/create\\-account(?:/)?$","routeKeys":{},"namedRegex":"^/create\\-account(?:/)?$"},{"page":"/docs","regex":"^/docs(?:/)?$","routeKeys":{},"namedRegex":"^/docs(?:/)?$"},{"page":"/email-verification","regex":"^/email\\-verification(?:/)?$","routeKeys":{},"namedRegex":"^/email\\-verification(?:/)?$"},{"page":"/login","regex":"^/login(?:/)?$","routeKeys":{},"namedRegex":"^/login(?:/)?$"},{"page":"/logout","regex":"^/logout(?:/)?$","routeKeys":{},"namedRegex":"^/logout(?:/)?$"},{"page":"/privacy","regex":"^/privacy(?:/)?$","routeKeys":{},"namedRegex":"^/privacy(?:/)?$"},{"page":"/redirect","regex":"^/redirect(?:/)?$","routeKeys":{},"namedRegex":"^/redirect(?:/)?$"},{"page":"/reset-password","regex":"^/reset\\-password(?:/)?$","routeKeys":{},"namedRegex":"^/reset\\-password(?:/)?$"},{"page":"/send-password-reset-link","regex":"^/send\\-password\\-reset\\-link(?:/)?$","routeKeys":{},"namedRegex":"^/send\\-password\\-reset\\-link(?:/)?$"},{"page":"/su","regex":"^/su(?:/)?$","routeKeys":{},"namedRegex":"^/su(?:/)?$"},{"page":"/su/backups","regex":"^/su/backups(?:/)?$","routeKeys":{},"namedRegex":"^/su/backups(?:/)?$"},{"page":"/su/console","regex":"^/su/console(?:/)?$","routeKeys":{},"namedRegex":"^/su/console(?:/)?$"},{"page":"/su/docs","regex":"^/su/docs(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs(?:/)?$"},{"page":"/su/docs/create-page","regex":"^/su/docs/create\\-page(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/create\\-page(?:/)?$"},{"page":"/su/docs/edit-page","regex":"^/su/docs/edit\\-page(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/edit\\-page(?:/)?$"},{"page":"/su/docs/pages","regex":"^/su/docs/pages(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/pages(?:/)?$"},{"page":"/su/envar","regex":"^/su/envar(?:/)?$","routeKeys":{},"namedRegex":"^/su/envar(?:/)?$"},{"page":"/su/error-logs","regex":"^/su/error\\-logs(?:/)?$","routeKeys":{},"namedRegex":"^/su/error\\-logs(?:/)?$"},{"page":"/su/load-balancing","regex":"^/su/load\\-balancing(?:/)?$","routeKeys":{},"namedRegex":"^/su/load\\-balancing(?:/)?$"},{"page":"/su/login","regex":"^/su/login(?:/)?$","routeKeys":{},"namedRegex":"^/su/login(?:/)?$"},{"page":"/su/servers","regex":"^/su/servers(?:/)?$","routeKeys":{},"namedRegex":"^/su/servers(?:/)?$"},{"page":"/su/users","regex":"^/su/users(?:/)?$","routeKeys":{},"namedRegex":"^/su/users(?:/)?$"},{"page":"/su/users/new","regex":"^/su/users/new(?:/)?$","routeKeys":{},"namedRegex":"^/su/users/new(?:/)?$"},{"page":"/terms","regex":"^/terms(?:/)?$","routeKeys":{},"namedRegex":"^/terms(?:/)?$"},{"page":"/unsubscribe","regex":"^/unsubscribe(?:/)?$","routeKeys":{},"namedRegex":"^/unsubscribe(?:/)?$"}],"dataRoutes":[{"page":"/admin","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin.json$"},{"page":"/admin/[user_id]","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/api-keys","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/api\\-keys\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/api\\-keys\\.json$"},{"page":"/admin/[user_id]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases\\.json$"},{"page":"/admin/[user_id]/databases/add-database","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/add\\-database\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/add\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases/[single]/edit-database","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/edit\\-database\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/edit\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/databases/[single]/shell","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/shell\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/shell\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/add-table","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/add\\-table\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/add\\-table\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/edit\\-table\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/edit\\-table\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/add\\-entry\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/add\\-entry\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table","nxtPsingle_entry":"nxtPsingle_entry"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/fields\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/fields\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/users/add\\-social\\-logins\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-social\\-logins\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/add-user","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-user\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)/change\\-password\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)/change\\-password\\.json$"},{"page":"/admin/[user_id]/media","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/media\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/media\\.json$"},{"page":"/admin/[user_id]/media/[...folder]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPfolder":"nxtPfolder"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/media/(.+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/media/(?.+?)\\.json$"},{"page":"/admin/[user_id]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/settings","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/settings\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/settings\\.json$"},{"page":"/admin/[user_id]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/users/add-user","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/users/add\\-user\\.json$"},{"page":"/admin/[user_id]/users/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/users/databases\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/users/databases\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/users/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/users/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]/[user]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/([^/]+?)/users/databases/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/admin/(?[^/]+?)/users/databases/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/create-account","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/create-account.json$"},{"page":"/docs","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs.json$"},{"page":"/docs/[page]","routeKeys":{"nxtPpage":"nxtPpage"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/(?[^/]+?)\\.json$"},{"page":"/docs/[page]/[sub-page]","routeKeys":{"nxtPpage":"nxtPpage","nxtPsubpage":"nxtPsub-page"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/docs/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/email-verification","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/email-verification.json$"},{"page":"/login","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/login.json$"},{"page":"/logout","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/logout.json$"},{"page":"/reset-password","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/reset-password.json$"},{"page":"/send-password-reset-link","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/send-password-reset-link.json$"},{"page":"/su","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su.json$"},{"page":"/su/backups","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/backups.json$"},{"page":"/su/console","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/console.json$"},{"page":"/su/docs","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs.json$"},{"page":"/su/docs/create-page","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs/create-page.json$"},{"page":"/su/docs/edit-page","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs/edit-page.json$"},{"page":"/su/docs/pages","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs/pages.json$"},{"page":"/su/docs/pages/[id]","routeKeys":{"nxtPid":"nxtPid"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs/pages/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/docs/pages/(?[^/]+?)\\.json$"},{"page":"/su/envar","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/envar.json$"},{"page":"/su/error-logs","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/error-logs.json$"},{"page":"/su/load-balancing","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/load-balancing.json$"},{"page":"/su/login","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/login.json$"},{"page":"/su/servers","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/servers.json$"},{"page":"/su/users","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/users.json$"},{"page":"/su/users/new","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/users/new.json$"},{"page":"/su/users/[single]","routeKeys":{"nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/su/users/(?[^/]+?)\\.json$"},{"page":"/unsubscribe","dataRouteRegex":"^/_next/data/HcU1grNdeICz9zVVD_7aa/unsubscribe.json$"}],"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch","prefetchHeader":"Next-Router-Prefetch","didPostponeHeader":"x-nextjs-postponed","contentTypeHeader":"text/x-component","suffix":".rsc","prefetchSuffix":".prefetch.rsc"},"rewrites":[]} \ No newline at end of file +{"version":3,"pages404":true,"caseSensitive":false,"basePath":"","redirects":[{"source":"/:path+/","destination":"/:path+","internal":true,"statusCode":308,"regex":"^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"}],"headers":[],"dynamicRoutes":[{"page":"/admin/[user_id]","regex":"^/admin/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/api-keys","regex":"^/admin/([^/]+?)/api\\-keys(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/api\\-keys(?:/)?$"},{"page":"/admin/[user_id]/connect","regex":"^/admin/([^/]+?)/connect(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/connect(?:/)?$"},{"page":"/admin/[user_id]/databases","regex":"^/admin/([^/]+?)/databases(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/databases(?:/)?$"},{"page":"/admin/[user_id]/databases/add-database","regex":"^/admin/([^/]+?)/databases/add\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/databases/add\\-database(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]","regex":"^/admin/([^/]+?)/databases/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/connect","regex":"^/admin/([^/]+?)/databases/([^/]+?)/connect(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/connect(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/edit-database","regex":"^/admin/([^/]+?)/databases/([^/]+?)/edit\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/edit\\-database(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/schema","regex":"^/admin/([^/]+?)/databases/([^/]+?)/schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/schema(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/shell","regex":"^/admin/([^/]+?)/databases/([^/]+?)/shell(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/shell(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/add-table","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/add\\-table(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/add\\-table(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/edit\\-table(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/edit\\-table(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/add\\-entry(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/add\\-entry(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table","nxtPsingle_entry":"nxtPsingle_entry"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields","regex":"^/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/fields(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/fields(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/add\\-social\\-logins(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-social\\-logins(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/add-user","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-user(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password","regex":"^/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)/change\\-password(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)/change\\-password(?:/)?$"},{"page":"/admin/[user_id]/media","regex":"^/admin/([^/]+?)/media(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/media(?:/)?$"},{"page":"/admin/[user_id]/media/[...folder]","regex":"^/admin/([^/]+?)/media/(.+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPfolder":"nxtPfolder"},"namedRegex":"^/admin/(?[^/]+?)/media/(?.+?)(?:/)?$"},{"page":"/admin/[user_id]/schema","regex":"^/admin/([^/]+?)/schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/schema(?:/)?$"},{"page":"/admin/[user_id]/settings","regex":"^/admin/([^/]+?)/settings(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/settings(?:/)?$"},{"page":"/admin/[user_id]/users","regex":"^/admin/([^/]+?)/users(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users(?:/)?$"},{"page":"/admin/[user_id]/users/add-user","regex":"^/admin/([^/]+?)/users/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users/add\\-user(?:/)?$"},{"page":"/admin/[user_id]/users/databases","regex":"^/admin/([^/]+?)/users/databases(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/admin/(?[^/]+?)/users/databases(?:/)?$"},{"page":"/admin/[user_id]/users/databases/[database]","regex":"^/admin/([^/]+?)/users/databases/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase"},"namedRegex":"^/admin/(?[^/]+?)/users/databases/(?[^/]+?)(?:/)?$"},{"page":"/admin/[user_id]/users/databases/[database]/[user]","regex":"^/admin/([^/]+?)/users/databases/([^/]+?)/([^/]+?)(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase","nxtPuser":"nxtPuser"},"namedRegex":"^/admin/(?[^/]+?)/users/databases/(?[^/]+?)/(?[^/]+?)(?:/)?$"},{"page":"/api/admin/docs/[action]","regex":"^/api/admin/docs/([^/]+?)(?:/)?$","routeKeys":{"nxtPaction":"nxtPaction"},"namedRegex":"^/api/admin/docs/(?[^/]+?)(?:/)?$"},{"page":"/api/query/[user_id]/add-file","regex":"^/api/query/([^/]+?)/add\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/add\\-file(?:/)?$"},{"page":"/api/query/[user_id]/add-image","regex":"^/api/query/([^/]+?)/add\\-image(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/add\\-image(?:/)?$"},{"page":"/api/query/[user_id]/delete-file","regex":"^/api/query/([^/]+?)/delete\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/delete\\-file(?:/)?$"},{"page":"/api/query/[user_id]/get","regex":"^/api/query/([^/]+?)/get(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get(?:/)?$"},{"page":"/api/query/[user_id]/get-private-file","regex":"^/api/query/([^/]+?)/get\\-private\\-file(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get\\-private\\-file(?:/)?$"},{"page":"/api/query/[user_id]/get-schema","regex":"^/api/query/([^/]+?)/get\\-schema(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/get\\-schema(?:/)?$"},{"page":"/api/query/[user_id]/post","regex":"^/api/query/([^/]+?)/post(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/post(?:/)?$"},{"page":"/api/query/[user_id]/update-schema-from-single-database","regex":"^/api/query/([^/]+?)/update\\-schema\\-from\\-single\\-database(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/query/(?[^/]+?)/update\\-schema\\-from\\-single\\-database(?:/)?$"},{"page":"/api/stream/[path]","regex":"^/api/stream/([^/]+?)(?:/)?$","routeKeys":{"nxtPpath":"nxtPpath"},"namedRegex":"^/api/stream/(?[^/]+?)(?:/)?$"},{"page":"/api/user/[user_id]/add-user","regex":"^/api/user/([^/]+?)/add\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/add\\-user(?:/)?$"},{"page":"/api/user/[user_id]/delete-user","regex":"^/api/user/([^/]+?)/delete\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/delete\\-user(?:/)?$"},{"page":"/api/user/[user_id]/get-user","regex":"^/api/user/([^/]+?)/get\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/get\\-user(?:/)?$"},{"page":"/api/user/[user_id]/github-login","regex":"^/api/user/([^/]+?)/github\\-login(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/github\\-login(?:/)?$"},{"page":"/api/user/[user_id]/google-login","regex":"^/api/user/([^/]+?)/google\\-login(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/google\\-login(?:/)?$"},{"page":"/api/user/[user_id]/grab-google-user-from-token","regex":"^/api/user/([^/]+?)/grab\\-google\\-user\\-from\\-token(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/grab\\-google\\-user\\-from\\-token(?:/)?$"},{"page":"/api/user/[user_id]/login-user","regex":"^/api/user/([^/]+?)/login\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/login\\-user(?:/)?$"},{"page":"/api/user/[user_id]/reauth-user","regex":"^/api/user/([^/]+?)/reauth\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/reauth\\-user(?:/)?$"},{"page":"/api/user/[user_id]/send-email-code","regex":"^/api/user/([^/]+?)/send\\-email\\-code(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/send\\-email\\-code(?:/)?$"},{"page":"/api/user/[user_id]/update-user","regex":"^/api/user/([^/]+?)/update\\-user(?:/)?$","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"namedRegex":"^/api/user/(?[^/]+?)/update\\-user(?:/)?$"},{"page":"/docs/[page]","regex":"^/docs/([^/]+?)(?:/)?$","routeKeys":{"nxtPpage":"nxtPpage"},"namedRegex":"^/docs/(?[^/]+?)(?:/)?$"},{"page":"/docs/[page]/[sub-page]","regex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","routeKeys":{"nxtPpage":"nxtPpage","nxtPsubpage":"nxtPsub-page"},"namedRegex":"^/docs/(?[^/]+?)/(?[^/]+?)(?:/)?$"},{"page":"/su/docs/pages/[id]","regex":"^/su/docs/pages/([^/]+?)(?:/)?$","routeKeys":{"nxtPid":"nxtPid"},"namedRegex":"^/su/docs/pages/(?[^/]+?)(?:/)?$"},{"page":"/su/users/[single]","regex":"^/su/users/([^/]+?)(?:/)?$","routeKeys":{"nxtPsingle":"nxtPsingle"},"namedRegex":"^/su/users/(?[^/]+?)(?:/)?$"}],"staticRoutes":[{"page":"/","regex":"^/(?:/)?$","routeKeys":{},"namedRegex":"^/(?:/)?$"},{"page":"/404","regex":"^/404(?:/)?$","routeKeys":{},"namedRegex":"^/404(?:/)?$"},{"page":"/500","regex":"^/500(?:/)?$","routeKeys":{},"namedRegex":"^/500(?:/)?$"},{"page":"/about","regex":"^/about(?:/)?$","routeKeys":{},"namedRegex":"^/about(?:/)?$"},{"page":"/admin","regex":"^/admin(?:/)?$","routeKeys":{},"namedRegex":"^/admin(?:/)?$"},{"page":"/blog","regex":"^/blog(?:/)?$","routeKeys":{},"namedRegex":"^/blog(?:/)?$"},{"page":"/contact","regex":"^/contact(?:/)?$","routeKeys":{},"namedRegex":"^/contact(?:/)?$"},{"page":"/create-account","regex":"^/create\\-account(?:/)?$","routeKeys":{},"namedRegex":"^/create\\-account(?:/)?$"},{"page":"/docs","regex":"^/docs(?:/)?$","routeKeys":{},"namedRegex":"^/docs(?:/)?$"},{"page":"/email-verification","regex":"^/email\\-verification(?:/)?$","routeKeys":{},"namedRegex":"^/email\\-verification(?:/)?$"},{"page":"/login","regex":"^/login(?:/)?$","routeKeys":{},"namedRegex":"^/login(?:/)?$"},{"page":"/logout","regex":"^/logout(?:/)?$","routeKeys":{},"namedRegex":"^/logout(?:/)?$"},{"page":"/privacy","regex":"^/privacy(?:/)?$","routeKeys":{},"namedRegex":"^/privacy(?:/)?$"},{"page":"/redirect","regex":"^/redirect(?:/)?$","routeKeys":{},"namedRegex":"^/redirect(?:/)?$"},{"page":"/reset-password","regex":"^/reset\\-password(?:/)?$","routeKeys":{},"namedRegex":"^/reset\\-password(?:/)?$"},{"page":"/send-password-reset-link","regex":"^/send\\-password\\-reset\\-link(?:/)?$","routeKeys":{},"namedRegex":"^/send\\-password\\-reset\\-link(?:/)?$"},{"page":"/su","regex":"^/su(?:/)?$","routeKeys":{},"namedRegex":"^/su(?:/)?$"},{"page":"/su/backups","regex":"^/su/backups(?:/)?$","routeKeys":{},"namedRegex":"^/su/backups(?:/)?$"},{"page":"/su/console","regex":"^/su/console(?:/)?$","routeKeys":{},"namedRegex":"^/su/console(?:/)?$"},{"page":"/su/docs","regex":"^/su/docs(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs(?:/)?$"},{"page":"/su/docs/create-page","regex":"^/su/docs/create\\-page(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/create\\-page(?:/)?$"},{"page":"/su/docs/edit-page","regex":"^/su/docs/edit\\-page(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/edit\\-page(?:/)?$"},{"page":"/su/docs/pages","regex":"^/su/docs/pages(?:/)?$","routeKeys":{},"namedRegex":"^/su/docs/pages(?:/)?$"},{"page":"/su/envar","regex":"^/su/envar(?:/)?$","routeKeys":{},"namedRegex":"^/su/envar(?:/)?$"},{"page":"/su/error-logs","regex":"^/su/error\\-logs(?:/)?$","routeKeys":{},"namedRegex":"^/su/error\\-logs(?:/)?$"},{"page":"/su/load-balancing","regex":"^/su/load\\-balancing(?:/)?$","routeKeys":{},"namedRegex":"^/su/load\\-balancing(?:/)?$"},{"page":"/su/login","regex":"^/su/login(?:/)?$","routeKeys":{},"namedRegex":"^/su/login(?:/)?$"},{"page":"/su/servers","regex":"^/su/servers(?:/)?$","routeKeys":{},"namedRegex":"^/su/servers(?:/)?$"},{"page":"/su/users","regex":"^/su/users(?:/)?$","routeKeys":{},"namedRegex":"^/su/users(?:/)?$"},{"page":"/su/users/new","regex":"^/su/users/new(?:/)?$","routeKeys":{},"namedRegex":"^/su/users/new(?:/)?$"},{"page":"/terms","regex":"^/terms(?:/)?$","routeKeys":{},"namedRegex":"^/terms(?:/)?$"},{"page":"/unsubscribe","regex":"^/unsubscribe(?:/)?$","routeKeys":{},"namedRegex":"^/unsubscribe(?:/)?$"}],"dataRoutes":[{"page":"/admin","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin.json$"},{"page":"/admin/[user_id]","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/api-keys","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/api\\-keys\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/api\\-keys\\.json$"},{"page":"/admin/[user_id]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases\\.json$"},{"page":"/admin/[user_id]/databases/add-database","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/add\\-database\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/add\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases/[single]/edit-database","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/edit\\-database\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/edit\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/databases/[single]/shell","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/shell\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/shell\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/add-table","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/add\\-table\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/add\\-table\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/edit\\-table\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/edit\\-table\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/add\\-entry\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/add\\-entry\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table","nxtPsingle_entry":"nxtPsingle_entry"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/entries/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPsingle_table":"nxtPsingle_table"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/fields\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/fields\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/users/add\\-social\\-logins\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-social\\-logins\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/add-user","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/users/add\\-user\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)/change\\-password\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)/change\\-password\\.json$"},{"page":"/admin/[user_id]/media","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/media\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/media\\.json$"},{"page":"/admin/[user_id]/media/[...folder]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPfolder":"nxtPfolder"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/media/(.+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/media/(?.+?)\\.json$"},{"page":"/admin/[user_id]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/settings","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/settings\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/settings\\.json$"},{"page":"/admin/[user_id]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/users/add-user","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/users/add\\-user\\.json$"},{"page":"/admin/[user_id]/users/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/users/databases\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/users/databases\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/users/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/users/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]/[user]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/([^/]+?)/users/databases/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/admin/(?[^/]+?)/users/databases/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/create-account","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/create-account.json$"},{"page":"/docs","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs.json$"},{"page":"/docs/[page]","routeKeys":{"nxtPpage":"nxtPpage"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/(?[^/]+?)\\.json$"},{"page":"/docs/[page]/[sub-page]","routeKeys":{"nxtPpage":"nxtPpage","nxtPsubpage":"nxtPsub-page"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/docs/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/email-verification","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/email-verification.json$"},{"page":"/login","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/login.json$"},{"page":"/logout","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/logout.json$"},{"page":"/reset-password","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/reset-password.json$"},{"page":"/send-password-reset-link","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/send-password-reset-link.json$"},{"page":"/su","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su.json$"},{"page":"/su/backups","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/backups.json$"},{"page":"/su/console","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/console.json$"},{"page":"/su/docs","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs.json$"},{"page":"/su/docs/create-page","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs/create-page.json$"},{"page":"/su/docs/edit-page","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs/edit-page.json$"},{"page":"/su/docs/pages","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs/pages.json$"},{"page":"/su/docs/pages/[id]","routeKeys":{"nxtPid":"nxtPid"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs/pages/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/docs/pages/(?[^/]+?)\\.json$"},{"page":"/su/envar","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/envar.json$"},{"page":"/su/error-logs","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/error-logs.json$"},{"page":"/su/load-balancing","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/load-balancing.json$"},{"page":"/su/login","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/login.json$"},{"page":"/su/servers","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/servers.json$"},{"page":"/su/users","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/users.json$"},{"page":"/su/users/new","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/users/new.json$"},{"page":"/su/users/[single]","routeKeys":{"nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/su/users/(?[^/]+?)\\.json$"},{"page":"/unsubscribe","dataRouteRegex":"^/_next/data/1gOSN7HLWCIumskNUJc1E/unsubscribe.json$"}],"rsc":{"header":"RSC","varyHeader":"RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch","prefetchHeader":"Next-Router-Prefetch","didPostponeHeader":"x-nextjs-postponed","contentTypeHeader":"text/x-component","suffix":".rsc","prefetchSuffix":".prefetch.rsc"},"rewrites":[]} \ No newline at end of file diff --git a/dsql-app/.local_dist/server/_error.js b/dsql-app/.local_dist/server/_error.js new file mode 100644 index 0000000..6951a05 --- /dev/null +++ b/dsql-app/.local_dist/server/_error.js @@ -0,0 +1,377 @@ +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +(() => { +var exports = {}; +exports.id = "/_error"; +exports.ids = ["/_error"]; +exports.modules = { + +/***/ "__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js": +/*!****************************************************************************************************!*\ + !*** __barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***! + \****************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ChevronDown: () => (/* reexport safe */ _icons_chevron_down_js__WEBPACK_IMPORTED_MODULE_0__["default"]) +/* harmony export */ }); +/* harmony import */ var _icons_chevron_down_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/chevron-down.js */ "./node_modules/lucide-react/dist/esm/icons/chevron-down.js"); + + + +/***/ }), + +/***/ "__barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js": +/*!**************************************************************************************************!*\ + !*** __barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***! + \**************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ ChevronUp: () => (/* reexport safe */ _icons_chevron_up_js__WEBPACK_IMPORTED_MODULE_0__["default"]) +/* harmony export */ }); +/* harmony import */ var _icons_chevron_up_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/chevron-up.js */ "./node_modules/lucide-react/dist/esm/icons/chevron-up.js"); + + + +/***/ }), + +/***/ "__barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js": +/*!****************************************************************************************************!*\ + !*** __barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***! + \****************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ CircleGauge: () => (/* reexport safe */ _icons_circle_gauge_js__WEBPACK_IMPORTED_MODULE_0__["default"]) +/* harmony export */ }); +/* harmony import */ var _icons_circle_gauge_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/circle-gauge.js */ "./node_modules/lucide-react/dist/esm/icons/circle-gauge.js"); + + + +/***/ }), + +/***/ "__barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js": +/*!*********************************************************************************************!*\ + !*** __barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js ***! + \*********************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ Menu: () => (/* reexport safe */ _icons_menu_js__WEBPACK_IMPORTED_MODULE_0__["default"]) +/* harmony export */ }); +/* harmony import */ var _icons_menu_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./icons/menu.js */ "./node_modules/lucide-react/dist/esm/icons/menu.js"); + + + +/***/ }), + +/***/ "./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!": +/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D! ***! + \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ config: () => (/* binding */ config),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ getServerSideProps: () => (/* binding */ getServerSideProps),\n/* harmony export */ getStaticPaths: () => (/* binding */ getStaticPaths),\n/* harmony export */ getStaticProps: () => (/* binding */ getStaticProps),\n/* harmony export */ reportWebVitals: () => (/* binding */ reportWebVitals),\n/* harmony export */ routeModule: () => (/* binding */ routeModule),\n/* harmony export */ unstable_getServerProps: () => (/* binding */ unstable_getServerProps),\n/* harmony export */ unstable_getServerSideProps: () => (/* binding */ unstable_getServerSideProps),\n/* harmony export */ unstable_getStaticParams: () => (/* binding */ unstable_getStaticParams),\n/* harmony export */ unstable_getStaticPaths: () => (/* binding */ unstable_getStaticPaths),\n/* harmony export */ unstable_getStaticProps: () => (/* binding */ unstable_getStaticProps)\n/* harmony export */ });\n/* harmony import */ var next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/server/route-modules/pages/module.compiled */ \"./node_modules/next/dist/server/route-modules/pages/module.compiled.js\");\n/* harmony import */ var next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/dist/server/route-kind */ \"./node_modules/next/dist/server/route-kind.js\");\n/* harmony import */ var next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/dist/build/templates/helpers */ \"./node_modules/next/dist/build/templates/helpers.js\");\n/* harmony import */ var private_next_pages_document__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! private-next-pages/_document */ \"./pages/_document.js\");\n/* harmony import */ var private_next_pages_app__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! private-next-pages/_app */ \"./pages/_app.js\");\n/* harmony import */ var _node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/next/dist/pages/_error.js */ \"./node_modules/next/dist/pages/_error.js\");\n/* harmony import */ var _node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n// Import the app and document modules.\n\n\n// Import the userland code.\n\n// Re-export the component (should be the default export).\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'default'));\n// Re-export methods.\nconst getStaticProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getStaticProps');\nconst getStaticPaths = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getStaticPaths');\nconst getServerSideProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'getServerSideProps');\nconst config = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'config');\nconst reportWebVitals = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'reportWebVitals');\n// Re-export legacy methods.\nconst unstable_getStaticProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'unstable_getStaticProps');\nconst unstable_getStaticPaths = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'unstable_getStaticPaths');\nconst unstable_getStaticParams = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'unstable_getStaticParams');\nconst unstable_getServerProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'unstable_getServerProps');\nconst unstable_getServerSideProps = (0,next_dist_build_templates_helpers__WEBPACK_IMPORTED_MODULE_2__.hoist)(_node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__, 'unstable_getServerSideProps');\n// Create and export the route module that will be consumed.\nconst routeModule = new next_dist_server_route_modules_pages_module_compiled__WEBPACK_IMPORTED_MODULE_0__.PagesRouteModule({\n definition: {\n kind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.PAGES,\n page: \"/_error\",\n pathname: \"/_error\",\n // The following aren't used in production.\n bundlePath: '',\n filename: ''\n },\n components: {\n // default export might not exist when optimized for data only\n App: private_next_pages_app__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n Document: private_next_pages_document__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n },\n userland: _node_modules_next_dist_pages_error_js__WEBPACK_IMPORTED_MODULE_5__\n});\n\n//# sourceMappingURL=pages.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LXJvdXRlLWxvYWRlci9pbmRleC5qcz9raW5kPVBBR0VTJnBhZ2U9JTJGX2Vycm9yJnByZWZlcnJlZFJlZ2lvbj0mYWJzb2x1dGVQYWdlUGF0aD0uJTJGbm9kZV9tb2R1bGVzJTJGbmV4dCUyRmRpc3QlMkZwYWdlcyUyRl9lcnJvci5qcyZhYnNvbHV0ZUFwcFBhdGg9cHJpdmF0ZS1uZXh0LXBhZ2VzJTJGX2FwcCZhYnNvbHV0ZURvY3VtZW50UGF0aD1wcml2YXRlLW5leHQtcGFnZXMlMkZfZG9jdW1lbnQmbWlkZGxld2FyZUNvbmZpZ0Jhc2U2ND1lMzAlM0QhIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQXdGO0FBQ2hDO0FBQ0U7QUFDMUQ7QUFDeUQ7QUFDVjtBQUMvQztBQUNxRTtBQUNyRTtBQUNBLGlFQUFlLHdFQUFLLENBQUMsbUVBQVEsWUFBWSxFQUFDO0FBQzFDO0FBQ08sdUJBQXVCLHdFQUFLLENBQUMsbUVBQVE7QUFDckMsdUJBQXVCLHdFQUFLLENBQUMsbUVBQVE7QUFDckMsMkJBQTJCLHdFQUFLLENBQUMsbUVBQVE7QUFDekMsZUFBZSx3RUFBSyxDQUFDLG1FQUFRO0FBQzdCLHdCQUF3Qix3RUFBSyxDQUFDLG1FQUFRO0FBQzdDO0FBQ08sZ0NBQWdDLHdFQUFLLENBQUMsbUVBQVE7QUFDOUMsZ0NBQWdDLHdFQUFLLENBQUMsbUVBQVE7QUFDOUMsaUNBQWlDLHdFQUFLLENBQUMsbUVBQVE7QUFDL0MsZ0NBQWdDLHdFQUFLLENBQUMsbUVBQVE7QUFDOUMsb0NBQW9DLHdFQUFLLENBQUMsbUVBQVE7QUFDekQ7QUFDTyx3QkFBd0Isa0dBQWdCO0FBQy9DO0FBQ0EsY0FBYyxrRUFBUztBQUN2QjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsS0FBSztBQUNMO0FBQ0E7QUFDQSxhQUFhLDhEQUFXO0FBQ3hCLGtCQUFrQixtRUFBZ0I7QUFDbEMsS0FBSztBQUNMLFlBQVk7QUFDWixDQUFDOztBQUVEIiwic291cmNlcyI6WyIiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGFnZXNSb3V0ZU1vZHVsZSB9IGZyb20gXCJuZXh0L2Rpc3Qvc2VydmVyL3JvdXRlLW1vZHVsZXMvcGFnZXMvbW9kdWxlLmNvbXBpbGVkXCI7XG5pbXBvcnQgeyBSb3V0ZUtpbmQgfSBmcm9tIFwibmV4dC9kaXN0L3NlcnZlci9yb3V0ZS1raW5kXCI7XG5pbXBvcnQgeyBob2lzdCB9IGZyb20gXCJuZXh0L2Rpc3QvYnVpbGQvdGVtcGxhdGVzL2hlbHBlcnNcIjtcbi8vIEltcG9ydCB0aGUgYXBwIGFuZCBkb2N1bWVudCBtb2R1bGVzLlxuaW1wb3J0ICogYXMgZG9jdW1lbnQgZnJvbSBcInByaXZhdGUtbmV4dC1wYWdlcy9fZG9jdW1lbnRcIjtcbmltcG9ydCAqIGFzIGFwcCBmcm9tIFwicHJpdmF0ZS1uZXh0LXBhZ2VzL19hcHBcIjtcbi8vIEltcG9ydCB0aGUgdXNlcmxhbmQgY29kZS5cbmltcG9ydCAqIGFzIHVzZXJsYW5kIGZyb20gXCIuL25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvcGFnZXMvX2Vycm9yLmpzXCI7XG4vLyBSZS1leHBvcnQgdGhlIGNvbXBvbmVudCAoc2hvdWxkIGJlIHRoZSBkZWZhdWx0IGV4cG9ydCkuXG5leHBvcnQgZGVmYXVsdCBob2lzdCh1c2VybGFuZCwgJ2RlZmF1bHQnKTtcbi8vIFJlLWV4cG9ydCBtZXRob2RzLlxuZXhwb3J0IGNvbnN0IGdldFN0YXRpY1Byb3BzID0gaG9pc3QodXNlcmxhbmQsICdnZXRTdGF0aWNQcm9wcycpO1xuZXhwb3J0IGNvbnN0IGdldFN0YXRpY1BhdGhzID0gaG9pc3QodXNlcmxhbmQsICdnZXRTdGF0aWNQYXRocycpO1xuZXhwb3J0IGNvbnN0IGdldFNlcnZlclNpZGVQcm9wcyA9IGhvaXN0KHVzZXJsYW5kLCAnZ2V0U2VydmVyU2lkZVByb3BzJyk7XG5leHBvcnQgY29uc3QgY29uZmlnID0gaG9pc3QodXNlcmxhbmQsICdjb25maWcnKTtcbmV4cG9ydCBjb25zdCByZXBvcnRXZWJWaXRhbHMgPSBob2lzdCh1c2VybGFuZCwgJ3JlcG9ydFdlYlZpdGFscycpO1xuLy8gUmUtZXhwb3J0IGxlZ2FjeSBtZXRob2RzLlxuZXhwb3J0IGNvbnN0IHVuc3RhYmxlX2dldFN0YXRpY1Byb3BzID0gaG9pc3QodXNlcmxhbmQsICd1bnN0YWJsZV9nZXRTdGF0aWNQcm9wcycpO1xuZXhwb3J0IGNvbnN0IHVuc3RhYmxlX2dldFN0YXRpY1BhdGhzID0gaG9pc3QodXNlcmxhbmQsICd1bnN0YWJsZV9nZXRTdGF0aWNQYXRocycpO1xuZXhwb3J0IGNvbnN0IHVuc3RhYmxlX2dldFN0YXRpY1BhcmFtcyA9IGhvaXN0KHVzZXJsYW5kLCAndW5zdGFibGVfZ2V0U3RhdGljUGFyYW1zJyk7XG5leHBvcnQgY29uc3QgdW5zdGFibGVfZ2V0U2VydmVyUHJvcHMgPSBob2lzdCh1c2VybGFuZCwgJ3Vuc3RhYmxlX2dldFNlcnZlclByb3BzJyk7XG5leHBvcnQgY29uc3QgdW5zdGFibGVfZ2V0U2VydmVyU2lkZVByb3BzID0gaG9pc3QodXNlcmxhbmQsICd1bnN0YWJsZV9nZXRTZXJ2ZXJTaWRlUHJvcHMnKTtcbi8vIENyZWF0ZSBhbmQgZXhwb3J0IHRoZSByb3V0ZSBtb2R1bGUgdGhhdCB3aWxsIGJlIGNvbnN1bWVkLlxuZXhwb3J0IGNvbnN0IHJvdXRlTW9kdWxlID0gbmV3IFBhZ2VzUm91dGVNb2R1bGUoe1xuICAgIGRlZmluaXRpb246IHtcbiAgICAgICAga2luZDogUm91dGVLaW5kLlBBR0VTLFxuICAgICAgICBwYWdlOiBcIi9fZXJyb3JcIixcbiAgICAgICAgcGF0aG5hbWU6IFwiL19lcnJvclwiLFxuICAgICAgICAvLyBUaGUgZm9sbG93aW5nIGFyZW4ndCB1c2VkIGluIHByb2R1Y3Rpb24uXG4gICAgICAgIGJ1bmRsZVBhdGg6ICcnLFxuICAgICAgICBmaWxlbmFtZTogJydcbiAgICB9LFxuICAgIGNvbXBvbmVudHM6IHtcbiAgICAgICAgLy8gZGVmYXVsdCBleHBvcnQgbWlnaHQgbm90IGV4aXN0IHdoZW4gb3B0aW1pemVkIGZvciBkYXRhIG9ubHlcbiAgICAgICAgQXBwOiBhcHAuZGVmYXVsdCxcbiAgICAgICAgRG9jdW1lbnQ6IGRvY3VtZW50LmRlZmF1bHRcbiAgICB9LFxuICAgIHVzZXJsYW5kXG59KTtcblxuLy8jIHNvdXJjZU1hcHBpbmdVUkw9cGFnZXMuanMubWFwIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!\n"); + +/***/ }), + +/***/ "./components/ErrorBoundary.jsx": +/*!**************************************!*\ + !*** ./components/ErrorBoundary.jsx ***! + \**************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../functions/frontend/fetchApi */ \"./functions/frontend/fetchApi.js\");\n/* harmony import */ var _layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../layouts/GeneralLayout */ \"./layouts/GeneralLayout.jsx\");\n/* harmony import */ var _general_PageHeadTags__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./general/PageHeadTags */ \"./components/general/PageHeadTags.jsx\");\n// @ts-check\n\n\n\n\n\nclass ErrorBoundary extends (react__WEBPACK_IMPORTED_MODULE_1___default().Component) {\n constructor(/** @type {any} */ props){\n super(props);\n // Define a state variable to track whether is an error or not\n this.state = {\n hasError: false\n };\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ const pageTitle = \"Error | Datasquirel\";\n const pageDescription = \"Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.\";\n let head = /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"title\", {\n children: pageTitle\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 26,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 27,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n pageTitle: pageTitle,\n pageDescription: pageDescription,\n pagePathname: \"/\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 28,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 25,\n columnNumber: 13\n }, this);\n // @ts-ignore\n this.state.head = head;\n }\n static getDerivedStateFromError() {\n return {\n hasError: true\n };\n }\n componentDidCatch(/** @type {any} */ error, /** @type {any} */ errorInfo) {\n (0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\"/api/admin/clientError\", {\n method: \"post\",\n body: {\n component: \"ErrorBoundary-class-component\",\n message: error.message + \" ==== Error Info => \" + errorInfo,\n user: {}\n }\n });\n }\n render() {\n // Check if the error is thrown\n if (this.state.hasError) {\n // You can render any custom fallback UI\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n // @ts-ignore\n head: this.state.head,\n user: null,\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"paper items-center px-20\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n className: \"text-base text-slate-400 m-0\",\n children: \"Application Error!\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 66,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n className: \"text-2xl m-0 mb-4\",\n children: \"Please try again!\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 69,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/\",\n className: \"button outlined\",\n children: \"Home\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 72,\n columnNumber: 29\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n onClick: (e)=>{\n window.history.back();\n },\n children: \"Go Back\"\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 75,\n columnNumber: 29\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 71,\n columnNumber: 25\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 65,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/components/ErrorBoundary.jsx\",\n lineNumber: 60,\n columnNumber: 17\n }, this);\n }\n // Return children components in case of no error\n return this.props.children;\n }\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ErrorBoundary);\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9jb21wb25lbnRzL0Vycm9yQm91bmRhcnkuanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsWUFBWTs7QUFFYztBQUM0QjtBQUNEO0FBQ0g7QUFFbEQsTUFBTUksc0JBQXNCSix3REFBZTtJQUN2Q00sWUFBWSxnQkFBZ0IsR0FBR0MsS0FBSyxDQUFFO1FBQ2xDLEtBQUssQ0FBQ0E7UUFFTiw4REFBOEQ7UUFDOUQsSUFBSSxDQUFDQyxLQUFLLEdBQUc7WUFBRUMsVUFBVTtRQUFNO1FBRS9COzs7O1NBSUMsR0FDRCxNQUFNQyxZQUFZO1FBQ2xCLE1BQU1DLGtCQUNGO1FBRUosSUFBSUMscUJBQ0EsOERBQUNaLHVEQUFjOzs4QkFDWCw4REFBQ2M7OEJBQU9KOzs7Ozs7OEJBQ1IsOERBQUNLO29CQUFLQyxNQUFLO29CQUFjQyxTQUFTTjs7Ozs7OzhCQUNsQyw4REFBQ1IsNkRBQVlBO29CQUNUTyxXQUFXQTtvQkFDWEMsaUJBQWlCQTtvQkFDakJPLGNBQWE7Ozs7Ozs7Ozs7OztRQUt6QixhQUFhO1FBQ2IsSUFBSSxDQUFDVixLQUFLLENBQUNJLElBQUksR0FBR0E7SUFDdEI7SUFFQSxPQUFPTywyQkFBMkI7UUFDOUIsT0FBTztZQUFFVixVQUFVO1FBQUs7SUFDNUI7SUFFQVcsa0JBQWtCLGdCQUFnQixHQUFHQyxLQUFLLEVBQUUsZ0JBQWdCLEdBQUdDLFNBQVMsRUFBRTtRQUN0RXJCLHdFQUFRQSxDQUFDLDBCQUEwQjtZQUMvQnNCLFFBQVE7WUFDUkMsTUFBTTtnQkFDRkMsV0FBVztnQkFDWEMsU0FBU0wsTUFBTUssT0FBTyxHQUFHLHlCQUF5Qko7Z0JBQ2xESyxNQUFNLENBQUM7WUFDWDtRQUNKO0lBQ0o7SUFFQUMsU0FBUztRQUNMLCtCQUErQjtRQUMvQixJQUFJLElBQUksQ0FBQ3BCLEtBQUssQ0FBQ0MsUUFBUSxFQUFFO1lBQ3JCLHdDQUF3QztZQUN4QyxxQkFDSSw4REFBQ1AsOERBQWFBO2dCQUNWLGFBQWE7Z0JBQ2JVLE1BQU0sSUFBSSxDQUFDSixLQUFLLENBQUNJLElBQUk7Z0JBQ3JCZSxNQUFNOzBCQUVOLDRFQUFDRTtvQkFBSUMsV0FBVTs7c0NBQ1gsOERBQUNDOzRCQUFHRCxXQUFVO3NDQUErQjs7Ozs7O3NDQUc3Qyw4REFBQ0U7NEJBQUdGLFdBQVU7c0NBQW9COzs7Ozs7c0NBRWxDLDhEQUFDRDs7OENBQ0csOERBQUNJO29DQUFFQyxNQUFLO29DQUFJSixXQUFVOzhDQUFrQjs7Ozs7OzhDQUd4Qyw4REFBQ0s7b0NBQ0dDLFNBQVMsQ0FBQ0M7d0NBQ05DLE9BQU9DLE9BQU8sQ0FBQ0MsSUFBSTtvQ0FDdkI7OENBQ0g7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O1FBT3JCO1FBRUEsaURBQWlEO1FBQ2pELE9BQU8sSUFBSSxDQUFDakMsS0FBSyxDQUFDa0MsUUFBUTtJQUM5QjtBQUNKO0FBRUEsaUVBQWVyQyxhQUFhQSxFQUFDIiwic291cmNlcyI6WyIvYXBwL2NvbXBvbmVudHMvRXJyb3JCb3VuZGFyeS5qc3giXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcbmltcG9ydCBmZXRjaEFwaSBmcm9tIFwiLi4vZnVuY3Rpb25zL2Zyb250ZW5kL2ZldGNoQXBpXCI7XHJcbmltcG9ydCBHZW5lcmFsTGF5b3V0IGZyb20gXCIuLi9sYXlvdXRzL0dlbmVyYWxMYXlvdXRcIjtcclxuaW1wb3J0IFBhZ2VIZWFkVGFncyBmcm9tIFwiLi9nZW5lcmFsL1BhZ2VIZWFkVGFnc1wiO1xyXG5cclxuY2xhc3MgRXJyb3JCb3VuZGFyeSBleHRlbmRzIFJlYWN0LkNvbXBvbmVudCB7XHJcbiAgICBjb25zdHJ1Y3RvcigvKiogQHR5cGUge2FueX0gKi8gcHJvcHMpIHtcclxuICAgICAgICBzdXBlcihwcm9wcyk7XHJcblxyXG4gICAgICAgIC8vIERlZmluZSBhIHN0YXRlIHZhcmlhYmxlIHRvIHRyYWNrIHdoZXRoZXIgaXMgYW4gZXJyb3Igb3Igbm90XHJcbiAgICAgICAgdGhpcy5zdGF0ZSA9IHsgaGFzRXJyb3I6IGZhbHNlIH07XHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgICAgICpcclxuICAgICAgICAgKiBAYWJzdHJhY3QgTm9uIGhvb2sgdmFyaWFibGVzIGFuZCBmdW5jdGlvbnNcclxuICAgICAgICAgKi9cclxuICAgICAgICBjb25zdCBwYWdlVGl0bGUgPSBcIkVycm9yIHwgRGF0YXNxdWlyZWxcIjtcclxuICAgICAgICBjb25zdCBwYWdlRGVzY3JpcHRpb24gPVxyXG4gICAgICAgICAgICBcIkRhdGFzcXVpcmVsIGlzIGEgZmFzdCBhbmQgZWZmaWNpZW50IGNsb3VkLWJhc2VkIFNRTCBkYXRhIG1hbmFnZW1lbnQgc3lzdGVtIHRoYXQgdGFrZXMgYXdheSB0aGUgZW50aXJlIGhhc3NsZSBvZiBkZWFsaW5nIHdpdGggZGF0YSBib3RoIGxvY2FsbHkgYW5kIGFjcm9zcyBkaWZmZXJlbnQgcGxhdGZvcm1zLlwiO1xyXG5cclxuICAgICAgICBsZXQgaGVhZCA9IChcclxuICAgICAgICAgICAgPFJlYWN0LkZyYWdtZW50PlxyXG4gICAgICAgICAgICAgICAgPHRpdGxlPntwYWdlVGl0bGV9PC90aXRsZT5cclxuICAgICAgICAgICAgICAgIDxtZXRhIG5hbWU9XCJkZXNjcmlwdGlvblwiIGNvbnRlbnQ9e3BhZ2VEZXNjcmlwdGlvbn0gLz5cclxuICAgICAgICAgICAgICAgIDxQYWdlSGVhZFRhZ3NcclxuICAgICAgICAgICAgICAgICAgICBwYWdlVGl0bGU9e3BhZ2VUaXRsZX1cclxuICAgICAgICAgICAgICAgICAgICBwYWdlRGVzY3JpcHRpb249e3BhZ2VEZXNjcmlwdGlvbn1cclxuICAgICAgICAgICAgICAgICAgICBwYWdlUGF0aG5hbWU9XCIvXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDwvUmVhY3QuRnJhZ21lbnQ+XHJcbiAgICAgICAgKTtcclxuXHJcbiAgICAgICAgLy8gQHRzLWlnbm9yZVxyXG4gICAgICAgIHRoaXMuc3RhdGUuaGVhZCA9IGhlYWQ7XHJcbiAgICB9XHJcblxyXG4gICAgc3RhdGljIGdldERlcml2ZWRTdGF0ZUZyb21FcnJvcigpIHtcclxuICAgICAgICByZXR1cm4geyBoYXNFcnJvcjogdHJ1ZSB9O1xyXG4gICAgfVxyXG5cclxuICAgIGNvbXBvbmVudERpZENhdGNoKC8qKiBAdHlwZSB7YW55fSAqLyBlcnJvciwgLyoqIEB0eXBlIHthbnl9ICovIGVycm9ySW5mbykge1xyXG4gICAgICAgIGZldGNoQXBpKFwiL2FwaS9hZG1pbi9jbGllbnRFcnJvclwiLCB7XHJcbiAgICAgICAgICAgIG1ldGhvZDogXCJwb3N0XCIsXHJcbiAgICAgICAgICAgIGJvZHk6IHtcclxuICAgICAgICAgICAgICAgIGNvbXBvbmVudDogXCJFcnJvckJvdW5kYXJ5LWNsYXNzLWNvbXBvbmVudFwiLFxyXG4gICAgICAgICAgICAgICAgbWVzc2FnZTogZXJyb3IubWVzc2FnZSArIFwiID09PT0gRXJyb3IgSW5mbyA9PiBcIiArIGVycm9ySW5mbyxcclxuICAgICAgICAgICAgICAgIHVzZXI6IHt9LFxyXG4gICAgICAgICAgICB9LFxyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG5cclxuICAgIHJlbmRlcigpIHtcclxuICAgICAgICAvLyBDaGVjayBpZiB0aGUgZXJyb3IgaXMgdGhyb3duXHJcbiAgICAgICAgaWYgKHRoaXMuc3RhdGUuaGFzRXJyb3IpIHtcclxuICAgICAgICAgICAgLy8gWW91IGNhbiByZW5kZXIgYW55IGN1c3RvbSBmYWxsYmFjayBVSVxyXG4gICAgICAgICAgICByZXR1cm4gKFxyXG4gICAgICAgICAgICAgICAgPEdlbmVyYWxMYXlvdXRcclxuICAgICAgICAgICAgICAgICAgICAvLyBAdHMtaWdub3JlXHJcbiAgICAgICAgICAgICAgICAgICAgaGVhZD17dGhpcy5zdGF0ZS5oZWFkfVxyXG4gICAgICAgICAgICAgICAgICAgIHVzZXI9e251bGx9XHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJwYXBlciBpdGVtcy1jZW50ZXIgcHgtMjBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGgyIGNsYXNzTmFtZT1cInRleHQtYmFzZSB0ZXh0LXNsYXRlLTQwMCBtLTBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFwcGxpY2F0aW9uIEVycm9yIVxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2gyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aDEgY2xhc3NOYW1lPVwidGV4dC0yeGwgbS0wIG1iLTRcIj5QbGVhc2UgdHJ5IGFnYWluITwvaDE+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi9cIiBjbGFzc05hbWU9XCJidXR0b24gb3V0bGluZWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBIb21lXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljaz17KGUpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93Lmhpc3RvcnkuYmFjaygpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgR28gQmFja1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9HZW5lcmFsTGF5b3V0PlxyXG4gICAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLy8gUmV0dXJuIGNoaWxkcmVuIGNvbXBvbmVudHMgaW4gY2FzZSBvZiBubyBlcnJvclxyXG4gICAgICAgIHJldHVybiB0aGlzLnByb3BzLmNoaWxkcmVuO1xyXG4gICAgfVxyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBFcnJvckJvdW5kYXJ5O1xyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJmZXRjaEFwaSIsIkdlbmVyYWxMYXlvdXQiLCJQYWdlSGVhZFRhZ3MiLCJFcnJvckJvdW5kYXJ5IiwiQ29tcG9uZW50IiwiY29uc3RydWN0b3IiLCJwcm9wcyIsInN0YXRlIiwiaGFzRXJyb3IiLCJwYWdlVGl0bGUiLCJwYWdlRGVzY3JpcHRpb24iLCJoZWFkIiwiRnJhZ21lbnQiLCJ0aXRsZSIsIm1ldGEiLCJuYW1lIiwiY29udGVudCIsInBhZ2VQYXRobmFtZSIsImdldERlcml2ZWRTdGF0ZUZyb21FcnJvciIsImNvbXBvbmVudERpZENhdGNoIiwiZXJyb3IiLCJlcnJvckluZm8iLCJtZXRob2QiLCJib2R5IiwiY29tcG9uZW50IiwibWVzc2FnZSIsInVzZXIiLCJyZW5kZXIiLCJkaXYiLCJjbGFzc05hbWUiLCJoMiIsImgxIiwiYSIsImhyZWYiLCJidXR0b24iLCJvbkNsaWNrIiwiZSIsIndpbmRvdyIsImhpc3RvcnkiLCJiYWNrIiwiY2hpbGRyZW4iXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./components/ErrorBoundary.jsx\n"); + +/***/ }), + +/***/ "./components/general/LoadingBlock.jsx": +/*!*********************************************!*\ + !*** ./components/general/LoadingBlock.jsx ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LoadingBlock)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Loading Block Functional Component\r\n * ==============================================================================\r\n * @param {{\r\n * width?: string,\r\n * position?: *,\r\n * style?: import(\"react\").CSSProperties,\r\n * borderWidth?: string,\r\n * screen?: boolean,\r\n * title?: string,\r\n * }} props - React Component Props\r\n */ function LoadingBlock({ width, position, style, borderWidth, screen, title }) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \" top-0 left-0 w-full h-full flex items-center justify-center gap-4 bg-white/80 dark:bg-slate-800/80 z-50\" + (screen ? \" fixed\" : \" absolute\"),\n style: {\n ...style,\n position: position,\n zIndex: 20000\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"general_loader\",\n style: width ? {\n width: width,\n height: width,\n minWidth: width,\n borderWidth: borderWidth ? borderWidth : \"4px\"\n } : {}\n }, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 49,\n columnNumber: 13\n }, this),\n title ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: title\n }, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 62,\n columnNumber: 22\n }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 62,\n columnNumber: 45\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/LoadingBlock.jsx\",\n lineNumber: 38,\n columnNumber: 9\n }, this);\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9jb21wb25lbnRzL2dlbmVyYWwvTG9hZGluZ0Jsb2NrLmpzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBRTFCLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7Ozs7Ozs7OztDQVdDLEdBQ2MsU0FBU0MsYUFBYSxFQUNqQ0MsS0FBSyxFQUNMQyxRQUFRLEVBQ1JDLEtBQUssRUFDTEMsV0FBVyxFQUNYQyxNQUFNLEVBQ05DLEtBQUssRUFDUjtJQUNHLHFCQUNJLDhEQUFDQztRQUNHQyxXQUNJLDZHQUNDSCxDQUFBQSxTQUFTLFdBQVcsV0FBVTtRQUVuQ0YsT0FBTztZQUNILEdBQUdBLEtBQUs7WUFDUkQsVUFBVUE7WUFDVk8sUUFBUTtRQUNaOzswQkFFQSw4REFBQ0M7Z0JBQ0dGLFdBQVU7Z0JBQ1ZMLE9BQ0lGLFFBQ007b0JBQ0lBLE9BQU9BO29CQUNQVSxRQUFRVjtvQkFDUlcsVUFBVVg7b0JBQ1ZHLGFBQWFBLGNBQWNBLGNBQWM7Z0JBQzdDLElBQ0EsQ0FBQzs7Ozs7O1lBR2RFLHNCQUFRLDhEQUFDSTswQkFBTUo7Ozs7O3FDQUFnQiw4REFBQ1AsdURBQWM7Ozs7Ozs7Ozs7O0FBRzNELEVBRUEsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYiLCJzb3VyY2VzIjpbIi9hcHAvY29tcG9uZW50cy9nZW5lcmFsL0xvYWRpbmdCbG9jay5qc3giXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEltcG9ydHNcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqL1xyXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG5cclxuLyoqXHJcbiAqIExvYWRpbmcgQmxvY2sgRnVuY3Rpb25hbCBDb21wb25lbnRcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEBwYXJhbSB7e1xyXG4gKiAgd2lkdGg/OiBzdHJpbmcsXHJcbiAqICBwb3NpdGlvbj86ICosXHJcbiAqICBzdHlsZT86IGltcG9ydChcInJlYWN0XCIpLkNTU1Byb3BlcnRpZXMsXHJcbiAqICBib3JkZXJXaWR0aD86IHN0cmluZyxcclxuICogIHNjcmVlbj86IGJvb2xlYW4sXHJcbiAqICB0aXRsZT86IHN0cmluZyxcclxuICogfX0gcHJvcHMgLSBSZWFjdCBDb21wb25lbnQgUHJvcHNcclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIExvYWRpbmdCbG9jayh7XHJcbiAgICB3aWR0aCxcclxuICAgIHBvc2l0aW9uLFxyXG4gICAgc3R5bGUsXHJcbiAgICBib3JkZXJXaWR0aCxcclxuICAgIHNjcmVlbixcclxuICAgIHRpdGxlLFxyXG59KSB7XHJcbiAgICByZXR1cm4gKFxyXG4gICAgICAgIDxkaXZcclxuICAgICAgICAgICAgY2xhc3NOYW1lPXtcclxuICAgICAgICAgICAgICAgIFwiIHRvcC0wIGxlZnQtMCB3LWZ1bGwgaC1mdWxsIGZsZXggaXRlbXMtY2VudGVyIGp1c3RpZnktY2VudGVyIGdhcC00IGJnLXdoaXRlLzgwIGRhcms6Ymctc2xhdGUtODAwLzgwIHotNTBcIiArXHJcbiAgICAgICAgICAgICAgICAoc2NyZWVuID8gXCIgZml4ZWRcIiA6IFwiIGFic29sdXRlXCIpXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgc3R5bGU9e3tcclxuICAgICAgICAgICAgICAgIC4uLnN0eWxlLFxyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IHBvc2l0aW9uLFxyXG4gICAgICAgICAgICAgICAgekluZGV4OiAyMDAwMCxcclxuICAgICAgICAgICAgfX1cclxuICAgICAgICA+XHJcbiAgICAgICAgICAgIDxzcGFuXHJcbiAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJnZW5lcmFsX2xvYWRlclwiXHJcbiAgICAgICAgICAgICAgICBzdHlsZT17XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGhcclxuICAgICAgICAgICAgICAgICAgICAgICAgPyB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiB3aWR0aCxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiB3aWR0aCxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWluV2lkdGg6IHdpZHRoLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3JkZXJXaWR0aDogYm9yZGVyV2lkdGggPyBib3JkZXJXaWR0aCA6IFwiNHB4XCIsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICA6IHt9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgID48L3NwYW4+XHJcbiAgICAgICAgICAgIHt0aXRsZSA/IDxzcGFuPnt0aXRsZX08L3NwYW4+IDogPFJlYWN0LkZyYWdtZW50PjwvUmVhY3QuRnJhZ21lbnQ+fVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgKTtcclxufVxyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuIl0sIm5hbWVzIjpbIlJlYWN0IiwiTG9hZGluZ0Jsb2NrIiwid2lkdGgiLCJwb3NpdGlvbiIsInN0eWxlIiwiYm9yZGVyV2lkdGgiLCJzY3JlZW4iLCJ0aXRsZSIsImRpdiIsImNsYXNzTmFtZSIsInpJbmRleCIsInNwYW4iLCJoZWlnaHQiLCJtaW5XaWR0aCIsIkZyYWdtZW50Il0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./components/general/LoadingBlock.jsx\n"); + +/***/ }), + +/***/ "./components/general/Logo.jsx": +/*!*************************************!*\ + !*** ./components/general/Logo.jsx ***! + \*************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Logo)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_Menu_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=Menu!=!lucide-react */ \"__barrel_optimize__?names=Menu!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {{\r\n * size?: string,\r\n * adminAside?: boolean,\r\n * collapseAsideMobile?: boolean,\r\n * setCollapseAsideMobile?: React.Dispatch>,\r\n * }} props - React component props\r\n */ function Logo({ size, adminAside, collapseAsideMobile, setCollapseAsideMobile }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/\",\n className: \"logo\",\n onClick: (e)=>{\n /** @type {*} */ const targetElement = e.target;\n if (targetElement?.closest(\"button\")) {\n return e.preventDefault();\n }\n },\n children: [\n adminAside && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"flex lg:hidden small-text mr-2 primary-light\",\n onClick: (e)=>{\n if (collapseAsideMobile && setCollapseAsideMobile) {\n setCollapseAsideMobile(false);\n } else if (setCollapseAsideMobile) {\n setCollapseAsideMobile(true);\n }\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"-mt-0.5\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_Menu_lucide_react__WEBPACK_IMPORTED_MODULE_2__.Menu, {}, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 94,\n columnNumber: 25\n }, this)\n }, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 93,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"dark:text-white\",\n children: \"Menu\"\n }, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 96,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 83,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/logo-icon-alt-2.webp\",\n alt: \"Datasquirel Logo\",\n width: 35,\n className: \"dark:hidden -mt-1.5 -mr-1.5\"\n }, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 99,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/logo-icon-alt-2.webp\",\n alt: \"Datasquirel Logo\",\n width: 35,\n className: \"hidden dark:flex -mt-1.5 -mr-1.5\"\n }, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 105,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-slate-800 dark:text-white text-[20px] font-bold hidden sm:flex -mt-[1px]\",\n children: \"Datasquirel\"\n }, void 0, false, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 111,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/Logo.jsx\",\n lineNumber: 70,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9jb21wb25lbnRzL2dlbmVyYWwvTG9nby5qc3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUEsWUFBWTtBQUVaOzs7O0NBSUM7QUFDbUM7QUFDVjtBQUUxQixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7Ozs7O0NBU0MsR0FDYyxTQUFTRSxLQUFLLEVBQ3pCQyxJQUFJLEVBQ0pDLFVBQVUsRUFDVkMsbUJBQW1CLEVBQ25CQyxzQkFBc0IsRUFDekI7SUFDRzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNDO1FBQ0dDLE1BQUs7UUFDTEMsV0FBVTtRQUNWQyxTQUFTLENBQUNDO1lBQ04sY0FBYyxHQUNkLE1BQU1DLGdCQUFnQkQsRUFBRUUsTUFBTTtZQUU5QixJQUFJRCxlQUFlRSxRQUFRLFdBQVc7Z0JBQ2xDLE9BQU9ILEVBQUVJLGNBQWM7WUFDM0I7UUFDSjs7WUFFQ1gsNEJBQ0csOERBQUNZO2dCQUNHUCxXQUFVO2dCQUNWQyxTQUFTLENBQUNDO29CQUNOLElBQUlOLHVCQUF1QkMsd0JBQXdCO3dCQUMvQ0EsdUJBQXVCO29CQUMzQixPQUFPLElBQUlBLHdCQUF3Qjt3QkFDL0JBLHVCQUF1QjtvQkFDM0I7Z0JBQ0o7O2tDQUVBLDhEQUFDVzt3QkFBSVIsV0FBVTtrQ0FDWCw0RUFBQ1QsMEVBQUlBOzs7Ozs7Ozs7O2tDQUVULDhEQUFDa0I7d0JBQUtULFdBQVU7a0NBQWtCOzs7Ozs7Ozs7Ozs7MEJBRzFDLDhEQUFDVTtnQkFDR0MsS0FBSTtnQkFDSkMsS0FBSTtnQkFDSkMsT0FBTztnQkFDUGIsV0FBVTs7Ozs7OzBCQUVkLDhEQUFDVTtnQkFDR0MsS0FBSTtnQkFDSkMsS0FBSTtnQkFDSkMsT0FBTztnQkFDUGIsV0FBVTs7Ozs7OzBCQUVkLDhEQUFDUztnQkFBS1QsV0FBVTswQkFBZ0Y7Ozs7Ozs7Ozs7OztBQUt4Ryx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUM1QyIsInNvdXJjZXMiOlsiL2FwcC9jb21wb25lbnRzL2dlbmVyYWwvTG9nby5qc3giXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEltcG9ydHNcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqL1xyXG5pbXBvcnQgeyBNZW51IH0gZnJvbSBcImx1Y2lkZS1yZWFjdFwiO1xyXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG5cclxuLyoqXHJcbiAqIE1haW4gQ29tcG9uZW50IHsgRnVuY3Rpb25hbCB9XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge3tcclxuICogIHNpemU/OiBzdHJpbmcsXHJcbiAqICBhZG1pbkFzaWRlPzogYm9vbGVhbixcclxuICogIGNvbGxhcHNlQXNpZGVNb2JpbGU/OiBib29sZWFuLFxyXG4gKiAgc2V0Q29sbGFwc2VBc2lkZU1vYmlsZT86IFJlYWN0LkRpc3BhdGNoPFJlYWN0LlNldFN0YXRlQWN0aW9uPGJvb2xlYW4+PixcclxuICogfX0gcHJvcHMgLSBSZWFjdCBjb21wb25lbnQgcHJvcHNcclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIExvZ28oe1xyXG4gICAgc2l6ZSxcclxuICAgIGFkbWluQXNpZGUsXHJcbiAgICBjb2xsYXBzZUFzaWRlTW9iaWxlLFxyXG4gICAgc2V0Q29sbGFwc2VBc2lkZU1vYmlsZSxcclxufSkge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgcmV0dXJuIChcclxuICAgICAgICA8YVxyXG4gICAgICAgICAgICBocmVmPVwiL1wiXHJcbiAgICAgICAgICAgIGNsYXNzTmFtZT1cImxvZ29cIlxyXG4gICAgICAgICAgICBvbkNsaWNrPXsoZSkgPT4ge1xyXG4gICAgICAgICAgICAgICAgLyoqIEB0eXBlIHsqfSAqL1xyXG4gICAgICAgICAgICAgICAgY29uc3QgdGFyZ2V0RWxlbWVudCA9IGUudGFyZ2V0O1xyXG5cclxuICAgICAgICAgICAgICAgIGlmICh0YXJnZXRFbGVtZW50Py5jbG9zZXN0KFwiYnV0dG9uXCIpKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGUucHJldmVudERlZmF1bHQoKTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfX1cclxuICAgICAgICA+XHJcbiAgICAgICAgICAgIHthZG1pbkFzaWRlICYmIChcclxuICAgICAgICAgICAgICAgIDxidXR0b25cclxuICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJmbGV4IGxnOmhpZGRlbiBzbWFsbC10ZXh0IG1yLTIgcHJpbWFyeS1saWdodFwiXHJcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz17KGUpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGNvbGxhcHNlQXNpZGVNb2JpbGUgJiYgc2V0Q29sbGFwc2VBc2lkZU1vYmlsZSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0Q29sbGFwc2VBc2lkZU1vYmlsZShmYWxzZSk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoc2V0Q29sbGFwc2VBc2lkZU1vYmlsZSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0Q29sbGFwc2VBc2lkZU1vYmlsZSh0cnVlKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCItbXQtMC41XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxNZW51IC8+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwiZGFyazp0ZXh0LXdoaXRlXCI+TWVudTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICApfVxyXG4gICAgICAgICAgICA8aW1nXHJcbiAgICAgICAgICAgICAgICBzcmM9XCIvaW1hZ2VzL2xvZ28taWNvbi1hbHQtMi53ZWJwXCJcclxuICAgICAgICAgICAgICAgIGFsdD1cIkRhdGFzcXVpcmVsIExvZ29cIlxyXG4gICAgICAgICAgICAgICAgd2lkdGg9ezM1fVxyXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiZGFyazpoaWRkZW4gLW10LTEuNSAtbXItMS41XCJcclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgc3JjPVwiL2ltYWdlcy9sb2dvLWljb24tYWx0LTIud2VicFwiXHJcbiAgICAgICAgICAgICAgICBhbHQ9XCJEYXRhc3F1aXJlbCBMb2dvXCJcclxuICAgICAgICAgICAgICAgIHdpZHRoPXszNX1cclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImhpZGRlbiBkYXJrOmZsZXggLW10LTEuNSAtbXItMS41XCJcclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS04MDAgZGFyazp0ZXh0LXdoaXRlIHRleHQtWzIwcHhdIGZvbnQtYm9sZCBoaWRkZW4gc206ZmxleCAtbXQtWzFweF1cIj5cclxuICAgICAgICAgICAgICAgIERhdGFzcXVpcmVsXHJcbiAgICAgICAgICAgIDwvc3Bhbj5cclxuICAgICAgICA8L2E+XHJcbiAgICApO1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG59XHJcbiJdLCJuYW1lcyI6WyJNZW51IiwiUmVhY3QiLCJMb2dvIiwic2l6ZSIsImFkbWluQXNpZGUiLCJjb2xsYXBzZUFzaWRlTW9iaWxlIiwic2V0Q29sbGFwc2VBc2lkZU1vYmlsZSIsImEiLCJocmVmIiwiY2xhc3NOYW1lIiwib25DbGljayIsImUiLCJ0YXJnZXRFbGVtZW50IiwidGFyZ2V0IiwiY2xvc2VzdCIsInByZXZlbnREZWZhdWx0IiwiYnV0dG9uIiwiZGl2Iiwic3BhbiIsImltZyIsInNyYyIsImFsdCIsIndpZHRoIl0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./components/general/Logo.jsx\n"); + +/***/ }), + +/***/ "./components/general/PageHeadTags.jsx": +/*!*********************************************!*\ + !*** ./components/general/PageHeadTags.jsx ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PageHeadTags)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {Object} props - Server props\r\n * @param {string} props.pageTitle\r\n * @param {string} props.pageDescription\r\n * @param {string} props.pagePathname\r\n * @param {boolean} [props.aceEditor]\r\n */ function PageHeadTags({ pageTitle, pageDescription, pagePathname, aceEditor }) {\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"canonical\",\n href: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 40,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 44,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n itemProp: \"url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 48,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:url\",\n content: \"http://localhost:7070\" + pagePathname\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 52,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:title\",\n content: pageTitle\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 56,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 57,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n itemProp: \"name\",\n content: pageTitle\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 58,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n itemProp: \"description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 59,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:title\",\n content: pageTitle\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 60,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 61,\n columnNumber: 13\n }, this),\n aceEditor && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"script\", {\n src: \"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ace.min.js\",\n integrity: \"sha512-q6CTB0jS+VuJnSct82rVcWlI06LGzNjaG3CWenHWVUncRvc4UQMFkA3a5Ip880xr+lBx38FcHDclOxPdSg+sBw==\",\n crossOrigin: \"anonymous\",\n referrerPolicy: \"no-referrer\"\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 65,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"script\", {\n src: \"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ext-language_tools.min.js\",\n integrity: \"sha512-6g6cvocV7eT/J8L44lL8gJKqq9onqQeYGgJO0DmrsYFcCfRl6wYkYA/KHS768r4QVTB4JxsCcMQ9gIezxpTCZw==\",\n crossOrigin: \"anonymous\",\n referrerPolicy: \"no-referrer\"\n }, void 0, false, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 72,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 64,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/PageHeadTags.jsx\",\n lineNumber: 39,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9jb21wb25lbnRzL2dlbmVyYWwvUGFnZUhlYWRUYWdzLmpzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBRTFCLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7Ozs7Ozs7Q0FTQyxHQUNjLFNBQVNDLGFBQWEsRUFDakNDLFNBQVMsRUFDVEMsZUFBZSxFQUNmQyxZQUFZLEVBQ1pDLFNBQVMsRUFDWjtJQUNHOzs7O0tBSUMsR0FDRCxxQkFDSSw4REFBQ0wsdURBQWM7OzBCQUNYLDhEQUFDTztnQkFDR0MsS0FBSTtnQkFDSkMsTUFBTUMsdUJBQWlDLEdBQUdOOzs7Ozs7MEJBRTlDLDhEQUFDUztnQkFDR0MsVUFBUztnQkFDVEMsU0FBU0wsdUJBQWlDLEdBQUdOOzs7Ozs7MEJBRWpELDhEQUFDUztnQkFDR0csVUFBUztnQkFDVEQsU0FBU0wsdUJBQWlDLEdBQUdOOzs7Ozs7MEJBRWpELDhEQUFDUztnQkFDR0ksTUFBSztnQkFDTEYsU0FBU0wsdUJBQWlDLEdBQUdOOzs7Ozs7MEJBRWpELDhEQUFDUztnQkFBS0MsVUFBUztnQkFBV0MsU0FBU2I7Ozs7OzswQkFDbkMsOERBQUNXO2dCQUFLQyxVQUFTO2dCQUFpQkMsU0FBU1o7Ozs7OzswQkFDekMsOERBQUNVO2dCQUFLRyxVQUFTO2dCQUFPRCxTQUFTYjs7Ozs7OzBCQUMvQiw4REFBQ1c7Z0JBQUtHLFVBQVM7Z0JBQWNELFNBQVNaOzs7Ozs7MEJBQ3RDLDhEQUFDVTtnQkFBS0ksTUFBSztnQkFBZ0JGLFNBQVNiOzs7Ozs7MEJBQ3BDLDhEQUFDVztnQkFBS0ksTUFBSztnQkFBc0JGLFNBQVNaOzs7Ozs7WUFFekNFLDJCQUNHLDhEQUFDTCx1REFBYzs7a0NBQ1gsOERBQUNrQjt3QkFDR0MsS0FBSTt3QkFDSkMsV0FBVTt3QkFDVkMsYUFBWTt3QkFDWkMsZ0JBQWU7Ozs7OztrQ0FHbkIsOERBQUNKO3dCQUNHQyxLQUFJO3dCQUNKQyxXQUFVO3dCQUNWQyxhQUFZO3dCQUNaQyxnQkFBZTs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBTW5DLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQzVDLEVBRUEsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYiLCJzb3VyY2VzIjpbIi9hcHAvY29tcG9uZW50cy9nZW5lcmFsL1BhZ2VIZWFkVGFncy5qc3giXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEltcG9ydHNcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqL1xyXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBNYWluIENvbXBvbmVudCB7IEZ1bmN0aW9uYWwgfVxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gU2VydmVyIHByb3BzXHJcbiAqIEBwYXJhbSB7c3RyaW5nfSBwcm9wcy5wYWdlVGl0bGVcclxuICogQHBhcmFtIHtzdHJpbmd9IHByb3BzLnBhZ2VEZXNjcmlwdGlvblxyXG4gKiBAcGFyYW0ge3N0cmluZ30gcHJvcHMucGFnZVBhdGhuYW1lXHJcbiAqIEBwYXJhbSB7Ym9vbGVhbn0gW3Byb3BzLmFjZUVkaXRvcl1cclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIFBhZ2VIZWFkVGFncyh7XHJcbiAgICBwYWdlVGl0bGUsXHJcbiAgICBwYWdlRGVzY3JpcHRpb24sXHJcbiAgICBwYWdlUGF0aG5hbWUsXHJcbiAgICBhY2VFZGl0b3IsXHJcbn0pIHtcclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE1haW4gRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKi9cclxuICAgIHJldHVybiAoXHJcbiAgICAgICAgPFJlYWN0LkZyYWdtZW50PlxyXG4gICAgICAgICAgICA8bGlua1xyXG4gICAgICAgICAgICAgICAgcmVsPVwiY2Fub25pY2FsXCJcclxuICAgICAgICAgICAgICAgIGhyZWY9e3Byb2Nlc3MuZW52Lk5FWFRfUFVCTElDX0RTUUxfSE9TVCArIHBhZ2VQYXRobmFtZX1cclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPG1ldGFcclxuICAgICAgICAgICAgICAgIHByb3BlcnR5PVwib2c6dXJsXCJcclxuICAgICAgICAgICAgICAgIGNvbnRlbnQ9e3Byb2Nlc3MuZW52Lk5FWFRfUFVCTElDX0RTUUxfSE9TVCArIHBhZ2VQYXRobmFtZX1cclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPG1ldGFcclxuICAgICAgICAgICAgICAgIGl0ZW1Qcm9wPVwidXJsXCJcclxuICAgICAgICAgICAgICAgIGNvbnRlbnQ9e3Byb2Nlc3MuZW52Lk5FWFRfUFVCTElDX0RTUUxfSE9TVCArIHBhZ2VQYXRobmFtZX1cclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPG1ldGFcclxuICAgICAgICAgICAgICAgIG5hbWU9XCJ0d2l0dGVyOnVybFwiXHJcbiAgICAgICAgICAgICAgICBjb250ZW50PXtwcm9jZXNzLmVudi5ORVhUX1BVQkxJQ19EU1FMX0hPU1QgKyBwYWdlUGF0aG5hbWV9XHJcbiAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDxtZXRhIHByb3BlcnR5PVwib2c6dGl0bGVcIiBjb250ZW50PXtwYWdlVGl0bGV9IC8+XHJcbiAgICAgICAgICAgIDxtZXRhIHByb3BlcnR5PVwib2c6ZGVzY3JpcHRpb25cIiBjb250ZW50PXtwYWdlRGVzY3JpcHRpb259IC8+XHJcbiAgICAgICAgICAgIDxtZXRhIGl0ZW1Qcm9wPVwibmFtZVwiIGNvbnRlbnQ9e3BhZ2VUaXRsZX0gLz5cclxuICAgICAgICAgICAgPG1ldGEgaXRlbVByb3A9XCJkZXNjcmlwdGlvblwiIGNvbnRlbnQ9e3BhZ2VEZXNjcmlwdGlvbn0gLz5cclxuICAgICAgICAgICAgPG1ldGEgbmFtZT1cInR3aXR0ZXI6dGl0bGVcIiBjb250ZW50PXtwYWdlVGl0bGV9IC8+XHJcbiAgICAgICAgICAgIDxtZXRhIG5hbWU9XCJ0d2l0dGVyOmRlc2NyaXB0aW9uXCIgY29udGVudD17cGFnZURlc2NyaXB0aW9ufSAvPlxyXG5cclxuICAgICAgICAgICAge2FjZUVkaXRvciAmJiAoXHJcbiAgICAgICAgICAgICAgICA8UmVhY3QuRnJhZ21lbnQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNjcmlwdFxyXG4gICAgICAgICAgICAgICAgICAgICAgICBzcmM9XCJodHRwczovL2NkbmpzLmNsb3VkZmxhcmUuY29tL2FqYXgvbGlicy9hY2UvMS4yMi4wL2FjZS5taW4uanNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBpbnRlZ3JpdHk9XCJzaGE1MTItcTZDVEIwalMrVnVKblNjdDgyclZjV2xJMDZMR3pOamFHM0NXZW5IV1ZVbmNSdmM0VVFNRmtBM2E1SXA4ODB4citsQngzOEZjSERjbE94UGRTZytzQnc9PVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNyb3NzT3JpZ2luPVwiYW5vbnltb3VzXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmZXJyZXJQb2xpY3k9XCJuby1yZWZlcnJlclwiXHJcbiAgICAgICAgICAgICAgICAgICAgPjwvc2NyaXB0PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8c2NyaXB0XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHNyYz1cImh0dHBzOi8vY2RuanMuY2xvdWRmbGFyZS5jb20vYWpheC9saWJzL2FjZS8xLjIyLjAvZXh0LWxhbmd1YWdlX3Rvb2xzLm1pbi5qc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGludGVncml0eT1cInNoYTUxMi02ZzZjdm9jVjdlVC9KOEw0NGxMOGdKS3FxOW9ucVFlWUdnSk8wRG1yc1lGY0NmUmw2d1lrWUEvS0hTNzY4cjRRVlRCNEp4c0NjTVE5Z0llenhwVENadz09XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgY3Jvc3NPcmlnaW49XCJhbm9ueW1vdXNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICByZWZlcnJlclBvbGljeT1cIm5vLXJlZmVycmVyXCJcclxuICAgICAgICAgICAgICAgICAgICA+PC9zY3JpcHQ+XHJcbiAgICAgICAgICAgICAgICA8L1JlYWN0LkZyYWdtZW50PlxyXG4gICAgICAgICAgICApfVxyXG4gICAgICAgIDwvUmVhY3QuRnJhZ21lbnQ+XHJcbiAgICApO1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG59XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJQYWdlSGVhZFRhZ3MiLCJwYWdlVGl0bGUiLCJwYWdlRGVzY3JpcHRpb24iLCJwYWdlUGF0aG5hbWUiLCJhY2VFZGl0b3IiLCJGcmFnbWVudCIsImxpbmsiLCJyZWwiLCJocmVmIiwicHJvY2VzcyIsImVudiIsIk5FWFRfUFVCTElDX0RTUUxfSE9TVCIsIm1ldGEiLCJwcm9wZXJ0eSIsImNvbnRlbnQiLCJpdGVtUHJvcCIsIm5hbWUiLCJzY3JpcHQiLCJzcmMiLCJpbnRlZ3JpdHkiLCJjcm9zc09yaWdpbiIsInJlZmVycmVyUG9saWN5Il0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./components/general/PageHeadTags.jsx\n"); + +/***/ }), + +/***/ "./components/general/ThemeSelector.jsx": +/*!**********************************************!*\ + !*** ./components/general/ThemeSelector.jsx ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ThemeSelector)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n */ function ThemeSelector(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [theme, setTheme] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(\"Light Mode\");\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"ThemeSelector.useEffect\": ()=>{\n let existingTheme = localStorage.getItem(\"theme\");\n if (existingTheme?.match(/dark/)) {\n setTheme(\"Dark Mode\");\n }\n }\n }[\"ThemeSelector.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"\",\n id: \"theme-selector-wrapper\",\n onClick: ()=>{\n const graphicWrapper = document.getElementById(\"theme-selector-graphic-wrapper\");\n let existingTheme = localStorage.getItem(\"theme\");\n const sunIcon = graphicWrapper?.querySelector(\"img.sun\");\n const moonIcon = graphicWrapper?.querySelector(\"img.moon\");\n ////////////////////////////////////////\n if (!existingTheme || existingTheme?.match(/light/)) {\n document.documentElement.className = \"dark\";\n localStorage.setItem(\"theme\", \"dark\");\n existingTheme = \"dark\";\n ////////////////////////////////////////\n sunIcon?.classList.add(\"hidden\");\n moonIcon?.classList.remove(\"hidden\");\n // @ts-ignore\n graphicWrapper?.firstChild?.classList.add(\"ml-auto\");\n ////////////////////////////////////////\n setTheme(\"Dark Mode\");\n ////////////////////////////////////////\n } else if (existingTheme?.match(/dark/)) {\n document.documentElement.className = \"light\";\n localStorage.setItem(\"theme\", \"light\");\n existingTheme = \"light\";\n ////////////////////////////////////////\n moonIcon?.classList.add(\"hidden\");\n sunIcon?.classList.remove(\"hidden\");\n // @ts-ignore\n graphicWrapper?.firstChild?.classList.remove(\"ml-auto\");\n ////////////////////////////////////////\n setTheme(\"Light Mode\");\n ////////////////////////////////////////\n }\n ////////////////////////////////////////\n },\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"p-1 rounded-full w-12 transition-all\",\n id: \"theme-selector-graphic-wrapper\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"pointer-events-none transition-all dark:ml-auto\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/sun.png\",\n alt: \"Sun Icon\",\n width: 18,\n className: \"sun dark:hidden\"\n }, void 0, false, {\n fileName: \"/app/components/general/ThemeSelector.jsx\",\n lineNumber: 127,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/new-moon.png\",\n alt: \"Sun Icon\",\n width: 18,\n className: \"moon hidden dark:flex\"\n }, void 0, false, {\n fileName: \"/app/components/general/ThemeSelector.jsx\",\n lineNumber: 133,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/components/general/ThemeSelector.jsx\",\n lineNumber: 126,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/components/general/ThemeSelector.jsx\",\n lineNumber: 122,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: \"/app/components/general/ThemeSelector.jsx\",\n lineNumber: 69,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9jb21wb25lbnRzL2dlbmVyYWwvVGhlbWVTZWxlY3Rvci5qc3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxZQUFZO0FBRVo7Ozs7Q0FJQztBQUN5QjtBQUUxQixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7Q0FLQyxHQUNjLFNBQVNDLGNBQWNDLEtBQUs7SUFDdkM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QsTUFBTSxDQUFDQyxPQUFPQyxTQUFTLEdBQUdKLHFEQUFjLENBQUM7SUFFekNBLHNEQUFlO21DQUFDO1lBQ1osSUFBSU8sZ0JBQWdCQyxhQUFhQyxPQUFPLENBQUM7WUFFekMsSUFBSUYsZUFBZUcsTUFBTSxTQUFTO2dCQUM5Qk4sU0FBUztZQUNiO1FBQ0o7a0NBQUcsRUFBRTtJQUVMLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FDRCxxQkFDSSw4REFBQ087UUFDR0MsV0FBVTtRQUNWQyxJQUFHO1FBQ0hDLFNBQVM7WUFDTCxNQUFNQyxpQkFBaUJDLFNBQVNDLGNBQWMsQ0FDMUM7WUFHSixJQUFJVixnQkFBZ0JDLGFBQWFDLE9BQU8sQ0FBQztZQUN6QyxNQUFNUyxVQUFVSCxnQkFBZ0JJLGNBQWM7WUFDOUMsTUFBTUMsV0FBV0wsZ0JBQWdCSSxjQUFjO1lBRS9DLHdDQUF3QztZQUV4QyxJQUFJLENBQUNaLGlCQUFpQkEsZUFBZUcsTUFBTSxVQUFVO2dCQUNqRE0sU0FBU0ssZUFBZSxDQUFDVCxTQUFTLEdBQUc7Z0JBQ3JDSixhQUFhYyxPQUFPLENBQUMsU0FBUztnQkFDOUJmLGdCQUFnQjtnQkFDaEIsd0NBQXdDO2dCQUV4Q1csU0FBU0ssVUFBVUMsSUFBSTtnQkFDdkJKLFVBQVVHLFVBQVVFLE9BQU87Z0JBRTNCLGFBQWE7Z0JBQ2JWLGdCQUFnQlcsWUFBWUgsVUFBVUMsSUFBSTtnQkFFMUMsd0NBQXdDO2dCQUV4Q3BCLFNBQVM7WUFFVCx3Q0FBd0M7WUFDNUMsT0FBTyxJQUFJRyxlQUFlRyxNQUFNLFNBQVM7Z0JBQ3JDTSxTQUFTSyxlQUFlLENBQUNULFNBQVMsR0FBRztnQkFDckNKLGFBQWFjLE9BQU8sQ0FBQyxTQUFTO2dCQUM5QmYsZ0JBQWdCO2dCQUNoQix3Q0FBd0M7Z0JBRXhDYSxVQUFVRyxVQUFVQyxJQUFJO2dCQUN4Qk4sU0FBU0ssVUFBVUUsT0FBTztnQkFFMUIsYUFBYTtnQkFDYlYsZ0JBQWdCVyxZQUFZSCxVQUFVRSxPQUFPO2dCQUU3Qyx3Q0FBd0M7Z0JBRXhDckIsU0FBUztZQUVULHdDQUF3QztZQUM1QztRQUVBLHdDQUF3QztRQUM1QztrQkFFQSw0RUFBQ087WUFDR0MsV0FBVTtZQUNWQyxJQUFHO3NCQUVILDRFQUFDRjtnQkFBSUMsV0FBVTs7a0NBQ1gsOERBQUNlO3dCQUNHQyxLQUFJO3dCQUNKQyxLQUFJO3dCQUNKQyxPQUFPO3dCQUNQbEIsV0FBVTs7Ozs7O2tDQUVkLDhEQUFDZTt3QkFDR0MsS0FBSTt3QkFDSkMsS0FBSTt3QkFDSkMsT0FBTzt3QkFDUGxCLFdBQVU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFPOUIsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDNUMiLCJzb3VyY2VzIjpbIi9hcHAvY29tcG9uZW50cy9nZW5lcmFsL1RoZW1lU2VsZWN0b3IuanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogTWFpbiBDb21wb25lbnQgeyBGdW5jdGlvbmFsIH1cclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEBwYXJhbSB7b2JqZWN0fSBwcm9wcyAtIFJlYWN0IGNvbXBvbmVudCBwcm9wc1xyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gVGhlbWVTZWxlY3Rvcihwcm9wcykge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuICAgIGNvbnN0IFt0aGVtZSwgc2V0VGhlbWVdID0gUmVhY3QudXNlU3RhdGUoXCJMaWdodCBNb2RlXCIpO1xyXG5cclxuICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgbGV0IGV4aXN0aW5nVGhlbWUgPSBsb2NhbFN0b3JhZ2UuZ2V0SXRlbShcInRoZW1lXCIpO1xyXG5cclxuICAgICAgICBpZiAoZXhpc3RpbmdUaGVtZT8ubWF0Y2goL2RhcmsvKSkge1xyXG4gICAgICAgICAgICBzZXRUaGVtZShcIkRhcmsgTW9kZVwiKTtcclxuICAgICAgICB9XHJcbiAgICB9LCBbXSk7XHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE1haW4gRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKi9cclxuICAgIHJldHVybiAoXHJcbiAgICAgICAgPGRpdlxyXG4gICAgICAgICAgICBjbGFzc05hbWU9XCJcIlxyXG4gICAgICAgICAgICBpZD1cInRoZW1lLXNlbGVjdG9yLXdyYXBwZXJcIlxyXG4gICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICBjb25zdCBncmFwaGljV3JhcHBlciA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKFxyXG4gICAgICAgICAgICAgICAgICAgIFwidGhlbWUtc2VsZWN0b3ItZ3JhcGhpYy13cmFwcGVyXCJcclxuICAgICAgICAgICAgICAgICk7XHJcblxyXG4gICAgICAgICAgICAgICAgbGV0IGV4aXN0aW5nVGhlbWUgPSBsb2NhbFN0b3JhZ2UuZ2V0SXRlbShcInRoZW1lXCIpO1xyXG4gICAgICAgICAgICAgICAgY29uc3Qgc3VuSWNvbiA9IGdyYXBoaWNXcmFwcGVyPy5xdWVyeVNlbGVjdG9yKFwiaW1nLnN1blwiKTtcclxuICAgICAgICAgICAgICAgIGNvbnN0IG1vb25JY29uID0gZ3JhcGhpY1dyYXBwZXI/LnF1ZXJ5U2VsZWN0b3IoXCJpbWcubW9vblwiKTtcclxuXHJcbiAgICAgICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgICAgICAgICAgICAgaWYgKCFleGlzdGluZ1RoZW1lIHx8IGV4aXN0aW5nVGhlbWU/Lm1hdGNoKC9saWdodC8pKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmNsYXNzTmFtZSA9IFwiZGFya1wiO1xyXG4gICAgICAgICAgICAgICAgICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKFwidGhlbWVcIiwgXCJkYXJrXCIpO1xyXG4gICAgICAgICAgICAgICAgICAgIGV4aXN0aW5nVGhlbWUgPSBcImRhcmtcIjtcclxuICAgICAgICAgICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgICAgICAgICAgICAgICAgIHN1bkljb24/LmNsYXNzTGlzdC5hZGQoXCJoaWRkZW5cIik7XHJcbiAgICAgICAgICAgICAgICAgICAgbW9vbkljb24/LmNsYXNzTGlzdC5yZW1vdmUoXCJoaWRkZW5cIik7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC8vIEB0cy1pZ25vcmVcclxuICAgICAgICAgICAgICAgICAgICBncmFwaGljV3JhcHBlcj8uZmlyc3RDaGlsZD8uY2xhc3NMaXN0LmFkZChcIm1sLWF1dG9cIik7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgc2V0VGhlbWUoXCJEYXJrIE1vZGVcIik7XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoZXhpc3RpbmdUaGVtZT8ubWF0Y2goL2RhcmsvKSkge1xyXG4gICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jbGFzc05hbWUgPSBcImxpZ2h0XCI7XHJcbiAgICAgICAgICAgICAgICAgICAgbG9jYWxTdG9yYWdlLnNldEl0ZW0oXCJ0aGVtZVwiLCBcImxpZ2h0XCIpO1xyXG4gICAgICAgICAgICAgICAgICAgIGV4aXN0aW5nVGhlbWUgPSBcImxpZ2h0XCI7XHJcbiAgICAgICAgICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgICAgICAgICAgICAgICAgICBtb29uSWNvbj8uY2xhc3NMaXN0LmFkZChcImhpZGRlblwiKTtcclxuICAgICAgICAgICAgICAgICAgICBzdW5JY29uPy5jbGFzc0xpc3QucmVtb3ZlKFwiaGlkZGVuXCIpO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAvLyBAdHMtaWdub3JlXHJcbiAgICAgICAgICAgICAgICAgICAgZ3JhcGhpY1dyYXBwZXI/LmZpcnN0Q2hpbGQ/LmNsYXNzTGlzdC5yZW1vdmUoXCJtbC1hdXRvXCIpO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgICAgICAgICAgICAgICAgIHNldFRoZW1lKFwiTGlnaHQgTW9kZVwiKTtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgfX1cclxuICAgICAgICA+XHJcbiAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cInAtMSByb3VuZGVkLWZ1bGwgdy0xMiB0cmFuc2l0aW9uLWFsbFwiXHJcbiAgICAgICAgICAgICAgICBpZD1cInRoZW1lLXNlbGVjdG9yLWdyYXBoaWMtd3JhcHBlclwiXHJcbiAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwicG9pbnRlci1ldmVudHMtbm9uZSB0cmFuc2l0aW9uLWFsbCBkYXJrOm1sLWF1dG9cIj5cclxuICAgICAgICAgICAgICAgICAgICA8aW1nXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHNyYz1cIi9pbWFnZXMvc3VuLnBuZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFsdD1cIlN1biBJY29uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9ezE4fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJzdW4gZGFyazpoaWRkZW5cIlxyXG4gICAgICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBzcmM9XCIvaW1hZ2VzL25ldy1tb29uLnBuZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFsdD1cIlN1biBJY29uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9ezE4fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJtb29uIGhpZGRlbiBkYXJrOmZsZXhcIlxyXG4gICAgICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIHsvKiA8c3Bhbj57IHRoZW1lIH08L3NwYW4+ICovfVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgKTtcclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxufVxyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJUaGVtZVNlbGVjdG9yIiwicHJvcHMiLCJ0aGVtZSIsInNldFRoZW1lIiwidXNlU3RhdGUiLCJ1c2VFZmZlY3QiLCJleGlzdGluZ1RoZW1lIiwibG9jYWxTdG9yYWdlIiwiZ2V0SXRlbSIsIm1hdGNoIiwiZGl2IiwiY2xhc3NOYW1lIiwiaWQiLCJvbkNsaWNrIiwiZ3JhcGhpY1dyYXBwZXIiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwic3VuSWNvbiIsInF1ZXJ5U2VsZWN0b3IiLCJtb29uSWNvbiIsImRvY3VtZW50RWxlbWVudCIsInNldEl0ZW0iLCJjbGFzc0xpc3QiLCJhZGQiLCJyZW1vdmUiLCJmaXJzdENoaWxkIiwiaW1nIiwic3JjIiwiYWx0Iiwid2lkdGgiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./components/general/ThemeSelector.jsx\n"); + +/***/ }), + +/***/ "./functions/frontend/fetchApi.js": +/*!****************************************!*\ + !*** ./functions/frontend/fetchApi.js ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fetchApi)\n/* harmony export */ });\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Fetch Function\r\n * ==============================================================================\r\n * @async\r\n *\r\n * @param {string} url - Admin or Site page\r\n * @param {{\r\n * method: \"POST\" | \"GET\" | \"DELETE\" | \"PUT\" | \"PATCH\" | \"post\" | \"get\" | \"delete\" | \"put\" | \"patch\",\r\n * body: object | string,\r\n * headers?: HeadersInit,\r\n * } | string} [options] - options object or string: **optional\r\n * @param {boolean} [csrf] - Add CSRF?\r\n *\r\n * @returns {Promise<*>}\r\n */ async function fetchApi(url, options, csrf) {\n /** ********************* Initialize data variable */ let data;\n const finalUrl = url.match(/\\?/) ? url : url + window.location.search;\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (typeof options === \"string\") {\n try {\n let fetchData;\n switch(options){\n case \"post\":\n fetchData = await fetch(finalUrl, {\n method: options,\n // @ts-ignore\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-auth\": csrf ? localStorage.getItem(\"csrf\") : \"\"\n }\n });\n data = fetchData.json();\n break;\n default:\n fetchData = await fetch(finalUrl);\n data = fetchData.json();\n break;\n }\n } catch (error) {\n data = null;\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } else if (typeof options === \"object\") {\n try {\n let fetchData;\n /** ********************* Convert body to JSON if not JSON */ if (options.body && typeof options.body === \"object\") {\n let oldOptionsBody = options.body;\n options.body = JSON.stringify(oldOptionsBody);\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (options.headers) {\n ////////////////////////////////////////\n // @ts-ignore\n options.headers[\"x-csrf-auth\"] = csrf ? localStorage.getItem(\"csrf\") : \"\";\n /** @type {any} */ const finalOptions = {\n ...options\n };\n fetchData = await fetch(finalUrl, finalOptions);\n ////////////////////////////////////////\n } else {\n fetchData = await fetch(finalUrl, {\n ...options,\n // @ts-ignore\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-auth\": csrf ? localStorage.getItem(\"csrf\") : \"\"\n }\n });\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n data = fetchData.json();\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } catch (error) {\n data = null;\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } else {\n try {\n let fetchData = await fetch(finalUrl);\n data = fetchData.json();\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n } catch (error) {\n data = null;\n }\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n return data;\n}\nvar FETCH = fetchApi;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9mdW5jdGlvbnMvZnJvbnRlbmQvZmV0Y2hBcGkuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFlBQVk7QUFFWjs7Ozs7Ozs7Ozs7Ozs7O0NBZUMsR0FDYyxlQUFlQSxTQUFTQyxHQUFHLEVBQUVDLE9BQU8sRUFBRUMsSUFBSTtJQUNyRCxtREFBbUQsR0FDbkQsSUFBSUM7SUFDSixNQUFNQyxXQUFXSixJQUFJSyxLQUFLLENBQUMsUUFBUUwsTUFBTUEsTUFBTU0sT0FBT0MsUUFBUSxDQUFDQyxNQUFNO0lBRXJFLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDLElBQUksT0FBT1AsWUFBWSxVQUFVO1FBQzdCLElBQUk7WUFDQSxJQUFJUTtZQUNKLE9BQVFSO2dCQUNKLEtBQUs7b0JBQ0RRLFlBQVksTUFBTUMsTUFBTU4sVUFBVTt3QkFDOUJPLFFBQVFWO3dCQUNSLGFBQWE7d0JBQ2JXLFNBQVM7NEJBQ0wsZ0JBQWdCOzRCQUNoQixlQUFlVixPQUNUVyxhQUFhQyxPQUFPLENBQUMsVUFDckI7d0JBQ1Y7b0JBQ0o7b0JBQ0FYLE9BQU9NLFVBQVVNLElBQUk7b0JBQ3JCO2dCQUVKO29CQUNJTixZQUFZLE1BQU1DLE1BQU1OO29CQUN4QkQsT0FBT00sVUFBVU0sSUFBSTtvQkFDckI7WUFDUjtRQUNKLEVBQUUsT0FBT0MsT0FBTztZQUNaYixPQUFPO1FBQ1g7SUFFQSx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUM1QyxPQUFPLElBQUksT0FBT0YsWUFBWSxVQUFVO1FBQ3BDLElBQUk7WUFDQSxJQUFJUTtZQUVKLDJEQUEyRCxHQUMzRCxJQUFJUixRQUFRZ0IsSUFBSSxJQUFJLE9BQU9oQixRQUFRZ0IsSUFBSSxLQUFLLFVBQVU7Z0JBQ2xELElBQUlDLGlCQUFpQmpCLFFBQVFnQixJQUFJO2dCQUNqQ2hCLFFBQVFnQixJQUFJLEdBQUdFLEtBQUtDLFNBQVMsQ0FBQ0Y7WUFDbEM7WUFFQSx3Q0FBd0M7WUFDeEMsd0NBQXdDO1lBQ3hDLHdDQUF3QztZQUV4QyxJQUFJakIsUUFBUVcsT0FBTyxFQUFFO2dCQUNqQix3Q0FBd0M7Z0JBQ3hDLGFBQWE7Z0JBQ2JYLFFBQVFXLE9BQU8sQ0FBQyxjQUFjLEdBQUdWLE9BQzNCVyxhQUFhQyxPQUFPLENBQUMsVUFDckI7Z0JBRU4sZ0JBQWdCLEdBQ2hCLE1BQU1PLGVBQWU7b0JBQUUsR0FBR3BCLE9BQU87Z0JBQUM7Z0JBQ2xDUSxZQUFZLE1BQU1DLE1BQU1OLFVBQVVpQjtZQUVsQyx3Q0FBd0M7WUFDNUMsT0FBTztnQkFDSFosWUFBWSxNQUFNQyxNQUFNTixVQUFVO29CQUM5QixHQUFHSCxPQUFPO29CQUNWLGFBQWE7b0JBQ2JXLFNBQVM7d0JBQ0wsZ0JBQWdCO3dCQUNoQixlQUFlVixPQUFPVyxhQUFhQyxPQUFPLENBQUMsVUFBVTtvQkFDekQ7Z0JBQ0o7WUFDSjtZQUVBLHdDQUF3QztZQUN4Qyx3Q0FBd0M7WUFDeEMsd0NBQXdDO1lBRXhDWCxPQUFPTSxVQUFVTSxJQUFJO1FBRXJCLHdDQUF3QztRQUN4Qyx3Q0FBd0M7UUFDeEMsd0NBQXdDO1FBQzVDLEVBQUUsT0FBT0MsT0FBTztZQUNaYixPQUFPO1FBQ1g7SUFFQSx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUM1QyxPQUFPO1FBQ0gsSUFBSTtZQUNBLElBQUlNLFlBQVksTUFBTUMsTUFBTU47WUFDNUJELE9BQU9NLFVBQVVNLElBQUk7UUFFckIsd0NBQXdDO1FBQ3hDLHdDQUF3QztRQUN4Qyx3Q0FBd0M7UUFDNUMsRUFBRSxPQUFPQyxPQUFPO1lBQ1piLE9BQU87UUFDWDtJQUNKO0lBRUEsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEMsT0FBT0E7QUFDWDtBQUVBLElBQUltQixRQUFRdkIiLCJzb3VyY2VzIjpbIi9hcHAvZnVuY3Rpb25zL2Zyb250ZW5kL2ZldGNoQXBpLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBGZXRjaCBGdW5jdGlvblxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQGFzeW5jXHJcbiAqXHJcbiAqIEBwYXJhbSB7c3RyaW5nfSB1cmwgLSBBZG1pbiBvciBTaXRlIHBhZ2VcclxuICogQHBhcmFtIHt7XHJcbiAqICBtZXRob2Q6IFwiUE9TVFwiIHwgXCJHRVRcIiB8IFwiREVMRVRFXCIgfCBcIlBVVFwiIHwgXCJQQVRDSFwiIHwgXCJwb3N0XCIgfCBcImdldFwiIHwgXCJkZWxldGVcIiB8IFwicHV0XCIgfCBcInBhdGNoXCIsXHJcbiAqICBib2R5OiBvYmplY3QgfCBzdHJpbmcsXHJcbiAqICBoZWFkZXJzPzogSGVhZGVyc0luaXQsXHJcbiAqIH0gfCBzdHJpbmd9IFtvcHRpb25zXSAtIG9wdGlvbnMgb2JqZWN0IG9yIHN0cmluZzogKipvcHRpb25hbFxyXG4gKiBAcGFyYW0ge2Jvb2xlYW59IFtjc3JmXSAtIEFkZCBDU1JGP1xyXG4gKlxyXG4gKiBAcmV0dXJucyB7UHJvbWlzZTwqPn1cclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGFzeW5jIGZ1bmN0aW9uIGZldGNoQXBpKHVybCwgb3B0aW9ucywgY3NyZikge1xyXG4gICAgLyoqICoqKioqKioqKioqKioqKioqKioqKiBJbml0aWFsaXplIGRhdGEgdmFyaWFibGUgKi9cclxuICAgIGxldCBkYXRhO1xyXG4gICAgY29uc3QgZmluYWxVcmwgPSB1cmwubWF0Y2goL1xcPy8pID8gdXJsIDogdXJsICsgd2luZG93LmxvY2F0aW9uLnNlYXJjaDtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgaWYgKHR5cGVvZiBvcHRpb25zID09PSBcInN0cmluZ1wiKSB7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgbGV0IGZldGNoRGF0YTtcclxuICAgICAgICAgICAgc3dpdGNoIChvcHRpb25zKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlIFwicG9zdFwiOlxyXG4gICAgICAgICAgICAgICAgICAgIGZldGNoRGF0YSA9IGF3YWl0IGZldGNoKGZpbmFsVXJsLCB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG1ldGhvZDogb3B0aW9ucyxcclxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gQHRzLWlnbm9yZVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIkNvbnRlbnQtVHlwZVwiOiBcImFwcGxpY2F0aW9uL2pzb25cIixcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwieC1jc3JmLWF1dGhcIjogY3NyZlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gbG9jYWxTdG9yYWdlLmdldEl0ZW0oXCJjc3JmXCIpXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiBcIlwiLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgICAgIGRhdGEgPSBmZXRjaERhdGEuanNvbigpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XHJcbiAgICAgICAgICAgICAgICAgICAgZmV0Y2hEYXRhID0gYXdhaXQgZmV0Y2goZmluYWxVcmwpO1xyXG4gICAgICAgICAgICAgICAgICAgIGRhdGEgPSBmZXRjaERhdGEuanNvbigpO1xyXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcclxuICAgICAgICAgICAgZGF0YSA9IG51bGw7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIH0gZWxzZSBpZiAodHlwZW9mIG9wdGlvbnMgPT09IFwib2JqZWN0XCIpIHtcclxuICAgICAgICB0cnkge1xyXG4gICAgICAgICAgICBsZXQgZmV0Y2hEYXRhO1xyXG5cclxuICAgICAgICAgICAgLyoqICoqKioqKioqKioqKioqKioqKioqKiBDb252ZXJ0IGJvZHkgdG8gSlNPTiBpZiBub3QgSlNPTiAqL1xyXG4gICAgICAgICAgICBpZiAob3B0aW9ucy5ib2R5ICYmIHR5cGVvZiBvcHRpb25zLmJvZHkgPT09IFwib2JqZWN0XCIpIHtcclxuICAgICAgICAgICAgICAgIGxldCBvbGRPcHRpb25zQm9keSA9IG9wdGlvbnMuYm9keTtcclxuICAgICAgICAgICAgICAgIG9wdGlvbnMuYm9keSA9IEpTT04uc3RyaW5naWZ5KG9sZE9wdGlvbnNCb2R5KTtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAgICAgICAgIGlmIChvcHRpb25zLmhlYWRlcnMpIHtcclxuICAgICAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgICAgIC8vIEB0cy1pZ25vcmVcclxuICAgICAgICAgICAgICAgIG9wdGlvbnMuaGVhZGVyc1tcIngtY3NyZi1hdXRoXCJdID0gY3NyZlxyXG4gICAgICAgICAgICAgICAgICAgID8gbG9jYWxTdG9yYWdlLmdldEl0ZW0oXCJjc3JmXCIpXHJcbiAgICAgICAgICAgICAgICAgICAgOiBcIlwiO1xyXG5cclxuICAgICAgICAgICAgICAgIC8qKiBAdHlwZSB7YW55fSAqL1xyXG4gICAgICAgICAgICAgICAgY29uc3QgZmluYWxPcHRpb25zID0geyAuLi5vcHRpb25zIH07XHJcbiAgICAgICAgICAgICAgICBmZXRjaERhdGEgPSBhd2FpdCBmZXRjaChmaW5hbFVybCwgZmluYWxPcHRpb25zKTtcclxuXHJcbiAgICAgICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBmZXRjaERhdGEgPSBhd2FpdCBmZXRjaChmaW5hbFVybCwge1xyXG4gICAgICAgICAgICAgICAgICAgIC4uLm9wdGlvbnMsXHJcbiAgICAgICAgICAgICAgICAgICAgLy8gQHRzLWlnbm9yZVxyXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgXCJDb250ZW50LVR5cGVcIjogXCJhcHBsaWNhdGlvbi9qc29uXCIsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFwieC1jc3JmLWF1dGhcIjogY3NyZiA/IGxvY2FsU3RvcmFnZS5nZXRJdGVtKFwiY3NyZlwiKSA6IFwiXCIsXHJcbiAgICAgICAgICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgICAgICAgICAgZGF0YSA9IGZldGNoRGF0YS5qc29uKCk7XHJcblxyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XHJcbiAgICAgICAgICAgIGRhdGEgPSBudWxsO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICAgIHRyeSB7XHJcbiAgICAgICAgICAgIGxldCBmZXRjaERhdGEgPSBhd2FpdCBmZXRjaChmaW5hbFVybCk7XHJcbiAgICAgICAgICAgIGRhdGEgPSBmZXRjaERhdGEuanNvbigpO1xyXG5cclxuICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICB9IGNhdGNoIChlcnJvcikge1xyXG4gICAgICAgICAgICBkYXRhID0gbnVsbDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIHJldHVybiBkYXRhO1xyXG59XHJcblxyXG52YXIgRkVUQ0ggPSBmZXRjaEFwaTtcclxuIl0sIm5hbWVzIjpbImZldGNoQXBpIiwidXJsIiwib3B0aW9ucyIsImNzcmYiLCJkYXRhIiwiZmluYWxVcmwiLCJtYXRjaCIsIndpbmRvdyIsImxvY2F0aW9uIiwic2VhcmNoIiwiZmV0Y2hEYXRhIiwiZmV0Y2giLCJtZXRob2QiLCJoZWFkZXJzIiwibG9jYWxTdG9yYWdlIiwiZ2V0SXRlbSIsImpzb24iLCJlcnJvciIsImJvZHkiLCJvbGRPcHRpb25zQm9keSIsIkpTT04iLCJzdHJpbmdpZnkiLCJmaW5hbE9wdGlvbnMiLCJGRVRDSCJdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./functions/frontend/fetchApi.js\n"); + +/***/ }), + +/***/ "./functions/frontend/updateNavLinks.js": +/*!**********************************************!*\ + !*** ./functions/frontend/updateNavLinks.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ updateNavLinks)\n/* harmony export */ });\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n *\r\n * @param {object} param0\r\n * @param {HTMLAnchorElement[] | NodeListOf} [param0.links]\r\n */ async function updateNavLinks({ links }) {\n /** @type {NodeListOf | HTMLAnchorElement[]} */ let navLinks = links ? links : document.querySelectorAll(\"nav a\");\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n if (navLinks) {\n navLinks.forEach((link)=>{\n if (link.dataset.currentlink === window.location.pathname) {\n link.classList.add(\"active\");\n } else if (window.location.pathname.match(new RegExp(`${link.dataset.currentlink}\\\\/.*`)) && !link.dataset.strictlink) {\n link.classList.add(\"active\");\n }\n });\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n const isDbPathValid = window.location.pathname.match(/\\/databases\\/.*/);\n if (isDbPathValid) {\n const links = document.querySelectorAll(\"a\");\n if (links && window.location.search.match(/delegated=true/)) {\n links.forEach((link, index)=>{\n if (!link?.pathname?.match(/databases/)) return;\n link.href = link.pathname + window.location.search;\n });\n }\n }\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9mdW5jdGlvbnMvZnJvbnRlbmQvdXBkYXRlTmF2TGlua3MuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDLEdBRUQsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FFbkY7Ozs7Q0FJQyxHQUNjLGVBQWVBLGVBQWUsRUFBRUMsS0FBSyxFQUFFO0lBQ2xELGdFQUFnRSxHQUNoRSxJQUFJQyxXQUFXRCxRQUFRQSxRQUFRRSxTQUFTQyxnQkFBZ0IsQ0FBQztJQUV6RCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4QyxJQUFJRixVQUFVO1FBQ1ZBLFNBQVNHLE9BQU8sQ0FBQyxDQUFDQztZQUNkLElBQUlBLEtBQUtDLE9BQU8sQ0FBQ0MsV0FBVyxLQUFLQyxPQUFPQyxRQUFRLENBQUNDLFFBQVEsRUFBRTtnQkFDdkRMLEtBQUtNLFNBQVMsQ0FBQ0MsR0FBRyxDQUFDO1lBQ3ZCLE9BQU8sSUFDSEosT0FBT0MsUUFBUSxDQUFDQyxRQUFRLENBQUNHLEtBQUssQ0FDMUIsSUFBSUMsT0FBTyxHQUFHVCxLQUFLQyxPQUFPLENBQUNDLFdBQVcsQ0FBQyxLQUFLLENBQUMsTUFFakQsQ0FBQ0YsS0FBS0MsT0FBTyxDQUFDUyxVQUFVLEVBQzFCO2dCQUNFVixLQUFLTSxTQUFTLENBQUNDLEdBQUcsQ0FBQztZQUN2QjtRQUNKO0lBQ0o7SUFFQSx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4QyxNQUFNSSxnQkFBZ0JSLE9BQU9DLFFBQVEsQ0FBQ0MsUUFBUSxDQUFDRyxLQUFLLENBQUM7SUFFckQsSUFBSUcsZUFBZTtRQUNmLE1BQU1oQixRQUFRRSxTQUFTQyxnQkFBZ0IsQ0FBQztRQUV4QyxJQUFJSCxTQUFTUSxPQUFPQyxRQUFRLENBQUNRLE1BQU0sQ0FBQ0osS0FBSyxDQUFDLG1CQUFtQjtZQUN6RGIsTUFBTUksT0FBTyxDQUFDLENBQUNDLE1BQU1hO2dCQUNqQixJQUFJLENBQUNiLE1BQU1LLFVBQVVHLE1BQU0sY0FBYztnQkFDekNSLEtBQUtjLElBQUksR0FBR2QsS0FBS0ssUUFBUSxHQUFHRixPQUFPQyxRQUFRLENBQUNRLE1BQU07WUFDdEQ7UUFDSjtJQUNKO0FBQ0osRUFFQSxtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRiIsInNvdXJjZXMiOlsiL2FwcC9mdW5jdGlvbnMvZnJvbnRlbmQvdXBkYXRlTmF2TGlua3MuanMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEltcG9ydHNcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqL1xyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuXHJcbi8qKlxyXG4gKlxyXG4gKiBAcGFyYW0ge29iamVjdH0gcGFyYW0wXHJcbiAqIEBwYXJhbSB7SFRNTEFuY2hvckVsZW1lbnRbXSB8IE5vZGVMaXN0T2Y8SFRNTEFuY2hvckVsZW1lbnQ+fSBbcGFyYW0wLmxpbmtzXVxyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgYXN5bmMgZnVuY3Rpb24gdXBkYXRlTmF2TGlua3MoeyBsaW5rcyB9KSB7XHJcbiAgICAvKiogQHR5cGUge05vZGVMaXN0T2Y8SFRNTEFuY2hvckVsZW1lbnQ+IHwgSFRNTEFuY2hvckVsZW1lbnRbXX0gKi9cclxuICAgIGxldCBuYXZMaW5rcyA9IGxpbmtzID8gbGlua3MgOiBkb2N1bWVudC5xdWVyeVNlbGVjdG9yQWxsKFwibmF2IGFcIik7XHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIGlmIChuYXZMaW5rcykge1xyXG4gICAgICAgIG5hdkxpbmtzLmZvckVhY2goKGxpbmspID0+IHtcclxuICAgICAgICAgICAgaWYgKGxpbmsuZGF0YXNldC5jdXJyZW50bGluayA9PT0gd2luZG93LmxvY2F0aW9uLnBhdGhuYW1lKSB7XHJcbiAgICAgICAgICAgICAgICBsaW5rLmNsYXNzTGlzdC5hZGQoXCJhY3RpdmVcIik7XHJcbiAgICAgICAgICAgIH0gZWxzZSBpZiAoXHJcbiAgICAgICAgICAgICAgICB3aW5kb3cubG9jYXRpb24ucGF0aG5hbWUubWF0Y2goXHJcbiAgICAgICAgICAgICAgICAgICAgbmV3IFJlZ0V4cChgJHtsaW5rLmRhdGFzZXQuY3VycmVudGxpbmt9XFxcXC8uKmApXHJcbiAgICAgICAgICAgICAgICApICYmXHJcbiAgICAgICAgICAgICAgICAhbGluay5kYXRhc2V0LnN0cmljdGxpbmtcclxuICAgICAgICAgICAgKSB7XHJcbiAgICAgICAgICAgICAgICBsaW5rLmNsYXNzTGlzdC5hZGQoXCJhY3RpdmVcIik7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH1cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgY29uc3QgaXNEYlBhdGhWYWxpZCA9IHdpbmRvdy5sb2NhdGlvbi5wYXRobmFtZS5tYXRjaCgvXFwvZGF0YWJhc2VzXFwvLiovKTtcclxuXHJcbiAgICBpZiAoaXNEYlBhdGhWYWxpZCkge1xyXG4gICAgICAgIGNvbnN0IGxpbmtzID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvckFsbChcImFcIik7XHJcblxyXG4gICAgICAgIGlmIChsaW5rcyAmJiB3aW5kb3cubG9jYXRpb24uc2VhcmNoLm1hdGNoKC9kZWxlZ2F0ZWQ9dHJ1ZS8pKSB7XHJcbiAgICAgICAgICAgIGxpbmtzLmZvckVhY2goKGxpbmssIGluZGV4KSA9PiB7XHJcbiAgICAgICAgICAgICAgICBpZiAoIWxpbms/LnBhdGhuYW1lPy5tYXRjaCgvZGF0YWJhc2VzLykpIHJldHVybjtcclxuICAgICAgICAgICAgICAgIGxpbmsuaHJlZiA9IGxpbmsucGF0aG5hbWUgKyB3aW5kb3cubG9jYXRpb24uc2VhcmNoO1xyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbiJdLCJuYW1lcyI6WyJ1cGRhdGVOYXZMaW5rcyIsImxpbmtzIiwibmF2TGlua3MiLCJkb2N1bWVudCIsInF1ZXJ5U2VsZWN0b3JBbGwiLCJmb3JFYWNoIiwibGluayIsImRhdGFzZXQiLCJjdXJyZW50bGluayIsIndpbmRvdyIsImxvY2F0aW9uIiwicGF0aG5hbWUiLCJjbGFzc0xpc3QiLCJhZGQiLCJtYXRjaCIsIlJlZ0V4cCIsInN0cmljdGxpbmsiLCJpc0RiUGF0aFZhbGlkIiwic2VhcmNoIiwiaW5kZXgiLCJocmVmIl0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./functions/frontend/updateNavLinks.js\n"); + +/***/ }), + +/***/ "./layouts/GeneralLayout.jsx": +/*!***********************************!*\ + !*** ./layouts/GeneralLayout.jsx ***! + \***********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ GeneralLayout)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/head */ \"next/head\");\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _functions_frontend_updateNavLinks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../functions/frontend/updateNavLinks */ \"./functions/frontend/updateNavLinks.js\");\n/* harmony import */ var _components_GeneralLayout_Header__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/GeneralLayout/Header */ \"./layouts/components/GeneralLayout/Header.jsx\");\n/* harmony import */ var _components_GeneralLayout_Footer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/GeneralLayout/Footer */ \"./layouts/components/GeneralLayout/Footer.jsx\");\n/* harmony import */ var _components_GeneralLayout_ProductionHeadComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/GeneralLayout/ProductionHeadComponent */ \"./layouts/components/GeneralLayout/ProductionHeadComponent.jsx\");\n/* harmony import */ var _components_GeneralLayout_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/GeneralLayout/ScrollToTopButton */ \"./layouts/components/GeneralLayout/ScrollToTopButton.jsx\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React Component Props\r\n * @param {React.ReactNode} props.children - children component\r\n * @param {React.ReactNode} props.head - head Items\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.user] - user object\r\n * @param {*} [props.productionEnvironment]\r\n * @param {boolean} [props.darkBgHeader]\r\n * @param {boolean} [props.transparentHeader]\r\n */ function GeneralLayout({ children, head, user, productionEnvironment, darkBgHeader, transparentHeader }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"GeneralLayout.useEffect\": ()=>{\n (0,_functions_frontend_updateNavLinks__WEBPACK_IMPORTED_MODULE_3__[\"default\"])({});\n }\n }[\"GeneralLayout.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((next_head__WEBPACK_IMPORTED_MODULE_2___default()), {\n children: head\n }, void 0, false, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 88,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_GeneralLayout_ProductionHeadComponent__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n head: head,\n productionEnvironment: productionEnvironment\n }, void 0, false, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 89,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_GeneralLayout_Header__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n user: user,\n darkBg: darkBgHeader,\n transparent: transparentHeader\n }, void 0, false, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 93,\n columnNumber: 13\n }, this),\n children,\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_GeneralLayout_Footer__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 99,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_GeneralLayout_ScrollToTopButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 100,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/GeneralLayout.jsx\",\n lineNumber: 87,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL0dlbmVyYWxMYXlvdXQuanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBQ0c7QUFFN0Isd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFFMEI7QUFDWDtBQUNBO0FBQ2tDO0FBQ1o7QUFFN0UsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FFbkY7Ozs7Ozs7Ozs7O0NBV0MsR0FDYyxTQUFTTyxjQUFjLEVBQ2xDQyxRQUFRLEVBQ1JDLElBQUksRUFDSkMsSUFBSSxFQUNKQyxxQkFBcUIsRUFDckJDLFlBQVksRUFDWkMsaUJBQWlCLEVBQ3BCO0lBQ0c7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0RiLHNEQUFlO21DQUFDO1lBQ1pFLDhFQUFjQSxDQUFDLENBQUM7UUFDcEI7a0NBQUcsRUFBRTtJQUVMLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FDRCxxQkFDSSw4REFBQ0YsdURBQWM7OzBCQUNYLDhEQUFDQyxrREFBSUE7MEJBQUVROzs7Ozs7MEJBQ1AsOERBQUNKLHlGQUF1QkE7Z0JBQ3BCSSxNQUFNQTtnQkFDTkUsdUJBQXVCQTs7Ozs7OzBCQUUzQiw4REFBQ1Isd0VBQU1BO2dCQUNITyxNQUFNQTtnQkFDTk0sUUFBUUo7Z0JBQ1JLLGFBQWFKOzs7Ozs7WUFFaEJMOzBCQUNELDhEQUFDSix3RUFBTUE7Ozs7OzBCQUNQLDhEQUFDRSxtRkFBaUJBOzs7Ozs7Ozs7OztBQUkxQix3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUM1QyIsInNvdXJjZXMiOlsiL2FwcC9sYXlvdXRzL0dlbmVyYWxMYXlvdXQuanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgSGVhZCBmcm9tIFwibmV4dC9oZWFkXCI7XHJcblxyXG4vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuaW1wb3J0IHVwZGF0ZU5hdkxpbmtzIGZyb20gXCIuLi9mdW5jdGlvbnMvZnJvbnRlbmQvdXBkYXRlTmF2TGlua3NcIjtcclxuaW1wb3J0IEhlYWRlciBmcm9tIFwiLi9jb21wb25lbnRzL0dlbmVyYWxMYXlvdXQvSGVhZGVyXCI7XHJcbmltcG9ydCBGb290ZXIgZnJvbSBcIi4vY29tcG9uZW50cy9HZW5lcmFsTGF5b3V0L0Zvb3RlclwiO1xyXG5pbXBvcnQgUHJvZHVjdGlvbkhlYWRDb21wb25lbnQgZnJvbSBcIi4vY29tcG9uZW50cy9HZW5lcmFsTGF5b3V0L1Byb2R1Y3Rpb25IZWFkQ29tcG9uZW50XCI7XHJcbmltcG9ydCBTY3JvbGxUb1RvcEJ1dHRvbiBmcm9tIFwiLi9jb21wb25lbnRzL0dlbmVyYWxMYXlvdXQvU2Nyb2xsVG9Ub3BCdXR0b25cIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIE1haW4gQ29tcG9uZW50IHsgRnVuY3Rpb25hbCB9XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge29iamVjdH0gcHJvcHMgLSBSZWFjdCBDb21wb25lbnQgUHJvcHNcclxuICogQHBhcmFtIHtSZWFjdC5SZWFjdE5vZGV9IHByb3BzLmNoaWxkcmVuIC0gY2hpbGRyZW4gY29tcG9uZW50XHJcbiAqIEBwYXJhbSB7UmVhY3QuUmVhY3ROb2RlfSBwcm9wcy5oZWFkIC0gaGVhZCBJdGVtc1xyXG4gKiBAcGFyYW0ge2ltcG9ydChcIkAvcGFja2FnZS1zaGFyZWQvdHlwZXNcIikuVXNlclR5cGUgfCBudWxsfSBbcHJvcHMudXNlcl0gLSB1c2VyIG9iamVjdFxyXG4gKiBAcGFyYW0geyp9IFtwcm9wcy5wcm9kdWN0aW9uRW52aXJvbm1lbnRdXHJcbiAqIEBwYXJhbSB7Ym9vbGVhbn0gW3Byb3BzLmRhcmtCZ0hlYWRlcl1cclxuICogQHBhcmFtIHtib29sZWFufSBbcHJvcHMudHJhbnNwYXJlbnRIZWFkZXJdXHJcbiAqL1xyXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBHZW5lcmFsTGF5b3V0KHtcclxuICAgIGNoaWxkcmVuLFxyXG4gICAgaGVhZCxcclxuICAgIHVzZXIsXHJcbiAgICBwcm9kdWN0aW9uRW52aXJvbm1lbnQsXHJcbiAgICBkYXJrQmdIZWFkZXIsXHJcbiAgICB0cmFuc3BhcmVudEhlYWRlcixcclxufSkge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgdXBkYXRlTmF2TGlua3Moe30pO1xyXG4gICAgfSwgW10pO1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEZ1bmN0aW9uIFJldHVyblxyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBNYWluIEZ1bmN0aW9uIFJldHVyblxyXG4gICAgICovXHJcbiAgICByZXR1cm4gKFxyXG4gICAgICAgIDxSZWFjdC5GcmFnbWVudD5cclxuICAgICAgICAgICAgPEhlYWQ+e2hlYWR9PC9IZWFkPlxyXG4gICAgICAgICAgICA8UHJvZHVjdGlvbkhlYWRDb21wb25lbnRcclxuICAgICAgICAgICAgICAgIGhlYWQ9e2hlYWR9XHJcbiAgICAgICAgICAgICAgICBwcm9kdWN0aW9uRW52aXJvbm1lbnQ9e3Byb2R1Y3Rpb25FbnZpcm9ubWVudH1cclxuICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgPEhlYWRlclxyXG4gICAgICAgICAgICAgICAgdXNlcj17dXNlcn1cclxuICAgICAgICAgICAgICAgIGRhcmtCZz17ZGFya0JnSGVhZGVyfVxyXG4gICAgICAgICAgICAgICAgdHJhbnNwYXJlbnQ9e3RyYW5zcGFyZW50SGVhZGVyfVxyXG4gICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICB7Y2hpbGRyZW59XHJcbiAgICAgICAgICAgIDxGb290ZXIgLz5cclxuICAgICAgICAgICAgPFNjcm9sbFRvVG9wQnV0dG9uIC8+XHJcbiAgICAgICAgPC9SZWFjdC5GcmFnbWVudD5cclxuICAgICk7XHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG59XHJcbiJdLCJuYW1lcyI6WyJSZWFjdCIsIkhlYWQiLCJ1cGRhdGVOYXZMaW5rcyIsIkhlYWRlciIsIkZvb3RlciIsIlByb2R1Y3Rpb25IZWFkQ29tcG9uZW50IiwiU2Nyb2xsVG9Ub3BCdXR0b24iLCJHZW5lcmFsTGF5b3V0IiwiY2hpbGRyZW4iLCJoZWFkIiwidXNlciIsInByb2R1Y3Rpb25FbnZpcm9ubWVudCIsImRhcmtCZ0hlYWRlciIsInRyYW5zcGFyZW50SGVhZGVyIiwidXNlRWZmZWN0IiwiRnJhZ21lbnQiLCJkYXJrQmciLCJ0cmFuc3BhcmVudCJdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./layouts/GeneralLayout.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/AdminLayout/AdminUserBlock.jsx": +/*!***********************************************************!*\ + !*** ./layouts/components/AdminLayout/AdminUserBlock.jsx ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ AdminUserBlock)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/LoadingBlock */ \"./components/general/LoadingBlock.jsx\");\n/* harmony import */ var _AdminUserDropdown__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../AdminUserDropdown */ \"./layouts/components/AdminUserDropdown.jsx\");\n/* harmony import */ var _components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../components/general/ThemeSelector */ \"./components/general/ThemeSelector.jsx\");\n/* harmony import */ var _barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronDown!=!lucide-react */ \"__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.activeUser] - user object\r\n * @param {boolean} [props.noModeSelector] - Add dark mode toggler or not\r\n */ function AdminUserBlock({ activeUser, noModeSelector }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ if (!activeUser?.logged_in_status) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 67,\n columnNumber: 16\n }, this);\n }\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"gap-2 flex-col-reverse xl:flex-row gap-y-6 w-full xl:w-auto py-2 whitespace-nowrap\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"ml-auto dropdown-wrapper p-0 xl:p-4 hover:bg-slate-100 hidden\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: `/admin/${activeUser?.id}/notifications`,\n className: \"flex items-center justify-center\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/notification-icon.svg\",\n alt: \"Notification Icon\",\n width: 20,\n className: \"opacity-50\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 77,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 73,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown mt-0 xl:-mt-3 gap-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-slate-400\",\n children: \"Notifications\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 86,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n position: \"relative\",\n width: \"20px\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 87,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 85,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 72,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"ml-auto dropdown-wrapper\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"avatar\",\n style: {\n width: \"36px\",\n height: \"36px\"\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: activeUser?.image,\n alt: \"User Image\",\n width: 35,\n className: \"w-full h-full object-cover rounded-full\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 96,\n columnNumber: 21\n }, this),\n activeUser?.social_login ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"sub-img\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: (()=>{\n if (activeUser?.social_platform?.match(/facebook/i)) return \"/images/facebook.png\";\n if (activeUser?.social_platform?.match(/google/i)) return \"/images/google.png\";\n if (activeUser?.social_platform?.match(/github/i)) return \"/images/github.png\";\n return \"/images/sharing.png\";\n })(),\n alt: \"\",\n className: \"flex dark:hidden\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 104,\n columnNumber: 29\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: (()=>{\n if (activeUser?.social_platform?.match(/facebook/i)) return \"/images/facebook.png\";\n if (activeUser?.social_platform?.match(/google/i)) return \"/images/google.png\";\n if (activeUser?.social_platform?.match(/github/i)) return \"/images/github-white.png\";\n return \"/images/sharing.png\";\n })(),\n alt: \"\",\n className: \"hidden dark:flex\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 129,\n columnNumber: 29\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 103,\n columnNumber: 25\n }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 156,\n columnNumber: 25\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 92,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"dark:text-white\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"b\", {\n children: [\n activeUser?.first_name,\n \" \",\n activeUser?.last_name\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 160,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 159,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__.ChevronDown, {\n size: 20\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 164,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AdminUserDropdown__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n user: activeUser\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 166,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 91,\n columnNumber: 13\n }, this),\n !noModeSelector && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"ml-2\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 171,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 170,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminLayout/AdminUserBlock.jsx\",\n lineNumber: 71,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvQWRtaW5MYXlvdXQvQWRtaW5Vc2VyQmxvY2suanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBRTBDO0FBQ2Y7QUFDaUI7QUFDM0I7QUFFM0MsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FFbkY7Ozs7Ozs7Q0FPQyxHQUNjLFNBQVNLLGVBQWUsRUFBRUMsVUFBVSxFQUFFQyxjQUFjLEVBQUU7SUFDakU7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUNELElBQUksQ0FBQ0QsWUFBWUUsa0JBQWtCO1FBQy9CLHFCQUFPLDhEQUFDUix1REFBYzs7Ozs7SUFDMUI7SUFFQSxxQkFDSSw4REFBQ1U7UUFBSUMsV0FBVTs7MEJBQ1gsOERBQUNEO2dCQUFJQyxXQUFVOztrQ0FDWCw4REFBQ0M7d0JBQ0dDLE1BQU0sQ0FBQyxPQUFPLEVBQUVQLFlBQVlRLEdBQUcsY0FBYyxDQUFDO3dCQUM5Q0gsV0FBVTtrQ0FFViw0RUFBQ0k7NEJBQ0dDLEtBQUk7NEJBQ0pDLEtBQUk7NEJBQ0pDLE9BQU87NEJBQ1BQLFdBQVU7Ozs7Ozs7Ozs7O2tDQUlsQiw4REFBQ0Q7d0JBQUlDLFdBQVU7OzBDQUNYLDhEQUFDUTtnQ0FBS1IsV0FBVTswQ0FBaUI7Ozs7OzswQ0FDakMsOERBQUNWLHdFQUFZQTtnQ0FBQ21CLFVBQVM7Z0NBQVdGLE9BQU07Ozs7Ozs7Ozs7Ozs7Ozs7OzswQkFJaEQsOERBQUNSO2dCQUFJQyxXQUFVOztrQ0FDWCw4REFBQ0Q7d0JBQ0dDLFdBQVU7d0JBQ1ZVLE9BQU87NEJBQUVILE9BQU87NEJBQVFJLFFBQVE7d0JBQU87OzBDQUV2Qyw4REFBQ1A7Z0NBQ0dDLEtBQUtWLFlBQVlpQjtnQ0FDakJOLEtBQUk7Z0NBQ0pDLE9BQU87Z0NBQ1BQLFdBQVU7Ozs7Ozs0QkFFYkwsWUFBWWtCLDZCQUNULDhEQUFDZDtnQ0FBSUMsV0FBVTs7a0RBQ1gsOERBQUNJO3dDQUNHQyxLQUFLLENBQUM7NENBQ0YsSUFDSVYsWUFBWW1CLGlCQUFpQkMsTUFDekIsY0FHSixPQUFPOzRDQUNYLElBQ0lwQixZQUFZbUIsaUJBQWlCQyxNQUN6QixZQUdKLE9BQU87NENBQ1gsSUFDSXBCLFlBQVltQixpQkFBaUJDLE1BQ3pCLFlBR0osT0FBTzs0Q0FDWCxPQUFPO3dDQUNYO3dDQUNBVCxLQUFJO3dDQUNKTixXQUFVOzs7Ozs7a0RBRWQsOERBQUNJO3dDQUNHQyxLQUFLLENBQUM7NENBQ0YsSUFDSVYsWUFBWW1CLGlCQUFpQkMsTUFDekIsY0FHSixPQUFPOzRDQUNYLElBQ0lwQixZQUFZbUIsaUJBQWlCQyxNQUN6QixZQUdKLE9BQU87NENBQ1gsSUFDSXBCLFlBQVltQixpQkFBaUJDLE1BQ3pCLFlBR0osT0FBTzs0Q0FDWCxPQUFPO3dDQUNYO3dDQUNBVCxLQUFJO3dDQUNKTixXQUFVOzs7Ozs7Ozs7OztxREFJbEIsOERBQUNYLHVEQUFjOzs7Ozs7Ozs7OztrQ0FHdkIsOERBQUNtQjt3QkFBS1IsV0FBVTtrQ0FDWiw0RUFBQ2dCOztnQ0FDSXJCLFlBQVlzQjtnQ0FBVztnQ0FBRXRCLFlBQVl1Qjs7Ozs7Ozs7Ozs7O2tDQUc5Qyw4REFBQ3pCLHdGQUFXQTt3QkFBQzBCLE1BQU07Ozs7OztrQ0FFbkIsOERBQUM1QiwwREFBaUJBO3dCQUFDNkIsTUFBTXpCOzs7Ozs7Ozs7Ozs7WUFHNUIsQ0FBQ0MsZ0NBQ0UsOERBQUNHO2dCQUFJQyxXQUFVOzBCQUNYLDRFQUFDUix5RUFBYUE7Ozs7Ozs7Ozs7Ozs7Ozs7QUFNOUIsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDNUMiLCJzb3VyY2VzIjpbIi9hcHAvbGF5b3V0cy9jb21wb25lbnRzL0FkbWluTGF5b3V0L0FkbWluVXNlckJsb2NrLmpzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAdHMtY2hlY2tcclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogSW1wb3J0c1xyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICovXHJcbmltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcclxuXHJcbmltcG9ydCBMb2FkaW5nQmxvY2sgZnJvbSBcIi4uLy4uLy4uL2NvbXBvbmVudHMvZ2VuZXJhbC9Mb2FkaW5nQmxvY2tcIjtcclxuaW1wb3J0IEFkbWluVXNlckRyb3Bkb3duIGZyb20gXCIuLi9BZG1pblVzZXJEcm9wZG93blwiO1xyXG5pbXBvcnQgVGhlbWVTZWxlY3RvciBmcm9tIFwiLi4vLi4vLi4vY29tcG9uZW50cy9nZW5lcmFsL1RoZW1lU2VsZWN0b3JcIjtcclxuaW1wb3J0IHsgQ2hldnJvbkRvd24gfSBmcm9tIFwibHVjaWRlLXJlYWN0XCI7XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBNYWluIENvbXBvbmVudCB7IEZ1bmN0aW9uYWwgfVxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQHBhcmFtIHtvYmplY3R9IHByb3BzIC0gUmVhY3QgY29tcG9uZW50IHByb3BzXHJcbiAqIEBwYXJhbSB7aW1wb3J0KFwiQC9wYWNrYWdlLXNoYXJlZC90eXBlc1wiKS5Vc2VyVHlwZSB8IG51bGx9IFtwcm9wcy5hY3RpdmVVc2VyXSAtIHVzZXIgb2JqZWN0XHJcbiAqIEBwYXJhbSB7Ym9vbGVhbn0gW3Byb3BzLm5vTW9kZVNlbGVjdG9yXSAtIEFkZCBkYXJrIG1vZGUgdG9nZ2xlciBvciBub3RcclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEFkbWluVXNlckJsb2NrKHsgYWN0aXZlVXNlciwgbm9Nb2RlU2VsZWN0b3IgfSkge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgaWYgKCFhY3RpdmVVc2VyPy5sb2dnZWRfaW5fc3RhdHVzKSB7XHJcbiAgICAgICAgcmV0dXJuIDxSZWFjdC5GcmFnbWVudD48L1JlYWN0LkZyYWdtZW50PjtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gKFxyXG4gICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZ2FwLTIgZmxleC1jb2wtcmV2ZXJzZSB4bDpmbGV4LXJvdyBnYXAteS02IHctZnVsbCB4bDp3LWF1dG8gcHktMiB3aGl0ZXNwYWNlLW5vd3JhcFwiPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cIm1sLWF1dG8gZHJvcGRvd24td3JhcHBlciBwLTAgeGw6cC00IGhvdmVyOmJnLXNsYXRlLTEwMCBoaWRkZW5cIj5cclxuICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgaHJlZj17YC9hZG1pbi8ke2FjdGl2ZVVzZXI/LmlkfS9ub3RpZmljYXRpb25zYH1cclxuICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJmbGV4IGl0ZW1zLWNlbnRlciBqdXN0aWZ5LWNlbnRlclwiXHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBzcmM9XCIvaW1hZ2VzL25vdGlmaWNhdGlvbi1pY29uLnN2Z1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFsdD1cIk5vdGlmaWNhdGlvbiBJY29uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9ezIwfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJvcGFjaXR5LTUwXCJcclxuICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgPC9hPlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZHJvcGRvd24gbXQtMCB4bDotbXQtMyBnYXAtMlwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzTmFtZT1cInRleHQtc2xhdGUtNDAwXCI+Tm90aWZpY2F0aW9uczwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICA8TG9hZGluZ0Jsb2NrIHBvc2l0aW9uPVwicmVsYXRpdmVcIiB3aWR0aD1cIjIwcHhcIiAvPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJtbC1hdXRvIGRyb3Bkb3duLXdyYXBwZXJcIj5cclxuICAgICAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJhdmF0YXJcIlxyXG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXt7IHdpZHRoOiBcIjM2cHhcIiwgaGVpZ2h0OiBcIjM2cHhcIiB9fVxyXG4gICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpbWdcclxuICAgICAgICAgICAgICAgICAgICAgICAgc3JjPXthY3RpdmVVc2VyPy5pbWFnZX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgYWx0PVwiVXNlciBJbWFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoPXszNX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwidy1mdWxsIGgtZnVsbCBvYmplY3QtY292ZXIgcm91bmRlZC1mdWxsXCJcclxuICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgICAgIHthY3RpdmVVc2VyPy5zb2NpYWxfbG9naW4gPyAoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwic3ViLWltZ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz17KCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aXZlVXNlcj8uc29jaWFsX3BsYXRmb3JtPy5tYXRjaChcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvZmFjZWJvb2svaVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCIvaW1hZ2VzL2ZhY2Vib29rLnBuZ1wiO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhY3RpdmVVc2VyPy5zb2NpYWxfcGxhdGZvcm0/Lm1hdGNoKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC9nb29nbGUvaVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCIvaW1hZ2VzL2dvb2dsZS5wbmdcIjtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aXZlVXNlcj8uc29jaWFsX3BsYXRmb3JtPy5tYXRjaChcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvZ2l0aHViL2lcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIClcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwiL2ltYWdlcy9naXRodWIucG5nXCI7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcIi9pbWFnZXMvc2hhcmluZy5wbmdcIjtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSgpfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsdD1cIlwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiZmxleCBkYXJrOmhpZGRlblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYz17KCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aXZlVXNlcj8uc29jaWFsX3BsYXRmb3JtPy5tYXRjaChcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvZmFjZWJvb2svaVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCIvaW1hZ2VzL2ZhY2Vib29rLnBuZ1wiO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhY3RpdmVVc2VyPy5zb2NpYWxfcGxhdGZvcm0/Lm1hdGNoKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC9nb29nbGUvaVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gXCIvaW1hZ2VzL2dvb2dsZS5wbmdcIjtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aXZlVXNlcj8uc29jaWFsX3BsYXRmb3JtPy5tYXRjaChcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvZ2l0aHViL2lcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIClcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFwiL2ltYWdlcy9naXRodWItd2hpdGUucG5nXCI7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBcIi9pbWFnZXMvc2hhcmluZy5wbmdcIjtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSgpfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsdD1cIlwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiaGlkZGVuIGRhcms6ZmxleFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICApIDogKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8UmVhY3QuRnJhZ21lbnQ+PC9SZWFjdC5GcmFnbWVudD5cclxuICAgICAgICAgICAgICAgICAgICApfVxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzc05hbWU9XCJkYXJrOnRleHQtd2hpdGVcIj5cclxuICAgICAgICAgICAgICAgICAgICA8Yj5cclxuICAgICAgICAgICAgICAgICAgICAgICAge2FjdGl2ZVVzZXI/LmZpcnN0X25hbWV9IHthY3RpdmVVc2VyPy5sYXN0X25hbWV9XHJcbiAgICAgICAgICAgICAgICAgICAgPC9iPlxyXG4gICAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgPENoZXZyb25Eb3duIHNpemU9ezIwfSAvPlxyXG5cclxuICAgICAgICAgICAgICAgIDxBZG1pblVzZXJEcm9wZG93biB1c2VyPXthY3RpdmVVc2VyfSAvPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgIHshbm9Nb2RlU2VsZWN0b3IgJiYgKFxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJtbC0yXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPFRoZW1lU2VsZWN0b3IgLz5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICApfVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgKTtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbn1cclxuIl0sIm5hbWVzIjpbIlJlYWN0IiwiTG9hZGluZ0Jsb2NrIiwiQWRtaW5Vc2VyRHJvcGRvd24iLCJUaGVtZVNlbGVjdG9yIiwiQ2hldnJvbkRvd24iLCJBZG1pblVzZXJCbG9jayIsImFjdGl2ZVVzZXIiLCJub01vZGVTZWxlY3RvciIsImxvZ2dlZF9pbl9zdGF0dXMiLCJGcmFnbWVudCIsImRpdiIsImNsYXNzTmFtZSIsImEiLCJocmVmIiwiaWQiLCJpbWciLCJzcmMiLCJhbHQiLCJ3aWR0aCIsInNwYW4iLCJwb3NpdGlvbiIsInN0eWxlIiwiaGVpZ2h0IiwiaW1hZ2UiLCJzb2NpYWxfbG9naW4iLCJzb2NpYWxfcGxhdGZvcm0iLCJtYXRjaCIsImIiLCJmaXJzdF9uYW1lIiwibGFzdF9uYW1lIiwic2l6ZSIsInVzZXIiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/AdminLayout/AdminUserBlock.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/AdminUserDropdown.jsx": +/*!**************************************************!*\ + !*** ./layouts/components/AdminUserDropdown.jsx ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ AdminUserDropdown)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CircleGauge_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CircleGauge!=!lucide-react */ \"__barrel_optimize__?names=CircleGauge!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * Admin User Dropdown\r\n * ==============================================================================\r\n * @param {object} props\r\n * @param {import(\"@/package-shared/types\").UserType} props.user\r\n */ function AdminUserDropdown({ user }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown right-aligned\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/admin\",\n className: \"button outlined gray more-padding relative z-20 mb-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CircleGauge_lucide_react__WEBPACK_IMPORTED_MODULE_2__.CircleGauge, {\n size: 18,\n className: \"mr-1\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 66,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: \"Dashboard\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 67,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 62,\n columnNumber: 13\n }, this),\n true && user?.id ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"p-2 bg-slate-100 w-full justify-center items-center rounded\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-slate-500\",\n children: \"User ID:\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 71,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"b\", {\n children: user.id\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 72,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 70,\n columnNumber: 17\n }, this) : null,\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: `/admin/${user?.id}/settings`,\n className: \"button plain-text more-padding normal-weight\",\n children: \"Settings\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 75,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/logout\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Logout\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 81,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/AdminUserDropdown.jsx\",\n lineNumber: 61,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvQWRtaW5Vc2VyRHJvcGRvd24uanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBQ2lCO0FBRTNDLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7OztDQUtDLEdBQ2MsU0FBU0Usa0JBQWtCLEVBQUVDLElBQUksRUFBRTtJQUM5Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNDO1FBQUlDLFdBQVU7OzBCQUNYLDhEQUFDQztnQkFDR0MsTUFBSztnQkFDTEYsV0FBVTs7a0NBRVYsOERBQUNKLHdGQUFXQTt3QkFBQ08sTUFBTTt3QkFBSUgsV0FBVTs7Ozs7O2tDQUNqQyw4REFBQ0k7a0NBQUs7Ozs7Ozs7Ozs7OztZQTNDSCxLQTZDK0IsSUFBSU4sTUFBTU8sbUJBQzVDLDhEQUFDTjtnQkFBSUMsV0FBVTs7a0NBQ1gsOERBQUNJO3dCQUFLSixXQUFVO2tDQUFpQjs7Ozs7O2tDQUNqQyw4REFBQ007a0NBQUdSLEtBQUtPLEVBQUU7Ozs7Ozs7Ozs7O3VCQUVmOzBCQUNKLDhEQUFDSjtnQkFDR0MsTUFBTSxDQUFDLE9BQU8sRUFBRUosTUFBTU8sR0FBRyxTQUFTLENBQUM7Z0JBQ25DTCxXQUFVOzBCQUNiOzs7Ozs7MEJBR0QsOERBQUNDO2dCQUNHQyxNQUFLO2dCQUNMRixXQUFVOzBCQUNiOzs7Ozs7Ozs7Ozs7QUFLVCx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUM1QyIsInNvdXJjZXMiOlsiL2FwcC9sYXlvdXRzL2NvbXBvbmVudHMvQWRtaW5Vc2VyRHJvcGRvd24uanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgeyBDaXJjbGVHYXVnZSB9IGZyb20gXCJsdWNpZGUtcmVhY3RcIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogQWRtaW4gVXNlciBEcm9wZG93blxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQHBhcmFtIHtvYmplY3R9IHByb3BzXHJcbiAqIEBwYXJhbSB7aW1wb3J0KFwiQC9wYWNrYWdlLXNoYXJlZC90eXBlc1wiKS5Vc2VyVHlwZX0gcHJvcHMudXNlclxyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gQWRtaW5Vc2VyRHJvcGRvd24oeyB1c2VyIH0pIHtcclxuICAgIC8qKlxyXG4gICAgICogR2V0IENvbnRleHRzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IHsgUmVhY3QudXNlQ29udGV4dCB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBKYXZhc2NyaXB0IFZhcmlhYmxlc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBOb24gaG9vayB2YXJpYWJsZXMgYW5kIGZ1bmN0aW9uc1xyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogUmVhY3QgSG9va3NcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0LCB1c2VSZWYsIGV0YyAuLi4gfVxyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE1haW4gRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKi9cclxuICAgIHJldHVybiAoXHJcbiAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJkcm9wZG93biByaWdodC1hbGlnbmVkXCI+XHJcbiAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICBocmVmPVwiL2FkbWluXCJcclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBvdXRsaW5lZCBncmF5IG1vcmUtcGFkZGluZyByZWxhdGl2ZSB6LTIwIG1iLTJcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICA8Q2lyY2xlR2F1Z2Ugc2l6ZT17MTh9IGNsYXNzTmFtZT1cIm1yLTFcIiAvPlxyXG4gICAgICAgICAgICAgICAgPHNwYW4+RGFzaGJvYXJkPC9zcGFuPlxyXG4gICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgIHtwcm9jZXNzLmVudi5OT0RFX0VOViA9PSBcImRldmVsb3BtZW50XCIgJiYgdXNlcj8uaWQgPyAoXHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInAtMiBiZy1zbGF0ZS0xMDAgdy1mdWxsIGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciByb3VuZGVkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS01MDBcIj5Vc2VyIElEOjwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICA8Yj57dXNlci5pZH08L2I+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgKSA6IG51bGx9XHJcbiAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICBocmVmPXtgL2FkbWluLyR7dXNlcj8uaWR9L3NldHRpbmdzYH1cclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBwbGFpbi10ZXh0IG1vcmUtcGFkZGluZyBub3JtYWwtd2VpZ2h0XCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgU2V0dGluZ3NcclxuICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICA8YVxyXG4gICAgICAgICAgICAgICAgaHJlZj1cIi9sb2dvdXRcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiYnV0dG9uIHBsYWluLXRleHQgbW9yZS1wYWRkaW5nIG5vcm1hbC13ZWlnaHRcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICBMb2dvdXRcclxuICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgKTtcclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxufVxyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJDaXJjbGVHYXVnZSIsIkFkbWluVXNlckRyb3Bkb3duIiwidXNlciIsImRpdiIsImNsYXNzTmFtZSIsImEiLCJocmVmIiwic2l6ZSIsInNwYW4iLCJpZCIsImIiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/AdminUserDropdown.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/GeneralLayout/Footer.jsx": +/*!*****************************************************!*\ + !*** ./layouts/components/GeneralLayout/Footer.jsx ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Footer)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_Logo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/Logo */ \"./components/general/Logo.jsx\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n */ function Footer(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"footer\", {\n className: \"p-8 md:p-10 w-full flex flex-col items-center\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"main-container items-start justify-between gap-6 flex-wrap flex-col md:flex-row pt-6\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex flex-col items-start gap-6\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_Logo__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 64,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"font-normal max-w-sm text-sm text-left\",\n children: \"Datasquirel is a fast efficient cloud-based data store that takes away the entire hassle of data management.\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 65,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 63,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex-col items-start\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n className: \"m-0\",\n children: \"Features\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 72,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/database-reference/data-types\",\n className: \"text-slate-600\",\n children: \"Database Schema\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 73,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/database-reference/querying-data\",\n className: \"text-slate-600\",\n children: \"SQL Queries\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 79,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/gui-reference/upload-media\",\n className: \"text-slate-600\",\n children: \"Media Storage\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 85,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 71,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex-col items-start\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n className: \"m-0\",\n children: \"Docs\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 94,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/quick-start\",\n className: \"text-slate-600\",\n children: \"Quick Start Guide\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 95,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/api-reference\",\n className: \"text-slate-600\",\n children: \"API Guide\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 98,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/gui-reference\",\n className: \"text-slate-600\",\n children: \"GUI Interface\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 101,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 93,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex-col items-start\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n className: \"m-0\",\n children: \"Company\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 107,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/about\",\n className: \"text-slate-600\",\n children: \"About Us\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 108,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/terms\",\n className: \"text-slate-600\",\n children: \"Terms and Conditions\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 111,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/privacy\",\n className: \"text-slate-600\",\n children: \"Privacy Policy\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 114,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 106,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 62,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"hr\", {\n className: \"my-10\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 119,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"container\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"text-sm text-slate-400 dark:text-slate-600\",\n children: [\n new Date().getFullYear(),\n \" \\xa9 Datasquirel. All rights reserved.\"\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 121,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 120,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Footer.jsx\",\n lineNumber: 61,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9Gb290ZXIuanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBQzBCO0FBRXBELG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7OztDQUtDLEdBQ2MsU0FBU0UsT0FBT0MsS0FBSztJQUNoQzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNDO1FBQU9DLFdBQVU7OzBCQUNkLDhEQUFDQztnQkFBSUQsV0FBVTs7a0NBQ1gsOERBQUNDO3dCQUFJRCxXQUFVOzswQ0FDWCw4REFBQ0osZ0VBQUlBOzs7OzswQ0FDTCw4REFBQ007Z0NBQUtGLFdBQVU7MENBQXlDOzs7Ozs7Ozs7Ozs7a0NBTTdELDhEQUFDQzt3QkFBSUQsV0FBVTs7MENBQ1gsOERBQUNHO2dDQUFHSCxXQUFVOzBDQUFNOzs7Ozs7MENBQ3BCLDhEQUFDSTtnQ0FDR0MsTUFBSztnQ0FDTEwsV0FBVTswQ0FDYjs7Ozs7OzBDQUdELDhEQUFDSTtnQ0FDR0MsTUFBSztnQ0FDTEwsV0FBVTswQ0FDYjs7Ozs7OzBDQUdELDhEQUFDSTtnQ0FDR0MsTUFBSztnQ0FDTEwsV0FBVTswQ0FDYjs7Ozs7Ozs7Ozs7O2tDQUtMLDhEQUFDQzt3QkFBSUQsV0FBVTs7MENBQ1gsOERBQUNHO2dDQUFHSCxXQUFVOzBDQUFNOzs7Ozs7MENBQ3BCLDhEQUFDSTtnQ0FBRUMsTUFBSztnQ0FBb0JMLFdBQVU7MENBQWlCOzs7Ozs7MENBR3ZELDhEQUFDSTtnQ0FBRUMsTUFBSztnQ0FBc0JMLFdBQVU7MENBQWlCOzs7Ozs7MENBR3pELDhEQUFDSTtnQ0FBRUMsTUFBSztnQ0FBc0JMLFdBQVU7MENBQWlCOzs7Ozs7Ozs7Ozs7a0NBSzdELDhEQUFDQzt3QkFBSUQsV0FBVTs7MENBQ1gsOERBQUNHO2dDQUFHSCxXQUFVOzBDQUFNOzs7Ozs7MENBQ3BCLDhEQUFDSTtnQ0FBRUMsTUFBSztnQ0FBU0wsV0FBVTswQ0FBaUI7Ozs7OzswQ0FHNUMsOERBQUNJO2dDQUFFQyxNQUFLO2dDQUFTTCxXQUFVOzBDQUFpQjs7Ozs7OzBDQUc1Qyw4REFBQ0k7Z0NBQUVDLE1BQUs7Z0NBQVdMLFdBQVU7MENBQWlCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7MEJBS3RELDhEQUFDTTtnQkFBR04sV0FBVTs7Ozs7OzBCQUNkLDhEQUFDQztnQkFBSUQsV0FBVTswQkFDWCw0RUFBQ0U7b0JBQUtGLFdBQVU7O3dCQUNYLElBQUlPLE9BQU9DLFdBQVc7d0JBQUc7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQU0xQyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUM1QyIsInNvdXJjZXMiOlsiL2FwcC9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9Gb290ZXIuanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgTG9nbyBmcm9tIFwiLi4vLi4vLi4vY29tcG9uZW50cy9nZW5lcmFsL0xvZ29cIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIE1haW4gQ29tcG9uZW50IHsgRnVuY3Rpb25hbCB9XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge29iamVjdH0gcHJvcHMgLSBSZWFjdCBjb21wb25lbnQgcHJvcHNcclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIEZvb3Rlcihwcm9wcykge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgcmV0dXJuIChcclxuICAgICAgICA8Zm9vdGVyIGNsYXNzTmFtZT1cInAtOCBtZDpwLTEwIHctZnVsbCBmbGV4IGZsZXgtY29sIGl0ZW1zLWNlbnRlclwiPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cIm1haW4tY29udGFpbmVyIGl0ZW1zLXN0YXJ0IGp1c3RpZnktYmV0d2VlbiBnYXAtNiBmbGV4LXdyYXAgZmxleC1jb2wgbWQ6ZmxleC1yb3cgcHQtNlwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJmbGV4IGZsZXgtY29sIGl0ZW1zLXN0YXJ0IGdhcC02XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPExvZ28gLz5cclxuICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzc05hbWU9XCJmb250LW5vcm1hbCBtYXgtdy1zbSB0ZXh0LXNtIHRleHQtbGVmdFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBEYXRhc3F1aXJlbCBpcyBhIGZhc3QgZWZmaWNpZW50IGNsb3VkLWJhc2VkIGRhdGEgc3RvcmVcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhhdCB0YWtlcyBhd2F5IHRoZSBlbnRpcmUgaGFzc2xlIG9mIGRhdGEgbWFuYWdlbWVudC5cclxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImZsZXgtY29sIGl0ZW1zLXN0YXJ0XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGg0IGNsYXNzTmFtZT1cIm0tMFwiPkZlYXR1cmVzPC9oND5cclxuICAgICAgICAgICAgICAgICAgICA8YVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBocmVmPVwiL2RvY3MvZGF0YWJhc2UtcmVmZXJlbmNlL2RhdGEtdHlwZXNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJ0ZXh0LXNsYXRlLTYwMFwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBEYXRhYmFzZSBTY2hlbWFcclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2RhdGFiYXNlLXJlZmVyZW5jZS9xdWVyeWluZy1kYXRhXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS02MDBcIlxyXG4gICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgU1FMIFF1ZXJpZXNcclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2d1aS1yZWZlcmVuY2UvdXBsb2FkLW1lZGlhXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS02MDBcIlxyXG4gICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgTWVkaWEgU3RvcmFnZVxyXG4gICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZmxleC1jb2wgaXRlbXMtc3RhcnRcIj5cclxuICAgICAgICAgICAgICAgICAgICA8aDQgY2xhc3NOYW1lPVwibS0wXCI+RG9jczwvaDQ+XHJcbiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi9kb2NzL3F1aWNrLXN0YXJ0XCIgY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS02MDBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgUXVpY2sgU3RhcnQgR3VpZGVcclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi9kb2NzL2FwaS1yZWZlcmVuY2VcIiBjbGFzc05hbWU9XCJ0ZXh0LXNsYXRlLTYwMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBBUEkgR3VpZGVcclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi9kb2NzL2d1aS1yZWZlcmVuY2VcIiBjbGFzc05hbWU9XCJ0ZXh0LXNsYXRlLTYwMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBHVUkgSW50ZXJmYWNlXHJcbiAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJmbGV4LWNvbCBpdGVtcy1zdGFydFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxoNCBjbGFzc05hbWU9XCJtLTBcIj5Db21wYW55PC9oND5cclxuICAgICAgICAgICAgICAgICAgICA8YSBocmVmPVwiL2Fib3V0XCIgY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS02MDBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgQWJvdXQgVXNcclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi90ZXJtc1wiIGNsYXNzTmFtZT1cInRleHQtc2xhdGUtNjAwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFRlcm1zIGFuZCBDb25kaXRpb25zXHJcbiAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9XCIvcHJpdmFjeVwiIGNsYXNzTmFtZT1cInRleHQtc2xhdGUtNjAwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFByaXZhY3kgUG9saWN5XHJcbiAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8aHIgY2xhc3NOYW1lPVwibXktMTBcIiAvPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImNvbnRhaW5lclwiPlxyXG4gICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwidGV4dC1zbSB0ZXh0LXNsYXRlLTQwMCBkYXJrOnRleHQtc2xhdGUtNjAwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAge25ldyBEYXRlKCkuZ2V0RnVsbFllYXIoKX0gwqkgRGF0YXNxdWlyZWwuIEFsbCByaWdodHNcclxuICAgICAgICAgICAgICAgICAgICByZXNlcnZlZC5cclxuICAgICAgICAgICAgICAgIDwvc3Bhbj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9mb290ZXI+XHJcbiAgICApO1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG59XHJcbiJdLCJuYW1lcyI6WyJSZWFjdCIsIkxvZ28iLCJGb290ZXIiLCJwcm9wcyIsImZvb3RlciIsImNsYXNzTmFtZSIsImRpdiIsInNwYW4iLCJoNCIsImEiLCJocmVmIiwiaHIiLCJEYXRlIiwiZ2V0RnVsbFllYXIiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/GeneralLayout/Footer.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/GeneralLayout/Header.jsx": +/*!*****************************************************!*\ + !*** ./layouts/components/GeneralLayout/Header.jsx ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Header)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/general/ThemeSelector */ \"./components/general/ThemeSelector.jsx\");\n/* harmony import */ var _components_general_Logo__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/general/Logo */ \"./components/general/Logo.jsx\");\n/* harmony import */ var _AdminLayout_AdminUserBlock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../AdminLayout/AdminUserBlock */ \"./layouts/components/AdminLayout/AdminUserBlock.jsx\");\n/* harmony import */ var _barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronDown!=!lucide-react */ \"__barrel_optimize__?names=ChevronDown!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {import(\"@/package-shared/types\").UserType | null} [props.user]\r\n * @param {boolean} [props.darkBg]\r\n * @param {boolean} [props.transparent]\r\n */ function Header({ user, darkBg, transparent }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [activeUser, setActiveUser] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(user?.logged_in_status ? user : null);\n // const [activeUser, setActiveUser] = React.useState(user);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"Header.useEffect\": ()=>{\n /** @type {*} */ const mainNavWrapper = document.getElementById(\"main-nav-content-wrapper\");\n window.addEventListener(\"click\", {\n \"Header.useEffect\": (e)=>{\n /** @type {*} */ const clickTarget = e.target;\n if (clickTarget?.closest(\"#main-nav-content-wrapper\") || clickTarget?.closest(\"#main-header-hamburger-button\")) return;\n if (!mainNavWrapper.classList.contains(\"hidden\")) {\n mainNavWrapper.classList.add(\"hidden\");\n }\n }\n }[\"Header.useEffect\"]);\n const navLinks = document.querySelectorAll(\"nav a\");\n navLinks.forEach({\n \"Header.useEffect\": (/** @type {HTMLAnchorElement | *} */ link)=>{\n if (link.pathname === window.location.pathname) {\n if (link.href.match(/#/) || link.pathname.match(/http/)) return;\n link.classList.add(\"active-page-link\");\n }\n }\n }[\"Header.useEffect\"]);\n }\n }[\"Header.useEffect\"], []);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"Header.useEffect\": ()=>{\n if (user?.logged_in_status) {\n setActiveUser(user);\n }\n }\n }[\"Header.useEffect\"], [\n user\n ]);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"header\", {\n className: \"w-full px-4 md:px-8 flex justify-center gap-4 \" + (darkBg ? \" shadow-slate-900/20 dark-content\" : \" shadow-slate-900/5\") + (transparent ? \"\" : \" bg-white dark:bg-slate-800 shadow-lg dark:shadow-black/10 z-50\") + (user?.logged_in_status ? \" py-4\" : \" py-6\"),\n style: {\n zIndex: 700\n },\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"container\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"nav\", {\n className: \"w-full flex items-center justify-between gap-4 md:gap-10\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_Logo__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 125,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 p-4 xl:p-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto xl:bg-transparent\" + (transparent ? \" bg-white xl:bg-transparent\" : \" bg-white dark:bg-slate-800\"),\n id: \"main-nav-content-wrapper\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"items-center mb-2 flex xl:hidden\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n src: \"/images/logo-icon-alt-2.png\",\n alt: \"Logo Icon\",\n width: 37\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 142,\n columnNumber: 33\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 141,\n columnNumber: 29\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"outlined gray ml-auto\",\n onClick: (e)=>{\n /** @type {*} */ const mainNavWrapper = document.getElementById(\"main-nav-content-wrapper\");\n mainNavWrapper?.classList.toggle(\"hidden\");\n },\n style: {\n border: \"none\"\n },\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n className: \"font-semibold text-4xl\",\n children: \"✕\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 162,\n columnNumber: 33\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 148,\n columnNumber: 29\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 140,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex items-center grow flex-col-reverse xl:flex-row mb-10 xl:mb-0\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"flex-col xl:flex-row w-full gap-y-10 gap-x-6\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown-wrapper flex items-center gap-1\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/gui-reference\",\n className: \"relative z-10 flex items-center gap-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: \"Features\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 179,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__.ChevronDown, {\n size: 20\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 180,\n columnNumber: 41\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 175,\n columnNumber: 37\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/database-reference/data-types\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Database Schema\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 184,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/database-reference/querying-data\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Sql Queries\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 190,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/gui-reference/upload-media\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Media Storage\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 196,\n columnNumber: 41\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 183,\n columnNumber: 37\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 174,\n columnNumber: 33\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown-wrapper flex items-center gap-1\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs\",\n className: \"relative z-10 flex items-center gap-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n children: \"Docs\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 210,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ChevronDown_lucide_react__WEBPACK_IMPORTED_MODULE_5__.ChevronDown, {\n size: 20\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 211,\n columnNumber: 41\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 206,\n columnNumber: 37\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"dropdown\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/quick-start\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Quick Start\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 215,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/api-reference\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"Api Guide\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 221,\n columnNumber: 41\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/docs/gui-reference\",\n className: \"button plain-text more-padding normal-weight\",\n children: \"GUI Interface\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 227,\n columnNumber: 41\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 214,\n columnNumber: 37\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 205,\n columnNumber: 33\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/about\",\n children: \"About Us\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 236,\n columnNumber: 33\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/contact\",\n children: \"Contact Us\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 238,\n columnNumber: 33\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 173,\n columnNumber: 29\n }, this),\n activeUser?.logged_in_status ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_AdminLayout_AdminUserBlock__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n activeUser: activeUser,\n noModeSelector: true\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 242,\n columnNumber: 33\n }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"ml-auto w-full xl:w-auto justify-center\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/login\",\n className: \"button outlined gray hidden xl:flex\" + (darkBg ? \" light\" : \"\"),\n children: \"Login\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 248,\n columnNumber: 37\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/login\",\n className: \"button outlined gray flex xl:hidden\",\n children: \"Login\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 257,\n columnNumber: 37\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/create-account\",\n className: \"button\",\n children: \"Get Started\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 263,\n columnNumber: 37\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 247,\n columnNumber: 33\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 172,\n columnNumber: 25\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 131,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"ml-0 xl:-ml-2\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_ThemeSelector__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 279,\n columnNumber: 25\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 278,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all\",\n onClick: (e)=>{\n /** @type {*} */ const mainNavWrapper = document.getElementById(\"main-nav-content-wrapper\");\n mainNavWrapper?.classList.toggle(\"hidden\");\n },\n style: {\n minWidth: \"50px\",\n backgroundColor: \"transparent\"\n },\n id: \"main-header-hamburger-button\",\n \"aria-label\": \"Mobile Hambutget Button\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 302,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 303,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full\"\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 304,\n columnNumber: 25\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 286,\n columnNumber: 21\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 124,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 123,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/Header.jsx\",\n lineNumber: 108,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9IZWFkZXIuanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBRTRDO0FBQ2xCO0FBQ087QUFDaEI7QUFFM0MsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FFbkY7Ozs7Ozs7O0NBUUMsR0FDYyxTQUFTSyxPQUFPLEVBQUVDLElBQUksRUFBRUMsTUFBTSxFQUFFQyxXQUFXLEVBQUU7SUFDeEQ7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QsTUFBTSxDQUFDQyxZQUFZQyxjQUFjLEdBQUdWLHFEQUFjLENBQzlDTSxNQUFNTSxtQkFBbUJOLE9BQU87SUFFcEMsNERBQTREO0lBRTVETixzREFBZTs0QkFBQztZQUNaLGNBQWMsR0FDZCxNQUFNYyxpQkFBaUJDLFNBQVNDLGNBQWMsQ0FDMUM7WUFHSkMsT0FBT0MsZ0JBQWdCLENBQUM7b0NBQVMsQ0FBQ0M7b0JBQzlCLGNBQWMsR0FDZCxNQUFNQyxjQUFjRCxFQUFFRSxNQUFNO29CQUU1QixJQUNJRCxhQUFhRSxRQUFRLGdDQUNyQkYsYUFBYUUsUUFBUSxrQ0FFckI7b0JBQ0osSUFBSSxDQUFDUixlQUFlUyxTQUFTLENBQUNDLFFBQVEsQ0FBQyxXQUFXO3dCQUM5Q1YsZUFBZVMsU0FBUyxDQUFDRSxHQUFHLENBQUM7b0JBQ2pDO2dCQUNKOztZQUVBLE1BQU1DLFdBQVdYLFNBQVNZLGdCQUFnQixDQUFDO1lBRTNDRCxTQUFTRSxPQUFPO29DQUFDLENBQUMsa0NBQWtDLEdBQUdDO29CQUNuRCxJQUFJQSxLQUFLQyxRQUFRLEtBQUtiLE9BQU9jLFFBQVEsQ0FBQ0QsUUFBUSxFQUFFO3dCQUM1QyxJQUFJRCxLQUFLRyxJQUFJLENBQUNDLEtBQUssQ0FBQyxRQUFRSixLQUFLQyxRQUFRLENBQUNHLEtBQUssQ0FBQyxTQUFTO3dCQUN6REosS0FBS04sU0FBUyxDQUFDRSxHQUFHLENBQUM7b0JBQ3ZCO2dCQUNKOztRQUNKOzJCQUFHLEVBQUU7SUFFTHpCLHNEQUFlOzRCQUFDO1lBQ1osSUFBSU0sTUFBTU0sa0JBQWtCO2dCQUN4QkYsY0FBY0o7WUFDbEI7UUFDSjsyQkFBRztRQUFDQTtLQUFLO0lBRVQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUNELHFCQUNJLDhEQUFDNEI7UUFDR0MsV0FDSSxvREFDQzVCLENBQUFBLFNBQ0ssc0NBQ0EscUJBQW9CLElBQ3pCQyxDQUFBQSxjQUNLLEtBQ0EsaUVBQWdFLElBQ3JFRixDQUFBQSxNQUFNTSxtQkFBbUIsVUFBVSxPQUFNO1FBRTlDd0IsT0FBTztZQUNIQyxRQUFRO1FBQ1o7a0JBRUEsNEVBQUNDO1lBQUlILFdBQVU7c0JBQ1gsNEVBQUNJO2dCQUFJSixXQUFVOztrQ0FDWCw4REFBQ2pDLGdFQUFJQTs7Ozs7a0NBTUwsOERBQUNvQzt3QkFDR0gsV0FDSSwyTUFDQzNCLENBQUFBLGNBQ0ssZ0NBQ0EsNkJBQTRCO3dCQUV0Q2dDLElBQUc7OzBDQUVILDhEQUFDRjtnQ0FBSUgsV0FBVTs7a0RBQ1gsOERBQUNNO3dDQUFFVCxNQUFLO2tEQUNKLDRFQUFDVTs0Q0FDR0MsS0FBSTs0Q0FDSkMsS0FBSTs0Q0FDSkMsT0FBTzs7Ozs7Ozs7Ozs7a0RBR2YsOERBQUNDO3dDQUNHWCxXQUFVO3dDQUNWWSxTQUFTLENBQUM1Qjs0Q0FDTixjQUFjLEdBQ2QsTUFBTUwsaUJBQ0ZDLFNBQVNDLGNBQWMsQ0FDbkI7NENBRVJGLGdCQUFnQlMsVUFBVXlCLE9BQU87d0NBQ3JDO3dDQUNBWixPQUFPOzRDQUNIYSxRQUFRO3dDQUNaO2tEQUVBLDRFQUFDQzs0Q0FBS2YsV0FBVTtzREFBeUI7Ozs7Ozs7Ozs7Ozs7Ozs7OzBDQVVqRCw4REFBQ0c7Z0NBQUlILFdBQVU7O2tEQUNYLDhEQUFDRzt3Q0FBSUgsV0FBVTs7MERBQ1gsOERBQUNHO2dEQUFJSCxXQUFVOztrRUFDWCw4REFBQ007d0RBQ0dULE1BQUs7d0RBQ0xHLFdBQVU7OzBFQUVWLDhEQUFDZTswRUFBSzs7Ozs7OzBFQUNOLDhEQUFDOUMsd0ZBQVdBO2dFQUFDK0MsTUFBTTs7Ozs7Ozs7Ozs7O2tFQUd2Qiw4REFBQ2I7d0RBQUlILFdBQVU7OzBFQUNYLDhEQUFDTTtnRUFDR1QsTUFBSztnRUFDTEcsV0FBVTswRUFDYjs7Ozs7OzBFQUdELDhEQUFDTTtnRUFDR1QsTUFBSztnRUFDTEcsV0FBVTswRUFDYjs7Ozs7OzBFQUdELDhEQUFDTTtnRUFDR1QsTUFBSztnRUFDTEcsV0FBVTswRUFDYjs7Ozs7Ozs7Ozs7Ozs7Ozs7OzBEQU1ULDhEQUFDRztnREFBSUgsV0FBVTs7a0VBQ1gsOERBQUNNO3dEQUNHVCxNQUFLO3dEQUNMRyxXQUFVOzswRUFFViw4REFBQ2U7MEVBQUs7Ozs7OzswRUFDTiw4REFBQzlDLHdGQUFXQTtnRUFBQytDLE1BQU07Ozs7Ozs7Ozs7OztrRUFHdkIsOERBQUNiO3dEQUFJSCxXQUFVOzswRUFDWCw4REFBQ007Z0VBQ0dULE1BQUs7Z0VBQ0xHLFdBQVU7MEVBQ2I7Ozs7OzswRUFHRCw4REFBQ007Z0VBQ0dULE1BQUs7Z0VBQ0xHLFdBQVU7MEVBQ2I7Ozs7OzswRUFHRCw4REFBQ007Z0VBQ0dULE1BQUs7Z0VBQ0xHLFdBQVU7MEVBQ2I7Ozs7Ozs7Ozs7Ozs7Ozs7OzswREFNVCw4REFBQ007Z0RBQUVULE1BQUs7MERBQVM7Ozs7OzswREFFakIsOERBQUNTO2dEQUFFVCxNQUFLOzBEQUFXOzs7Ozs7Ozs7Ozs7b0NBR3RCdkIsWUFBWUcsaUNBQ1QsOERBQUNULG1FQUFjQTt3Q0FDWE0sWUFBWUE7d0NBQ1oyQyxnQkFBZ0I7Ozs7OzZEQUdwQiw4REFBQ2Q7d0NBQUlILFdBQVU7OzBEQUNYLDhEQUFDTTtnREFDR1QsTUFBSztnREFDTEcsV0FDSSx3Q0FDQzVCLENBQUFBLFNBQVMsV0FBVyxFQUFDOzBEQUU3Qjs7Ozs7OzBEQUdELDhEQUFDa0M7Z0RBQ0dULE1BQUs7Z0RBQ0xHLFdBQVU7MERBQ2I7Ozs7OzswREFHRCw4REFBQ007Z0RBQ0dULE1BQUs7Z0RBQ0xHLFdBQVU7MERBQ2I7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztrQ0FZakIsOERBQUNHO3dCQUFJSCxXQUFVO2tDQUNYLDRFQUFDbEMseUVBQWFBOzs7Ozs7Ozs7O2tDQU9sQiw4REFBQzZDO3dCQUNHWCxXQUFVO3dCQUNWWSxTQUFTLENBQUM1Qjs0QkFDTixjQUFjLEdBQ2QsTUFBTUwsaUJBQWlCQyxTQUFTQyxjQUFjLENBQzFDOzRCQUVKRixnQkFBZ0JTLFVBQVV5QixPQUFPO3dCQUNyQzt3QkFDQVosT0FBTzs0QkFDSGlCLFVBQVU7NEJBQ1ZDLGlCQUFpQjt3QkFDckI7d0JBQ0FkLElBQUc7d0JBQ0hlLGNBQVc7OzBDQUVYLDhEQUFDakI7Z0NBQUlILFdBQVU7Ozs7OzswQ0FDZiw4REFBQ0c7Z0NBQUlILFdBQVU7Ozs7OzswQ0FDZiw4REFBQ0c7Z0NBQUlILFdBQVU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFNbkMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDNUMiLCJzb3VyY2VzIjpbIi9hcHAvbGF5b3V0cy9jb21wb25lbnRzL0dlbmVyYWxMYXlvdXQvSGVhZGVyLmpzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAdHMtY2hlY2tcclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogSW1wb3J0c1xyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICovXHJcbmltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcclxuXHJcbmltcG9ydCBUaGVtZVNlbGVjdG9yIGZyb20gXCIuLi8uLi8uLi9jb21wb25lbnRzL2dlbmVyYWwvVGhlbWVTZWxlY3RvclwiO1xyXG5pbXBvcnQgTG9nbyBmcm9tIFwiLi4vLi4vLi4vY29tcG9uZW50cy9nZW5lcmFsL0xvZ29cIjtcclxuaW1wb3J0IEFkbWluVXNlckJsb2NrIGZyb20gXCIuLi9BZG1pbkxheW91dC9BZG1pblVzZXJCbG9ja1wiO1xyXG5pbXBvcnQgeyBDaGV2cm9uRG93biB9IGZyb20gXCJsdWNpZGUtcmVhY3RcIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIE1haW4gQ29tcG9uZW50IHsgRnVuY3Rpb25hbCB9XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge29iamVjdH0gcHJvcHMgLSBSZWFjdCBjb21wb25lbnQgcHJvcHNcclxuICogQHBhcmFtIHtpbXBvcnQoXCJAL3BhY2thZ2Utc2hhcmVkL3R5cGVzXCIpLlVzZXJUeXBlIHwgbnVsbH0gW3Byb3BzLnVzZXJdXHJcbiAqIEBwYXJhbSB7Ym9vbGVhbn0gW3Byb3BzLmRhcmtCZ11cclxuICogQHBhcmFtIHtib29sZWFufSBbcHJvcHMudHJhbnNwYXJlbnRdXHJcbiAqL1xyXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBIZWFkZXIoeyB1c2VyLCBkYXJrQmcsIHRyYW5zcGFyZW50IH0pIHtcclxuICAgIC8qKlxyXG4gICAgICogR2V0IENvbnRleHRzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IHsgUmVhY3QudXNlQ29udGV4dCB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBKYXZhc2NyaXB0IFZhcmlhYmxlc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBOb24gaG9vayB2YXJpYWJsZXMgYW5kIGZ1bmN0aW9uc1xyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogUmVhY3QgSG9va3NcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0LCB1c2VSZWYsIGV0YyAuLi4gfVxyXG4gICAgICovXHJcbiAgICBjb25zdCBbYWN0aXZlVXNlciwgc2V0QWN0aXZlVXNlcl0gPSBSZWFjdC51c2VTdGF0ZShcclxuICAgICAgICB1c2VyPy5sb2dnZWRfaW5fc3RhdHVzID8gdXNlciA6IG51bGxcclxuICAgICk7XHJcbiAgICAvLyBjb25zdCBbYWN0aXZlVXNlciwgc2V0QWN0aXZlVXNlcl0gPSBSZWFjdC51c2VTdGF0ZSh1c2VyKTtcclxuXHJcbiAgICBSZWFjdC51c2VFZmZlY3QoKCkgPT4ge1xyXG4gICAgICAgIC8qKiBAdHlwZSB7Kn0gKi9cclxuICAgICAgICBjb25zdCBtYWluTmF2V3JhcHBlciA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKFxyXG4gICAgICAgICAgICBcIm1haW4tbmF2LWNvbnRlbnQtd3JhcHBlclwiXHJcbiAgICAgICAgKTtcclxuXHJcbiAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoXCJjbGlja1wiLCAoZSkgPT4ge1xyXG4gICAgICAgICAgICAvKiogQHR5cGUgeyp9ICovXHJcbiAgICAgICAgICAgIGNvbnN0IGNsaWNrVGFyZ2V0ID0gZS50YXJnZXQ7XHJcblxyXG4gICAgICAgICAgICBpZiAoXHJcbiAgICAgICAgICAgICAgICBjbGlja1RhcmdldD8uY2xvc2VzdChcIiNtYWluLW5hdi1jb250ZW50LXdyYXBwZXJcIikgfHxcclxuICAgICAgICAgICAgICAgIGNsaWNrVGFyZ2V0Py5jbG9zZXN0KFwiI21haW4taGVhZGVyLWhhbWJ1cmdlci1idXR0b25cIilcclxuICAgICAgICAgICAgKVxyXG4gICAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICBpZiAoIW1haW5OYXZXcmFwcGVyLmNsYXNzTGlzdC5jb250YWlucyhcImhpZGRlblwiKSkge1xyXG4gICAgICAgICAgICAgICAgbWFpbk5hdldyYXBwZXIuY2xhc3NMaXN0LmFkZChcImhpZGRlblwiKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICBjb25zdCBuYXZMaW5rcyA9IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoXCJuYXYgYVwiKTtcclxuXHJcbiAgICAgICAgbmF2TGlua3MuZm9yRWFjaCgoLyoqIEB0eXBlIHtIVE1MQW5jaG9yRWxlbWVudCB8ICp9ICovIGxpbmspID0+IHtcclxuICAgICAgICAgICAgaWYgKGxpbmsucGF0aG5hbWUgPT09IHdpbmRvdy5sb2NhdGlvbi5wYXRobmFtZSkge1xyXG4gICAgICAgICAgICAgICAgaWYgKGxpbmsuaHJlZi5tYXRjaCgvIy8pIHx8IGxpbmsucGF0aG5hbWUubWF0Y2goL2h0dHAvKSkgcmV0dXJuO1xyXG4gICAgICAgICAgICAgICAgbGluay5jbGFzc0xpc3QuYWRkKFwiYWN0aXZlLXBhZ2UtbGlua1wiKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG4gICAgfSwgW10pO1xyXG5cclxuICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgaWYgKHVzZXI/LmxvZ2dlZF9pbl9zdGF0dXMpIHtcclxuICAgICAgICAgICAgc2V0QWN0aXZlVXNlcih1c2VyKTtcclxuICAgICAgICB9XHJcbiAgICB9LCBbdXNlcl0pO1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEZ1bmN0aW9uIFJldHVyblxyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBNYWluIEZ1bmN0aW9uIFJldHVyblxyXG4gICAgICovXHJcbiAgICByZXR1cm4gKFxyXG4gICAgICAgIDxoZWFkZXJcclxuICAgICAgICAgICAgY2xhc3NOYW1lPXtcclxuICAgICAgICAgICAgICAgIFwidy1mdWxsIHB4LTQgbWQ6cHgtOCBmbGV4IGp1c3RpZnktY2VudGVyICBnYXAtNCBcIiArXHJcbiAgICAgICAgICAgICAgICAoZGFya0JnXHJcbiAgICAgICAgICAgICAgICAgICAgPyBcIiBzaGFkb3ctc2xhdGUtOTAwLzIwIGRhcmstY29udGVudFwiXHJcbiAgICAgICAgICAgICAgICAgICAgOiBcIiBzaGFkb3ctc2xhdGUtOTAwLzVcIikgK1xyXG4gICAgICAgICAgICAgICAgKHRyYW5zcGFyZW50XHJcbiAgICAgICAgICAgICAgICAgICAgPyBcIlwiXHJcbiAgICAgICAgICAgICAgICAgICAgOiBcIiBiZy13aGl0ZSBkYXJrOmJnLXNsYXRlLTgwMCBzaGFkb3ctbGcgZGFyazpzaGFkb3ctYmxhY2svMTAgei01MFwiKSArXHJcbiAgICAgICAgICAgICAgICAodXNlcj8ubG9nZ2VkX2luX3N0YXR1cyA/IFwiIHB5LTRcIiA6IFwiIHB5LTZcIilcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBzdHlsZT17e1xyXG4gICAgICAgICAgICAgICAgekluZGV4OiA3MDAsXHJcbiAgICAgICAgICAgIH19XHJcbiAgICAgICAgPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImNvbnRhaW5lclwiPlxyXG4gICAgICAgICAgICAgICAgPG5hdiBjbGFzc05hbWU9XCJ3LWZ1bGwgZmxleCBpdGVtcy1jZW50ZXIganVzdGlmeS1iZXR3ZWVuIGdhcC00IG1kOmdhcC0xMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxMb2dvIC8+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIHsvKiAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vICovfVxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImhpZGRlbiB4bDpmbGV4IGZsZXgtY29sIGl0ZW1zLXN0cmV0Y2ggZ3JvdyBmaXhlZCB4bDpzdGF0aWMgdG9wLTAgcmlnaHQtMCBwLTQgeGw6cC0wIHNoYWRvdy14bCB4bDpzaGFkb3ctbm9uZSBoLXNjcmVlbiB4bDpoLWF1dG8gb3ZlcmZsb3ctYXV0byB4bDpvdmVyZmxvdy12aXNpYmxlIHctc2NyZWVuIHNsOnctYXV0byB4bDpiZy10cmFuc3BhcmVudFwiICtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICh0cmFuc3BhcmVudFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gXCIgYmctd2hpdGUgeGw6YmctdHJhbnNwYXJlbnRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDogXCIgYmctd2hpdGUgZGFyazpiZy1zbGF0ZS04MDBcIilcclxuICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBpZD1cIm1haW4tbmF2LWNvbnRlbnQtd3JhcHBlclwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cIml0ZW1zLWNlbnRlciBtYi0yIGZsZXggeGw6aGlkZGVuXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YSBocmVmPVwiL1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbWdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjPVwiL2ltYWdlcy9sb2dvLWljb24tYWx0LTIucG5nXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWx0PVwiTG9nbyBJY29uXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9ezM3fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwib3V0bGluZWQgZ3JheSBtbC1hdXRvXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrPXsoZSkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvKiogQHR5cGUgeyp9ICovXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IG1haW5OYXZXcmFwcGVyID1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwibWFpbi1uYXYtY29udGVudC13cmFwcGVyXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1haW5OYXZXcmFwcGVyPy5jbGFzc0xpc3QudG9nZ2xlKFwiaGlkZGVuXCIpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGU9e3tcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyOiBcIm5vbmVcIixcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzTmFtZT1cImZvbnQtc2VtaWJvbGQgdGV4dC00eGxcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJiMxMDAwNTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7LyogLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLyAqL31cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZmxleCBpdGVtcy1jZW50ZXIgZ3JvdyBmbGV4LWNvbC1yZXZlcnNlIHhsOmZsZXgtcm93IG1iLTEwIHhsOm1iLTBcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZmxleC1jb2wgeGw6ZmxleC1yb3cgdy1mdWxsIGdhcC15LTEwIGdhcC14LTZcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImRyb3Bkb3duLXdyYXBwZXIgZmxleCBpdGVtcy1jZW50ZXIgZ2FwLTFcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWY9XCIvZG9jcy9ndWktcmVmZXJlbmNlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cInJlbGF0aXZlIHotMTAgZmxleCBpdGVtcy1jZW50ZXIgZ2FwLTJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj5GZWF0dXJlczwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxDaGV2cm9uRG93biBzaXplPXsyMH0gLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJkcm9wZG93blwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBocmVmPVwiL2RvY3MvZGF0YWJhc2UtcmVmZXJlbmNlL2RhdGEtdHlwZXNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBwbGFpbi10ZXh0IG1vcmUtcGFkZGluZyBub3JtYWwtd2VpZ2h0XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBEYXRhYmFzZSBTY2hlbWFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2RhdGFiYXNlLXJlZmVyZW5jZS9xdWVyeWluZy1kYXRhXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJidXR0b24gcGxhaW4tdGV4dCBtb3JlLXBhZGRpbmcgbm9ybWFsLXdlaWdodFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU3FsIFF1ZXJpZXNcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2d1aS1yZWZlcmVuY2UvdXBsb2FkLW1lZGlhXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJidXR0b24gcGxhaW4tdGV4dCBtb3JlLXBhZGRpbmcgbm9ybWFsLXdlaWdodFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTWVkaWEgU3RvcmFnZVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJkcm9wZG93bi13cmFwcGVyIGZsZXggaXRlbXMtY2VudGVyIGdhcC0xXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBocmVmPVwiL2RvY3NcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwicmVsYXRpdmUgei0xMCBmbGV4IGl0ZW1zLWNlbnRlciBnYXAtMlwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuPkRvY3M8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Q2hldnJvbkRvd24gc2l6ZT17MjB9IC8+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwiZHJvcGRvd25cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL3F1aWNrLXN0YXJ0XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJidXR0b24gcGxhaW4tdGV4dCBtb3JlLXBhZGRpbmcgbm9ybWFsLXdlaWdodFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgUXVpY2sgU3RhcnRcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2FwaS1yZWZlcmVuY2VcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBwbGFpbi10ZXh0IG1vcmUtcGFkZGluZyBub3JtYWwtd2VpZ2h0XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBBcGkgR3VpZGVcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9kb2NzL2d1aS1yZWZlcmVuY2VcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBwbGFpbi10ZXh0IG1vcmUtcGFkZGluZyBub3JtYWwtd2VpZ2h0XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHVUkgSW50ZXJmYWNlXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YSBocmVmPVwiL2Fib3V0XCI+QWJvdXQgVXM8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgey8qIDxhIGhyZWY9XCIvcHJpY2luZ1wiPlByaWNpbmc8L2E+ICovfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIGhyZWY9XCIvY29udGFjdFwiPkNvbnRhY3QgVXM8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7YWN0aXZlVXNlcj8ubG9nZ2VkX2luX3N0YXR1cyA/IChcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8QWRtaW5Vc2VyQmxvY2tcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWN0aXZlVXNlcj17YWN0aXZlVXNlcn1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbm9Nb2RlU2VsZWN0b3I9e3RydWV9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICkgOiAoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJtbC1hdXRvIHctZnVsbCB4bDp3LWF1dG8ganVzdGlmeS1jZW50ZXJcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhyZWY9XCIvbG9naW5cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcImJ1dHRvbiBvdXRsaW5lZCBncmF5IGhpZGRlbiB4bDpmbGV4XCIgK1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChkYXJrQmcgPyBcIiBsaWdodFwiIDogXCJcIilcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTG9naW5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaHJlZj1cIi9sb2dpblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJidXR0b24gb3V0bGluZWQgZ3JheSAgZmxleCB4bDpoaWRkZW5cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBMb2dpblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBocmVmPVwiL2NyZWF0ZS1hY2NvdW50XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEdldCBTdGFydGVkXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICB7LyogLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgICAgICAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLyAqL31cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJtbC0wIHhsOi1tbC0yXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxUaGVtZVNlbGVjdG9yIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIHsvKiAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAgICAgICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgICAgICAgICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLyAqL31cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9XCJiZy10cmFuc3BhcmVudCB3LTE2IHAtNCBnYXAtMS41IGZsZXggeGw6aGlkZGVuIGZsZXgtY29sIGhvdmVyOmJnLXRyYW5zcGFyZW50IHRyYW5zaXRpb24tYWxsXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljaz17KGUpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qKiBAdHlwZSB7Kn0gKi9cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnN0IG1haW5OYXZXcmFwcGVyID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJtYWluLW5hdi1jb250ZW50LXdyYXBwZXJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1haW5OYXZXcmFwcGVyPy5jbGFzc0xpc3QudG9nZ2xlKFwiaGlkZGVuXCIpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB9fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbWluV2lkdGg6IFwiNTBweFwiLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBcInRyYW5zcGFyZW50XCIsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGlkPVwibWFpbi1oZWFkZXItaGFtYnVyZ2VyLWJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJNb2JpbGUgSGFtYnV0Z2V0IEJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInctZnVsbCBoLTEgYmctc2xhdGUtNjAwIGRhcms6Ymctc2xhdGUtNDAwIHJvdW5kZWQtZnVsbFwiPjwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInctZnVsbCBoLTEgYmctc2xhdGUtNjAwIGRhcms6Ymctc2xhdGUtNDAwIHJvdW5kZWQtZnVsbFwiPjwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInctZnVsbCBoLTEgYmctc2xhdGUtNjAwIGRhcms6Ymctc2xhdGUtNDAwIHJvdW5kZWQtZnVsbFwiPjwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC9uYXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvaGVhZGVyPlxyXG4gICAgKTtcclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxufVxyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJUaGVtZVNlbGVjdG9yIiwiTG9nbyIsIkFkbWluVXNlckJsb2NrIiwiQ2hldnJvbkRvd24iLCJIZWFkZXIiLCJ1c2VyIiwiZGFya0JnIiwidHJhbnNwYXJlbnQiLCJhY3RpdmVVc2VyIiwic2V0QWN0aXZlVXNlciIsInVzZVN0YXRlIiwibG9nZ2VkX2luX3N0YXR1cyIsInVzZUVmZmVjdCIsIm1haW5OYXZXcmFwcGVyIiwiZG9jdW1lbnQiLCJnZXRFbGVtZW50QnlJZCIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJlIiwiY2xpY2tUYXJnZXQiLCJ0YXJnZXQiLCJjbG9zZXN0IiwiY2xhc3NMaXN0IiwiY29udGFpbnMiLCJhZGQiLCJuYXZMaW5rcyIsInF1ZXJ5U2VsZWN0b3JBbGwiLCJmb3JFYWNoIiwibGluayIsInBhdGhuYW1lIiwibG9jYXRpb24iLCJocmVmIiwibWF0Y2giLCJoZWFkZXIiLCJjbGFzc05hbWUiLCJzdHlsZSIsInpJbmRleCIsImRpdiIsIm5hdiIsImlkIiwiYSIsImltZyIsInNyYyIsImFsdCIsIndpZHRoIiwiYnV0dG9uIiwib25DbGljayIsInRvZ2dsZSIsImJvcmRlciIsInNwYW4iLCJzaXplIiwibm9Nb2RlU2VsZWN0b3IiLCJtaW5XaWR0aCIsImJhY2tncm91bmRDb2xvciIsImFyaWEtbGFiZWwiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/GeneralLayout/Header.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/GeneralLayout/ProductionHeadComponent.jsx": +/*!**********************************************************************!*\ + !*** ./layouts/components/GeneralLayout/ProductionHeadComponent.jsx ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ProductionHeadComponent)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props - React component props\r\n * @param {*} props.head\r\n * @param {*} props.productionEnvironment\r\n */ function ProductionHeadComponent(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {}, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx\",\n lineNumber: 61,\n columnNumber: 12\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9Qcm9kdWN0aW9uSGVhZENvbXBvbmVudC5qc3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxZQUFZO0FBRVo7Ozs7Q0FJQztBQUN5QjtBQUUxQixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7OztDQU9DLEdBQ2MsU0FBU0Msd0JBQXdCQyxLQUFLO0lBQ2pEOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FDRCxxQkFBTyw4REFBQ0YsdURBQWM7Ozs7O0FBQ3RCLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQzVDIiwic291cmNlcyI6WyIvYXBwL2xheW91dHMvY29tcG9uZW50cy9HZW5lcmFsTGF5b3V0L1Byb2R1Y3Rpb25IZWFkQ29tcG9uZW50LmpzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAdHMtY2hlY2tcclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogSW1wb3J0c1xyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICovXHJcbmltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIE1haW4gQ29tcG9uZW50IHsgRnVuY3Rpb25hbCB9XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge29iamVjdH0gcHJvcHMgLSBSZWFjdCBjb21wb25lbnQgcHJvcHNcclxuICogQHBhcmFtIHsqfSBwcm9wcy5oZWFkXHJcbiAqIEBwYXJhbSB7Kn0gcHJvcHMucHJvZHVjdGlvbkVudmlyb25tZW50XHJcbiAqL1xyXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBQcm9kdWN0aW9uSGVhZENvbXBvbmVudChwcm9wcykge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgcmV0dXJuIDxSZWFjdC5GcmFnbWVudD48L1JlYWN0LkZyYWdtZW50PjtcclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxufVxyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJQcm9kdWN0aW9uSGVhZENvbXBvbmVudCIsInByb3BzIiwiRnJhZ21lbnQiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/GeneralLayout/ProductionHeadComponent.jsx\n"); + +/***/ }), + +/***/ "./layouts/components/GeneralLayout/ScrollToTopButton.jsx": +/*!****************************************************************!*\ + !*** ./layouts/components/GeneralLayout/ScrollToTopButton.jsx ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScrollToTopButton)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _barrel_optimize_names_ChevronUp_lucide_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ChevronUp!=!lucide-react */ \"__barrel_optimize__?names=ChevronUp!=!./node_modules/lucide-react/dist/esm/lucide-react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {object} props\r\n * @param {boolean} [props.snug]\r\n */ function ScrollToTopButton({ snug }) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [isVisible, setIsVisible] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"ScrollToTopButton.useEffect\": ()=>{\n window.addEventListener(\"scroll\", {\n \"ScrollToTopButton.useEffect\": (e)=>{\n if (window.scrollY > 600) {\n setIsVisible(true);\n } else {\n setIsVisible(false);\n }\n }\n }[\"ScrollToTopButton.useEffect\"]);\n }\n }[\"ScrollToTopButton.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {\n children: isVisible && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n className: \"fixed z-40 w-12 h-12 p-2 rounded-full bg-white dark:bg-slate-600 shadow-xl flex items-center justify-center hover:bg-slate-800 dark:hover:bg-slate-800 text-slate-500 dark:text-slate-200 outline-slate-300 dark:outline-transparent\" + (snug ? \" bottom-6 right-4\" : \" bottom-4 md:bottom-10 right-4 md:right-10\"),\n style: {\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n zIndex: 2000\n },\n onClick: (e)=>{\n window.scrollTo({\n top: 0,\n left: 0,\n behavior: \"smooth\"\n });\n },\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ChevronUp_lucide_react__WEBPACK_IMPORTED_MODULE_2__.ChevronUp, {\n size: 20\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx\",\n lineNumber: 95,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx\",\n lineNumber: 75,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx\",\n lineNumber: 73,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvR2VuZXJhbExheW91dC9TY3JvbGxUb1RvcEJ1dHRvbi5qc3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUEsWUFBWTtBQUVaOzs7O0NBSUM7QUFDd0M7QUFDZjtBQUUxQixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7O0NBTUMsR0FDYyxTQUFTRSxrQkFBa0IsRUFBRUMsSUFBSSxFQUFFO0lBQzlDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUNELE1BQU0sQ0FBQ0MsV0FBV0MsYUFBYSxHQUFHSixxREFBYyxDQUFDO0lBRWpEQSxzREFBZTt1Q0FBQztZQUNaTyxPQUFPQyxnQkFBZ0IsQ0FBQzsrQ0FBVSxDQUFDQztvQkFDL0IsSUFBSUYsT0FBT0csT0FBTyxHQUFHLEtBQUs7d0JBQ3RCTixhQUFhO29CQUNqQixPQUFPO3dCQUNIQSxhQUFhO29CQUNqQjtnQkFDSjs7UUFDSjtzQ0FBRyxFQUFFO0lBRUwsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUNELHFCQUNJLDhEQUFDSix1REFBYztrQkFDVkcsMkJBQ0csOERBQUNTO1lBQ0dDLFdBQ0kseU9BQ0NYLENBQUFBLE9BQ0ssc0JBQ0EsNENBQTJDO1lBRXJEWSxPQUFPO2dCQUNIQyxjQUFjO2dCQUNkQyxjQUFjO2dCQUNkQyxRQUFRO1lBQ1o7WUFDQUMsU0FBUyxDQUFDVDtnQkFDTkYsT0FBT1ksUUFBUSxDQUFDO29CQUNaQyxLQUFLO29CQUNMQyxNQUFNO29CQUNOQyxVQUFVO2dCQUNkO1lBQ0o7c0JBRUEsNEVBQUN2QixvRkFBU0E7Z0JBQUN3QixNQUFNOzs7Ozs7Ozs7Ozs7Ozs7O0FBS2pDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQzVDIiwic291cmNlcyI6WyIvYXBwL2xheW91dHMvY29tcG9uZW50cy9HZW5lcmFsTGF5b3V0L1Njcm9sbFRvVG9wQnV0dG9uLmpzeCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAdHMtY2hlY2tcclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogSW1wb3J0c1xyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICovXHJcbmltcG9ydCB7IENoZXZyb25VcCB9IGZyb20gXCJsdWNpZGUtcmVhY3RcIjtcclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogTWFpbiBDb21wb25lbnQgeyBGdW5jdGlvbmFsIH1cclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEBwYXJhbSB7b2JqZWN0fSBwcm9wc1xyXG4gKiBAcGFyYW0ge2Jvb2xlYW59IFtwcm9wcy5zbnVnXVxyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gU2Nyb2xsVG9Ub3BCdXR0b24oeyBzbnVnIH0pIHtcclxuICAgIC8qKlxyXG4gICAgICogR2V0IENvbnRleHRzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IHsgUmVhY3QudXNlQ29udGV4dCB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBKYXZhc2NyaXB0IFZhcmlhYmxlc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBOb24gaG9vayB2YXJpYWJsZXMgYW5kIGZ1bmN0aW9uc1xyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogUmVhY3QgSG9va3NcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0LCB1c2VSZWYsIGV0YyAuLi4gfVxyXG4gICAgICovXHJcbiAgICBjb25zdCBbaXNWaXNpYmxlLCBzZXRJc1Zpc2libGVdID0gUmVhY3QudXNlU3RhdGUoZmFsc2UpO1xyXG5cclxuICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoXCJzY3JvbGxcIiwgKGUpID0+IHtcclxuICAgICAgICAgICAgaWYgKHdpbmRvdy5zY3JvbGxZID4gNjAwKSB7XHJcbiAgICAgICAgICAgICAgICBzZXRJc1Zpc2libGUodHJ1ZSk7XHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBzZXRJc1Zpc2libGUoZmFsc2UpO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICB9LCBbXSk7XHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE1haW4gRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKi9cclxuICAgIHJldHVybiAoXHJcbiAgICAgICAgPFJlYWN0LkZyYWdtZW50PlxyXG4gICAgICAgICAgICB7aXNWaXNpYmxlICYmIChcclxuICAgICAgICAgICAgICAgIDxidXR0b25cclxuICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBcImZpeGVkIHotNDAgdy0xMiBoLTEyIHAtMiByb3VuZGVkLWZ1bGwgYmctd2hpdGUgZGFyazpiZy1zbGF0ZS02MDAgc2hhZG93LXhsIGZsZXggaXRlbXMtY2VudGVyIGp1c3RpZnktY2VudGVyIGhvdmVyOmJnLXNsYXRlLTgwMCBkYXJrOmhvdmVyOmJnLXNsYXRlLTgwMCB0ZXh0LXNsYXRlLTUwMCBkYXJrOnRleHQtc2xhdGUtMjAwIG91dGxpbmUtc2xhdGUtMzAwIGRhcms6b3V0bGluZS10cmFuc3BhcmVudFwiICtcclxuICAgICAgICAgICAgICAgICAgICAgICAgKHNudWdcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gXCIgYm90dG9tLTYgcmlnaHQtNFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA6IFwiIGJvdHRvbS00IG1kOmJvdHRvbS0xMCByaWdodC00IG1kOnJpZ2h0LTEwXCIpXHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIG91dGxpbmVTdHlsZTogXCJzb2xpZFwiLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICBvdXRsaW5lV2lkdGg6IFwiMXB4XCIsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHpJbmRleDogMjAwMCxcclxuICAgICAgICAgICAgICAgICAgICB9fVxyXG4gICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9eyhlKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5zY3JvbGxUbyh7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0b3A6IDAsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYmVoYXZpb3I6IFwic21vb3RoXCIsXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xyXG4gICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPENoZXZyb25VcCBzaXplPXsyMH0gLz5cclxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICApfVxyXG4gICAgICAgIDwvUmVhY3QuRnJhZ21lbnQ+XHJcbiAgICApO1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG59XHJcbiJdLCJuYW1lcyI6WyJDaGV2cm9uVXAiLCJSZWFjdCIsIlNjcm9sbFRvVG9wQnV0dG9uIiwic251ZyIsImlzVmlzaWJsZSIsInNldElzVmlzaWJsZSIsInVzZVN0YXRlIiwidXNlRWZmZWN0Iiwid2luZG93IiwiYWRkRXZlbnRMaXN0ZW5lciIsImUiLCJzY3JvbGxZIiwiRnJhZ21lbnQiLCJidXR0b24iLCJjbGFzc05hbWUiLCJzdHlsZSIsIm91dGxpbmVTdHlsZSIsIm91dGxpbmVXaWR0aCIsInpJbmRleCIsIm9uQ2xpY2siLCJzY3JvbGxUbyIsInRvcCIsImxlZnQiLCJiZWhhdmlvciIsInNpemUiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/GeneralLayout/ScrollToTopButton.jsx\n"); + +/***/ }), + +/***/ "./pages/_app.js": +/*!***********************!*\ + !*** ./pages/_app.js ***! + \***********************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AppContext: () => (/* binding */ AppContext),\n/* harmony export */ \"default\": () => (/* binding */ DataSquirel)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/script */ \"./node_modules/next/script.js\");\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_script__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/head */ \"next/head\");\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _styles_less_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../styles/less.css */ \"./styles/less.css\");\n/* harmony import */ var _styles_less_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_styles_less_css__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../styles/tailwind.css */ \"./styles/tailwind.css\");\n/* harmony import */ var _styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_styles_tailwind_css__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _components_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../components/ErrorBoundary */ \"./components/ErrorBoundary.jsx\");\n// @ts-check\n\n\n\n\n\n\n\n/** @type {React.Context<{pageProps: Object}>} */ const AppContext = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_1___default().createContext({\n pageProps: {}\n});\n/**\r\n * App Component\r\n * ==========================================\r\n * @param {import(\"next/app\").AppProps} props\r\n */ function DataSquirel({ Component, pageProps }) {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(AppContext.Provider, {\n value: {\n pageProps\n },\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((next_head__WEBPACK_IMPORTED_MODULE_3___default()), {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"viewport\",\n content: \"width=device-width, initial-scale=1\"\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 21,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 20,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_ErrorBoundary__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Component, {\n ...pageProps\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 27,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 26,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)((next_script__WEBPACK_IMPORTED_MODULE_2___default()), {\n src: \"/scripts/main.js\",\n strategy: \"afterInteractive\"\n }, void 0, false, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 29,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/_app.js\",\n lineNumber: 19,\n columnNumber: 9\n }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWdlcy9fYXBwLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLFlBQVk7O0FBRWM7QUFDTztBQUNKO0FBQ0Q7QUFDSTtBQUN3QjtBQUN4RCw0REFBNEQsR0FDckQsTUFBTUksMkJBQWFKLDBEQUFtQixDQUFDO0lBQUVNLFdBQVcsQ0FBQztBQUFFLEdBQUc7QUFFakU7Ozs7Q0FJQyxHQUNjLFNBQVNDLFlBQVksRUFBRUMsU0FBUyxFQUFFRixTQUFTLEVBQUU7SUFDeEQscUJBQ0ksOERBQUNGLFdBQVdLLFFBQVE7UUFBQ0MsT0FBTztZQUFFSjtRQUFVOzswQkFDcEMsOERBQUNKLGtEQUFJQTswQkFDRCw0RUFBQ1M7b0JBQ0dDLE1BQUs7b0JBQ0xDLFNBQVE7Ozs7Ozs7Ozs7OzBCQUdoQiw4REFBQ1YsaUVBQWFBOzBCQUNWLDRFQUFDSztvQkFBVyxHQUFHRixTQUFTOzs7Ozs7Ozs7OzswQkFFNUIsOERBQUNMLG9EQUFNQTtnQkFBQ2EsS0FBSTtnQkFBbUJDLFVBQVM7Ozs7Ozs7Ozs7OztBQUdwRCIsInNvdXJjZXMiOlsiL2FwcC9wYWdlcy9fYXBwLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgU2NyaXB0IGZyb20gXCJuZXh0L3NjcmlwdFwiO1xyXG5pbXBvcnQgSGVhZCBmcm9tIFwibmV4dC9oZWFkXCI7XHJcbmltcG9ydCBcIi4uL3N0eWxlcy9sZXNzLmNzc1wiO1xyXG5pbXBvcnQgXCIuLi9zdHlsZXMvdGFpbHdpbmQuY3NzXCI7XHJcbmltcG9ydCBFcnJvckJvdW5kYXJ5IGZyb20gXCIuLi9jb21wb25lbnRzL0Vycm9yQm91bmRhcnlcIjtcclxuLyoqIEB0eXBlIHtSZWFjdC5Db250ZXh0PHtwYWdlUHJvcHM6IE9iamVjdDxzdHJpbmcsIGFueT59Pn0gKi9cclxuZXhwb3J0IGNvbnN0IEFwcENvbnRleHQgPSBSZWFjdC5jcmVhdGVDb250ZXh0KHsgcGFnZVByb3BzOiB7fSB9KTtcclxuXHJcbi8qKlxyXG4gKiBBcHAgQ29tcG9uZW50XHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge2ltcG9ydChcIm5leHQvYXBwXCIpLkFwcFByb3BzfSBwcm9wc1xyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRGF0YVNxdWlyZWwoeyBDb21wb25lbnQsIHBhZ2VQcm9wcyB9KSB7XHJcbiAgICByZXR1cm4gKFxyXG4gICAgICAgIDxBcHBDb250ZXh0LlByb3ZpZGVyIHZhbHVlPXt7IHBhZ2VQcm9wcyB9fT5cclxuICAgICAgICAgICAgPEhlYWQ+XHJcbiAgICAgICAgICAgICAgICA8bWV0YVxyXG4gICAgICAgICAgICAgICAgICAgIG5hbWU9XCJ2aWV3cG9ydFwiXHJcbiAgICAgICAgICAgICAgICAgICAgY29udGVudD1cIndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgIDwvSGVhZD5cclxuICAgICAgICAgICAgPEVycm9yQm91bmRhcnk+XHJcbiAgICAgICAgICAgICAgICA8Q29tcG9uZW50IHsuLi5wYWdlUHJvcHN9IC8+XHJcbiAgICAgICAgICAgIDwvRXJyb3JCb3VuZGFyeT5cclxuICAgICAgICAgICAgPFNjcmlwdCBzcmM9XCIvc2NyaXB0cy9tYWluLmpzXCIgc3RyYXRlZ3k9XCJhZnRlckludGVyYWN0aXZlXCIgLz5cclxuICAgICAgICA8L0FwcENvbnRleHQuUHJvdmlkZXI+XHJcbiAgICApO1xyXG59XHJcbiJdLCJuYW1lcyI6WyJSZWFjdCIsIlNjcmlwdCIsIkhlYWQiLCJFcnJvckJvdW5kYXJ5IiwiQXBwQ29udGV4dCIsImNyZWF0ZUNvbnRleHQiLCJwYWdlUHJvcHMiLCJEYXRhU3F1aXJlbCIsIkNvbXBvbmVudCIsIlByb3ZpZGVyIiwidmFsdWUiLCJtZXRhIiwibmFtZSIsImNvbnRlbnQiLCJzcmMiLCJzdHJhdGVneSJdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./pages/_app.js\n"); + +/***/ }), + +/***/ "./pages/_document.js": +/*!****************************!*\ + !*** ./pages/_document.js ***! + \****************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Document)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"react/jsx-dev-runtime\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/document */ \"./node_modules/next/document.js\");\n/* harmony import */ var next_document__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_document__WEBPACK_IMPORTED_MODULE_2__);\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {Object} props - Server props\r\n */ function Document(props) {\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.Html, {\n lang: \"en\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.Head, {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"author\",\n content: \"Datasquirel\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 68,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"Copyright\",\n content: `Copyright (c) ${new Date().getFullYear()} Datasquirel`\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 69,\n columnNumber: 17\n }, this),\n \"dev_dev\"?.match(/dev/) && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"robots\",\n content: \"noindex,nofollow\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 75,\n columnNumber: 21\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"preconnect\",\n href: \"https://fonts.googleapis.com/\",\n crossOrigin: \"anonymous\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 78,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"preconnect\",\n href: \"https://fonts.gstatic.com\",\n crossOrigin: \"anonymous\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 83,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"stylesheet\",\n href: \"https://fonts.googleapis.com/css?family=Poppins\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 89,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"stylesheet\",\n href: \"https://fonts.googleapis.com/css?family=Inter\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 93,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"stylesheet\",\n href: \"https://fonts.googleapis.com/css?family=IBM+Plex+Mono\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 97,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"script\", {\n src: \"/scripts/themeSelector.js\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 102,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n httpEquiv: \"Content-Type\",\n content: \"text/html; charset=UTF-8\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 104,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:site_name\",\n content: \"DATASQUIREL\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 109,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:type\",\n content: \"website\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 110,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:card\",\n content: \"summary\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 112,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n property: \"og:image\",\n content: \"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 114,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n itemProp: \"image\",\n content: \"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 118,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"twitter:image\",\n content: \"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 122,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"link\", {\n rel: \"stylesheet\",\n href: \"/styles/prism.css\"\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 127,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"script\", {\n src: \"/scripts/prism.js\",\n async: true\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 128,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"script\", {\n dangerouslySetInnerHTML: {\n __html: \"var DSQL = {}\"\n }\n }, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 130,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 67,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"body\", {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.Main, {}, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 135,\n columnNumber: 17\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_document__WEBPACK_IMPORTED_MODULE_2__.NextScript, {}, void 0, false, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 136,\n columnNumber: 17\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 134,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/_document.js\",\n lineNumber: 66,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWdlcy9fZG9jdW1lbnQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBRTFCLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBRXFCO0FBRTdELG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7OztDQUtDLEdBQ2MsU0FBU0ssU0FBU0MsS0FBSztJQUNsQzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNMLCtDQUFJQTtRQUFDTSxNQUFLOzswQkFDUCw4REFBQ0wsK0NBQUlBOztrQ0FDRCw4REFBQ007d0JBQUtDLE1BQUs7d0JBQVNDLFNBQVE7Ozs7OztrQ0FDNUIsOERBQUNGO3dCQUNHQyxNQUFLO3dCQUNMQyxTQUFTLENBQUMsY0FBYyxFQUFFLElBQUlDLE9BQU9DLFdBQVcsR0FBRyxZQUFZLENBQUM7Ozs7OztvQkFHbkVDLFNBQXFDLEVBQUVHLE1BQU0sd0JBQzFDLDhEQUFDUjt3QkFBS0MsTUFBSzt3QkFBU0MsU0FBUTs7Ozs7O2tDQUdoQyw4REFBQ087d0JBQ0dDLEtBQUk7d0JBQ0pDLE1BQUs7d0JBQ0xDLGFBQVk7Ozs7OztrQ0FFaEIsOERBQUNIO3dCQUNHQyxLQUFJO3dCQUNKQyxNQUFLO3dCQUNMQyxhQUFZOzs7Ozs7a0NBR2hCLDhEQUFDSDt3QkFDR0MsS0FBSTt3QkFDSkMsTUFBSzs7Ozs7O2tDQUVULDhEQUFDRjt3QkFDR0MsS0FBSTt3QkFDSkMsTUFBSzs7Ozs7O2tDQUVULDhEQUFDRjt3QkFDR0MsS0FBSTt3QkFDSkMsTUFBSzs7Ozs7O2tDQUdULDhEQUFDRTt3QkFBT0MsS0FBSTs7Ozs7O2tDQUVaLDhEQUFDZDt3QkFDR2UsV0FBVTt3QkFDVmIsU0FBUTs7Ozs7O2tDQUdaLDhEQUFDRjt3QkFBS2dCLFVBQVM7d0JBQWVkLFNBQVE7Ozs7OztrQ0FDdEMsOERBQUNGO3dCQUFLZ0IsVUFBUzt3QkFBVWQsU0FBUTs7Ozs7O2tDQUVqQyw4REFBQ0Y7d0JBQUtDLE1BQUs7d0JBQWVDLFNBQVE7Ozs7OztrQ0FFbEMsOERBQUNGO3dCQUNHZ0IsVUFBUzt3QkFDVGQsU0FBUTs7Ozs7O2tDQUVaLDhEQUFDRjt3QkFDR2lCLFVBQVM7d0JBQ1RmLFNBQVE7Ozs7OztrQ0FFWiw4REFBQ0Y7d0JBQ0dDLE1BQUs7d0JBQ0xDLFNBQVE7Ozs7OztrQ0FHWiw4REFBQ087d0JBQUtDLEtBQUk7d0JBQWFDLE1BQUs7Ozs7OztrQ0FDNUIsOERBQUNFO3dCQUFPQyxLQUFJO3dCQUFvQkksS0FBSzs7Ozs7O2tDQUVyQyw4REFBQ0w7d0JBQ0dNLHlCQUF5Qjs0QkFBRUMsUUFBUTt3QkFBZ0I7Ozs7Ozs7Ozs7OzswQkFHM0QsOERBQUNDOztrQ0FDRyw4REFBQzFCLCtDQUFJQTs7Ozs7a0NBQ0wsOERBQUNDLHFEQUFVQTs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFLdkIsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDNUMsRUFFQSxtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRiIsInNvdXJjZXMiOlsiL2FwcC9wYWdlcy9fZG9jdW1lbnQuanMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQHRzLWNoZWNrXHJcblxyXG4vKipcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEltcG9ydHNcclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqL1xyXG5pbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XHJcblxyXG4vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuaW1wb3J0IHsgSHRtbCwgSGVhZCwgTWFpbiwgTmV4dFNjcmlwdCB9IGZyb20gXCJuZXh0L2RvY3VtZW50XCI7XHJcblxyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBNYWluIENvbXBvbmVudCB7IEZ1bmN0aW9uYWwgfVxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gU2VydmVyIHByb3BzXHJcbiAqL1xyXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBEb2N1bWVudChwcm9wcykge1xyXG4gICAgLyoqXHJcbiAgICAgKiBHZXQgQ29udGV4dHNcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyBSZWFjdC51c2VDb250ZXh0IH1cclxuICAgICAqL1xyXG5cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbiAgICAvKipcclxuICAgICAqIEphdmFzY3JpcHQgVmFyaWFibGVzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE5vbiBob29rIHZhcmlhYmxlcyBhbmQgZnVuY3Rpb25zXHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgcmV0dXJuIChcclxuICAgICAgICA8SHRtbCBsYW5nPVwiZW5cIj5cclxuICAgICAgICAgICAgPEhlYWQ+XHJcbiAgICAgICAgICAgICAgICA8bWV0YSBuYW1lPVwiYXV0aG9yXCIgY29udGVudD1cIkRhdGFzcXVpcmVsXCIgLz5cclxuICAgICAgICAgICAgICAgIDxtZXRhXHJcbiAgICAgICAgICAgICAgICAgICAgbmFtZT1cIkNvcHlyaWdodFwiXHJcbiAgICAgICAgICAgICAgICAgICAgY29udGVudD17YENvcHlyaWdodCAoYykgJHtuZXcgRGF0ZSgpLmdldEZ1bGxZZWFyKCl9IERhdGFzcXVpcmVsYH1cclxuICAgICAgICAgICAgICAgID48L21ldGE+XHJcblxyXG4gICAgICAgICAgICAgICAge3Byb2Nlc3MuZW52Lk5FWFRfUFVCTElDX0RTUUxfSE9TVF9FTlY/Lm1hdGNoKC9kZXYvKSAmJiAoXHJcbiAgICAgICAgICAgICAgICAgICAgPG1ldGEgbmFtZT1cInJvYm90c1wiIGNvbnRlbnQ9XCJub2luZGV4LG5vZm9sbG93XCI+PC9tZXRhPlxyXG4gICAgICAgICAgICAgICAgKX1cclxuXHJcbiAgICAgICAgICAgICAgICA8bGlua1xyXG4gICAgICAgICAgICAgICAgICAgIHJlbD1cInByZWNvbm5lY3RcIlxyXG4gICAgICAgICAgICAgICAgICAgIGhyZWY9XCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL1wiXHJcbiAgICAgICAgICAgICAgICAgICAgY3Jvc3NPcmlnaW49XCJhbm9ueW1vdXNcIlxyXG4gICAgICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgICAgIDxsaW5rXHJcbiAgICAgICAgICAgICAgICAgICAgcmVsPVwicHJlY29ubmVjdFwiXHJcbiAgICAgICAgICAgICAgICAgICAgaHJlZj1cImh0dHBzOi8vZm9udHMuZ3N0YXRpYy5jb21cIlxyXG4gICAgICAgICAgICAgICAgICAgIGNyb3NzT3JpZ2luPVwiYW5vbnltb3VzXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcblxyXG4gICAgICAgICAgICAgICAgPGxpbmtcclxuICAgICAgICAgICAgICAgICAgICByZWw9XCJzdHlsZXNoZWV0XCJcclxuICAgICAgICAgICAgICAgICAgICBocmVmPVwiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3M/ZmFtaWx5PVBvcHBpbnNcIlxyXG4gICAgICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgICAgIDxsaW5rXHJcbiAgICAgICAgICAgICAgICAgICAgcmVsPVwic3R5bGVzaGVldFwiXHJcbiAgICAgICAgICAgICAgICAgICAgaHJlZj1cImh0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vY3NzP2ZhbWlseT1JbnRlclwiXHJcbiAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgPGxpbmtcclxuICAgICAgICAgICAgICAgICAgICByZWw9XCJzdHlsZXNoZWV0XCJcclxuICAgICAgICAgICAgICAgICAgICBocmVmPVwiaHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3M/ZmFtaWx5PUlCTStQbGV4K01vbm9cIlxyXG4gICAgICAgICAgICAgICAgLz5cclxuXHJcbiAgICAgICAgICAgICAgICA8c2NyaXB0IHNyYz1cIi9zY3JpcHRzL3RoZW1lU2VsZWN0b3IuanNcIj48L3NjcmlwdD5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWV0YVxyXG4gICAgICAgICAgICAgICAgICAgIGh0dHBFcXVpdj1cIkNvbnRlbnQtVHlwZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgY29udGVudD1cInRleHQvaHRtbDsgY2hhcnNldD1VVEYtOFwiXHJcbiAgICAgICAgICAgICAgICAvPlxyXG5cclxuICAgICAgICAgICAgICAgIDxtZXRhIHByb3BlcnR5PVwib2c6c2l0ZV9uYW1lXCIgY29udGVudD1cIkRBVEFTUVVJUkVMXCIgLz5cclxuICAgICAgICAgICAgICAgIDxtZXRhIHByb3BlcnR5PVwib2c6dHlwZVwiIGNvbnRlbnQ9XCJ3ZWJzaXRlXCIgLz5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWV0YSBuYW1lPVwidHdpdHRlcjpjYXJkXCIgY29udGVudD1cInN1bW1hcnlcIiAvPlxyXG5cclxuICAgICAgICAgICAgICAgIDxtZXRhXHJcbiAgICAgICAgICAgICAgICAgICAgcHJvcGVydHk9XCJvZzppbWFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgY29udGVudD1cImh0dHBzOi8vc3RhdGljLmRhdGFzcXVpcmVsLmNvbS9pbWFnZXMvdXNlci1pbWFnZXMvdXNlci0yL2VtYWlsLWJhbm5lci5qcGVnXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgICAgICA8bWV0YVxyXG4gICAgICAgICAgICAgICAgICAgIGl0ZW1Qcm9wPVwiaW1hZ2VcIlxyXG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ9XCJodHRwczovL3N0YXRpYy5kYXRhc3F1aXJlbC5jb20vaW1hZ2VzL3VzZXItaW1hZ2VzL3VzZXItMi9lbWFpbC1iYW5uZXIuanBlZ1wiXHJcbiAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgPG1ldGFcclxuICAgICAgICAgICAgICAgICAgICBuYW1lPVwidHdpdHRlcjppbWFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgY29udGVudD1cImh0dHBzOi8vc3RhdGljLmRhdGFzcXVpcmVsLmNvbS9pbWFnZXMvdXNlci1pbWFnZXMvdXNlci0yL2VtYWlsLWJhbm5lci5qcGVnXCJcclxuICAgICAgICAgICAgICAgIC8+XHJcblxyXG4gICAgICAgICAgICAgICAgPGxpbmsgcmVsPVwic3R5bGVzaGVldFwiIGhyZWY9XCIvc3R5bGVzL3ByaXNtLmNzc1wiIC8+XHJcbiAgICAgICAgICAgICAgICA8c2NyaXB0IHNyYz1cIi9zY3JpcHRzL3ByaXNtLmpzXCIgYXN5bmM+PC9zY3JpcHQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPHNjcmlwdFxyXG4gICAgICAgICAgICAgICAgICAgIGRhbmdlcm91c2x5U2V0SW5uZXJIVE1MPXt7IF9faHRtbDogXCJ2YXIgRFNRTCA9IHt9XCIgfX1cclxuICAgICAgICAgICAgICAgID48L3NjcmlwdD5cclxuICAgICAgICAgICAgPC9IZWFkPlxyXG4gICAgICAgICAgICA8Ym9keT5cclxuICAgICAgICAgICAgICAgIDxNYWluIC8+XHJcbiAgICAgICAgICAgICAgICA8TmV4dFNjcmlwdCAvPlxyXG4gICAgICAgICAgICA8L2JvZHk+XHJcbiAgICAgICAgPC9IdG1sPlxyXG4gICAgKTtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbn1cclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbiJdLCJuYW1lcyI6WyJSZWFjdCIsIkh0bWwiLCJIZWFkIiwiTWFpbiIsIk5leHRTY3JpcHQiLCJEb2N1bWVudCIsInByb3BzIiwibGFuZyIsIm1ldGEiLCJuYW1lIiwiY29udGVudCIsIkRhdGUiLCJnZXRGdWxsWWVhciIsInByb2Nlc3MiLCJlbnYiLCJORVhUX1BVQkxJQ19EU1FMX0hPU1RfRU5WIiwibWF0Y2giLCJsaW5rIiwicmVsIiwiaHJlZiIsImNyb3NzT3JpZ2luIiwic2NyaXB0Iiwic3JjIiwiaHR0cEVxdWl2IiwicHJvcGVydHkiLCJpdGVtUHJvcCIsImFzeW5jIiwiZGFuZ2Vyb3VzbHlTZXRJbm5lckhUTUwiLCJfX2h0bWwiLCJib2R5Il0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./pages/_document.js\n"); + +/***/ }), + +/***/ "./styles/less.css": +/*!*************************!*\ + !*** ./styles/less.css ***! + \*************************/ +/***/ (() => { + + + +/***/ }), + +/***/ "./styles/tailwind.css": +/*!*****************************!*\ + !*** ./styles/tailwind.css ***! + \*****************************/ +/***/ (() => { + + + +/***/ }), + +/***/ "next/dist/compiled/next-server/pages.runtime.dev.js": +/*!**********************************************************************!*\ + !*** external "next/dist/compiled/next-server/pages.runtime.dev.js" ***! + \**********************************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("next/dist/compiled/next-server/pages.runtime.dev.js"); + +/***/ }), + +/***/ "next/head": +/*!****************************!*\ + !*** external "next/head" ***! + \****************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("next/head"); + +/***/ }), + +/***/ "react": +/*!************************!*\ + !*** external "react" ***! + \************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("react"); + +/***/ }), + +/***/ "react-dom": +/*!****************************!*\ + !*** external "react-dom" ***! + \****************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("react-dom"); + +/***/ }), + +/***/ "react/jsx-dev-runtime": +/*!****************************************!*\ + !*** external "react/jsx-dev-runtime" ***! + \****************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("react/jsx-dev-runtime"); + +/***/ }), + +/***/ "react/jsx-runtime": +/*!************************************!*\ + !*** external "react/jsx-runtime" ***! + \************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("react/jsx-runtime"); + +/***/ }), + +/***/ "path": +/*!***********************!*\ + !*** external "path" ***! + \***********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("path"); + +/***/ }) + +}; +; + +// load runtime +var __webpack_require__ = require("./webpack-runtime.js"); +__webpack_require__.C(exports); +var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) +var __webpack_exports__ = __webpack_require__.X(0, ["vendor-chunks/next","vendor-chunks/@swc","vendor-chunks/lucide-react"], () => (__webpack_exec__("./node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=.%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&absoluteAppPath=private-next-pages%2F_app&absoluteDocumentPath=private-next-pages%2F_document&middlewareConfigBase64=e30%3D!"))); +module.exports = __webpack_exports__; + +})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/3932.js b/dsql-app/.local_dist/server/chunks/3932.js index 043ad57..b28296b 100644 --- a/dsql-app/.local_dist/server/chunks/3932.js +++ b/dsql-app/.local_dist/server/chunks/3932.js @@ -1 +1 @@ -"use strict";exports.id=3932,exports.ids=[3932],exports.modules={30671:(e,s)=>{Object.defineProperty(s,"M",{enumerable:!0,get:function(){return function e(s,t){return t in s?s[t]:"then"in s&&"function"==typeof s.then?s.then(s=>e(s,t)):"function"==typeof s&&"default"===t?s:void 0}}})},93615:(e,s,t)=>{let{IncomingMessage:a}=t(81630),l=t(77463),r=t(6505);e.exports=async function(e){let{keyCookieName:s,csrfCookieName:t}=r(),a=`${s}_su`;if(!e.cookies?.[a])return console.log("No auth key cookie found"),null;let n=l({encryptedString:e.cookies[a]});if(!n)return console.log("No user payload found"),null;let i=JSON.parse(n);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},49888:(e,s,t)=>{t.d(s,{A:()=>b});var a=t(8732),l=t(82015),r=t.n(l),n=t(27912),i=t.n(n),c=t(93353),o=t(82544);let d=(0,o.A)("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);var h=t(25294);let x=(0,o.A)("FileWarning",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var p=t(2459);let u=(0,o.A)("CloudUpload",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]]),m=(0,o.A)("DatabaseBackup",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]]),g=(0,o.A)("SquareChevronRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]),j=(0,o.A)("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);function f(e){let[s,t]=r().useState(!0);return(0,a.jsxs)("aside",{className:"aside"+(s?" mobile-collapsed":" mobile-expanded"),style:{maxWidth:s?"250px":"300px",zIndex:800},children:[(0,a.jsx)(c.A,{adminAside:!0,collapseAsideMobile:s,setCollapseAsideMobile:t}),(0,a.jsx)("hr",{className:"opacity-0 mt-4"}),(0,a.jsxs)("div",{className:"main-links"+(s?" hidden lg:flex":" "),children:[(0,a.jsxs)("a",{href:"/su","data-currentlink":"/su","data-strictlink":"true",children:[(0,a.jsx)(d,{size:20}),(0,a.jsx)("span",{children:"Dashboard"})]}),(0,a.jsxs)("a",{href:"/su/users","data-currentlink":"/su/users",children:[(0,a.jsx)(h.A,{size:20}),(0,a.jsx)("span",{children:"Users"})]}),(0,a.jsxs)("a",{href:"/su/error-logs","data-currentlink":"/su/error-logs",children:[(0,a.jsx)(x,{size:20}),(0,a.jsx)("span",{children:"Error Logs"})]}),(0,a.jsxs)("a",{href:"/su/servers","data-currentlink":"/su/servers",children:[(0,a.jsx)(p.A,{size:20}),(0,a.jsx)("span",{children:"Servers"})]}),(0,a.jsxs)("a",{href:"/su/load-balancing","data-currentlink":"/su/load-balancing",children:[(0,a.jsx)(u,{size:20}),(0,a.jsx)("span",{children:"Load Balancing"})]}),!1,(0,a.jsxs)("a",{href:"/su/backups","data-currentlink":"/su/backups",children:[(0,a.jsx)(m,{size:20}),(0,a.jsx)("span",{children:"Backups"})]}),(0,a.jsxs)("a",{href:"/su/console","data-currentlink":"/su/console",children:[(0,a.jsx)(g,{size:20}),(0,a.jsx)("span",{children:"Console"})]}),(0,a.jsxs)("a",{href:"/su/envar","data-currentlink":"/su/envar",children:[(0,a.jsx)(j,{size:20}),(0,a.jsx)("span",{children:"Env"})]})]})]})}var y=t(34254),v=t(58526);function k({user:e,extraHeaderContent:s}){let[t,l]=r().useState(e||null);return(0,a.jsx)("section",{className:"overflow-visible w-full px-0 md:px-8 py-0 flex justify-center bg-white dark:bg-slate-800 shadow-lg gap-4 dark:shadow-black/10 z-50 shadow-slate-900/5",style:{zIndex:700,border:"none"},children:(0,a.jsxs)("div",{className:"w-full items-center justify-between gap-4 md:gap-8",children:[(0,a.jsxs)("div",{className:"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 px-4 xl:px-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto bg-white xl:bg-transparent pb-10 xl:pb-0",id:"main-nav-content-wrapper",children:[(0,a.jsxs)("div",{className:"items-center mb-2 flex xl:hidden",children:[(0,a.jsx)("a",{href:"/",className:"hidden xl:flex",children:(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37})}),(0,a.jsx)("button",{className:"outlined gray ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{border:"none"},children:(0,a.jsx)("span",{className:"font-semibold text-4xl",children:"✕"})})]}),(0,a.jsx)("div",{className:"flex items-center w-full gap-6 grow flex-col xl:flex-row justify-start xl:justify-between",children:(0,a.jsx)("div",{className:"gap-2 flex-col-reverse xl:flex-row gap-y-6 w-full xl:w-auto py-2",children:(0,a.jsxs)("div",{className:"ml-auto dropdown-wrapper",children:[(0,a.jsx)("div",{className:"bg-white rounded-full overflow-hidden",style:{width:"36px",height:"36px"},children:(0,a.jsx)("img",{src:"/images/user-preset-thumbnail.png",alt:"User Image",width:35,className:"w-full h-full object-cover"})}),(0,a.jsx)("span",{children:(0,a.jsx)("b",{children:"Super User"})}),(0,a.jsx)(v.A,{size:20}),(0,a.jsx)("div",{className:"dropdown",children:(0,a.jsx)("a",{href:"/su/logout",children:"Logout"})})]})})})]}),(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(y.A,{})}),(0,a.jsxs)("button",{className:"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{minWidth:"50px",backgroundColor:"transparent"},id:"main-header-hamburger-button","aria-label":"Mobile Hambutget Button",children:[(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"})]})]})})}function b({children:e,head:s,user:t}){return(0,a.jsxs)(r().Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/admin.css"}),s]}),(0,a.jsxs)("div",{className:"admin w-full flex items-start gap-0",children:[(0,a.jsx)(f,{}),(0,a.jsxs)("main",{className:"relative",children:[(0,a.jsx)(k,{user:t}),(0,a.jsx)("div",{className:"flex-col items-start gap-6 px-4 sl:px-8 py-8 bg-slate-50 dark:bg-slate-900",children:e}),(0,a.jsx)("footer",{className:"flex justify-center w-full items-center p-4",children:(0,a.jsxs)("div",{className:"max-w-6xl w-full justify-center flex-wrap",children:[(0,a.jsxs)("a",{href:"/",className:"flex items-center gap-2",children:[(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Datasquirel Logo",width:30}),(0,a.jsx)("span",{className:"text-lg font-bold",children:"Datasquirel"})]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsxs)("span",{className:"text-sm text-slate-400 dark:text-slate-600 text-center",children:[new Date().getFullYear()," \xa9 Datasquirel. All rights reserved."]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/docs",children:"Docs"}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/terms",children:"Terms"})]})})]})]})]})}t(54896)},2459:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},25294:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},6505:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",l=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),r=s;e?.userId&&(r+=`user_${e.userId}_`),l&&(r+=`${l}_`),r+=t;let n=s;return e?.userId&&(n+=`user_${e.userId}_`),l&&(n+=`${l}_`),{keyCookieName:r,csrfCookieName:n+=a}}},77463:(e,s,t)=>{let{scryptSync:a,createDecipheriv:l}=t(55511),{Buffer:r}=t(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=s||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=l("aes-192-cbc",a(n,i,c),r.alloc(16,0));try{let s=o.update(e,"hex","utf8");return s+=o.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},49407:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r});var a=t(8732);t(82015);var l=t(20883);function r(e){return(0,a.jsxs)(l.Html,{lang:"en",children:[(0,a.jsxs)(l.Head,{children:[(0,a.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,a.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,a.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,a.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,a.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,a.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,a.jsxs)("body",{children:[(0,a.jsx)(l.Main,{}),(0,a.jsx)(l.NextScript,{})]})]})}},9455:(e,s)=>{var t;Object.defineProperty(s,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))}}; \ No newline at end of file +"use strict";exports.id=3932,exports.ids=[3932],exports.modules={30671:(e,s)=>{Object.defineProperty(s,"M",{enumerable:!0,get:function(){return function e(s,t){return t in s?s[t]:"then"in s&&"function"==typeof s.then?s.then(s=>e(s,t)):"function"==typeof s&&"default"===t?s:void 0}}})},93615:(e,s,t)=>{let{IncomingMessage:a}=t(81630),r=t(77463),l=t(6505);e.exports=async function(e){let{keyCookieName:s,csrfCookieName:t}=l(),a=`${s}_su`;if(!e.cookies?.[a])return console.log("No auth key cookie found"),null;let n=r({encryptedString:e.cookies[a]});if(!n)return console.log("No user payload found"),null;let i=JSON.parse(n);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},49888:(e,s,t)=>{t.d(s,{A:()=>b});var a=t(8732),r=t(82015),l=t.n(r),n=t(27912),i=t.n(n),c=t(93353),o=t(82544);let d=(0,o.A)("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);var h=t(25294);let x=(0,o.A)("FileWarning",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var u=t(2459);let p=(0,o.A)("CloudUpload",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]]),m=(0,o.A)("DatabaseBackup",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]]),g=(0,o.A)("SquareChevronRight",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]),j=(0,o.A)("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);function y(e){let[s,t]=l().useState(!0);return(0,a.jsxs)("aside",{className:"aside"+(s?" mobile-collapsed":" mobile-expanded"),style:{maxWidth:s?"250px":"300px",zIndex:800},children:[(0,a.jsx)(c.A,{adminAside:!0,collapseAsideMobile:s,setCollapseAsideMobile:t}),(0,a.jsx)("hr",{className:"opacity-0 mt-4"}),(0,a.jsxs)("div",{className:"main-links"+(s?" hidden lg:flex":" "),children:[(0,a.jsxs)("a",{href:"/su","data-currentlink":"/su","data-strictlink":"true",children:[(0,a.jsx)(d,{size:20}),(0,a.jsx)("span",{children:"Dashboard"})]}),(0,a.jsxs)("a",{href:"/su/users","data-currentlink":"/su/users",children:[(0,a.jsx)(h.A,{size:20}),(0,a.jsx)("span",{children:"Users"})]}),(0,a.jsxs)("a",{href:"/su/error-logs","data-currentlink":"/su/error-logs",children:[(0,a.jsx)(x,{size:20}),(0,a.jsx)("span",{children:"Error Logs"})]}),(0,a.jsxs)("a",{href:"/su/servers","data-currentlink":"/su/servers",children:[(0,a.jsx)(u.A,{size:20}),(0,a.jsx)("span",{children:"Servers"})]}),(0,a.jsxs)("a",{href:"/su/load-balancing","data-currentlink":"/su/load-balancing",children:[(0,a.jsx)(p,{size:20}),(0,a.jsx)("span",{children:"Load Balancing"})]}),!1,(0,a.jsxs)("a",{href:"/su/backups","data-currentlink":"/su/backups",children:[(0,a.jsx)(m,{size:20}),(0,a.jsx)("span",{children:"Backups"})]}),(0,a.jsxs)("a",{href:"/su/console","data-currentlink":"/su/console",children:[(0,a.jsx)(g,{size:20}),(0,a.jsx)("span",{children:"Console"})]}),(0,a.jsxs)("a",{href:"/su/envar","data-currentlink":"/su/envar",children:[(0,a.jsx)(j,{size:20}),(0,a.jsx)("span",{children:"Env"})]})]})]})}var f=t(34254),v=t(58526);function k({user:e,extraHeaderContent:s}){let[t,r]=l().useState(e||null);return(0,a.jsx)("section",{className:"overflow-visible w-full px-0 md:px-8 py-0 flex justify-center bg-white dark:bg-slate-800 shadow-lg gap-4 dark:shadow-black/10 z-50 shadow-slate-900/5",style:{zIndex:700,border:"none"},children:(0,a.jsxs)("div",{className:"w-full items-center justify-between gap-4 md:gap-8",children:[(0,a.jsxs)("div",{className:"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 px-4 xl:px-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto bg-white xl:bg-transparent pb-10 xl:pb-0",id:"main-nav-content-wrapper",children:[(0,a.jsxs)("div",{className:"items-center mb-2 flex xl:hidden",children:[(0,a.jsx)("a",{href:"/",className:"hidden xl:flex",children:(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37})}),(0,a.jsx)("button",{className:"outlined gray ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{border:"none"},children:(0,a.jsx)("span",{className:"font-semibold text-4xl",children:"✕"})})]}),(0,a.jsx)("div",{className:"flex items-center w-full gap-6 grow flex-col xl:flex-row justify-start xl:justify-between",children:(0,a.jsx)("div",{className:"gap-2 flex-col-reverse xl:flex-row gap-y-6 w-full xl:w-auto py-2",children:(0,a.jsxs)("div",{className:"ml-auto dropdown-wrapper",children:[(0,a.jsx)("div",{className:"bg-white rounded-full overflow-hidden",style:{width:"36px",height:"36px"},children:(0,a.jsx)("img",{src:"/images/user-preset-thumbnail.png",alt:"User Image",width:35,className:"w-full h-full object-cover"})}),(0,a.jsx)("span",{children:(0,a.jsx)("b",{children:"Super User"})}),(0,a.jsx)(v.A,{size:20}),(0,a.jsx)("div",{className:"dropdown",children:(0,a.jsx)("a",{href:"/su/logout",children:"Logout"})})]})})})]}),(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(f.A,{})}),(0,a.jsxs)("button",{className:"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{minWidth:"50px",backgroundColor:"transparent"},id:"main-header-hamburger-button","aria-label":"Mobile Hambutget Button",children:[(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"})]})]})})}function b({children:e,head:s,user:t}){return(0,a.jsxs)(l().Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/admin.css"}),s]}),(0,a.jsxs)("div",{className:"admin w-full flex items-start gap-0",children:[(0,a.jsx)(y,{}),(0,a.jsxs)("main",{className:"relative",children:[(0,a.jsx)(k,{user:t}),(0,a.jsx)("div",{className:"flex-col items-start gap-6 px-4 sl:px-8 py-8 bg-slate-50 dark:bg-slate-900",children:e}),(0,a.jsx)("footer",{className:"flex justify-center w-full items-center p-4",children:(0,a.jsxs)("div",{className:"max-w-6xl w-full justify-center flex-wrap",children:[(0,a.jsxs)("a",{href:"/",className:"flex items-center gap-2",children:[(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Datasquirel Logo",width:30}),(0,a.jsx)("span",{className:"text-lg font-bold",children:"Datasquirel"})]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsxs)("span",{className:"text-sm text-slate-400 dark:text-slate-600 text-center",children:[new Date().getFullYear()," \xa9 Datasquirel. All rights reserved."]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/docs",children:"Docs"}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/terms",children:"Terms"})]})})]})]})]})}t(54896)},2459:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},25294:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},6505:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",l=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=s;e?.userId&&(n+=`user_${e.userId}_`),l&&(n+=`${l}_`),n+=t;let i=s;e?.userId&&(i+=`user_${e.userId}_`),l&&(i+=`${l}_`),i+=a;let c=s;return e?.userId&&(c+=`user_${e.userId}_`),l&&(c+=`${l}_`),{keyCookieName:n,csrfCookieName:i,oneTimeCodeName:c+=r}}},77463:(e,s,t)=>{let{scryptSync:a,createDecipheriv:r}=t(55511),{Buffer:l}=t(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=s||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=r("aes-192-cbc",a(n,i,c),l.alloc(16,0));try{let s=o.update(e,"hex","utf8");return s+=o.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},49407:(e,s,t)=>{t.r(s),t.d(s,{default:()=>l});var a=t(8732);t(82015);var r=t(20883);function l(e){return(0,a.jsxs)(r.Html,{lang:"en",children:[(0,a.jsxs)(r.Head,{children:[(0,a.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,a.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,a.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,a.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,a.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,a.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,a.jsxs)("body",{children:[(0,a.jsx)(r.Main,{}),(0,a.jsx)(r.NextScript,{})]})]})}},9455:(e,s)=>{var t;Object.defineProperty(s,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/4050.js b/dsql-app/.local_dist/server/chunks/4050.js index 709f23b..ce1f38e 100644 --- a/dsql-app/.local_dist/server/chunks/4050.js +++ b/dsql-app/.local_dist/server/chunks/4050.js @@ -1 +1 @@ -"use strict";exports.id=4050,exports.ids=[4050],exports.modules={96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},47670:(e,t,r)=>{let s=r(72583),n=r(16570);r(33364);let a=r(33364);r(27825);let o=r(51348),c=r(21339),i=r(20503),l=r(44900);async function u({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,duplicateColumnName:_,duplicateColumnValue:S,update:D,encryptionKey:f,encryptionSalt:g,useLocal:h}){let E=!!h||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),y=h?l:E?o:c;if(d?.date_created_timestamp&&delete d.date_created_timestamp,d?.date_updated_timestamp&&delete d.date_updated_timestamp,d?.date_updated&&delete d.date_updated,d?.date_updated_code&&delete d.date_updated_code,d?.date_created&&delete d.date_created,d?.date_created_code&&delete d.date_created_code,_&&"string"==typeof _){let s=E?await y(`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,[S]):await y({paradigm:"Read Only",database:r,queryString:`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,queryValues:[S]});if(s?.[0]&&!D)return null;if(s&&s[0]&&D)return await a({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,encryptionKey:f,encryptionSalt:g,identifierColumnName:_,identifierValue:S||""})}let m=Object.keys(d),L=[],O=[];for(let e=0;ee.fieldName==t):null,o=a&&a[0]?a[0]:null;if(null==r||void 0==r||o?.dataType?.match(/int$/i)&&"string"==typeof r&&!r?.match(/./))continue;o?.encrypted&&(r=i({data:r,encryptionKey:f,encryptionSalt:g}),console.log("DSQL: Encrypted value =>",r)),o?.richText&&(r=s(r,n)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),L.push("`"+t+"`"),"object"==typeof r&&(r=JSON.stringify(r)),"number"==typeof r?O.push(String(r)):O.push(r)}catch(e){console.log("DSQL: Error in parsing data keys =>",e.message);continue}d?.date_created||(L.push("`date_created`"),O.push(Date())),d?.date_created_code||(L.push("`date_created_code`"),O.push(Date.now())),d?.date_updated||(L.push("`date_updated`"),O.push(Date())),d?.date_updated_code||(L.push("`date_updated_code`"),O.push(Date.now()));let A=`INSERT INTO \`${u}\` (${L.join(",")}) VALUES (${O.map(()=>"?").join(",")})`;return E?await y(A,O):await y({paradigm:t,database:r,queryString:A,queryValues:O})}e.exports=u},33364:(e,t,r)=>{let s=r(72583),n=r(16570),a=r(51348),o=r(21339),c=r(20503),i=r(44900);async function l({dbContext:e,paradigm:t,dbFullName:r,tableName:l,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:S,encryptionSalt:D,useLocal:f}){if(!u||!Object.keys(u).length)return null;let g=!!f||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),h=f?i:g?a:o,E=Object.keys(u),y=[],m=[];for(let e=0;ee.fieldName===t):null,o=a&&a[0]?a[0]:null;if(null==r||void 0==r)continue;o?.richText&&(r=s(r,n)),o?.encrypted&&(r=c({data:r,encryptionKey:S,encryptionSalt:D})),"object"==typeof r&&(r=JSON.stringify(r)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),y.push(`\`${t}\`=?`),"number"==typeof r?m.push(String(r)):m.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}y.push(`date_updated='${Date()}'`),y.push(`date_updated_code='${Date.now()}'`);let L=`UPDATE ${l} SET ${y.join(",")} WHERE \`${p}\`=?`;return m.push(_),g?await h(L,m):await h({paradigm:t,database:r,queryString:L,queryValues:m})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,t,r)=>{let{scryptSync:s,createCipheriv:n}=r(55511),{Buffer:a}=r(79428);e.exports=({data:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,c=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let t=l.update(e,"utf8","hex");return t+=l.final("hex")}catch(t){return console.log("Error in encrypting =>",t.message),e}}},51348:(e,t,r)=>{let s=r(9973),n=r(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,t,r)=>{let s=r(29021);r(33873);let n=r(9973),a=r(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:r,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(r,c).then(d).catch(p):o.query(r).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,t,r)=>{let s=r(9973),n=r(21580);async function a(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,t,r)=>{let s=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!s.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,t,r)=>{e.exports=r(75600)}}; \ No newline at end of file +"use strict";exports.id=4050,exports.ids=[4050],exports.modules={96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},47670:(e,t,r)=>{let s=r(72583),n=r(16570),a=r(33364);r(27825);let o=r(51348),c=r(21339),i=r(20503),l=r(44900);async function u({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,duplicateColumnName:_,duplicateColumnValue:S,update:g,encryptionKey:h,encryptionSalt:D,useLocal:f}){let E=!!f||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),y=f?l:E?o:c;if(d?.date_created_timestamp&&delete d.date_created_timestamp,d?.date_updated_timestamp&&delete d.date_updated_timestamp,d?.date_updated&&delete d.date_updated,d?.date_updated_code&&delete d.date_updated_code,d?.date_created&&delete d.date_created,d?.date_created_code&&delete d.date_created_code,_&&"string"==typeof _){let s=E?await y(`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,[S]):await y({paradigm:"Read Only",database:r,queryString:`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,queryValues:[S]});if(s?.[0]&&!g)return null;if(s&&s[0]&&g)return await a({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,encryptionKey:h,encryptionSalt:D,identifierColumnName:_,identifierValue:S||""})}let m=Object.keys(d),L=[],O=[];for(let e=0;ee.fieldName==t):null,o=a&&a[0]?a[0]:null;if(null==r||void 0==r||o?.dataType?.match(/int$/i)&&"string"==typeof r&&!r?.match(/./))continue;o?.encrypted&&(r=i({data:r,encryptionKey:h,encryptionSalt:D}),console.log("DSQL: Encrypted value =>",r));let c=/<[^>]+>/g;(o?.richText||String(r).match(c))&&(r=s(r,n)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),L.push("`"+t+"`"),"object"==typeof r&&(r=JSON.stringify(r)),"number"==typeof r?O.push(String(r)):O.push(r)}catch(e){console.log("DSQL: Error in parsing data keys =>",e.message);continue}d?.date_created||(L.push("`date_created`"),O.push(Date())),d?.date_created_code||(L.push("`date_created_code`"),O.push(Date.now())),d?.date_updated||(L.push("`date_updated`"),O.push(Date())),d?.date_updated_code||(L.push("`date_updated_code`"),O.push(Date.now()));let A=`INSERT INTO \`${u}\` (${L.join(",")}) VALUES (${O.map(()=>"?").join(",")})`;return E?await y(A,O):await y({paradigm:t,database:r,queryString:A,queryValues:O})}e.exports=u},33364:(e,t,r)=>{let s=r(72583),n=r(16570),a=r(51348),o=r(21339),c=r(20503),i=r(44900);async function l({dbContext:e,paradigm:t,dbFullName:r,tableName:l,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:S,encryptionSalt:g,useLocal:h}){if(!u||!Object.keys(u).length)return null;let D=!!h||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),f=h?i:D?a:o,E=Object.keys(u),y=[],m=[];for(let e=0;ee.fieldName===t):null,o=a&&a[0]?a[0]:null;if(null==r||void 0==r)continue;let i=/<[^>]+>/g;(o?.richText||String(r).match(i))&&(r=s(r,n)),o?.encrypted&&(r=c({data:r,encryptionKey:S,encryptionSalt:g})),"object"==typeof r&&(r=JSON.stringify(r)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),y.push(`\`${t}\`=?`),"number"==typeof r?m.push(String(r)):m.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}y.push(`date_updated='${Date()}'`),y.push(`date_updated_code='${Date.now()}'`);let L=`UPDATE ${l} SET ${y.join(",")} WHERE \`${p}\`=?`;return m.push(_),D?await f(L,m):await f({paradigm:t,database:r,queryString:L,queryValues:m})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,t,r)=>{let{scryptSync:s,createCipheriv:n}=r(55511),{Buffer:a}=r(79428);e.exports=({data:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,c=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let t=l.update(e,"utf8","hex");return t+=l.final("hex")}catch(t){return console.log("Error in encrypting =>",t.message),e}}},51348:(e,t,r)=>{let s=r(9973),n=r(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,t,r)=>{let s=r(29021);r(33873);let n=r(9973),a=r(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:r,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(r,c).then(d).catch(p):o.query(r).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,t,r)=>{let s=r(9973),n=r(21580);async function a(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,t,r)=>{let s=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!s.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,t,r)=>{e.exports=r(75600)}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/4385.js b/dsql-app/.local_dist/server/chunks/4385.js index 39c5ff8..8f2c21f 100644 --- a/dsql-app/.local_dist/server/chunks/4385.js +++ b/dsql-app/.local_dist/server/chunks/4385.js @@ -1,4 +1,4 @@ -"use strict";exports.id=4385,exports.ids=[4385],exports.modules={14385:(e,a,t)=>{let s=t(29021),r=t(59474),i=t(33873),l=t(5194),n=t(57638),o=t(20503),d=t(47670),u=t(86041);e.exports=async function({database:e,social_id:a,email:t,social_platform:c,payload:_,invitation:m,supEmail:p,additionalFields:g,useLocal:E}){try{let S=[a.toString(),c],f=await n({database:e||"datasquirel",queryString:"SELECT * FROM users WHERE social_id = ? AND social_login='1' AND social_platform = ? ",queryValuesArray:S,useLocal:E});if(f&&f[0])return await u({user:f[0],social_platform:c,invitation:m,database:e,additionalFields:g,useLocal:E});let y=t||p||null;if(!y)return{success:!1,payload:null,msg:"No Email Present"};let D=`SELECT * FROM users WHERE email='${y}'`,b=await n({database:e||"datasquirel",queryString:D,useLocal:E});if(b&&b[0])return{success:!1,payload:null,msg:"This Email is already taken"};let h=[y,c,a],R=await n({database:e||"datasquirel",queryString:"SELECT * FROM users WHERE email=? AND social_login='1' AND social_platform=? AND social_id=?",queryValuesArray:h,useLocal:E});if(R&&R[0])return await u({user:_,social_platform:c,invitation:m,database:e,additionalFields:g,useLocal:E});let A=o({data:a.toString()}),v={social_login:"1",verification_status:p?"0":"1",password:A};Object.keys(_).forEach(e=>{v[e]=_[e]});let L=await d({dbContext:e?"Dsql User":void 0,paradigm:e?"Full Access":void 0,dbFullName:e||"datasquirel",tableName:"users",duplicateColumnName:"email",duplicateColumnValue:y,data:{...v,email:y},useLocal:E});if(!L?.insertId)return console.log("Social User Failed to insert in 'handleSocialDb.js' backend function =>",L),{success:!1,payload:null,msg:"Social User Failed to insert in 'handleSocialDb.js' backend function"};{e||await l({userId:L.insertId,useLocal:E});let a=`SELECT * FROM users WHERE id='${L.insertId}'`,t=await n({database:e||"datasquirel",queryString:a,useLocal:E});if(!t||!t[0])return{success:!1,payload:null,msg:"User Insertion Failed!"};if(p&&e?.match(/^datasquirel$/)){let e=o({data:JSON.stringify({id:L.insertId,email:p,dateCode:Date.now()})});r({to:p,subject:"Verify Email Address",text:"Please click the link to verify your email address",html:s.readFileSync("./email/send-email-verification-link.html","utf8").replace(/{{host}}/,process.env.DSQL_HOST||"").replace(/{{token}}/,e||"")}).then(e=>{})}let d=process.env.DSQL_STATIC_SERVER_DIR;if(!d)return console.log("Static File ENV not Found!"),{success:!1,payload:null,msg:"Static File ENV not Found!"};if(!e||e?.match(/^datasquirel$/)){let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${L.insertId}`,a=i.join(d,`images/user-images/user-${L.insertId}`);s.mkdirSync(e),s.mkdirSync(a),s.writeFileSync(`${e}/main.json`,JSON.stringify([]),"utf8")}return await u({user:t[0],social_platform:c,invitation:m,database:e,additionalFields:g,useLocal:E})}}catch(e){return console.log("ERROR in 'handleSocialDb.js' backend function =>",e.message),{success:!1,payload:null,msg:e.message}}}},86041:(e,a,t)=>{let s=t(44767),{ServerResponse:r}=t(81630),i=t(57638);async function l({user:e,social_platform:a,invitation:t,database:r,additionalFields:l,useLocal:n}){let o=[e.email,e.social_id,a],d=await i({database:r||"datasquirel",queryString:"SELECT * FROM users WHERE email=? AND social_id=? AND social_platform=?",queryValuesArray:o,useLocal:n});if(!d?.[0])return{success:!1,payload:null};let u=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),c={id:d[0].id,first_name:d[0].first_name,last_name:d[0].last_name,username:d[0].username,user_type:d[0].user_type,email:d[0].email,social_id:d[0].social_id,image:d[0].image,image_thumbnail:d[0].image_thumbnail,verification_status:d[0].verification_status,social_login:d[0].social_login,social_platform:d[0].social_platform,csrf_k:u,logged_in_status:!0,date:Date.now()};return l?.[0]&&l.forEach(e=>{c[e]=d[0][e]}),t&&(!r||r?.match(/^datasquirel$/))&&s({query:t,user:c,useLocal:n}),{success:!0,payload:c,csrf:u}}t(20503),t(31341),e.exports=l},44767:(e,a,t)=>{let s=t(48225),r=t(51348),i=t(47670),l=t(44900);e.exports=async function({query:e,user:a,useLocal:t}){try{let s=t?l:r,{invite:n,database_access:o,priviledge:d,email:u}=e,c=[n,u],_=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",c);if(!_||!_[0])throw Error("No Invitation Found");let m=[n],p=await s("SELECT first_name,last_name,email FROM users WHERE id=?",m);if(p?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[n,a.id,u]);if(e?.[0])console.log("User already added");else{i({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:n,invited_user_id:a.id,database_access:o,first_name:a.first_name,last_name:a.last_name,phone:a.phone,email:a.email,username:a.username,user_type:"admin",user_priviledge:d,image:a.image,image_thumbnail:a.image_thumbnail},useLocal:t});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[n,u]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[n,a.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{let s=t(47795),r=t(51348),i=t(45356),l=t(47670),n=t(20503),o=t(44900);e.exports=async function({userId:e,useLocal:a}){try{let t=process.env.DSQL_DB_HOST||"127.0.0.1",d=`dsql_user_${e}`,u=s.generate({length:16,numbers:!0,symbols:!0,uppercase:!0,exclude:"*#.'`\""}),c=n({data:u}),_=`CREATE USER IF NOT EXISTS '${d}'@'127.0.0.1' IDENTIFIED BY '${u}'`;a?await o(_):await i(_);let m="UPDATE users SET mariadb_user = ?, mariadb_host = '127.0.0.1', mariadb_pass = ? WHERE id = ?",p=[d,c,e];a?await o(m,p):await r(m,p),await l({tableName:"mariadb_users",data:{user_id:e,username:d,host:t,password:c,primary:"1",grants:'[{"database":"*","table":"*","privileges":["ALL"]}]'},dbContext:"Master",useLocal:a}),console.log(`User ${e} SQL credentials successfully added.`)}catch(e){console.log("Error in adding SQL user in 'addMariadbUser' function =>",e.message)}}},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=a;e?.userId&&(i+=`user_${e.userId}_`),r&&(i+=`${r}_`),i+=t;let l=a;return e?.userId&&(l+=`user_${e.userId}_`),r&&(l+=`${r}_`),{keyCookieName:i,csrfCookieName:l+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},59474:(e,a,t)=>{let s=t(29021),r=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:a,text:t,html:i,alias:l}){let n;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let o=(l?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let d=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${o}>`,s.sender=o,l&&(s["replyTo "]=o),s.to=e,s.subject=a,s.text=t,s.html=d,n=await r.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return n}},6061:(e,a,t)=>{let s=t(72835),r=t(30003);e.exports=async function({unparsedResults:e,tableSchema:a}){let t=[];try{for(let i=0;i",a.message),e}}},48225:(e,a,t)=>{let s=t(29021),{IncomingMessage:r}=t(81630);e.exports=async function({user:e,message:a,component:t,noMail:r,req:i}){let l=new Date,n=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],a=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],r=t||s||a||i.socket.remoteAddress;if(!r)return null;return String(r)}catch(e){return null}})();try{let r=`🚀 SERVER ERROR =========================== +"use strict";exports.id=4385,exports.ids=[4385],exports.modules={14385:(e,a,t)=>{let s=t(29021),r=t(59474),i=t(33873),l=t(5194),n=t(57638),o=t(20503),d=t(47670),u=t(86041);e.exports=async function({database:e,social_id:a,email:t,social_platform:c,payload:_,invitation:m,supEmail:p,additionalFields:E,useLocal:g}){try{let S=[a.toString(),c],y=await n({database:e||"datasquirel",queryString:"SELECT * FROM users WHERE social_id = ? AND social_login='1' AND social_platform = ? ",queryValuesArray:S,useLocal:g});if(y&&y[0])return await u({user:y[0],social_platform:c,invitation:m,database:e,additionalFields:E,useLocal:g});let f=t||p||null;if(!f)return{success:!1,payload:null,msg:"No Email Present"};let D=`SELECT * FROM users WHERE email='${f}'`,b=await n({database:e||"datasquirel",queryString:D,useLocal:g});if(b&&b[0])return{success:!1,payload:null,msg:"This Email is already taken"};let h=[f,c,a],R=await n({database:e||"datasquirel",queryString:"SELECT * FROM users WHERE email=? AND social_login='1' AND social_platform=? AND social_id=?",queryValuesArray:h,useLocal:g});if(R&&R[0])return await u({user:_,social_platform:c,invitation:m,database:e,additionalFields:E,useLocal:g});let A=o({data:a.toString()}),v={social_login:"1",verification_status:p?"0":"1",password:A};Object.keys(_).forEach(e=>{v[e]=_[e]});let N=await d({dbContext:e?"Dsql User":void 0,paradigm:e?"Full Access":void 0,dbFullName:e||"datasquirel",tableName:"users",duplicateColumnName:"email",duplicateColumnValue:f,data:{...v,email:f},useLocal:g});if(!N?.insertId)return console.log("Social User Failed to insert in 'handleSocialDb.js' backend function =>",N),{success:!1,payload:null,msg:"Social User Failed to insert in 'handleSocialDb.js' backend function"};{e||await l({userId:N.insertId,useLocal:g});let a=`SELECT * FROM users WHERE id='${N.insertId}'`,t=await n({database:e||"datasquirel",queryString:a,useLocal:g});if(!t||!t[0])return{success:!1,payload:null,msg:"User Insertion Failed!"};if(p&&e?.match(/^datasquirel$/)){let e=o({data:JSON.stringify({id:N.insertId,email:p,dateCode:Date.now()})});r({to:p,subject:"Verify Email Address",text:"Please click the link to verify your email address",html:s.readFileSync("./email/send-email-verification-link.html","utf8").replace(/{{host}}/,process.env.DSQL_HOST||"").replace(/{{token}}/,e||"")}).then(e=>{})}let d=process.env.DSQL_STATIC_SERVER_DIR;if(!d)return console.log("Static File ENV not Found!"),{success:!1,payload:null,msg:"Static File ENV not Found!"};if(!e||e?.match(/^datasquirel$/)){let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${N.insertId}`,a=i.join(d,`images/user-images/user-${N.insertId}`);s.mkdirSync(e),s.mkdirSync(a),s.writeFileSync(`${e}/main.json`,JSON.stringify([]),"utf8")}return await u({user:t[0],social_platform:c,invitation:m,database:e,additionalFields:E,useLocal:g})}}catch(e){return console.log("ERROR in 'handleSocialDb.js' backend function =>",e.message),{success:!1,payload:null,msg:e.message}}}},86041:(e,a,t)=>{let s=t(44767),{ServerResponse:r}=t(81630),i=t(57638);async function l({user:e,social_platform:a,invitation:t,database:r,additionalFields:l,useLocal:n}){let o=[e.email,e.social_id,a],d=await i({database:r||"datasquirel",queryString:"SELECT * FROM users WHERE email=? AND social_id=? AND social_platform=?",queryValuesArray:o,useLocal:n});if(!d?.[0])return{success:!1,payload:null};let u=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),c={id:d[0].id,first_name:d[0].first_name,last_name:d[0].last_name,username:d[0].username,user_type:d[0].user_type,email:d[0].email,social_id:d[0].social_id,image:d[0].image,image_thumbnail:d[0].image_thumbnail,verification_status:d[0].verification_status,social_login:d[0].social_login,social_platform:d[0].social_platform,csrf_k:u,logged_in_status:!0,date:Date.now()};return l?.[0]&&l.forEach(e=>{c[e]=d[0][e]}),t&&(!r||r?.match(/^datasquirel$/))&&s({query:t,user:c,useLocal:n}),{success:!0,payload:c,csrf:u}}t(20503),t(31341),e.exports=l},44767:(e,a,t)=>{let s=t(48225),r=t(51348),i=t(47670),l=t(44900);e.exports=async function({query:e,user:a,useLocal:t}){try{let s=t?l:r,{invite:n,database_access:o,priviledge:d,email:u}=e,c=[n,u],_=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",c);if(!_||!_[0])throw Error("No Invitation Found");let m=[n],p=await s("SELECT first_name,last_name,email FROM users WHERE id=?",m);if(p?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[n,a.id,u]);if(e?.[0])console.log("User already added");else{i({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:n,invited_user_id:a.id,database_access:o,first_name:a.first_name,last_name:a.last_name,phone:a.phone,email:a.email,username:a.username,user_type:"admin",user_priviledge:d,image:a.image,image_thumbnail:a.image_thumbnail},useLocal:t});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[n,u]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[n,a.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{let s=t(47795),r=t(51348),i=t(45356),l=t(47670),n=t(20503),o=t(44900);e.exports=async function({userId:e,useLocal:a}){try{let t=process.env.DSQL_DB_HOST||"127.0.0.1",d=`dsql_user_${e}`,u=s.generate({length:16,numbers:!0,symbols:!0,uppercase:!0,exclude:"*#.'`\""}),c=n({data:u}),_=`CREATE USER IF NOT EXISTS '${d}'@'127.0.0.1' IDENTIFIED BY '${u}'`;a?await o(_):await i(_);let m="UPDATE users SET mariadb_user = ?, mariadb_host = '127.0.0.1', mariadb_pass = ? WHERE id = ?",p=[d,c,e];a?await o(m,p):await r(m,p),await l({tableName:"mariadb_users",data:{user_id:e,username:d,host:t,password:c,primary:"1",grants:'[{"database":"*","table":"*","privileges":["ALL"]}]'},dbContext:"Master",useLocal:a}),console.log(`User ${e} SQL credentials successfully added.`)}catch(e){console.log("Error in adding SQL user in 'addMariadbUser' function =>",e.message)}}},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=a;e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),l+=t;let n=a;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=s;let o=a;return e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),{keyCookieName:l,csrfCookieName:n,oneTimeCodeName:o+=r}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},59474:(e,a,t)=>{let s=t(29021),r=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:a,text:t,html:i,alias:l}){let n;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let o=(l?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let d=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${o}>`,s.sender=o,l&&(s["replyTo "]=o),s.to=e,s.subject=a,s.text=t,s.html=d,n=await r.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return n}},6061:(e,a,t)=>{let s=t(72835),r=t(30003);e.exports=async function({unparsedResults:e,tableSchema:a}){let t=[];try{for(let i=0;i",a.message),e}}},48225:(e,a,t)=>{let s=t(29021),{IncomingMessage:r}=t(81630);e.exports=async function({user:e,message:a,component:t,noMail:r,req:i}){let l=new Date,n=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],a=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],r=t||s||a||i.socket.remoteAddress;if(!r)return null;return String(r)}catch(e){return null}})();try{let r=`🚀 SERVER ERROR =========================== Error Message: ${a} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(r+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/chunks/5264.js b/dsql-app/.local_dist/server/chunks/5264.js index 6ab8a08..d4ba852 100644 --- a/dsql-app/.local_dist/server/chunks/5264.js +++ b/dsql-app/.local_dist/server/chunks/5264.js @@ -1,4 +1,4 @@ -"use strict";exports.id=5264,exports.ids=[5264],exports.modules={96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function i(e,r,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let E=JSON.parse(u);if(!E.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${E.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${_}/${E.csrf_k}`))return null;if(0==E.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${E.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return E?.date&&Date.now()-E.date>6048e5?null:E}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=t}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";exports.id=5264,exports.ids=[5264],exports.modules={96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function i(e,r,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let E=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!E)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${E}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",t(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,s)=>{let{scryptSync:t,createCipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",t(o,i,l),a.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},31819:(e,r,s)=>{let t=s(3444);async function n({username:e,host:r,grants:s,userId:n}){let a=!1;if(console.log("Handling Grants for User =>",e,r),!e)return console.log("No username provided."),a;if(!r)return console.log(`No Host provided. \x1b[35m\`--host\`\x1b[0m flag is required`),a;if(!s)return console.log("No grants Array provided."),a;try{let o=await t(`SELECT * FROM mysql.user WHERE User = '${e}' AND Host = '${r}'`);if(o?.[0]?.User){let a=await t(`SHOW GRANTS FOR '${e}'@'${r}'`);for(let e=0;e",e.message)}return a}e.exports=n},46889:(e,r,s)=>{let t=s(33873);s(60818).config({path:t.resolve(__dirname,"../../../.env")});let n=s(47795),a=s(3444),o=s(16926),i=s(31819),l=s(20503),c=s(72835),u=process.env.DSQL_DB_HOST||"127.0.0.1";async function E({userId:e,mariadbUserHost:r,mariadbUser:s,sqlUserID:t}){let E=await o({query:"SELECT * FROM users"});E?.[0]||process.exit();for(let _=0;_",e.message)}}process.exit()}e.exports=E},16926:(e,r,s)=>{let t=s(29021),n=s(33873),a=s(9973),o=s(21580),i=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,charset:"utf8mb4",ssl:o()}});e.exports=async function({query:e,values:r,database:s}){let l;s&&(i=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:s,charset:"utf8mb4",ssl:o()}}));try{l=e&&r?await i.query(e,r):await i.query(e),await i.end()}catch(e){if(process.env.FIRST_RUN)return null;console.log("ERROR in dbHandler =>",e.message),console.log(e),console.log(i.config()),t.appendFileSync(n.resolve(__dirname,"../.tmp/dbErrorLogs.txt"),JSON.stringify(e,null,4)+"\n"+Date()+"\n\n\n","utf8"),l=null}return l?JSON.parse(JSON.stringify(l)):null}},3444:(e,r,s)=>{let t=s(16926);e.exports=async function(e){let r;try{r=await t({query:e})}catch(e){console.log("ERROR in noDatabaseDbHandler =>",e.message)}return r||null}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),a=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}}; \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",t(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,s)=>{let{scryptSync:t,createCipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",t(o,i,l),a.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},31819:(e,r,s)=>{let t=s(3444);async function n({username:e,host:r,grants:s,userId:n}){let a=!1;if(console.log("Handling Grants for User =>",e,r),!e)return console.log("No username provided."),a;if(!r)return console.log(`No Host provided. \x1b[35m\`--host\`\x1b[0m flag is required`),a;if(!s)return console.log("No grants Array provided."),a;try{let o=await t(`SELECT * FROM mysql.user WHERE User = '${e}' AND Host = '${r}'`);if(o?.[0]?.User){let a=await t(`SHOW GRANTS FOR '${e}'@'${r}'`);for(let e=0;e",e.message)}return a}e.exports=n},46889:(e,r,s)=>{let t=s(33873);s(60818).config({path:t.resolve(__dirname,"../../../.env")});let n=s(47795),a=s(3444),o=s(16926),i=s(31819),l=s(20503),c=s(72835),u=process.env.DSQL_DB_HOST||"127.0.0.1";async function _({userId:e,mariadbUserHost:r,mariadbUser:s,sqlUserID:t}){let _=await o({query:"SELECT * FROM users"});_?.[0]||process.exit();for(let E=0;E<_.length;E++){let S=_[E];if(S&&(!e||S.id==e))try{let{mariadb_user:_,mariadb_host:E,mariadb_pass:d,id:p}=S,f=await a(`SELECT * FROM mysql.user WHERE User = '${_}' AND Host = '${E}'`),y=e&&t?await o({query:"SELECT * FROM mariadb_users WHERE id = ? AND user_id = ?",values:[t,e]}):null,g=Array.isArray(y)?y?.[0]:void 0,D=!!g&&!!String(g.primary)?.match(/1/),R=!!f?.[0]?.User,N=`dsql_user_${p}`,m=g?.password?g.password:R?d:n.generate({length:16,numbers:!0,symbols:!0,uppercase:!0,exclude:"*#.'`\""}),O=g?.password?g.password:R?d:l({data:m,encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD,encryptionSalt:process.env.DSQL_ENCRYPTION_SALT});if(!R&&!t&&!D&&!r&&!s){let e=await a(`CREATE USER IF NOT EXISTS '${N}'@'${u}' IDENTIFIED BY '${m}'`);console.log("createNewUser",e),console.log(`User ${S.id}: ${S.first_name} ${S.last_name} SQL credentials successfully updated.`),await o({query:"UPDATE users SET mariadb_user = ?, mariadb_host = ?, mariadb_pass = ? WHERE id = ?",values:[N,u,O,S.id]})}if(D){let e=r||E;await o({query:"UPDATE users SET mariadb_user = ?, mariadb_host = ?, mariadb_pass = ? WHERE id = ?",values:[N,e,O,S.id]})}let L=await o({query:"SELECT * FROM mariadb_users WHERE user_id = ? AND `primary` = 1",values:[p]}),v=!!(Array.isArray(L)&&L?.[0]?.user_id),A=[{database:"*",table:"*",privileges:["ALL"]}];v||await o({query:"INSERT INTO mariadb_users (user_id, username, password, `primary`, grants) VALUES (?, ?, ?, ?, ?)",values:[p,N,O,"1",JSON.stringify(A)]});let T=await o({query:"SELECT * FROM mariadb_users WHERE user_id = ? AND `primary` != '1'",values:[p]});if(Array.isArray(T))for(let s=0;s",e.message)}}process.exit()}e.exports=_},16926:(e,r,s)=>{let t=s(29021),n=s(33873),a=s(9973),o=s(21580),i=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,charset:"utf8mb4",ssl:o()}});e.exports=async function({query:e,values:r,database:s}){let l;s&&(i=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:s,charset:"utf8mb4",ssl:o()}}));try{l=e&&r?await i.query(e,r):await i.query(e),await i.end()}catch(e){if(process.env.FIRST_RUN)return null;console.log("ERROR in dbHandler =>",e.message),console.log(e),console.log(i.config()),t.appendFileSync(n.resolve(__dirname,"../.tmp/dbErrorLogs.txt"),JSON.stringify(e,null,4)+"\n"+Date()+"\n\n\n","utf8"),l=null}return l?JSON.parse(JSON.stringify(l)):null}},3444:(e,r,s)=>{let t=s(16926);e.exports=async function(e){let r;try{r=await t({query:e})}catch(e){console.log("ERROR in noDatabaseDbHandler =>",e.message)}return r||null}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),a=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/5421.js b/dsql-app/.local_dist/server/chunks/5421.js index 1856129..7c61548 100644 --- a/dsql-app/.local_dist/server/chunks/5421.js +++ b/dsql-app/.local_dist/server/chunks/5421.js @@ -1,2 +1,2 @@ "use strict";exports.id=5421,exports.ids=[5421],exports.modules={77802:(e,a,t)=>{t.d(a,{A:()=>F});var l=t(8732),s=t(82015),i=t.n(s);function d({tableFields:e,setTableFields:a,setRefresh:t,setPageRefresh:l,refreshFieldsListRef:s}){let i=e.findIndex(e=>"date_created"===e.fieldName);e.splice(i,0,{newTempField:!0}),a(e),s?.current&&s.current(e=>e+1)}t(80255);var r=t(39897),n=t(32415),o=t(64030),c=t(27825),m=t.n(c);function u({tableFields:e,setTableFields:a,refreshFieldsListRef:t,order:l,field:s,e:i}){let d=m().cloneDeep(e),r=d.findIndex(e=>e.fieldName===s.fieldName);if(r<0)return;let n=d[r];if("up"===l&&r&&r<=1){console.log("Min Reached =>",r);return}if("down"===l&&r&&r>=d.length-7){console.log("Max Reached =>",r);return}try{let e;let a=i.target.closest(".table-field-wrapper"),t=a.previousElementSibling,s=a.nextElementSibling,d=window.DSQL.Flip,r=d.getState(a);"up"===l?(e=d.getState(t),a.parentNode?.insertBefore(a,t)):s?.nextElementSibling&&(e=d.getState(s),a.parentNode?.insertBefore(a,s.nextElementSibling)),d.from(r,{duration:.3,ease:"power1.inOut"}),d.from(e,{duration:.3,ease:"power1.inOut"})}catch(e){console.log("Error =>",e.message)}if(!r){console.log("No target Field Index =>",r);return}d.splice(r,1),"up"===l?d.splice(r-1,0,n):d.splice(r+1,0,n),setTimeout(()=>{a([...d]),t.current&&t.current(e=>e+1)},500)}var p=t(64417),x=t(12097),h=t(63715);function f({field:e,setTargetField:a,fieldIndex:t,tableFields:s,setTableFields:d,refreshFieldsListRef:r,database:n,currentTable:c,user:m,isDelegated:u,setLoading:p}){let[f,g]=i().useState(e),[w,y]=i().useState(!1);return(0,l.jsxs)("div",{className:"flex-col w-full table-field-wrapper"+(w?" shadow-2xl shadow-slate-700/40 relative z-50":""),children:[(0,l.jsxs)("div",{className:"card no-hover items-center w-full py-4"+(w?" rounded-t":" rounded")+(f.fieldName?.match(o.A)?" text-slate-400 pointer-events-none border-slate-200 border":" light-gray"),children:[(0,l.jsx)("span",{className:"font-bold"+(f.fieldName?.match(o.A)?" dark:text-slate-500":" dark:text-white"),children:f.fieldName}),(0,l.jsx)("span",{className:"text-xs py-1 px-2 bg-slate-100 dark:bg-slate-700 dark:text-slate-200 rounded ",children:f.dataType}),f?.foreignKey&&(0,l.jsxs)("div",{className:"text-xs bg-primary text-white px-2 py-0.5 rounded-full",children:[(0,l.jsx)("span",{children:"Foreign Key: "}),(0,l.jsxs)("span",{children:[f.foreignKey.destinationTableName," ("," ",(0,l.jsx)("b",{children:f.foreignKey.destinationTableColumnName})," ",")"]})]}),f.fieldName?.match(o.A)&&(0,l.jsx)("span",{className:"text-slate-300 text-sm font-semibold ml-0 md:ml-auto",children:"Default Field"}),!(!u&&!f.fieldName?.match(o.A)&&f.dataType?.match(/INT/))||f.foreignKey||n?.active_clone?.toString()?.match(/1/)?!u&&!f.fieldName?.match(o.A)&&f.dataType?.match(/INT/)&&!n?.active_clone?.toString()?.match(/1/)?(0,l.jsx)("div",{className:"ml-0 md:ml-auto flex-wrap",children:(0,l.jsx)("div",{className:"button py-1 text-xs light-gray",onClick:a=>{window.confirm("Delete this foreign Key?")&&(delete e.foreignKey,p(!0),(0,h.A)("/api/updateClonedTableForeignKeys",{method:"post",body:{tableData:c,database:n.db_full_name,dbSlug:n.db_slug,delegated:!!window.location?.search?.match(/delegated=true/i)}},!0).then(e=>{e.success?window.location.reload():window.alert("Update Failed, Please Try again.")}))},style:{color:"var(--slate-500)"},children:"Delete Foreign Key"})}):(0,l.jsx)(i().Fragment,{}):(0,l.jsx)("div",{className:"ml-0 md:ml-auto flex-wrap",children:(0,l.jsx)("div",{className:"button outlined py-1 text-xs gray",onClick:e=>{w?y(!1):y(!0)},style:{color:"var(--slate-500)"},children:"Add Foreign Key"})})]}),w&&!u&&(0,l.jsx)("div",{className:"card col w-full -mt-5 pt-0 no-hover",children:(0,l.jsx)(x.A,{targetField:e,setFieldData:g,tableFields:s,setTableFields:d,database:n,currentTable:c,user:m,setActiveEdit:y,activeClonedTable:!0})})]})}var g=t(65388),w=t(84896);function y({fieldIndex:e,setTableFields:a,database:s,user:d,isNewField:r,setLiteralValue:n,tempFieldData:o,setTempFieldData:c,dataTypeValue:m,setDataTypeValue:u,dataType:p,setDataType:x,dataTypeDesc:h,setDataTypeDesc:f}){let y=t(94327);i().useRef();let b=!!p.match(/uuid/i);return(0,l.jsxs)(i().Fragment,{children:[r&&(0,l.jsx)("span",{className:"absolute -top-4 text-sm bg-fuchsia-600 dark:bg-white text-white dark:text-fuchsia-800 px-3 py-1 rounded-full",children:"New Field"}),(0,l.jsxs)("div",{className:"gap-4 flex-wrap xl:flex-nowrap flex-col xl:flex-row items-stretch w-full xl:w-auto",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_field_name",children:"Field Name"}),(0,l.jsx)("input",{type:"text",name:"new_field_name",id:"new_field_name",placeholder:"Eg. post_title",onInput:async e=>{let a=e.target,t=a.value.toLowerCase().replace(/ /g,"_");a.value=t},required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-4 xl:gap-0.5",children:[(0,l.jsxs)("div",{className:"items-start flex-wrap xl:flex-nowrap",children:[(0,l.jsx)("label",{htmlFor:"new_field_data_type",children:"Data Type"}),(0,l.jsxs)("div",{className:"dropdown-wrapper reversed text-sm w-full items-start gap-2",children:[(0,l.jsx)("span",{className:"px-2 bg-slate-200 dark:bg-slate-700 rounded-full hover:bg-slate-100 dark:hover:bg-slate-600 hidden xl:flex",children:"Info"}),(0,l.jsx)("div",{className:"dropdown mt-0 xl:-mt-2",children:(0,l.jsx)("span",{children:h})})]})]}),(0,l.jsxs)("div",{className:"w-full xl:w-auto",children:[(0,l.jsx)("select",{name:"new_field_data_type",id:"new_field_data_type",className:"w-full xl:w-auto",onChange:e=>{let a=e.target;x(a.value),a.childNodes.forEach(e=>{e.value===a.value&&f(e.dataset.desc),e.value===a.value&&e.dataset.literal&&n(e.dataset.literal)})},children:y.map((e,a)=>e.name.match(/VARCHAR/)?(0,l.jsx)("option",{value:e.name,"data-desc":e.description,children:e.title+"("+(m||200)+")"},a+1):(0,l.jsx)("option",{value:e.name,"data-desc":e.description,"data-literal":e.valueLiteral||void 0,children:e.title},a+1))}),p.match(/VARCHAR/)&&(0,l.jsx)("input",{type:"number",defaultValue:m,className:"px-2",style:{maxWidth:"60px"},max:255,min:5,onChange:e=>{u(e.target.value)}})]})]}),p?.match(/text/i)&&(0,l.jsx)(i().Fragment,{children:(0,l.jsx)(w.A,{targetField:o})}),!b&&(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",style:{minWidth:"70px"},children:[(0,l.jsx)("label",{htmlFor:"new_field_required",children:"Required?"}),(0,l.jsxs)("select",{name:"new_field_required",id:"new_field_required",className:"px-2",children:[(0,l.jsx)("option",{value:"No",children:"No"}),(0,l.jsx)("option",{value:"Yes",children:"Yes"})]})]}),!b&&(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_field_default_value",children:"Default Value (optional)"}),(0,l.jsx)("input",{type:"text",name:"new_field_default_value",id:"new_field_default_value",placeholder:"Default Value"})]}),!b&&(0,l.jsx)(g.A,{database:s,setFieldData:c,targetField:o,user:d,fieldIndex:e})]}),(0,l.jsxs)("div",{className:"secondary mt-auto flex-wrap xl:flex-nowrap w-full xl:w-auto",children:[(0,l.jsx)("button",{type:"submit",className:"secondary mt-auto py-3 w-full sm:w-auto justify-center grow",children:"Add Field"}),(0,l.jsx)("div",{className:"button outlined-gray mt-auto py-2.5 w-full sm:w-auto justify-center grow",onClick:t=>{a(a=>a.filter((a,t)=>t!=e))},children:"Cancel"})]})]})}function b({fieldIndex:e,tableFields:a,setTableFields:s,refreshFieldsListRef:d,database:r,currentTable:n,user:o}){t(94327);let[c,m]=i().useState("VARCHAR"),[u,p]=i().useState("200"),[x,h]=i().useState("Varchar is simply letters and numbers within the range 0 - 255"),[f,g]=i().useState({}),w=i().useRef(),[b,v]=i().useState(""),j=!!c.match(/uuid/i);return(0,l.jsx)("div",{className:"w-full mt-1 flex-wrap relative z-0 hover:z-20",ref:w,children:(0,l.jsx)("form",{className:"flex flex-row items-start gap-4 w-full justify-between border border-solid p-4 pt-6 border-slate-400 rounded focus:shadow-lg shadow-slate-400/40 dark:shadow-black/30 relative flex-wrap xl:flex-nowrap shadow-xl",onSubmit:a=>{a.preventDefault();let t=f.foreignKey;t&&!t.destinationTableName&&delete f.foreignKey;let l=a.target,i=l.new_field_name.value,r=l.new_field_data_type.value,n=l.new_field_required?.value,o=l.new_field_default_value?.value,c=l.encryption_field?.value,m=l.rich_text_option?.value,p=l.foreign_key_field,x=l.foreign_key_destination_table_name,h=l.foreign_key_destination_table_column_name;p?.value;let g={...f,fieldName:i,dataType:f?.dataType&&f?.foreignKey?f.dataType:r?.match(/VARCHAR/)?`${r}(${u})`:r};n?.match(/yes/i)?g.notNullValue=!0:o?.match(/./)||(g.nullValue=!0),o?.match(/./)&&(g.defaultValue=o),c?.match(/yes/i)&&(g.encrypted=!0),h?.value?.match(/./i)&&!h?.value?.match(/^--$/i)&&(g.dataType=h.dataset.dataType,g.foreignKey={foreignKeyName:h.dataset.foreignKeyName,destinationTableName:x.dataset.destinationTableName,destinationTableColumnName:h.dataset.destinationTableColumnName,cascadeDelete:!0}),m?.match(/yes/i)&&(g.richText=!0),j?(g.defaultValueLiteral=b,g.nullValue=!1):delete g.defaultValueLiteral,console.log("newFieldObject",g),function({fieldIndex:e,setTableFields:a,refreshFieldsListRef:t,payload:l}){a(a=>(a.splice(e,1,l),a)),t?.current&&t.current(e=>e+1)}({fieldIndex:e,setTableFields:s,refreshFieldsListRef:d,payload:g})},children:(0,l.jsx)(y,{database:r,fieldIndex:e,isNewField:!0,literalValue:b,refreshFieldsListRef:d,setLiteralValue:v,setTableFields:s,user:o,currentTable:n,tableFields:a,tempFieldData:f,setTempFieldData:g,dataTypeValue:u,setDataTypeValue:p,dataType:c,setDataType:m,dataTypeDesc:x,setDataTypeDesc:h})})})}var v=t(62506),j=t(58526);function N({field:e,setTargetField:a,fieldIndex:t,tableFields:s,setTableFields:d,refreshFieldsListRef:r,database:n,currentTable:c,confirmedDelegetedUser:m,user:x}){let h=m?.delegated,f=m?.priviledges?.match(/Edit Tables/i);m?.priviledges?.match(/Delete Tables/i),m?.priviledges?.match(/Create Tables/i);let{active_clone:g,active_clone_parent_db:w,remote_connected:y}=n,[b,N]=i().useState(e),[_,T]=i().useState(!1);return(0,l.jsxs)("div",{className:"flex-col w-full table-field-wrapper"+(_?" shadow-2xl shadow-slate-300/40 dark:shadow-black/30 relative z-50":""),children:[(0,l.jsxs)("div",{className:"card no-hover items-center w-full py-4"+(_?" rounded-t":" rounded")+(b.fieldName?.match(o.A)?" text-slate-400 pointer-events-none border-slate-200 border":" light-gray"),children:[(0,l.jsx)("span",{className:"font-bold"+(b.fieldName?.match(o.A)?" dark:text-slate-500":" dark:text-white"),children:b.fieldName}),(0,l.jsx)("span",{className:"text-xs py-1 px-2 bg-slate-100 dark:bg-slate-700 dark:text-slate-200 rounded ",children:b.dataType}),b?.foreignKey&&(0,l.jsxs)("div",{className:"text-xs bg-primary text-white px-2 py-0.5 rounded-full",children:[(0,l.jsx)("span",{children:"Foreign Key: "}),(0,l.jsxs)("span",{children:[b.foreignKey.destinationTableName," ("," ",(0,l.jsx)("b",{children:b.foreignKey.destinationTableColumnName})," ",")"]})]}),b.fieldName?.match(o.A)&&(0,l.jsx)("span",{className:"text-slate-300 text-sm font-semibold ml-0 md:ml-auto",children:"Default Field"}),!b.fieldName?.match(o.A)&&!w&&!y&&(0,l.jsx)("div",{className:"ml-0 md:ml-auto flex-wrap",children:(!h||h&&f)&&(0,l.jsxs)(i().Fragment,{children:[(0,l.jsxs)(v.A,{children:[(0,l.jsx)("div",{className:"button outlined py-1 text-xs gray",onClick:e=>{_?T(!1):T(!0)},style:{color:"var(--slate-500)"},children:"Edit"}),!w&&!y&&(0,l.jsx)("div",{className:"button outlined py-1 text-xs gray",onClick:a=>{window.confirm(`Delete "${e.fieldName}"?`)&&d(e=>e.filter((e,a)=>a!=t))},style:{color:"var(--slate-500)"},children:"Delete"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"button outlined gray p-2 w-8 h-8 rounded-full rotate-180",onClick:a=>{u({tableFields:s,setTableFields:d,refreshFieldsListRef:r,order:"up",field:e,e:a})},children:(0,l.jsx)(j.A,{size:20})}),(0,l.jsx)("div",{className:"button outlined gray p-2 w-8 h-8 rounded-full",onClick:a=>{u({tableFields:s,setTableFields:d,refreshFieldsListRef:r,order:"down",field:e,e:a})},children:(0,l.jsx)(j.A,{size:20})})]})]})})]}),_&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(p.A,{fieldIndex:t,tableFields:s,setTableFields:d,refreshFieldsListRef:r,targetField:e,setActiveEdit:T,database:n,currentTable:c,user:x})})]})}var _=t(63014);let T=1;function F({user:e,tableFields:a,setTableFields:t,setTargetField:s,refreshFieldsListRef:o,updateTable:c,updateTableAfterFieldsUpdateFunction:m,collapsed:u,database:p,table:x,confirmedDelegetedUser:h,query:g}){x?.childTable&&x.childTableDbFullName?.replace(new RegExp(/datasquirel_user_\d+_/),"");let w=h?.delegated,y=h?.priviledges?.match(/Edit Tables/i);h?.priviledges?.match(/Delete Tables/i),h?.priviledges?.match(/Create Tables/i);let{active_clone:v,active_clone_parent_db:j,remote_connected:F}=p,[A,C]=i().useState(0);o.current=C;let[S,k]=i().useState(!1),[D,$]=i().useState(u||!1);return w&&!y?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)("section",{className:"paper green",children:[S&&(0,l.jsx)(n.A,{}),x?.childTable?(0,l.jsxs)(i().Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Fields"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"button outlined light-gray",onClick:a=>{let t=(0,_.A)({paradigm:"JavaScript",table:x,query:g,user:e});t&&navigator.clipboard.writeText(t).then(()=>{window.alert("JavaScript Type Definition Copied")})},children:(0,l.jsx)("span",{children:"Copy TypeDef (JS)"})}),(0,l.jsx)("div",{className:"button outlined light-gray",onClick:a=>{let t=(0,_.A)({paradigm:"TypeScript",table:x,query:g,user:e});t&&navigator.clipboard.writeText(t).then(()=>{window.alert("TypeScript Type Definition Copied")})},children:(0,l.jsx)("span",{children:"Copy TypeDef (TS)"})})]})]}),(0,l.jsx)("div",{className:"flex-col w-full",style:D?{maxHeight:"200px"}:{},children:a&&a[0]&&a.map((i,d)=>(T++,(0,l.jsx)(f,{field:i,fieldIndex:d,setTargetField:s,setTableFields:t,refreshFieldsListRef:o,tableFields:a,database:p,setLoading:k,currentTable:x,user:e,isDelegated:w},T)))}),u&&(0,l.jsx)(r.A,{collapse:D||!1,setCollapse:$})]}):(0,l.jsxs)(i().Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Fields"}),(0,l.jsxs)("div",{children:[(!w||w&&y)&&!j&&!F&&(0,l.jsxs)("div",{className:"button secondary outlined",onClick:e=>{D&&$(!1),d({setTableFields:t,tableFields:a,setRefresh:C,refreshFieldsListRef:o})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add New Field"})]}),(0,l.jsx)("div",{className:"button outlined light-gray",onClick:a=>{if(!x)return;let t=(0,_.A)({paradigm:"JavaScript",table:x,query:g,user:e});t&&navigator.clipboard.writeText(t).then(()=>{window.alert("JavaScript Type Definition Copied")})},children:(0,l.jsx)("span",{children:"Copy TypeDef (JS)"})}),(0,l.jsx)("div",{className:"button outlined light-gray",onClick:a=>{if(!x)return;let t=(0,_.A)({paradigm:"TypeScript",table:x,query:g,user:e});t&&navigator.clipboard.writeText(t).then(()=>{window.alert("TypeScript Type Definition Copied")})},children:(0,l.jsx)("span",{children:"Copy TypeDef (TS)"})})]})]}),(0,l.jsxs)("div",{className:"flex-col w-full",style:D?{maxHeight:"200px"}:{},children:[a&&a[0]&&a.map((i,d)=>(T++,i.newTempField)?(0,l.jsx)(b,{fieldIndex:d,tableFields:a,setTableFields:t,refreshFieldsListRef:o,database:p,currentTable:x,user:e},T):(0,l.jsx)(N,{field:i,fieldIndex:d,setTargetField:s,setTableFields:t,refreshFieldsListRef:o,tableFields:a,database:p,currentTable:x,confirmedDelegetedUser:h,user:e},T)),(!w||w&&y)&&!j&&!F&&(0,l.jsxs)(i().Fragment,{children:[(0,l.jsxs)("div",{className:"button outlined gray w-full more-padding",style:{borderStyle:"dashed"},onClick:e=>{D&&$(!1),d({setTableFields:t,tableFields:a,setRefresh:C,refreshFieldsListRef:o})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add New Field"})]}),c&&(0,l.jsx)("button",{className:"secondary w-full py-3",onClick:e=>{window.confirm("Update Table Fields?")&&(k(!0),m&&m(k))},children:"Update Table Fields"})]})]}),u&&(0,l.jsx)(r.A,{collapse:D,setCollapse:$})]})]})}},63014:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(64030);function s({paradigm:e,table:a,query:t,user:s}){let i="";try{let s=`DSQL_${t.single}_${t.single_table}`.toUpperCase(),r=a.fields;function d(e){return e?.match(/int/i)?"number":(e?.match(/text|varchar|timestamp/i),"string")}let n=[],o=[];n.push(`type ${s} = {`),o.push(`/** - * @typedef {object} ${s}`),r.forEach(e=>{let a=e.nullValue?"?":e.fieldName?.match(l.A)?"?":"";n.push(` ${e.fieldName}${a}: ${d(e.dataType||"")};`),o.push(` * @property {${d(e.dataType||"")}${a}} ${e.fieldName}`)}),n.push("}"),o.push(" */"),e?.match(/javascript/i)&&(i=o.join("\n")),e?.match(/typescript/i)&&(i=n.join("\n"))}catch(e){console.log(e.message),i=null}return i}},39897:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(8732);function s({collapse:e,setCollapse:a}){return(0,l.jsxs)("div",{className:"collapse-block"+(e?" -mt-16 -mb-6 pt-10":" mt-0 mb-0 p-0"),onClick:t=>{e?a(!1):a(!0)},children:[(0,l.jsx)("span",{children:e?"Expand":"Collapse"}),(0,l.jsx)("img",{src:"/images/down-arrow-dark.svg",alt:"Down Arrow",width:16,className:"dark:hidden opacity-30 "+(e?"":"rotate-180")}),(0,l.jsx)("img",{src:"/images/down-arrow-white.svg",alt:"Down Arrow",width:16,className:"opacity-30 hidden dark:flex "+(e?"":"rotate-180")})]})}t(82015)},64030:(e,a,t)=>{t.d(a,{A:()=>l});let l=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,a,t)=>{t.d(a,{A:()=>d});let l=t(22373),s=t(29021),i=t(33873);function d({userId:e}){try{let a=i.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(a,"utf-8"))}catch(e){return l({component:"grabUserSchemaData",message:e.message}),null}}}}; \ No newline at end of file + * @typedef {object} ${s}`),r.forEach(e=>{let a=e.nullValue?"?":e.fieldName?.match(l.A)?"?":"";n.push(` ${e.fieldName}${a}: ${d(e.dataType||"")};`),o.push(` * @property {${d(e.dataType||"")}${a}} ${e.fieldName}`)}),n.push("}"),o.push(" */"),e?.match(/javascript/i)&&(i=o.join("\n")),e?.match(/typescript/i)&&(i=n.join("\n"))}catch(e){console.log(e.message),i=null}return i}},39897:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(8732);function s({collapse:e,setCollapse:a}){return(0,l.jsxs)("div",{className:"collapse-block"+(e?" -mt-16 -mb-6 pt-10":" mt-0 mb-0 p-0"),onClick:t=>{e?a(!1):a(!0)},children:[(0,l.jsx)("span",{children:e?"Expand":"Collapse"}),(0,l.jsx)("img",{src:"/images/down-arrow-dark.svg",alt:"Down Arrow",width:16,className:"dark:hidden opacity-30 "+(e?"":"rotate-180")}),(0,l.jsx)("img",{src:"/images/down-arrow-white.svg",alt:"Down Arrow",width:16,className:"opacity-30 hidden dark:flex "+(e?"":"rotate-180")})]})}t(82015)},64030:(e,a,t)=>{t.d(a,{A:()=>l});let l=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,a,t)=>{let l=t(22373),s=t(29021),i=t(33873);e.exports=function({userId:e}){try{let a=i.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(a,"utf-8"))}catch(e){return l({component:"grabUserSchemaData",message:e.message}),null}}}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/7070.js b/dsql-app/.local_dist/server/chunks/7070.js index b0c6956..ee3ffb5 100644 --- a/dsql-app/.local_dist/server/chunks/7070.js +++ b/dsql-app/.local_dist/server/chunks/7070.js @@ -1 +1 @@ -"use strict";exports.id=7070,exports.ids=[7070],exports.modules={58548:(e,s,t)=>{t.d(s,{A:()=>i});var a=t(8732),r=t(82015),n=t.n(r);function i({confirmedDelegetedUser:e,linksArray:s,user:t}){e?.delegated,e?.priviledges?.match(/Edit Tables/i),e?.priviledges?.match(/Delete Tables/i),e?.priviledges?.match(/Create Tables/i);let[r,i]=n().useState(s||null);return r&&r[1]?(0,a.jsx)("div",{className:"text-sm mt-2 flex-wrap",children:r.map((e,s,t)=>s===r.length-1?(0,a.jsx)("a",{href:e.path,className:"text-slate-400 dark:text-slate-500 pointer-events-none",children:e.title},s):(0,a.jsxs)(n().Fragment,{children:[(0,a.jsx)("a",{href:e.path,className:"query-url",children:e.title}),(0,a.jsx)("span",{className:"opacity-20",children:"|"})]},s))}):(0,a.jsx)(n().Fragment,{})}},36605:(e,s,t)=>{t.d(s,{A:()=>x});var a=t(8732),r=t(82015),n=t.n(r);t(63715);var i=t(86152),l=t(32415),c=t(66916),o=t(66918),d=t(23293);function x(e){let[s,t]=n().useState(!0),[r,x]=n().useState(0),[m,h]=n().useState(0);return s?(0,a.jsx)("div",{className:"button ghost small-text",style:{height:"30px"},children:(0,a.jsx)(l.A,{width:"15px",position:"relative"})}):(0,a.jsx)(n().Fragment,{children:r?(0,a.jsxs)("div",{className:"button ghost small-text normal-weight p-0",style:{height:"30px",padding:0},onClick:e=>{t(!0),(0,i.A)().then(()=>{h(e=>e+1),t(!1)})},children:[s&&(0,a.jsx)(l.A,{width:"15px"}),(0,a.jsx)(c.A,{size:20,className:"text-slate-400 mr-[3px]"}),(0,a.jsx)("span",{className:"font-bold text-slate-700 dark:text-white",children:r&&r.toFixed(2)}),(0,a.jsx)("span",{className:"text-slate-500",children:"mb"}),(0,a.jsx)(o.A,{size:17,className:"text-slate-400",strokeWidth:2})]}):(0,a.jsxs)("span",{className:"text-sm info gray font-normal w-auto",children:[(0,a.jsx)(d.A,{}),(0,a.jsx)("span",{children:"No Disk Usage Data Available Yet"})]})})}},20048:(e,s,t)=>{t(81630);let a=t(67216),r=t(77463),n=t(29021),i=t(6505);async function l(e,s,t,l){let{keyCookieName:c,csrfCookieName:o}=i();if(!e.cookies?.[c]?.match(/./))return null;let d=r({encryptedString:e.cookies[c]});if(!d)return null;let x=JSON.parse(d);if(!x.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${x.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${m}/${x.csrf_k}`))return null;if(0==x.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${x.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return x?.date&&Date.now()-x.date>6048e5?null:x}e.exports=l},86152:(e,s,t)=>{t.d(s,{A:()=>r});var a=t(63715);async function r(){let e=await (0,a.A)("/api/getDiskUsage");localStorage.setItem("disk_usage",e.total)}},72377:e=>{e.exports=function(e,s){return s?e?.id&&String(e?.id)==(process.env.DSQL_SU_USER_ID||"1")&&"true":e?.id&&"1"==String(e?.id)&&"true"}},95222:(e,s,t)=>{t.d(s,{A:()=>N});var a=t(8732),r=t(82015),n=t.n(r),i=t(27912),l=t.n(i);t(64699);var c=t(93353),o=t(52070),d=t(34637),x=t(83158),m=t(25294),h=t(92441),u=t(29743),p=t(10643),j=t(10321),g=t(72377),f=t.n(g);function v({user:e}){let[s,t]=n().useState(!0);return(0,a.jsxs)("aside",{className:"aside"+(s?" mobile-collapsed":" mobile-expanded"),children:[(0,a.jsx)(c.A,{adminAside:!0,collapseAsideMobile:s,setCollapseAsideMobile:t}),(0,a.jsx)("hr",{className:"opacity-0 mt-4"}),(0,a.jsxs)("div",{className:"main-links"+(s?" hidden lg:flex":" "),children:[(0,a.jsxs)("a",{href:"/admin","data-currentlink":"/admin","data-strictlink":"true",children:[(0,a.jsx)(o.A,{size:20}),(0,a.jsx)("span",{children:"Dashboard"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/databases`,"data-currentlink":`/admin/${e?.id}/databases`,children:[(0,a.jsx)(d.A,{size:20}),(0,a.jsx)("span",{children:"Databases"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/media`,"data-currentlink":`/admin/${e?.id}/media`,children:[(0,a.jsx)(x.A,{size:20}),(0,a.jsx)("span",{children:"Media"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/users`,"data-currentlink":`/admin/${e?.id}/users`,children:[(0,a.jsx)(m.A,{size:20}),(0,a.jsx)("span",{children:"Users"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/schema`,"data-currentlink":`/admin/${e?.id}/schema`,children:[(0,a.jsx)(h.A,{size:20}),(0,a.jsx)("span",{children:"Schema"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/api-keys`,"data-currentlink":`/admin/${e?.id}/api-keys`,children:[(0,a.jsx)(u.A,{size:20}),(0,a.jsx)("span",{children:"API Keys"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/connect`,"data-currentlink":`/admin/${e?.id}/connect`,children:[(0,a.jsx)(p.A,{size:20}),(0,a.jsx)("span",{children:"Connect"})]}),f()(e)&&(0,a.jsx)(n().Fragment,{children:(0,a.jsxs)("a",{href:"/su","data-currentlink":"/su",children:[(0,a.jsx)(j.A,{size:20}),(0,a.jsx)("span",{children:"Super Admin User"})]})}),(0,a.jsx)("hr",{className:"opacity-80"}),(0,a.jsxs)("div",{className:"flex-col gap-0 items-start w-full",children:[(0,a.jsx)("a",{href:`/admin/${e?.id}/settings`,"data-currentlink":`/admin/${e?.id}/settings`,children:(0,a.jsx)("span",{children:"Settings"})}),(0,a.jsx)("a",{href:"/docs","data-currentlink":"/docs",target:"_blank",children:(0,a.jsx)("span",{children:"Documentation"})}),(0,a.jsx)("a",{href:"/logout","data-currentlink":"/logout",children:(0,a.jsx)("span",{children:"Logout"})})]})]})]})}t(20681);var _=t(49538);function y({user:e,extraHeaderContent:s}){let[t,r]=n().useState(e||null);return(0,a.jsx)("section",{className:"overflow-visible w-full px-0 md:px-8 py-0 flex justify-center bg-white dark:bg-slate-800 shadow-lg gap-4 dark:shadow-black/10 shadow-slate-900/5 relative z-[100]",style:{zIndex:700,border:"none"},children:(0,a.jsxs)("div",{className:"w-full items-center justify-between gap-4 md:gap-8",children:[(0,a.jsxs)("div",{className:"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 px-4 xl:px-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto bg-white xl:bg-transparent pb-10 xl:pb-0",id:"main-nav-content-wrapper",children:[(0,a.jsxs)("div",{className:"items-center mb-2 flex xl:hidden",children:[(0,a.jsx)("a",{href:"/",className:"hidden xl:flex",children:(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37})}),(0,a.jsx)("button",{className:"outlined gray ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{border:"none"},children:(0,a.jsx)("span",{className:"font-semibold text-4xl",children:"✕"})})]}),(0,a.jsxs)("div",{className:"flex items-center w-full gap-6 grow flex-col xl:flex-row justify-start xl:justify-between",children:[(0,a.jsx)("div",{className:"gap-6",children:s}),(0,a.jsx)(_.A,{activeUser:t})]})]}),(0,a.jsxs)("button",{className:"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{minWidth:"50px",backgroundColor:"transparent"},id:"main-header-hamburger-button","aria-label":"Mobile Hambutget Button",children:[(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"})]})]})})}t(54896);var S=t(36605);function N({children:e,head:s,user:t,productionEnvironment:r,extraHeaderContent:i,aceEditor:o}){return i||(i=(0,a.jsx)(S.A,{})),(0,a.jsxs)(n().Fragment,{children:[(0,a.jsxs)(l(),{children:[s,(0,a.jsxs)(n().Fragment,{children:[(0,a.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ace.min.js",integrity:"sha512-q6CTB0jS+VuJnSct82rVcWlI06LGzNjaG3CWenHWVUncRvc4UQMFkA3a5Ip880xr+lBx38FcHDclOxPdSg+sBw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"}),(0,a.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ext-language_tools.min.js",integrity:"sha512-6g6cvocV7eT/J8L44lL8gJKqq9onqQeYGgJO0DmrsYFcCfRl6wYkYA/KHS768r4QVTB4JxsCcMQ9gIezxpTCZw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"})]})]}),(0,a.jsxs)("div",{className:"admin w-full flex items-start gap-0",children:[(0,a.jsx)(v,{user:t}),(0,a.jsxs)("main",{className:"relative",children:[(0,a.jsx)(y,{user:t,extraHeaderContent:i}),(0,a.jsx)("div",{className:"admin-content relative z-10",children:e}),(0,a.jsx)("footer",{className:"flex justify-center w-full items-center p-4",children:(0,a.jsxs)("div",{className:"max-w-6xl w-full justify-center flex-wrap",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 scale-75",children:(0,a.jsx)(c.A,{})}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsxs)("span",{className:"text-sm text-slate-400 dark:text-slate-600 text-center",children:[new Date().getFullYear()," \xa9 Datasquirel. All rights reserved."]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/docs",children:"Docs"}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/terms",children:"Terms"})]})})]})]})]})}t(63715),t(28133)},6505:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=s;e?.userId&&(n+=`user_${e.userId}_`),r&&(n+=`${r}_`),n+=t;let i=s;return e?.userId&&(i+=`user_${e.userId}_`),r&&(i+=`${r}_`),{keyCookieName:n,csrfCookieName:i+=a}}},77463:(e,s,t)=>{let{scryptSync:a,createDecipheriv:r}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=s||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=r("aes-192-cbc",a(i,l,c),n.alloc(16,0));try{let s=o.update(e,"hex","utf8");return s+=o.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},67216:(e,s,t)=>{let a=t(9973),r=t(31976),n=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()}});async function i(...e){try{let s=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,s,t)=>{let a=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let s=`${e}/ca-cert.pem`;if(!a.existsSync(s)){console.log(`${s} does not exist`);return}return{ca:a.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,s,t)=>{t.r(s),t.d(s,{default:()=>n});var a=t(8732);t(82015);var r=t(20883);function n(e){return(0,a.jsxs)(r.Html,{lang:"en",children:[(0,a.jsxs)(r.Head,{children:[(0,a.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,a.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,a.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,a.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,a.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,a.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,a.jsxs)("body",{children:[(0,a.jsx)(r.Main,{}),(0,a.jsx)(r.NextScript,{})]})]})}}}; \ No newline at end of file +"use strict";exports.id=7070,exports.ids=[7070],exports.modules={58548:(e,s,t)=>{t.d(s,{A:()=>i});var a=t(8732),r=t(82015),n=t.n(r);function i({confirmedDelegetedUser:e,linksArray:s,user:t}){e?.delegated,e?.priviledges?.match(/Edit Tables/i),e?.priviledges?.match(/Delete Tables/i),e?.priviledges?.match(/Create Tables/i);let[r,i]=n().useState(s||null);return r&&r[1]?(0,a.jsx)("div",{className:"text-sm mt-2 flex-wrap",children:r.map((e,s,t)=>s===r.length-1?(0,a.jsx)("a",{href:e.path,className:"text-slate-400 dark:text-slate-500 pointer-events-none",children:e.title},s):(0,a.jsxs)(n().Fragment,{children:[(0,a.jsx)("a",{href:e.path,className:"query-url",children:e.title}),(0,a.jsx)("span",{className:"opacity-20",children:"|"})]},s))}):(0,a.jsx)(n().Fragment,{})}},36605:(e,s,t)=>{t.d(s,{A:()=>x});var a=t(8732),r=t(82015),n=t.n(r);t(63715);var i=t(86152),l=t(32415),c=t(66916),o=t(66918),d=t(23293);function x(e){let[s,t]=n().useState(!0),[r,x]=n().useState(0),[m,h]=n().useState(0);return s?(0,a.jsx)("div",{className:"button ghost small-text",style:{height:"30px"},children:(0,a.jsx)(l.A,{width:"15px",position:"relative"})}):(0,a.jsx)(n().Fragment,{children:r?(0,a.jsxs)("div",{className:"button ghost small-text normal-weight p-0",style:{height:"30px",padding:0},onClick:e=>{t(!0),(0,i.A)().then(()=>{h(e=>e+1),t(!1)})},children:[s&&(0,a.jsx)(l.A,{width:"15px"}),(0,a.jsx)(c.A,{size:20,className:"text-slate-400 mr-[3px]"}),(0,a.jsx)("span",{className:"font-bold text-slate-700 dark:text-white",children:r&&r.toFixed(2)}),(0,a.jsx)("span",{className:"text-slate-500",children:"mb"}),(0,a.jsx)(o.A,{size:17,className:"text-slate-400",strokeWidth:2})]}):(0,a.jsxs)("span",{className:"text-sm info gray font-normal w-auto",children:[(0,a.jsx)(d.A,{}),(0,a.jsx)("span",{children:"No Disk Usage Data Available Yet"})]})})}},20048:(e,s,t)=>{t(81630);let a=t(67216),r=t(77463),n=t(29021),i=t(6505);async function l(e,s,t,l){let{keyCookieName:c,csrfCookieName:o}=i();if(!e.cookies?.[c]?.match(/./))return null;let d=r({encryptedString:e.cookies[c]});if(!d)return null;let x=JSON.parse(d);if(!x.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${x.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${m}/${x.csrf_k}`))return null;if(0==x.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${x.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return x?.date&&Date.now()-x.date>6048e5?null:x}e.exports=l},86152:(e,s,t)=>{t.d(s,{A:()=>r});var a=t(63715);async function r(){let e=await (0,a.A)("/api/getDiskUsage");localStorage.setItem("disk_usage",e.total)}},72377:e=>{e.exports=function(e,s){return s?e?.id&&String(e?.id)==(process.env.DSQL_SU_USER_ID||"1")&&"true":e?.id&&"1"==String(e?.id)&&"true"}},95222:(e,s,t)=>{t.d(s,{A:()=>N});var a=t(8732),r=t(82015),n=t.n(r),i=t(27912),l=t.n(i);t(64699);var c=t(93353),o=t(52070),d=t(34637),x=t(83158),m=t(25294),h=t(92441),u=t(29743),p=t(10643),j=t(10321),g=t(72377),f=t.n(g);function v({user:e}){let[s,t]=n().useState(!0);return(0,a.jsxs)("aside",{className:"aside"+(s?" mobile-collapsed":" mobile-expanded"),children:[(0,a.jsx)(c.A,{adminAside:!0,collapseAsideMobile:s,setCollapseAsideMobile:t}),(0,a.jsx)("hr",{className:"opacity-0 mt-4"}),(0,a.jsxs)("div",{className:"main-links"+(s?" hidden lg:flex":" "),children:[(0,a.jsxs)("a",{href:"/admin","data-currentlink":"/admin","data-strictlink":"true",children:[(0,a.jsx)(o.A,{size:20}),(0,a.jsx)("span",{children:"Dashboard"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/databases`,"data-currentlink":`/admin/${e?.id}/databases`,children:[(0,a.jsx)(d.A,{size:20}),(0,a.jsx)("span",{children:"Databases"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/media`,"data-currentlink":`/admin/${e?.id}/media`,children:[(0,a.jsx)(x.A,{size:20}),(0,a.jsx)("span",{children:"Media"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/users`,"data-currentlink":`/admin/${e?.id}/users`,children:[(0,a.jsx)(m.A,{size:20}),(0,a.jsx)("span",{children:"Users"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/schema`,"data-currentlink":`/admin/${e?.id}/schema`,children:[(0,a.jsx)(h.A,{size:20}),(0,a.jsx)("span",{children:"Schema"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/api-keys`,"data-currentlink":`/admin/${e?.id}/api-keys`,children:[(0,a.jsx)(u.A,{size:20}),(0,a.jsx)("span",{children:"API Keys"})]}),(0,a.jsxs)("a",{href:`/admin/${e?.id}/connect`,"data-currentlink":`/admin/${e?.id}/connect`,children:[(0,a.jsx)(p.A,{size:20}),(0,a.jsx)("span",{children:"Connect"})]}),f()(e)&&(0,a.jsx)(n().Fragment,{children:(0,a.jsxs)("a",{href:"/su","data-currentlink":"/su",children:[(0,a.jsx)(j.A,{size:20}),(0,a.jsx)("span",{children:"Super Admin User"})]})}),(0,a.jsx)("hr",{className:"opacity-80"}),(0,a.jsxs)("div",{className:"flex-col gap-0 items-start w-full",children:[(0,a.jsx)("a",{href:`/admin/${e?.id}/settings`,"data-currentlink":`/admin/${e?.id}/settings`,children:(0,a.jsx)("span",{children:"Settings"})}),(0,a.jsx)("a",{href:"/docs","data-currentlink":"/docs",target:"_blank",children:(0,a.jsx)("span",{children:"Documentation"})}),(0,a.jsx)("a",{href:"/logout","data-currentlink":"/logout",children:(0,a.jsx)("span",{children:"Logout"})})]})]})]})}t(20681);var _=t(49538);function S({user:e,extraHeaderContent:s}){let[t,r]=n().useState(e||null);return(0,a.jsx)("section",{className:"overflow-visible w-full px-0 md:px-8 py-0 flex justify-center bg-white dark:bg-slate-800 shadow-lg gap-4 dark:shadow-black/10 shadow-slate-900/5 relative z-[100]",style:{zIndex:700,border:"none"},children:(0,a.jsxs)("div",{className:"w-full items-center justify-between gap-4 md:gap-8",children:[(0,a.jsxs)("div",{className:"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 px-4 xl:px-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto bg-white xl:bg-transparent pb-10 xl:pb-0",id:"main-nav-content-wrapper",children:[(0,a.jsxs)("div",{className:"items-center mb-2 flex xl:hidden",children:[(0,a.jsx)("a",{href:"/",className:"hidden xl:flex",children:(0,a.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37})}),(0,a.jsx)("button",{className:"outlined gray ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{border:"none"},children:(0,a.jsx)("span",{className:"font-semibold text-4xl",children:"✕"})})]}),(0,a.jsxs)("div",{className:"flex items-center w-full gap-6 grow flex-col xl:flex-row justify-start xl:justify-between",children:[(0,a.jsx)("div",{className:"gap-6",children:s}),(0,a.jsx)(_.A,{activeUser:t})]})]}),(0,a.jsxs)("button",{className:"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all ml-auto",onClick:e=>{let s=document.getElementById("main-nav-content-wrapper");s?.classList.toggle("hidden")},style:{minWidth:"50px",backgroundColor:"transparent"},id:"main-header-hamburger-button","aria-label":"Mobile Hambutget Button",children:[(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,a.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"})]})]})})}t(54896);var y=t(36605);function N({children:e,head:s,user:t,productionEnvironment:r,extraHeaderContent:i,aceEditor:o}){return i||(i=(0,a.jsx)(y.A,{})),(0,a.jsxs)(n().Fragment,{children:[(0,a.jsxs)(l(),{children:[s,(0,a.jsxs)(n().Fragment,{children:[(0,a.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ace.min.js",integrity:"sha512-q6CTB0jS+VuJnSct82rVcWlI06LGzNjaG3CWenHWVUncRvc4UQMFkA3a5Ip880xr+lBx38FcHDclOxPdSg+sBw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"}),(0,a.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ext-language_tools.min.js",integrity:"sha512-6g6cvocV7eT/J8L44lL8gJKqq9onqQeYGgJO0DmrsYFcCfRl6wYkYA/KHS768r4QVTB4JxsCcMQ9gIezxpTCZw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"})]})]}),(0,a.jsxs)("div",{className:"admin w-full flex items-start gap-0",children:[(0,a.jsx)(v,{user:t}),(0,a.jsxs)("main",{className:"relative",children:[(0,a.jsx)(S,{user:t,extraHeaderContent:i}),(0,a.jsx)("div",{className:"admin-content relative z-10",children:e}),(0,a.jsx)("footer",{className:"flex justify-center w-full items-center p-4",children:(0,a.jsxs)("div",{className:"max-w-6xl w-full justify-center flex-wrap",children:[(0,a.jsx)("div",{className:"flex items-center gap-2 scale-75",children:(0,a.jsx)(c.A,{})}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsxs)("span",{className:"text-sm text-slate-400 dark:text-slate-600 text-center",children:[new Date().getFullYear()," \xa9 Datasquirel. All rights reserved."]}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/docs",children:"Docs"}),(0,a.jsx)("span",{className:"opacity-25",children:"|"}),(0,a.jsx)("a",{href:"/terms",children:"Terms"})]})})]})]})]})}t(63715),t(28133)},6505:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=s;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let l=s;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=a;let c=s;return e?.userId&&(c+=`user_${e.userId}_`),n&&(c+=`${n}_`),{keyCookieName:i,csrfCookieName:l,oneTimeCodeName:c+=r}}},77463:(e,s,t)=>{let{scryptSync:a,createDecipheriv:r}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=s||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=r("aes-192-cbc",a(i,l,c),n.alloc(16,0));try{let s=o.update(e,"hex","utf8");return s+=o.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},67216:(e,s,t)=>{let a=t(9973),r=t(31976),n=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()}});async function i(...e){try{let s=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,s,t)=>{let a=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let s=`${e}/ca-cert.pem`;if(!a.existsSync(s)){console.log(`${s} does not exist`);return}return{ca:a.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,s,t)=>{t.r(s),t.d(s,{default:()=>n});var a=t(8732);t(82015);var r=t(20883);function n(e){return(0,a.jsxs)(r.Html,{lang:"en",children:[(0,a.jsxs)(r.Head,{children:[(0,a.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,a.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,a.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,a.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,a.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,a.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,a.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,a.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,a.jsxs)("body",{children:[(0,a.jsx)(r.Main,{}),(0,a.jsx)(r.NextScript,{})]})]})}}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/8540.js b/dsql-app/.local_dist/server/chunks/8540.js index 2218b36..c02cc49 100644 --- a/dsql-app/.local_dist/server/chunks/8540.js +++ b/dsql-app/.local_dist/server/chunks/8540.js @@ -1,16 +1,16 @@ -"use strict";exports.id=8540,exports.ids=[8540],exports.modules={77619:(e,t,r)=>{let a=r(29021),l=r(72835);e.exports=({key:e,database:t,table:r,user_id:n})=>{if(!e||!n)return null;try{let s=process.env.DSQL_API_KEYS_PATH;if(!s)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=l({encryptedString:e}),o=JSON.parse(i||""),u=a.existsSync(`${s}/${o.sign}`);if(String(o.user_id)!==String(n)||!u)return null;if(!o.target_database)return o;if(!t&&o.target_database)return null;let c=o.target_database?.split(",").includes(String(t));if(c&&!o.target_table)return o;if(c&&!r&&o.target_table)return null;if(o.target_table?.split(",").includes(String(r)))return o;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},64122:(e,t,r)=>{let a=r(51348),l=r(21339),n=r(44900);async function s({dbContext:e,paradigm:t,dbFullName:r,tableName:s,identifierColumnName:i,identifierValue:o,useLocal:u}){try{let c=!!u||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),d=u?n:c?a:l,p=`DELETE FROM ${s} WHERE \`${i}\`=?`;return c?await d(p,[o]):await d({paradigm:t,queryString:p,database:r,queryValues:[o]})}catch(e){return null}}e.exports=s},8238:(e,t,r)=>{r(29021),r(44900);let a=r(94709),l=r(96064),n=r(48225),s=r(47670),i=r(33364),o=r(64122);r(6061);let u=r(33872);async function c({dbFullName:e,query:t,readOnly:r,dbSchema:c,queryValuesArray:d,tableName:p,local:m}){let g,f,y;if(c)try{let e=p||("string"==typeof t?null:t?t?.table:null);if(!e)throw Error("No table name provided");y=c.tables.filter(t=>t?.tableName===e)[0]}catch(e){}try{if("string"==typeof t){let n=u(t);if(r&&n.match(/^alter|^delete|information_schema|^create/i))throw Error("Wrong Input!");g=r?await l({queryString:n,queryValuesArray:d?.map(e=>String(e)),database:e,tableSchema:y,useLocal:m}):await a({queryString:n,queryValuesArray:d?.map(e=>String(e)),database:e,tableSchema:y,local:m})}else if("object"==typeof t){let{data:r,action:a,table:l,identifierColumnName:n,identifierValue:u,update:c,duplicateColumnName:d,duplicateColumnValue:p}=t;switch(a.toLowerCase()){case"insert":g=await s({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,data:r,update:c,duplicateColumnName:d,duplicateColumnValue:p,tableSchema:y,useLocal:m}),g?.insertId||(f=Error("Couldn't insert data"));break;case"update":g=await i({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,data:r,identifierColumnName:n,identifierValue:u,tableSchema:y,useLocal:m});break;case"delete":g=await o({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,identifierColumnName:n,identifierValue:u,tableSchema:y,useLocal:m});break;default:g=null}}}catch(e){n({component:"functions/backend/runQuery",message:e.message}),g=null,e=e.message}return{result:g,error:f}}e.exports=c},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},94709:(e,t,r)=>{let a=r(21339),l=r(44900),n=r(6061),s=r(48225);e.exports=async function({queryString:e,database:t,tableSchema:r,queryValuesArray:i,local:o}){let u;try{u=o?await l(e,i):await a({paradigm:"Full Access",database:t,queryString:e,queryValues:i})}catch(e){return s({component:"fullAccessDbHandler",message:e.message}),e.message}if(u&&r){let e=u;return await n({unparsedResults:e,tableSchema:r})}return u||null}},6061:(e,t,r)=>{let a=r(72835),l=r(30003);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let n=0;n",t.message),e}}},48225:(e,t,r)=>{let a=r(29021),{IncomingMessage:l}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:l,req:n}){let s=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],r=n.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],l=r||a||t||n.socket.remoteAddress;if(!l)return null;return String(l)}catch(e){return null}})();try{let l=`🚀 SERVER ERROR =========================== +"use strict";exports.id=8540,exports.ids=[8540],exports.modules={77619:(e,t,r)=>{let a=r(29021),l=r(72835);e.exports=({key:e,database:t,table:r,user_id:s,media:n})=>{if(!e||!s)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=l({encryptedString:e}),c=JSON.parse(o||""),u=a.existsSync(`${i}/${c.sign}`);if(String(c.user_id)!==String(s)||!u)return null;if(!c.target_database||n)return c;if(!t&&c.target_database)return null;let d=c.target_database?.split(",").includes(String(t));if(d&&!c.target_table)return c;if(d&&!r&&c.target_table)return null;if(c.target_table?.split(",").includes(String(r)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},64122:(e,t,r)=>{let a=r(51348),l=r(21339),s=r(44900);async function n({dbContext:e,paradigm:t,dbFullName:r,tableName:n,identifierColumnName:i,identifierValue:o,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),d=c?s:u?a:l,p=`DELETE FROM ${n} WHERE \`${i}\`=?`;return u?await d(p,[o]):await d({paradigm:t,queryString:p,database:r,queryValues:[o]})}catch(e){return null}}e.exports=n},8238:(e,t,r)=>{r(29021),r(44900);let a=r(94709),l=r(96064),s=r(48225),n=r(47670),i=r(33364),o=r(64122);r(6061);let c=r(33872);async function u({dbFullName:e,query:t,readOnly:r,dbSchema:u,queryValuesArray:d,tableName:p,local:m}){let g,f,y;if(u)try{let e=p||("string"==typeof t?null:t?t?.table:null);if(!e)throw Error("No table name provided");y=u.tables.filter(t=>t?.tableName===e)[0]}catch(e){}try{if("string"==typeof t){let s=c(t);if(r&&s.match(/^alter|^delete|information_schema|^create/i))throw Error("Wrong Input!");g=r?await l({queryString:s,queryValuesArray:d?.map(e=>String(e)),database:e,tableSchema:y,useLocal:m}):await a({queryString:s,queryValuesArray:d?.map(e=>String(e)),database:e,tableSchema:y,local:m})}else if("object"==typeof t){let{data:r,action:a,table:l,identifierColumnName:s,identifierValue:c,update:u,duplicateColumnName:d,duplicateColumnValue:p}=t;switch(a.toLowerCase()){case"insert":g=await n({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,data:r,update:u,duplicateColumnName:d,duplicateColumnValue:p,tableSchema:y,useLocal:m}),g?.insertId||(f=Error("Couldn't insert data"));break;case"update":g=await i({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,data:r,identifierColumnName:s,identifierValue:c,tableSchema:y,useLocal:m});break;case"delete":g=await o({dbContext:m?"Master":"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:l,identifierColumnName:s,identifierValue:c,tableSchema:y,useLocal:m});break;default:g=null}}}catch(e){s({component:"functions/backend/runQuery",message:e.message}),g=null,e=e.message}return{result:g,error:f}}e.exports=u},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},94709:(e,t,r)=>{let a=r(21339),l=r(44900),s=r(6061),n=r(48225);e.exports=async function({queryString:e,database:t,tableSchema:r,queryValuesArray:i,local:o}){let c;try{c=o?await l(e,i):await a({paradigm:"Full Access",database:t,queryString:e,queryValues:i})}catch(e){return n({component:"fullAccessDbHandler",message:e.message}),e.message}if(c&&r){let e=c;return await s({unparsedResults:e,tableSchema:r})}return c||null}},6061:(e,t,r)=>{let a=r(72835),l=r(30003);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let s=0;s",t.message),e}}},48225:(e,t,r)=>{let a=r(29021),{IncomingMessage:l}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:l,req:s}){let n=new Date,i=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],t=s.headers["x-real-ip"],r=s.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],l=r||a||t||s.socket.remoteAddress;if(!l)return null;return String(l)}catch(e){return null}})();try{let l=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(l+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),n?.url&&(l+=` -URL: ${n.url}`),n?.body&&(l+=` -Request Body: ${JSON.stringify(n.body,null,4)}`),i&&(l+=` +User Email: ${e?.email}`),s?.url&&(l+=` +URL: ${s.url}`),s?.body&&(l+=` +Request Body: ${JSON.stringify(s.body,null,4)}`),i&&(l+=` IP: ${i}`),l+=` -Date: ${s.toDateString()} +Date: ${n.toDateString()} ========================================`,a.existsSync("./.tmp/error.log")||a.writeFileSync("./.tmp/error.log","","utf-8");let o=a.readFileSync("./.tmp/error.log","utf-8");a.writeFileSync("./.tmp/error.log",l),a.appendFileSync("./.tmp/error.log",` -${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},96064:(e,t,r)=>{r(29021);let a=r(48225),l=r(6061),n=r(21339),s=r(44900);e.exports=async function({queryString:e,database:t,queryValuesArray:r,tableSchema:i,useLocal:o}){let u;try{u=o?await s(e,r):await n({paradigm:"Read Only",database:t,queryString:e,queryValues:r})}catch(e){return a({component:"varReadOnlyDatabaseDbHandler",message:e.message,noMail:!0}),e.message}if(!u)return null;{let e=u;return await l({unparsedResults:e,tableSchema:i})}}},72835:(e,t,r)=>{let{scryptSync:a,createDecipheriv:l}=r(55511),{Buffer:n}=r(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let s=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!s?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=l("aes-192-cbc",a(s,i,o),n.alloc(16,0));try{let t=u.update(e,"hex","utf8");return t+=u.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},33872:(e,t,r)=>{r(55591),r(81630),e.exports=function(e){return e.replace(/\n|\r|\n\r|\r\n/gm," ").replace(/ {2,}/g," ").trim()}}}; \ No newline at end of file +${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},96064:(e,t,r)=>{r(29021);let a=r(48225),l=r(6061),s=r(21339),n=r(44900);e.exports=async function({queryString:e,database:t,queryValuesArray:r,tableSchema:i,useLocal:o}){let c;try{c=o?await n(e,r):await s({paradigm:"Read Only",database:t,queryString:e,queryValues:r})}catch(e){return a({component:"varReadOnlyDatabaseDbHandler",message:e.message,noMail:!0}),e.message}if(!c)return null;{let e=c;return await l({unparsedResults:e,tableSchema:i})}}},72835:(e,t,r)=>{let{scryptSync:a,createDecipheriv:l}=r(55511),{Buffer:s}=r(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=l("aes-192-cbc",a(n,i,o),s.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},33872:(e,t,r)=>{r(55591),r(81630),e.exports=function(e){return e.replace(/\n|\r|\n\r|\r\n/gm," ").replace(/ {2,}/g," ").trim()}}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/middleware-build-manifest.js b/dsql-app/.local_dist/server/middleware-build-manifest.js index b439362..b4b6ac1 100644 --- a/dsql-app/.local_dist/server/middleware-build-manifest.js +++ b/dsql-app/.local_dist/server/middleware-build-manifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9654-a0de90f5592a8262.js","static/css/60c48dd4b3301227.css","static/chunks/pages/index-55aca6f5ee5ea4e8.js"],"/404":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/404-1eace598915739ef.js"],"/500":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/500-f40435ff099c3bec.js"],"/_app":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/css/59f9d939bb2b7c23.css","static/chunks/pages/_app-946b7f00d529ca86.js"],"/_error":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/_error-133b121cd6670ef3.js"],"/about":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9654-a0de90f5592a8262.js","static/chunks/pages/about-35029bb377afcb90.js"],"/admin":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/pages/admin-efa0744f5c14dc87.js"],"/admin/[user_id]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/pages/admin/[user_id]-7a323a8952bfcc9e.js"],"/admin/[user_id]/api-keys":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/api-keys-10d23e12f43ee561.js"],"/admin/[user_id]/connect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/connect-66673e414574a977.js"],"/admin/[user_id]/databases":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/pages/admin/[user_id]/databases-6b7a3f30d592000d.js"],"/admin/[user_id]/databases/[single]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/pages/admin/[user_id]/databases/[single]-206058876b1ace39.js"],"/admin/[user_id]/databases/[single]/connect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/pages/admin/[user_id]/databases/[single]/connect-f0141d41d59a8f0e.js"],"/admin/[user_id]/databases/[single]/edit-database":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-e87026abaf4b078f.js"],"/admin/[user_id]/databases/[single]/schema":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/[single]/schema-fb8cddee9e1002a6.js"],"/admin/[user_id]/databases/[single]/shell":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/pages/admin/[user_id]/databases/[single]/shell-80b1f573d72d1634.js"],"/admin/[user_id]/databases/[single]/tables":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables-fee85f3157ecd3ac.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-941e5c22e7c7ea7e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-d8262158ddb6bfc2.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ed4516e967a3f21e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-380611fd56aa33ad.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/8779-930a59d1d1a1be5c.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8d261204cffa33a9.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/fields":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-f27e3bf388dde87e.js"],"/admin/[user_id]/databases/[single]/tables/add-table":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-008870712dd389f8.js"],"/admin/[user_id]/databases/[single]/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/databases/[single]/users-de4848c05fe0d9e2.js"],"/admin/[user_id]/databases/[single]/users/[user]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-817858a3ef1cccd2.js"],"/admin/[user_id]/databases/[single]/users/[user]/change-password":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-04a47157d95b361b.js"],"/admin/[user_id]/databases/[single]/users/add-social-logins":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-660f9e475f68c717.js"],"/admin/[user_id]/databases/[single]/users/add-user":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-18b8b63b1ba1c13d.js"],"/admin/[user_id]/databases/add-database":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/add-database-fa3778d6e9bfcc7e.js"],"/admin/[user_id]/media":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js"],"/admin/[user_id]/media/[...folder]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js"],"/admin/[user_id]/schema":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/schema-22f39a31e6fc9598.js"],"/admin/[user_id]/settings":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/pages/admin/[user_id]/settings-5a657bc8977fb7f7.js"],"/admin/[user_id]/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users-aac983ecf3e16d3a.js"],"/admin/[user_id]/users/add-user":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/users/add-user-b34fda15345c38b4.js"],"/admin/[user_id]/users/databases":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users/databases-431cac8ade89240c.js"],"/admin/[user_id]/users/databases/[database]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users/databases/[database]-1e40897f0a25cd14.js"],"/admin/[user_id]/users/databases/[database]/[user]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-2da2075136778947.js"],"/blog":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/blog-86a57f87f960d208.js"],"/contact":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/contact-cd1dacd74efe270e.js"],"/create-account":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/pages/create-account-93cce1fe65377589.js"],"/docs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs-21d1067cb26803ef.js"],"/docs/[page]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs/[page]-f26a582ab816687d.js"],"/docs/[page]/[sub-page]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs/[page]/[sub-page]-d986893c235e6d5b.js"],"/email-verification":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/email-verification-b622c0527271a373.js"],"/login":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/pages/login-4cd0b4a8e9124058.js"],"/logout":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/logout-b8a4207f3314e897.js"],"/privacy":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/privacy-85269bae0ca39885.js"],"/redirect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/redirect-f5ba2244ad574804.js"],"/reset-password":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/pages/reset-password-bf3706a70e969a34.js"],"/send-password-reset-link":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/send-password-reset-link-40c349141dc68707.js"],"/su":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su-aef540ca8a9d0d26.js"],"/su/backups":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/backups-515e155cc25fc6e2.js"],"/su/console":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/ed150ef9-468dbc55986083e4.js","static/chunks/2793-2960a1457850c87f.js","static/chunks/2016-d9bbef83b5278263.js","static/css/85fa6dafca566008.css","static/chunks/pages/su/console-b4070a91c4a61e92.js"],"/su/docs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/5165-f1a837469292e394.js","static/chunks/pages/su/docs-2d31693f0537ec1b.js"],"/su/docs/create-page":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/create-page-e5da0607ae76879e.js"],"/su/docs/edit-page":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/edit-page-19991b2455a27bda.js"],"/su/docs/pages":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/5165-f1a837469292e394.js","static/chunks/pages/su/docs/pages-09cc22003ca2977d.js"],"/su/docs/pages/[id]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/pages/[id]-aa63805a266c145f.js"],"/su/envar":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/envar-cf23a0d85f1b95f7.js"],"/su/error-logs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/error-logs-bd760a695db3aa94.js"],"/su/load-balancing":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/load-balancing-0968f396408769a2.js"],"/su/login":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/su/login-9f0c33ff7a724b80.js"],"/su/servers":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/servers-9c5cb37918bc40b1.js"],"/su/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/users-bb0e572a5ae16760.js"],"/su/users/[single]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/pages/su/users/[single]-77865aec8f94f04d.js"],"/su/users/new":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/users/new-7f43159b182edbb0.js"],"/terms":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/terms-02b626fbae43ff93.js"],"/unsubscribe":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/unsubscribe-60eb94424d6846c1.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"]; \ No newline at end of file +self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:[],rootMainFilesTree:{},pages:{"/":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9654-a0de90f5592a8262.js","static/css/60c48dd4b3301227.css","static/chunks/pages/index-55aca6f5ee5ea4e8.js"],"/404":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/404-1eace598915739ef.js"],"/500":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/500-f40435ff099c3bec.js"],"/_app":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/css/40a7197d287e4ac0.css","static/chunks/pages/_app-946b7f00d529ca86.js"],"/_error":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/_error-133b121cd6670ef3.js"],"/about":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9654-a0de90f5592a8262.js","static/chunks/pages/about-35029bb377afcb90.js"],"/admin":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/pages/admin-efa0744f5c14dc87.js"],"/admin/[user_id]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/pages/admin/[user_id]-7a323a8952bfcc9e.js"],"/admin/[user_id]/api-keys":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/api-keys-10d23e12f43ee561.js"],"/admin/[user_id]/connect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/connect-66673e414574a977.js"],"/admin/[user_id]/databases":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/pages/admin/[user_id]/databases-6b7a3f30d592000d.js"],"/admin/[user_id]/databases/[single]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/pages/admin/[user_id]/databases/[single]-206058876b1ace39.js"],"/admin/[user_id]/databases/[single]/connect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/pages/admin/[user_id]/databases/[single]/connect-f0141d41d59a8f0e.js"],"/admin/[user_id]/databases/[single]/edit-database":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-e87026abaf4b078f.js"],"/admin/[user_id]/databases/[single]/schema":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/[single]/schema-fb8cddee9e1002a6.js"],"/admin/[user_id]/databases/[single]/shell":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/pages/admin/[user_id]/databases/[single]/shell-80b1f573d72d1634.js"],"/admin/[user_id]/databases/[single]/tables":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables-fee85f3157ecd3ac.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-941e5c22e7c7ea7e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-d8262158ddb6bfc2.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ed4516e967a3f21e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-380611fd56aa33ad.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/8779-930a59d1d1a1be5c.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/2163-2888548322298e53.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8d261204cffa33a9.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/fields":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-f27e3bf388dde87e.js"],"/admin/[user_id]/databases/[single]/tables/add-table":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-008870712dd389f8.js"],"/admin/[user_id]/databases/[single]/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/databases/[single]/users-de4848c05fe0d9e2.js"],"/admin/[user_id]/databases/[single]/users/[user]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-817858a3ef1cccd2.js"],"/admin/[user_id]/databases/[single]/users/[user]/change-password":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-04a47157d95b361b.js"],"/admin/[user_id]/databases/[single]/users/add-social-logins":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-660f9e475f68c717.js"],"/admin/[user_id]/databases/[single]/users/add-user":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-18b8b63b1ba1c13d.js"],"/admin/[user_id]/databases/add-database":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/pages/admin/[user_id]/databases/add-database-fa3778d6e9bfcc7e.js"],"/admin/[user_id]/media":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js"],"/admin/[user_id]/media/[...folder]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js"],"/admin/[user_id]/schema":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/schema-22f39a31e6fc9598.js"],"/admin/[user_id]/settings":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/9799-abc615966398fac4.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/pages/admin/[user_id]/settings-5a657bc8977fb7f7.js"],"/admin/[user_id]/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users-aac983ecf3e16d3a.js"],"/admin/[user_id]/users/add-user":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/pages/admin/[user_id]/users/add-user-b34fda15345c38b4.js"],"/admin/[user_id]/users/databases":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users/databases-431cac8ade89240c.js"],"/admin/[user_id]/users/databases/[database]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/pages/admin/[user_id]/users/databases/[database]-1e40897f0a25cd14.js"],"/admin/[user_id]/users/databases/[database]/[user]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9799-abc615966398fac4.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-2da2075136778947.js"],"/blog":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/blog-86a57f87f960d208.js"],"/contact":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/contact-cd1dacd74efe270e.js"],"/create-account":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/pages/create-account-93cce1fe65377589.js"],"/docs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs-21d1067cb26803ef.js"],"/docs/[page]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs/[page]-f26a582ab816687d.js"],"/docs/[page]/[sub-page]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/docs/[page]/[sub-page]-d986893c235e6d5b.js"],"/email-verification":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/email-verification-b622c0527271a373.js"],"/login":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/pages/login-4cd0b4a8e9124058.js"],"/logout":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/logout-b8a4207f3314e897.js"],"/privacy":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/privacy-85269bae0ca39885.js"],"/redirect":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/redirect-f5ba2244ad574804.js"],"/reset-password":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/pages/reset-password-bf3706a70e969a34.js"],"/send-password-reset-link":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/send-password-reset-link-40c349141dc68707.js"],"/su":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su-aef540ca8a9d0d26.js"],"/su/backups":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/backups-515e155cc25fc6e2.js"],"/su/console":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/ed150ef9-468dbc55986083e4.js","static/chunks/2793-2960a1457850c87f.js","static/chunks/2016-d9bbef83b5278263.js","static/css/85fa6dafca566008.css","static/chunks/pages/su/console-b4070a91c4a61e92.js"],"/su/docs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/5165-f1a837469292e394.js","static/chunks/pages/su/docs-2d31693f0537ec1b.js"],"/su/docs/create-page":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/create-page-e5da0607ae76879e.js"],"/su/docs/edit-page":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/edit-page-19991b2455a27bda.js"],"/su/docs/pages":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/5165-f1a837469292e394.js","static/chunks/pages/su/docs/pages-09cc22003ca2977d.js"],"/su/docs/pages/[id]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/1391-727762e25412e6d0.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/6803-fe4ad60e4db387da.js","static/chunks/pages/su/docs/pages/[id]-aa63805a266c145f.js"],"/su/envar":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/envar-cf23a0d85f1b95f7.js"],"/su/error-logs":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/error-logs-bd760a695db3aa94.js"],"/su/load-balancing":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/load-balancing-0968f396408769a2.js"],"/su/login":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/su/login-9f0c33ff7a724b80.js"],"/su/servers":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/servers-9c5cb37918bc40b1.js"],"/su/users":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/users-bb0e572a5ae16760.js"],"/su/users/[single]":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/8717-aea4be023740276e.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/pages/su/users/[single]-77865aec8f94f04d.js"],"/su/users/new":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/pages/su/users/new-7f43159b182edbb0.js"],"/terms":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/terms-02b626fbae43ff93.js"],"/unsubscribe":["static/chunks/webpack-5381863dc66a9c32.js","static/chunks/framework-898697981b1ca118.js","static/chunks/main-36f93e1764e6ea94.js","static/chunks/pages/unsubscribe-60eb94424d6846c1.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"]; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages-manifest.json b/dsql-app/.local_dist/server/pages-manifest.json index f15a5e0..936ccd6 100644 --- a/dsql-app/.local_dist/server/pages-manifest.json +++ b/dsql-app/.local_dist/server/pages-manifest.json @@ -1 +1 @@ -{"/_error":"pages/_error.js","/_document":"pages/_document.js","/404":"pages/404.html","/500":"pages/500.html","/api/addAdminUserUser":"pages/api/addAdminUserUser.js","/api/addApiKey":"pages/api/addApiKey.js","/api/acceptUserInvitation":"pages/api/acceptUserInvitation.js","/api/addNewMediaFolder":"pages/api/addNewMediaFolder.js","/api/addDbUser":"pages/api/addDbUser.js","/api/addTableEntry":"pages/api/addTableEntry.js","/api/addSocialLogin":"pages/api/addSocialLogin.js","/api/addUsersTableToDatabase":"pages/api/addUsersTableToDatabase.js","/api/addUserUser":"pages/api/addUserUser.js","/api/addUserTable":"pages/api/addUserTable.js","/api/admin/addUserBackup":"pages/api/admin/addUserBackup.js","/api/admin/clearErrorLogs":"pages/api/admin/clearErrorLogs.js","/api/admin/createNewBackup":"pages/api/admin/createNewBackup.js","/api/admin/clientError":"pages/api/admin/clientError.js","/api/admin/docs/[action]":"pages/api/admin/docs/[action].js","/api/admin/getTablesForUserDatabase":"pages/api/admin/getTablesForUserDatabase.js","/api/admin/getUserBackups":"pages/api/admin/getUserBackups.js","/api/admin/grabBackups":"pages/api/admin/grabBackups.js","/api/admin/getUserData":"pages/api/admin/getUserData.js","/api/admin/grabErrorLogs":"pages/api/admin/grabErrorLogs.js","/api/admin/grabFile":"pages/api/admin/grabFile.js","/api/admin/runUserDbQuery":"pages/api/admin/runUserDbQuery.js","/api/admin/updateEnv":"pages/api/admin/updateEnv.js","/api/changeDbUserPassword":"pages/api/changeDbUserPassword.js","/api/checkDuplicateData":"pages/api/checkDuplicateData.js","/api/admin/loginSuUser":"pages/api/admin/loginSuUser.js","/api/checkExistingFolder":"pages/api/checkExistingFolder.js","/api/clientSideAuth":"pages/api/clientSideAuth.js","/api/connect/disconnect":"pages/api/connect/disconnect.js","/api/connect/handshake":"pages/api/connect/handshake.js","/api/connect/verify":"pages/api/connect/verify.js","/api/connect":"pages/api/connect.js","/api/contact":"pages/api/contact.js","/api/deleteDbUser":"pages/api/deleteDbUser.js","/api/deleteApiKey":"pages/api/deleteApiKey.js","/api/deleteInvitation":"pages/api/deleteInvitation.js","/api/createUserDatabase":"pages/api/createUserDatabase.js","/api/deleteTableEntry":"pages/api/deleteTableEntry.js","/api/deleteUser":"pages/api/deleteUser.js","/api/deleteUserDatabase":"pages/api/deleteUserDatabase.js","/api/deleteUserMedia":"pages/api/deleteUserMedia.js","/api/deleteUserTable":"pages/api/deleteUserTable.js","/api/deleteUserUser":"pages/api/deleteUserUser.js","/api/downloadDatabaseSchema":"pages/api/downloadDatabaseSchema.js","/api/deleteMediaFolder":"pages/api/deleteMediaFolder.js","/api/exportDatabase":"pages/api/exportDatabase.js","/api/get-authorized-databases":"pages/api/get-authorized-databases.js","/api/getDatabaseTables":"pages/api/getDatabaseTables.js","/api/fetch-entries-basic":"pages/api/fetch-entries-basic.js","/api/getDelegatedDatabaseToken":"pages/api/getDelegatedDatabaseToken.js","/api/getDiskUsage":"pages/api/getDiskUsage.js","/api/getUserDatabases":"pages/api/getUserDatabases.js","/api/getDelegatedDatabases":"pages/api/getDelegatedDatabases.js","/api/getUserDatabaseTables":"pages/api/getUserDatabaseTables.js","/api/getUserMedia":"pages/api/getUserMedia.js","/api/getUserSchemaData":"pages/api/getUserSchemaData.js","/api/importDatabase":"pages/api/importDatabase.js","/api/healthcheck":"pages/api/healthcheck.js","/api/importDatabaseSchema":"pages/api/importDatabaseSchema.js","/api/infiniteScroll":"pages/api/infiniteScroll.js","/api/loginUser":"pages/api/loginUser.js","/api/media/addPrivateMedia":"pages/api/media/addPrivateMedia.js","/api/media/getPrivateMedia":"pages/api/media/getPrivateMedia.js","/api/logoutUser":"pages/api/logoutUser.js","/api/purgeDb":"pages/api/purgeDb.js","/api/query/[user_id]/get-schema":"pages/api/query/[user_id]/get-schema.js","/api/query/[user_id]/get":"pages/api/query/[user_id]/get.js","/api/queryEntriesSearchTerm":"pages/api/queryEntriesSearchTerm.js","/api/query/[user_id]/update-schema-from-single-database":"pages/api/query/[user_id]/update-schema-from-single-database.js","/api/reAuthenticateUser":"pages/api/reAuthenticateUser.js","/api/registerUser":"pages/api/registerUser.js","/api/refreshEntry":"pages/api/refreshEntry.js","/api/renameMedia":"pages/api/renameMedia.js","/api/resetDelegatedDatabaseToken":"pages/api/resetDelegatedDatabaseToken.js","/api/resetPassword":"pages/api/resetPassword.js","/api/runUserDbQuery":"pages/api/runUserDbQuery.js","/api/sendPasswordResetLink":"pages/api/sendPasswordResetLink.js","/api/sendEmailVerificationLink":"pages/api/sendEmailVerificationLink.js","/api/social-login/google-auth":"pages/api/social-login/google-auth.js","/api/social-login/facebook-auth":"pages/api/social-login/facebook-auth.js","/api/social-login/utils/checkEmail":"pages/api/social-login/utils/checkEmail.js","/api/social-login/utils/getEmailFromSocialId":"pages/api/social-login/utils/getEmailFromSocialId.js","/api/social-login/utils/checkSocialId":"pages/api/social-login/utils/checkSocialId.js","/api/sql-users/create":"pages/api/sql-users/create.js","/api/social-login/github-auth":"pages/api/social-login/github-auth.js","/api/sql-users/delete":"pages/api/sql-users/delete.js","/api/sql-users/update":"pages/api/sql-users/update.js","/api/stream/[path]":"pages/api/stream/[path].js","/api/sync-table-data":"pages/api/sync-table-data.js","/api/unsubscribe":"pages/api/unsubscribe.js","/api/test/mail":"pages/api/test/mail.js","/api/test/cors":"pages/api/test/cors.js","/api/updateAdminUserAccess":"pages/api/updateAdminUserAccess.js","/api/updateClonedTableForeignKeys":"pages/api/updateClonedTableForeignKeys.js","/api/updateDbSchemaDataForUser":"pages/api/updateDbSchemaDataForUser.js","/api/updateDbUser":"pages/api/updateDbUser.js","/api/updateTableEntry":"pages/api/updateTableEntry.js","/api/updateUser":"pages/api/updateUser.js","/api/updateUserDatabase":"pages/api/updateUserDatabase.js","/api/updateUserTable":"pages/api/updateUserTable.js","/api/updateUserUser":"pages/api/updateUserUser.js","/api/user-schema/replace-database-schema":"pages/api/user-schema/replace-database-schema.js","/api/user/[user_id]/delete-user":"pages/api/user/[user_id]/delete-user.js","/api/user/[user_id]/add-user":"pages/api/user/[user_id]/add-user.js","/api/user/[user_id]/get-user":"pages/api/user/[user_id]/get-user.js","/api/user/[user_id]/github-login":"pages/api/user/[user_id]/github-login.js","/api/user/[user_id]/login-user":"pages/api/user/[user_id]/login-user.js","/api/user/[user_id]/google-login":"pages/api/user/[user_id]/google-login.js","/api/user/[user_id]/grab-google-user-from-token":"pages/api/user/[user_id]/grab-google-user-from-token.js","/api/user/[user_id]/reauth-user":"pages/api/user/[user_id]/reauth-user.js","/api/user/[user_id]/send-email-code":"pages/api/user/[user_id]/send-email-code.js","/api/user/[user_id]/update-user":"pages/api/user/[user_id]/update-user.js","/api/webhooks/github-push":"pages/api/webhooks/github-push.js","/_app":"pages/_app.js","/about":"pages/about.html","/admin/[user_id]/api-keys":"pages/admin/[user_id]/api-keys.js","/admin/[user_id]/connect":"pages/admin/[user_id]/connect.js","/admin/[user_id]/databases/[single]/connect":"pages/admin/[user_id]/databases/[single]/connect.js","/admin/[user_id]/databases/[single]/edit-database":"pages/admin/[user_id]/databases/[single]/edit-database.js","/admin/[user_id]/databases/[single]/shell":"pages/admin/[user_id]/databases/[single]/shell.js","/admin/[user_id]/databases/[single]":"pages/admin/[user_id]/databases/[single].js","/admin/[user_id]/databases/[single]/schema":"pages/admin/[user_id]/databases/[single]/schema.js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js","/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js","/admin/[user_id]/databases/[single]/tables/[single_table]/fields":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js","/admin/[user_id]/databases/[single]/tables/[single_table]":"pages/admin/[user_id]/databases/[single]/tables/[single_table].js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js","/admin/[user_id]/databases/[single]/users/[user]/change-password":"pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js","/admin/[user_id]/databases/[single]/tables/add-table":"pages/admin/[user_id]/databases/[single]/tables/add-table.js","/admin/[user_id]/databases/[single]/tables":"pages/admin/[user_id]/databases/[single]/tables.js","/admin/[user_id]/databases/[single]/users/[user]":"pages/admin/[user_id]/databases/[single]/users/[user].js","/admin/[user_id]/databases/[single]/users/add-social-logins":"pages/admin/[user_id]/databases/[single]/users/add-social-logins.js","/admin/[user_id]/databases/[single]/users/add-user":"pages/admin/[user_id]/databases/[single]/users/add-user.js","/admin/[user_id]/databases":"pages/admin/[user_id]/databases.js","/admin/[user_id]/databases/[single]/users":"pages/admin/[user_id]/databases/[single]/users.js","/admin/[user_id]/databases/add-database":"pages/admin/[user_id]/databases/add-database.js","/admin/[user_id]":"pages/admin/[user_id].js","/admin/[user_id]/settings":"pages/admin/[user_id]/settings.js","/admin/[user_id]/users/add-user":"pages/admin/[user_id]/users/add-user.js","/admin/[user_id]/media":"pages/admin/[user_id]/media.js","/admin/[user_id]/media/[...folder]":"pages/admin/[user_id]/media/[...folder].js","/admin/[user_id]/schema":"pages/admin/[user_id]/schema.js","/admin/[user_id]/users/databases/[database]/[user]":"pages/admin/[user_id]/users/databases/[database]/[user].js","/admin/[user_id]/users/databases/[database]":"pages/admin/[user_id]/users/databases/[database].js","/admin/[user_id]/users/databases":"pages/admin/[user_id]/users/databases.js","/admin/[user_id]/users":"pages/admin/[user_id]/users.js","/admin":"pages/admin.js","/api/addUserMedia":"pages/api/addUserMedia.js","/api/exportTableData":"pages/api/exportTableData.js","/api/fetch-media":"pages/api/fetch-media.js","/api/query/[user_id]/add-file":"pages/api/query/[user_id]/add-file.js","/api/query/[user_id]/get-private-file":"pages/api/query/[user_id]/get-private-file.js","/api/query/[user_id]/add-image":"pages/api/query/[user_id]/add-image.js","/api/query/[user_id]/post":"pages/api/query/[user_id]/post.js","/api/query/[user_id]/delete-file":"pages/api/query/[user_id]/delete-file.js","/blog":"pages/blog.html","/contact":"pages/contact.html","/docs":"pages/docs.js","/docs/[page]":"pages/docs/[page].js","/login":"pages/login.js","/":"pages/index.html","/docs/[page]/[sub-page]":"pages/docs/[page]/[sub-page].js","/create-account":"pages/create-account.js","/privacy":"pages/privacy.html","/logout":"pages/logout.js","/email-verification":"pages/email-verification.js","/redirect":"pages/redirect.html","/su/backups":"pages/su/backups.js","/send-password-reset-link":"pages/send-password-reset-link.js","/su/docs/create-page":"pages/su/docs/create-page.js","/su/console":"pages/su/console.js","/su/docs/edit-page":"pages/su/docs/edit-page.js","/reset-password":"pages/reset-password.js","/su/docs":"pages/su/docs.js","/su/error-logs":"pages/su/error-logs.js","/su/envar":"pages/su/envar.js","/su/docs/pages":"pages/su/docs/pages.js","/su/docs/pages/[id]":"pages/su/docs/pages/[id].js","/su/load-balancing":"pages/su/load-balancing.js","/su":"pages/su.js","/su/servers":"pages/su/servers.js","/su/users/[single]":"pages/su/users/[single].js","/su/users":"pages/su/users.js","/su/users/new":"pages/su/users/new.js","/terms":"pages/terms.html","/unsubscribe":"pages/unsubscribe.js","/su/login":"pages/su/login.js"} \ No newline at end of file +{"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/":"pages/index.html","/admin/[user_id]":"pages/admin/[user_id].js","/admin/[user_id]/media":"pages/admin/[user_id]/media.js","/admin/[user_id]/media/[...folder]":"pages/admin/[user_id]/media/[...folder].js","/api/getDiskUsage":"pages/api/getDiskUsage.js","/404":"pages/404.html","/500":"pages/500.html","/api/acceptUserInvitation":"pages/api/acceptUserInvitation.js","/api/addAdminUserUser":"pages/api/addAdminUserUser.js","/api/addApiKey":"pages/api/addApiKey.js","/api/addNewMediaFolder":"pages/api/addNewMediaFolder.js","/api/addDbUser":"pages/api/addDbUser.js","/api/addSocialLogin":"pages/api/addSocialLogin.js","/api/addUserTable":"pages/api/addUserTable.js","/api/addTableEntry":"pages/api/addTableEntry.js","/api/addUserUser":"pages/api/addUserUser.js","/api/addUsersTableToDatabase":"pages/api/addUsersTableToDatabase.js","/api/admin/clientError":"pages/api/admin/clientError.js","/api/admin/clearErrorLogs":"pages/api/admin/clearErrorLogs.js","/api/admin/addUserBackup":"pages/api/admin/addUserBackup.js","/api/admin/createNewBackup":"pages/api/admin/createNewBackup.js","/api/admin/getTablesForUserDatabase":"pages/api/admin/getTablesForUserDatabase.js","/api/admin/docs/[action]":"pages/api/admin/docs/[action].js","/api/admin/getUserBackups":"pages/api/admin/getUserBackups.js","/api/admin/getUserData":"pages/api/admin/getUserData.js","/api/admin/grabBackups":"pages/api/admin/grabBackups.js","/api/admin/grabErrorLogs":"pages/api/admin/grabErrorLogs.js","/api/admin/runUserDbQuery":"pages/api/admin/runUserDbQuery.js","/api/admin/grabFile":"pages/api/admin/grabFile.js","/api/admin/updateEnv":"pages/api/admin/updateEnv.js","/api/admin/loginSuUser":"pages/api/admin/loginSuUser.js","/api/changeDbUserPassword":"pages/api/changeDbUserPassword.js","/api/checkDuplicateData":"pages/api/checkDuplicateData.js","/api/checkExistingFolder":"pages/api/checkExistingFolder.js","/api/clientSideAuth":"pages/api/clientSideAuth.js","/api/connect/handshake":"pages/api/connect/handshake.js","/api/connect/disconnect":"pages/api/connect/disconnect.js","/api/connect":"pages/api/connect.js","/api/connect/verify":"pages/api/connect/verify.js","/api/contact":"pages/api/contact.js","/api/createUserDatabase":"pages/api/createUserDatabase.js","/api/deleteApiKey":"pages/api/deleteApiKey.js","/api/deleteDbUser":"pages/api/deleteDbUser.js","/api/deleteInvitation":"pages/api/deleteInvitation.js","/api/deleteTableEntry":"pages/api/deleteTableEntry.js","/api/deleteMediaFolder":"pages/api/deleteMediaFolder.js","/api/deleteUser":"pages/api/deleteUser.js","/api/deleteUserDatabase":"pages/api/deleteUserDatabase.js","/api/deleteUserMedia":"pages/api/deleteUserMedia.js","/api/deleteUserTable":"pages/api/deleteUserTable.js","/api/deleteUserUser":"pages/api/deleteUserUser.js","/api/downloadDatabaseSchema":"pages/api/downloadDatabaseSchema.js","/api/exportDatabase":"pages/api/exportDatabase.js","/api/fetch-entries-basic":"pages/api/fetch-entries-basic.js","/api/get-authorized-databases":"pages/api/get-authorized-databases.js","/api/getDatabaseTables":"pages/api/getDatabaseTables.js","/api/getDelegatedDatabaseToken":"pages/api/getDelegatedDatabaseToken.js","/api/getDelegatedDatabases":"pages/api/getDelegatedDatabases.js","/api/getUserDatabaseTables":"pages/api/getUserDatabaseTables.js","/api/getUserDatabases":"pages/api/getUserDatabases.js","/api/getUserMedia":"pages/api/getUserMedia.js","/api/getUserSchemaData":"pages/api/getUserSchemaData.js","/api/healthcheck":"pages/api/healthcheck.js","/api/importDatabase":"pages/api/importDatabase.js","/api/importDatabaseSchema":"pages/api/importDatabaseSchema.js","/api/infiniteScroll":"pages/api/infiniteScroll.js","/api/logoutUser":"pages/api/logoutUser.js","/api/loginUser":"pages/api/loginUser.js","/api/media/addPrivateMedia":"pages/api/media/addPrivateMedia.js","/api/media/getPrivateMedia":"pages/api/media/getPrivateMedia.js","/api/purgeDb":"pages/api/purgeDb.js","/api/query/[user_id]/get":"pages/api/query/[user_id]/get.js","/api/query/[user_id]/get-schema":"pages/api/query/[user_id]/get-schema.js","/api/queryEntriesSearchTerm":"pages/api/queryEntriesSearchTerm.js","/api/query/[user_id]/update-schema-from-single-database":"pages/api/query/[user_id]/update-schema-from-single-database.js","/api/reAuthenticateUser":"pages/api/reAuthenticateUser.js","/api/registerUser":"pages/api/registerUser.js","/api/refreshEntry":"pages/api/refreshEntry.js","/api/renameMedia":"pages/api/renameMedia.js","/api/resetDelegatedDatabaseToken":"pages/api/resetDelegatedDatabaseToken.js","/api/resetPassword":"pages/api/resetPassword.js","/api/runUserDbQuery":"pages/api/runUserDbQuery.js","/api/sendEmailVerificationLink":"pages/api/sendEmailVerificationLink.js","/api/sendPasswordResetLink":"pages/api/sendPasswordResetLink.js","/api/social-login/facebook-auth":"pages/api/social-login/facebook-auth.js","/api/social-login/github-auth":"pages/api/social-login/github-auth.js","/api/social-login/google-auth":"pages/api/social-login/google-auth.js","/api/social-login/utils/checkEmail":"pages/api/social-login/utils/checkEmail.js","/api/social-login/utils/getEmailFromSocialId":"pages/api/social-login/utils/getEmailFromSocialId.js","/api/social-login/utils/checkSocialId":"pages/api/social-login/utils/checkSocialId.js","/api/sql-users/create":"pages/api/sql-users/create.js","/api/sql-users/delete":"pages/api/sql-users/delete.js","/api/sql-users/update":"pages/api/sql-users/update.js","/api/stream/[path]":"pages/api/stream/[path].js","/api/sync-table-data":"pages/api/sync-table-data.js","/api/unsubscribe":"pages/api/unsubscribe.js","/api/test/mail":"pages/api/test/mail.js","/api/updateAdminUserAccess":"pages/api/updateAdminUserAccess.js","/api/test/cors":"pages/api/test/cors.js","/api/updateClonedTableForeignKeys":"pages/api/updateClonedTableForeignKeys.js","/api/updateDbSchemaDataForUser":"pages/api/updateDbSchemaDataForUser.js","/api/updateDbUser":"pages/api/updateDbUser.js","/api/updateTableEntry":"pages/api/updateTableEntry.js","/api/updateUser":"pages/api/updateUser.js","/api/updateUserDatabase":"pages/api/updateUserDatabase.js","/api/updateUserUser":"pages/api/updateUserUser.js","/api/updateUserTable":"pages/api/updateUserTable.js","/api/user-schema/replace-database-schema":"pages/api/user-schema/replace-database-schema.js","/api/user/[user_id]/add-user":"pages/api/user/[user_id]/add-user.js","/api/user/[user_id]/delete-user":"pages/api/user/[user_id]/delete-user.js","/api/user/[user_id]/get-user":"pages/api/user/[user_id]/get-user.js","/api/user/[user_id]/github-login":"pages/api/user/[user_id]/github-login.js","/api/user/[user_id]/google-login":"pages/api/user/[user_id]/google-login.js","/api/user/[user_id]/grab-google-user-from-token":"pages/api/user/[user_id]/grab-google-user-from-token.js","/api/user/[user_id]/login-user":"pages/api/user/[user_id]/login-user.js","/api/user/[user_id]/reauth-user":"pages/api/user/[user_id]/reauth-user.js","/api/user/[user_id]/send-email-code":"pages/api/user/[user_id]/send-email-code.js","/api/user/[user_id]/update-user":"pages/api/user/[user_id]/update-user.js","/api/webhooks/github-push":"pages/api/webhooks/github-push.js","/admin/[user_id]/api-keys":"pages/admin/[user_id]/api-keys.js","/about":"pages/about.html","/admin/[user_id]/databases/[single]/edit-database":"pages/admin/[user_id]/databases/[single]/edit-database.js","/admin/[user_id]/databases/[single]/connect":"pages/admin/[user_id]/databases/[single]/connect.js","/admin/[user_id]/connect":"pages/admin/[user_id]/connect.js","/admin/[user_id]/databases/[single]":"pages/admin/[user_id]/databases/[single].js","/admin/[user_id]/databases/[single]/schema":"pages/admin/[user_id]/databases/[single]/schema.js","/admin/[user_id]/databases/[single]/shell":"pages/admin/[user_id]/databases/[single]/shell.js","/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js","/admin/[user_id]/databases/[single]/tables/[single_table]/entries":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js","/admin/[user_id]/databases/[single]/tables/[single_table]":"pages/admin/[user_id]/databases/[single]/tables/[single_table].js","/admin/[user_id]/databases/[single]/tables/[single_table]/fields":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js","/admin/[user_id]/databases/[single]/users/[user]/change-password":"pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js","/admin/[user_id]/databases/[single]/tables":"pages/admin/[user_id]/databases/[single]/tables.js","/admin/[user_id]/databases/[single]/tables/add-table":"pages/admin/[user_id]/databases/[single]/tables/add-table.js","/admin/[user_id]/databases/[single]/users/add-social-logins":"pages/admin/[user_id]/databases/[single]/users/add-social-logins.js","/admin/[user_id]/databases/[single]/users/[user]":"pages/admin/[user_id]/databases/[single]/users/[user].js","/admin/[user_id]/databases/[single]/users/add-user":"pages/admin/[user_id]/databases/[single]/users/add-user.js","/admin/[user_id]/databases/add-database":"pages/admin/[user_id]/databases/add-database.js","/admin/[user_id]/databases":"pages/admin/[user_id]/databases.js","/admin/[user_id]/databases/[single]/users":"pages/admin/[user_id]/databases/[single]/users.js","/admin/[user_id]/settings":"pages/admin/[user_id]/settings.js","/admin/[user_id]/schema":"pages/admin/[user_id]/schema.js","/admin/[user_id]/users/add-user":"pages/admin/[user_id]/users/add-user.js","/admin/[user_id]/users/databases/[database]/[user]":"pages/admin/[user_id]/users/databases/[database]/[user].js","/admin/[user_id]/users/databases/[database]":"pages/admin/[user_id]/users/databases/[database].js","/admin/[user_id]/users/databases":"pages/admin/[user_id]/users/databases.js","/admin/[user_id]/users":"pages/admin/[user_id]/users.js","/admin":"pages/admin.js","/api/addUserMedia":"pages/api/addUserMedia.js","/api/exportTableData":"pages/api/exportTableData.js","/api/fetch-media":"pages/api/fetch-media.js","/api/query/[user_id]/add-image":"pages/api/query/[user_id]/add-image.js","/api/query/[user_id]/get-private-file":"pages/api/query/[user_id]/get-private-file.js","/api/query/[user_id]/delete-file":"pages/api/query/[user_id]/delete-file.js","/api/query/[user_id]/add-file":"pages/api/query/[user_id]/add-file.js","/api/query/[user_id]/post":"pages/api/query/[user_id]/post.js","/blog":"pages/blog.html","/contact":"pages/contact.html","/docs":"pages/docs.js","/docs/[page]":"pages/docs/[page].js","/create-account":"pages/create-account.js","/email-verification":"pages/email-verification.js","/logout":"pages/logout.js","/login":"pages/login.js","/privacy":"pages/privacy.html","/docs/[page]/[sub-page]":"pages/docs/[page]/[sub-page].js","/redirect":"pages/redirect.html","/su/console":"pages/su/console.js","/su/backups":"pages/su/backups.js","/send-password-reset-link":"pages/send-password-reset-link.js","/su/docs/create-page":"pages/su/docs/create-page.js","/su/docs/edit-page":"pages/su/docs/edit-page.js","/su/docs":"pages/su/docs.js","/su/docs/pages/[id]":"pages/su/docs/pages/[id].js","/su/docs/pages":"pages/su/docs/pages.js","/reset-password":"pages/reset-password.js","/su/envar":"pages/su/envar.js","/su/error-logs":"pages/su/error-logs.js","/su/load-balancing":"pages/su/load-balancing.js","/su":"pages/su.js","/su/servers":"pages/su/servers.js","/su/users/[single]":"pages/su/users/[single].js","/su/login":"pages/su/login.js","/su/users":"pages/su/users.js","/su/users/new":"pages/su/users/new.js","/terms":"pages/terms.html","/unsubscribe":"pages/unsubscribe.js"} \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/404.html b/dsql-app/.local_dist/server/pages/404.html index c0dae11..8d38649 100644 --- a/dsql-app/.local_dist/server/pages/404.html +++ b/dsql-app/.local_dist/server/pages/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/500.html b/dsql-app/.local_dist/server/pages/500.html index 355fedc..71273f7 100644 --- a/dsql-app/.local_dist/server/pages/500.html +++ b/dsql-app/.local_dist/server/pages/500.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/about.html b/dsql-app/.local_dist/server/pages/about.html index 66535bf..dab9b31 100644 --- a/dsql-app/.local_dist/server/pages/about.html +++ b/dsql-app/.local_dist/server/pages/about.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/connect.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/connect.js index f1dac47..ebab5cb 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/connect.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/connect.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7552,e.ids=[7552],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,a){return a in t?t[a]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,a)):"function"==typeof t&&"default"===a?t:void 0}}})},78725:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>y,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>p,getStaticProps:()=>h,reportWebVitals:()=>x,routeModule:()=>A,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>b,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>f});var r=a(63865),n=a(9455),l=a(30671),i=a(49407),o=a(89600),c=a(16905),d=e([c]);c=(d.then?(await d)():d)[0];let u=(0,l.M)(c,"default"),h=(0,l.M)(c,"getStaticProps"),p=(0,l.M)(c,"getStaticPaths"),m=(0,l.M)(c,"getServerSideProps"),y=(0,l.M)(c,"config"),x=(0,l.M)(c,"reportWebVitals"),f=(0,l.M)(c,"unstable_getStaticProps"),g=(0,l.M)(c,"unstable_getStaticPaths"),b=(0,l.M)(c,"unstable_getStaticParams"),S=(0,l.M)(c,"unstable_getServerProps"),v=(0,l.M)(c,"unstable_getServerSideProps"),A=new r.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/connect",pathname:"/admin/[user_id]/databases/[single]/connect",bundlePath:"",filename:""},components:{App:o.default,Document:i.default},userland:c});s()}catch(e){s(e)}})},85019:(e,t,a)=>{a.d(t,{A:()=>u});var s=a(8732),r=a(82015),n=a.n(r),l=a(13737),i=a(32415),o=a(43656),c=a(63715),d=a(51548);function u({database:e,targetDbSchema:t,user:a}){let[r,d]=n().useState(!1),[u,p]=n().useState(!1),[m,y]=n().useState("pull"),[x,f]=n().useState(null);return r&&x?(0,s.jsx)(h,{payload:x,setConnectPayload:f,setIsValid:d,user:a}):(0,s.jsxs)("form",{onSubmit:a=>{(function({e,setLoading:t,database:a,type:s,targetDbSchema:r,setIsValid:n,setConnectPayload:l}){e.preventDefault();let i=e.target;t(!0);let o={url:i["remote-address"].value,key:i["remote-key"].value,database:a,dbSchema:r,type:s};(0,c.A)("/api/connect/verify",{method:"POST",body:o},!0).then(e=>{e.success?(n(!0),l({...o,remoteDbs:e.payload})):(console.log(e),setTimeout(()=>{t(!1)},2e3))}).finally(()=>{setTimeout(()=>{t(!1)},2e3)})})({e:a,setLoading:p,database:e,type:m,targetDbSchema:t,setIsValid:d,setConnectPayload:f})},className:"w-full flex flex-col items-start justify-start gap-4 static",children:[u&&(0,s.jsx)(i.A,{}),m?.match(/pull/)?(0,s.jsx)("div",{className:"info warning",children:"NOTE: This will override your current Database Schema"}):(0,s.jsx)("div",{className:"info green",children:"NOTE: The remote database will be updated with this Database Info"}),(0,s.jsx)("span",{children:"This Feature links this current database to a remote database schema"}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-2 justify-start p-6 bg-slate-100 w-full rounded",children:[(0,s.jsx)("span",{className:"font-bold",children:"Select the connection type"}),(0,s.jsx)(o.A,{radioValues:[{title:"Pull",payload:"pull",default:!0},{title:"Push",payload:"push",default:!1}],flexRow:!0,onChangeHandler:e=>{y(e.target.value)},name:"type-radio"}),(0,s.jsxs)("div",{children:[m.match(/pull/i)&&(0,s.jsx)("span",{children:"A pull connection imposes the remote database on your current database"}),m.match(/push/i)&&(0,s.jsx)("span",{children:"A push connection imposes your current database to the remote"})]})]}),(0,s.jsx)(l.A,{placeholder:"Eg. https://domain.com",title:"Remote Origin Address",name:"remote-address",required:!0}),(0,s.jsx)(l.A,{placeholder:"Eg. ab81XFogyWe4yc51Agjve52cUQ5XW75m2hLFVzGeoDZT2ob6hC",title:"Remote API key (Full Access)",name:"remote-key",required:!0}),(0,s.jsx)("button",{className:"w-full",children:"Verify Remote"})]})}function h({payload:e,setConnectPayload:t,setIsValid:a,user:r}){let[l,o]=n().useState(!1);if(!e?.remoteDbs?.[0])return(0,s.jsx)("span",{children:"No Databases Available on this Remote server."});let u=e.remoteDbs;if(!u?.[0])return(0,s.jsx)("span",{children:"The only Database Available here is this current Database"});let[h,p]=n().useState(u[0]);return(0,s.jsxs)("form",{onSubmit:t=>{t.preventDefault(),window.confirm("Connect these Databases?")&&(o(!0),(0,c.A)("/api/connect/handshake",{method:"POST",body:{...e,targetDb:h}},!0).then(t=>{t.success?window.location.pathname=`/admin/${r?.id}/databases/${e.database.db_slug}`:(console.log(t),alert(t?.msg||"Something Went Wrong"))}).finally(()=>{setTimeout(()=>{o(!1)},1e3)}))},className:"w-full gap-4 flex flex-col items-start justify-start",children:[l&&(0,s.jsx)(i.A,{}),(0,s.jsxs)("h2",{className:"text-xl font-normal",children:["Select Database from"," ",(0,s.jsx)("b",{className:"text-black dark:text-white",children:e.url})," ","Remote Server"]}),(0,s.jsx)(d.A,{selectOptions:u.map(e=>({payload:e.dbFullName,title:e.dbName})),onChangeHandler:e=>{let t=e.target.value;if(t){let e=u.find(e=>e.dbFullName==t);e?p(e):alert("Failed to Select Target Database. Please reload the page and try again.")}}}),(0,s.jsxs)("span",{children:["Connection type:"," ",(0,s.jsx)("b",{className:"info inline small "+(e.type?.match(/pull/i)?"warning":"green"),children:e.type})]}),(0,s.jsx)("button",{className:"w-full",children:"Connect Database"}),(0,s.jsx)("div",{className:"button outlined gray w-full",onClick:e=>{a(!1),t(null)},children:"Reset"})]})}},52497:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),o=a(58548);a(63715);var c=a(16905),d=a(85019),u=e([c]);function h(e){let{database:t,user:a,targetDbSchema:s,query:n}=l().useContext(c.DatabaseConnectContext);if(!a)return null;try{return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:(0,r.jsxs)("span",{children:[t?.db_name," Database Connect"]})})]}),(0,r.jsx)(o.A,{user:a})]}),(0,r.jsx)("div",{className:"paper w-full",children:(0,r.jsxs)("div",{className:"flex max-w-5xl w-full flex-col items-start gap-4",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Connect External Database Schema"}),(0,r.jsx)(d.A,{database:t,targetDbSchema:s,user:a})]})})]})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Connect"})]})]}),(0,r.jsx)(o.A,{user:a})]}),(0,r.jsx)("section",{className:"card",children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Db connect unavailable at this time."})})]})}}c=(u.then?(await u)():u)[0],s()}catch(e){s(e)}})},43656:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(8732);function r({radioValues:e,name:t,onChangeHandler:a,setAlert:r,flexRow:n,labelColor:l,baseText:i,smallText:o,className:c}){try{return(0,s.jsx)("div",{className:"flex items-start gap-4 flex-wrap "+(n?"":" flex-col ")+(c||""),children:e.map((e,n)=>{let{payload:c,title:d,jsx:u}=e,h=!1===c?c:c||d||null;return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("input",{className:"m-0"+(i?" w-5 h-5":o?" w-4 h-4":" w-6 h-6"),type:"radio",defaultChecked:!!e.default,name:t,id:t+"_"+h,onChange:t=>{r&&r(null),e.onChangeHandler?e.onChangeHandler(t):a&&a(t)},value:"string"==typeof h?h:void 0}),u||(0,s.jsx)("label",{htmlFor:t+"_"+h,className:"text-lg m-0 "+(l||"text-slate-800")+(i?" text-base":o?" text-sm":" text-lg"),children:d})]},n+1)})})}catch(e){return console.log("ERROR in FormRadio =>",e),(0,s.jsx)("div",{children:"Form Radio Error"})}}a(82015)},51548:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(58526);function n({selectOptions:e,name:t,onChangeHandler:a,required:n,setAlert:l,title:i,defaultValue:o,info:c,id:d}){try{function u(e){if(e.type.match(/enter/i)&&window.innerWidth<1200)return;let t=e.target.closest(".info-wrapper"),a=t.querySelector(".info-dropdown");if(e.type.match(/leave/i)&&!a.classList.contains("hidden")){a.classList.add("hidden");return}if(!(e.type.match(/leave/i)&&a.classList.contains("hidden"))){if(!t){a.classList.add("hidden");return}if(a.classList.contains("hidden")){a.classList.remove("hidden");return}a.classList.add("hidden")}}return(0,s.jsxs)("div",{className:"form-select-block flex items-start flex-col gap-0.5 w-full relative"+(c?" pr-8":""),children:[i&&(0,s.jsxs)("label",{htmlFor:t,children:[i,n?"":" (optional)"]}),(0,s.jsxs)("div",{className:"flex items-center w-full relative",children:[(0,s.jsx)("select",{name:t,id:d||t,className:"w-full bg-white",required:n,onChange:e=>{l&&l(null),e.target.classList.remove("warning"),a&&a(e)},defaultValue:o||void 0,children:e.map((e,t)=>{let{payload:a,title:r}=e;return(0,s.jsx)("option",{value:a,selected:!!e.default,children:r},t+1)})}),(0,s.jsx)(r.A,{className:"absolute right-2 text-base text-slate-500 pointer-events-none",size:20}),c&&(0,s.jsxs)("div",{className:"info-wrapper absolute -right-10 w-8 h-8 rounded-full bg-white flex items-center justify-center z-10",style:{top:"50%",transform:"translate(0,-50%)"},onMouseEnter:u,onMouseLeave:u,onClick:u,children:[(0,s.jsx)("img",{src:"/images/info-outlined-black.png",alt:"",className:"w-6 h-6 object-contain opacity-60 pointer-events-none"}),(0,s.jsx)("div",{className:"info-dropdown absolute top-9 right-0 bg-white w-52 md:w-96 p-2 sm:p-6 shadow-xl rounded hidden text-center border border-slate-300 border-solid",children:(0,s.jsx)("span",{children:c})}),(0,s.jsx)("div",{className:"absolute -top-2 w-12",style:{height:"45px"}})]})]})]})}catch(e){return console.log("ERROR in FormSelect =>",e),(0,s.jsx)("div",{children:"Form Select Error"})}}a(82015)},23293:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,a)=>{a.d(t,{A:()=>l});let s=a(22373),r=a(29021),n=a(33873);function l({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(t,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let n=0;n",t.message),e}}},22373:(e,t,a)=>{let s=a(29021),{IncomingMessage:r}=a(81630);e.exports=async function({user:e,message:t,component:a,noMail:r,req:n}){let l=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],a=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],r=a||s||t||n.socket.remoteAddress;if(!r)return null;return String(r)}catch(e){return null}})();try{let r=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7552,e.ids=[7552],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,a){return a in t?t[a]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,a)):"function"==typeof t&&"default"===a?t:void 0}}})},78725:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>y,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>p,getStaticProps:()=>h,reportWebVitals:()=>x,routeModule:()=>A,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>b,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>f});var r=a(63865),n=a(9455),l=a(30671),i=a(49407),o=a(89600),c=a(16905),d=e([c]);c=(d.then?(await d)():d)[0];let u=(0,l.M)(c,"default"),h=(0,l.M)(c,"getStaticProps"),p=(0,l.M)(c,"getStaticPaths"),m=(0,l.M)(c,"getServerSideProps"),y=(0,l.M)(c,"config"),x=(0,l.M)(c,"reportWebVitals"),f=(0,l.M)(c,"unstable_getStaticProps"),g=(0,l.M)(c,"unstable_getStaticPaths"),b=(0,l.M)(c,"unstable_getStaticParams"),S=(0,l.M)(c,"unstable_getServerProps"),v=(0,l.M)(c,"unstable_getServerSideProps"),A=new r.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/connect",pathname:"/admin/[user_id]/databases/[single]/connect",bundlePath:"",filename:""},components:{App:o.default,Document:i.default},userland:c});s()}catch(e){s(e)}})},85019:(e,t,a)=>{a.d(t,{A:()=>u});var s=a(8732),r=a(82015),n=a.n(r),l=a(13737),i=a(32415),o=a(43656),c=a(63715),d=a(51548);function u({database:e,targetDbSchema:t,user:a}){let[r,d]=n().useState(!1),[u,p]=n().useState(!1),[m,y]=n().useState("pull"),[x,f]=n().useState(null);return r&&x?(0,s.jsx)(h,{payload:x,setConnectPayload:f,setIsValid:d,user:a}):(0,s.jsxs)("form",{onSubmit:a=>{(function({e,setLoading:t,database:a,type:s,targetDbSchema:r,setIsValid:n,setConnectPayload:l}){e.preventDefault();let i=e.target;t(!0);let o={url:i["remote-address"].value,key:i["remote-key"].value,database:a,dbSchema:r,type:s};(0,c.A)("/api/connect/verify",{method:"POST",body:o},!0).then(e=>{e.success?(n(!0),l({...o,remoteDbs:e.payload})):(console.log(e),setTimeout(()=>{t(!1)},2e3))}).finally(()=>{setTimeout(()=>{t(!1)},2e3)})})({e:a,setLoading:p,database:e,type:m,targetDbSchema:t,setIsValid:d,setConnectPayload:f})},className:"w-full flex flex-col items-start justify-start gap-4 static",children:[u&&(0,s.jsx)(i.A,{}),m?.match(/pull/)?(0,s.jsx)("div",{className:"info warning",children:"NOTE: This will override your current Database Schema"}):(0,s.jsx)("div",{className:"info green",children:"NOTE: The remote database will be updated with this Database Info"}),(0,s.jsx)("span",{children:"This Feature links this current database to a remote database schema"}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-2 justify-start p-6 bg-slate-100 w-full rounded",children:[(0,s.jsx)("span",{className:"font-bold",children:"Select the connection type"}),(0,s.jsx)(o.A,{radioValues:[{title:"Pull",payload:"pull",default:!0},{title:"Push",payload:"push",default:!1}],flexRow:!0,onChangeHandler:e=>{y(e.target.value)},name:"type-radio"}),(0,s.jsxs)("div",{children:[m.match(/pull/i)&&(0,s.jsx)("span",{children:"A pull connection imposes the remote database on your current database"}),m.match(/push/i)&&(0,s.jsx)("span",{children:"A push connection imposes your current database to the remote"})]})]}),(0,s.jsx)(l.A,{placeholder:"Eg. https://domain.com",title:"Remote Origin Address",name:"remote-address",required:!0}),(0,s.jsx)(l.A,{placeholder:"Eg. ab81XFogyWe4yc51Agjve52cUQ5XW75m2hLFVzGeoDZT2ob6hC",title:"Remote API key (Full Access)",name:"remote-key",required:!0}),(0,s.jsx)("button",{className:"w-full",children:"Verify Remote"})]})}function h({payload:e,setConnectPayload:t,setIsValid:a,user:r}){let[l,o]=n().useState(!1);if(!e?.remoteDbs?.[0])return(0,s.jsx)("span",{children:"No Databases Available on this Remote server."});let u=e.remoteDbs;if(!u?.[0])return(0,s.jsx)("span",{children:"The only Database Available here is this current Database"});let[h,p]=n().useState(u[0]);return(0,s.jsxs)("form",{onSubmit:t=>{t.preventDefault(),window.confirm("Connect these Databases?")&&(o(!0),(0,c.A)("/api/connect/handshake",{method:"POST",body:{...e,targetDb:h}},!0).then(t=>{t.success?window.location.pathname=`/admin/${r?.id}/databases/${e.database.db_slug}`:(console.log(t),alert(t?.msg||"Something Went Wrong"))}).finally(()=>{setTimeout(()=>{o(!1)},1e3)}))},className:"w-full gap-4 flex flex-col items-start justify-start",children:[l&&(0,s.jsx)(i.A,{}),(0,s.jsxs)("h2",{className:"text-xl font-normal",children:["Select Database from"," ",(0,s.jsx)("b",{className:"text-black dark:text-white",children:e.url})," ","Remote Server"]}),(0,s.jsx)(d.A,{selectOptions:u.map(e=>({payload:e.dbFullName,title:e.dbName})),onChangeHandler:e=>{let t=e.target.value;if(t){let e=u.find(e=>e.dbFullName==t);e?p(e):alert("Failed to Select Target Database. Please reload the page and try again.")}}}),(0,s.jsxs)("span",{children:["Connection type:"," ",(0,s.jsx)("b",{className:"info inline small "+(e.type?.match(/pull/i)?"warning":"green"),children:e.type})]}),(0,s.jsx)("button",{className:"w-full",children:"Connect Database"}),(0,s.jsx)("div",{className:"button outlined gray w-full",onClick:e=>{a(!1),t(null)},children:"Reset"})]})}},52497:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),o=a(58548);a(63715);var c=a(16905),d=a(85019),u=e([c]);function h(e){let{database:t,user:a,targetDbSchema:s,query:n}=l().useContext(c.DatabaseConnectContext);if(!a)return null;try{return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:(0,r.jsxs)("span",{children:[t?.db_name," Database Connect"]})})]}),(0,r.jsx)(o.A,{user:a})]}),(0,r.jsx)("div",{className:"paper w-full",children:(0,r.jsxs)("div",{className:"flex max-w-5xl w-full flex-col items-start gap-4",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Connect External Database Schema"}),(0,r.jsx)(d.A,{database:t,targetDbSchema:s,user:a})]})})]})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Connect"})]})]}),(0,r.jsx)(o.A,{user:a})]}),(0,r.jsx)("section",{className:"card",children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Db connect unavailable at this time."})})]})}}c=(u.then?(await u)():u)[0],s()}catch(e){s(e)}})},43656:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(8732);function r({radioValues:e,name:t,onChangeHandler:a,setAlert:r,flexRow:n,labelColor:l,baseText:i,smallText:o,className:c}){try{return(0,s.jsx)("div",{className:"flex items-start gap-4 flex-wrap "+(n?"":" flex-col ")+(c||""),children:e.map((e,n)=>{let{payload:c,title:d,jsx:u}=e,h=!1===c?c:c||d||null;return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("input",{className:"m-0"+(i?" w-5 h-5":o?" w-4 h-4":" w-6 h-6"),type:"radio",defaultChecked:!!e.default,name:t,id:t+"_"+h,onChange:t=>{r&&r(null),e.onChangeHandler?e.onChangeHandler(t):a&&a(t)},value:"string"==typeof h?h:void 0}),u||(0,s.jsx)("label",{htmlFor:t+"_"+h,className:"text-lg m-0 "+(l||"text-slate-800")+(i?" text-base":o?" text-sm":" text-lg"),children:d})]},n+1)})})}catch(e){return console.log("ERROR in FormRadio =>",e),(0,s.jsx)("div",{children:"Form Radio Error"})}}a(82015)},51548:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(58526);function n({selectOptions:e,name:t,onChangeHandler:a,required:n,setAlert:l,title:i,defaultValue:o,info:c,id:d}){try{function u(e){if(e.type.match(/enter/i)&&window.innerWidth<1200)return;let t=e.target.closest(".info-wrapper"),a=t.querySelector(".info-dropdown");if(e.type.match(/leave/i)&&!a.classList.contains("hidden")){a.classList.add("hidden");return}if(!(e.type.match(/leave/i)&&a.classList.contains("hidden"))){if(!t){a.classList.add("hidden");return}if(a.classList.contains("hidden")){a.classList.remove("hidden");return}a.classList.add("hidden")}}return(0,s.jsxs)("div",{className:"form-select-block flex items-start flex-col gap-0.5 w-full relative"+(c?" pr-8":""),children:[i&&(0,s.jsxs)("label",{htmlFor:t,children:[i,n?"":" (optional)"]}),(0,s.jsxs)("div",{className:"flex items-center w-full relative",children:[(0,s.jsx)("select",{name:t,id:d||t,className:"w-full bg-white",required:n,onChange:e=>{l&&l(null),e.target.classList.remove("warning"),a&&a(e)},defaultValue:o||void 0,children:e.map((e,t)=>{let{payload:a,title:r}=e;return(0,s.jsx)("option",{value:a,selected:!!e.default,children:r},t+1)})}),(0,s.jsx)(r.A,{className:"absolute right-2 text-base text-slate-500 pointer-events-none",size:20}),c&&(0,s.jsxs)("div",{className:"info-wrapper absolute -right-10 w-8 h-8 rounded-full bg-white flex items-center justify-center z-10",style:{top:"50%",transform:"translate(0,-50%)"},onMouseEnter:u,onMouseLeave:u,onClick:u,children:[(0,s.jsx)("img",{src:"/images/info-outlined-black.png",alt:"",className:"w-6 h-6 object-contain opacity-60 pointer-events-none"}),(0,s.jsx)("div",{className:"info-dropdown absolute top-9 right-0 bg-white w-52 md:w-96 p-2 sm:p-6 shadow-xl rounded hidden text-center border border-slate-300 border-solid",children:(0,s.jsx)("span",{children:c})}),(0,s.jsx)("div",{className:"absolute -top-2 w-12",style:{height:"45px"}})]})]})]})}catch(e){return console.log("ERROR in FormSelect =>",e),(0,s.jsx)("div",{children:"Form Select Error"})}}a(82015)},23293:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,a)=>{let s=a(22373),r=a(29021),n=a(33873);e.exports=function({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(t,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let n=0;n",t.message),e}}},22373:(e,t,a)=>{let s=a(29021),{IncomingMessage:r}=a(81630);e.exports=async function({user:e,message:t,component:a,noMail:r,req:n}){let l=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],a=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],r=a||s||t||n.socket.remoteAddress;if(!r)return null;return String(r)}catch(e){return null}})();try{let r=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${a}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(r+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${l.toDateString()} -${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),n=a(67216),l=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:o,useLocal:c}){let d;let u=!!c||!!a?.match(/^datasquirel$/),h=c?i:u?n:l;try{d=e&&t&&Array.isArray(t)&&t[0]?u?await h(e,t):await h({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await h(e):await h({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(d&&o)try{let e=d;return await s({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(d)return d;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),n=a(31976),l=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((o,c)=>{let d=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),o(JSON.parse(JSON.stringify(e)))}function h(e){l.end(),o({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}l=d?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(a,i).then(u).catch(h):l.query(a).then(u).catch(h)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),o({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},16905:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{DatabaseConnectContext:()=>S,default:()=>g,getServerSideProps:()=>b});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),o=a(20048),c=a.n(o),d=a(64098),u=a(52497),h=a(93342),p=a(67216),m=a.n(p),y=a(90378),x=a.n(y),f=e([d,u]);[d,u]=f.then?(await f)():f;let S=l().createContext({});function g({user:e,database:t,query:a,targetDbSchema:s}){let n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Database Shell | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Database Shell"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/shell-page.css"})]});return(0,r.jsx)(i.A,{head:n,user:e,extraHeaderContent:(0,r.jsx)(d.A,{database:t,query:a,user:e}),aceEditor:!0,children:(0,r.jsx)(S.Provider,{value:{user:e,database:t,targetDbSchema:s,query:a},children:(0,r.jsx)(u.A,{})})})}async function b({req:e,res:t,query:a}){let s=await c()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await m()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);if(!r?.[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};if(1==Number(r[0].remote_connected))return{redirect:{destination:`/admin/${s?.id}/databases/${a.single}`,permanent:!1}};await x()({queryString:"SHOW TABLES",database:r[0].db_full_name});let n=(0,h.A)({userId:String(s.id)});if(!n?.[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let l=n.find(e=>e.dbFullName==r[0].db_full_name);return l?{props:{user:s,database:r[0],query:a,targetDbSchema:l}}:{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}}}s()}catch(e){s(e)}})},9455:(e,t)=>{var a;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(a||(a={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,5134,3737],()=>a(78725));module.exports=s})(); \ No newline at end of file +${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),n=a(67216),l=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:o,useLocal:c}){let d;let u=!!c||!!a?.match(/^datasquirel$/),h=c?i:u?n:l;try{d=e&&t&&Array.isArray(t)&&t[0]?u?await h(e,t):await h({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await h(e):await h({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(d&&o)try{let e=d;return await s({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(d)return d;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),n=a(31976),l=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((o,c)=>{let d=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),o(JSON.parse(JSON.stringify(e)))}function h(e){l.end(),o({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}l=d?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(a,i).then(u).catch(h):l.query(a).then(u).catch(h)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),o({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},16905:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{DatabaseConnectContext:()=>v,default:()=>b,getServerSideProps:()=>S});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),o=a(20048),c=a.n(o),d=a(64098),u=a(52497),h=a(93342),p=a.n(h),m=a(67216),y=a.n(m),x=a(90378),f=a.n(x),g=e([d,u]);[d,u]=g.then?(await g)():g;let v=l().createContext({});function b({user:e,database:t,query:a,targetDbSchema:s}){let n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Database Shell | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Database Shell"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/shell-page.css"})]});return(0,r.jsx)(i.A,{head:n,user:e,extraHeaderContent:(0,r.jsx)(d.A,{database:t,query:a,user:e}),aceEditor:!0,children:(0,r.jsx)(v.Provider,{value:{user:e,database:t,targetDbSchema:s,query:a},children:(0,r.jsx)(u.A,{})})})}async function S({req:e,res:t,query:a}){let s=await c()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await y()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);if(!r?.[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};if(1==Number(r[0].remote_connected))return{redirect:{destination:`/admin/${s?.id}/databases/${a.single}`,permanent:!1}};await f()({queryString:"SHOW TABLES",database:r[0].db_full_name});let n=p()({userId:String(s.id)});if(!n?.[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let l=n.find(e=>e.dbFullName==r[0].db_full_name);return l?{props:{user:s,database:r[0],query:a,targetDbSchema:l}}:{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}}}s()}catch(e){s(e)}})},9455:(e,t)=>{var a;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(a||(a={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,5134,3737],()=>a(78725));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/schema.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/schema.js index 91b82d3..c9b772f 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/schema.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/schema.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=8295,e.ids=[8295],e.modules={91489:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>x,default:()=>u,getServerSideProps:()=>p,getStaticPaths:()=>h,getStaticProps:()=>m,reportWebVitals:()=>g,routeModule:()=>y,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>f,unstable_getStaticProps:()=>b});var r=a(63865),n=a(9455),l=a(30671),i=a(49407),c=a(89600),d=a(14454),o=e([d]);d=(o.then?(await o)():o)[0];let u=(0,l.M)(d,"default"),m=(0,l.M)(d,"getStaticProps"),h=(0,l.M)(d,"getStaticPaths"),p=(0,l.M)(d,"getServerSideProps"),x=(0,l.M)(d,"config"),g=(0,l.M)(d,"reportWebVitals"),b=(0,l.M)(d,"unstable_getStaticProps"),f=(0,l.M)(d,"unstable_getStaticPaths"),j=(0,l.M)(d,"unstable_getStaticParams"),S=(0,l.M)(d,"unstable_getServerProps"),v=(0,l.M)(d,"unstable_getServerSideProps"),y=new r.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/schema",pathname:"/admin/[user_id]/databases/[single]/schema",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:d});s()}catch(e){s(e)}})},28545:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>S});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),c=a(58548),d=a(14591),o=a(14454);a(58403);var u=a(51548),m=a(61430),h=a(220);a(63715);var p=a(89788),x=a(86571);a(34844);var g=a(59621),b=a(56248),f=a.n(b),j=e([d,o,m,h,p,g]);function S(e){let{database:t,dbSchemaData:a,tables:s,user:n}=l().useContext(o.DatabaseSchemaContext);try{if(!a)return(0,r.jsx)("span",{children:"No Database Schema Found!"});let e=a.filter(e=>e.dbFullName===t?.db_full_name)[0],[s,d]=l().useState(e.tables),[o,h]=l().useState(null),[b,j]=l().useState(e);if(!t)return(0,r.jsx)("span",{children:"No Database Record Found"});return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),t.active_clone?(0,r.jsx)(x.A,{database:t,user:n}):(0,r.jsx)(r.Fragment,{}),t.remote_connected?(0,r.jsx)(g.p,{database:t}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)("section",{className:"paper",children:(0,r.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Database SCHEMA JSON"}),(0,r.jsx)("div",{children:s&&s[0]&&(0,r.jsx)(u.A,{required:!0,selectOptions:[{title:"All Tables",payload:"none"},...s.map((e,t)=>({title:e.tableFullName,payload:e.tableName,name:e.tableName}))],name:"database_tables",onChangeHandler:e=>{e.target.value?.match(/^none$/)?h(null):h(e.target.value)}})})]}),(0,r.jsx)(p.A,{content:f().stringify(b,null,4),readOnly:!0,options:{wrap:!0},wrapperProps:{className:"h-[60vh]"}})]})}),(0,r.jsx)(m.A,{})]})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name||null}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),(0,r.jsx)("section",{children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Error in generating Preview"})})]})}}[d,o,m,h,p,g]=j.then?(await j)():j,s()}catch(e){s(e)}})},220:(e,t,a)=>{a.a(e,async(e,t)=>{try{a(8732),a(82015);var s=a(14454),r=e([s]);s=(r.then?(await r)():r)[0],t()}catch(e){t(e)}})},61430:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>m});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),c=a(58548),d=a(14591),o=a(14454);a(58403),a(51548),a(63715);var u=e([d,o]);function m(e){let{database:t,dbSchemaData:a,tables:s,user:n}=l().useContext(o.DatabaseSchemaContext);try{return(0,r.jsx)("section",{className:"card",children:(0,r.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Database Tables"}),s&&s[0]&&s.map((e,t)=>(0,r.jsx)("div",{className:"card light-gray w-full",children:(0,r.jsx)("span",{children:e.tableSlug})},t+1))]})})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),(0,r.jsx)("section",{className:"card",children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Error in generating Tables Table"})})]})}}[d,o]=u.then?(await u)():u,s()}catch(e){s(e)}})},22622:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),n=a(82015),l=a.n(n),i=a(74157),c=a(46437),d=a(58548);a(55312);var o=a(14591),u=a(86571),m=e([i,o]);function h(e){let{database:t,user:a}=l().useContext(i.EditDatabaseContext);return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(c.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:["Edit"," ",(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name})]})]}),(0,r.jsx)(d.A,{user:a})]}),t?.active_clone&&a?(0,r.jsx)(u.A,{database:t,user:a}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(o.A,{})]})}[i,o]=m.then?(await m)():m,s()}catch(e){s(e)}})},14591:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>m});var r=a(8732),n=a(82015),l=a.n(n),i=a(32415),c=a(74157),d=a(56987),o=a(12042),u=e([c]);function m(e){let{user:t,dbImage:a,setDbImage:s,database:n}=l().useContext(c.EditDatabaseContext),[u,m]=l().useState(!1);return l().useRef(),(0,r.jsx)("section",{className:"paper",children:(0,r.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[u&&(0,r.jsx)(i.A,{}),(0,r.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,r.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),t&&a?(0,r.jsx)(d.A,{user:t,dbImage:a,setDbImage:s,database:n,setLoading:m}):(0,r.jsx)("span",{children:"No User and Database Image present"})]}),t&&a&&s?(0,r.jsx)(o.A,{user:t,dbImage:a,setDbImage:s,database:n}):(0,r.jsx)("span",{children:"Database Image could not be rendered"})]})})}c=(u.then?(await u)():u)[0],s()}catch(e){s(e)}})},84759:(e,t,a)=>{a.d(t,{A:()=>s});function s({editorHTMLElementRef:e,fieldObject:t,setRefresh:a,language:s="javascript",entry:r,jsonTextEditors:n,editorRef:l,readOnly:i,initialContent:c,options:d}){try{if(!ace?.edit||!e.current){console.log("Ace Editor not found!"),setTimeout(()=>{a?.(e=>e+1)},1e3);return}let o=ace.edit(e.current);o.setOptions({mode:"ace/mode/"+s,value:c||(t?.defaultValue?t.defaultValue:t?.fieldName&&r?.[t.fieldName]?(()=>{if("json"!==s)return r[t.fieldName];try{return JSON.stringify(JSON.parse(r[t.fieldName]),null,4)}catch(e){return r[t.fieldName]}})():""),placeholder:"json"==s?"{}":"",enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,readOnly:i,...d}),l&&t?.fieldName&&(n?.current.push({fieldName:t.fieldName,ref:l}),l.current=o);try{ace.require("ace/ext/beautify").beautify(o.session)}catch(e){}}catch(e){console.log("JSON Editor ERROR =>",e.message)}}},51548:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(58526);function n({selectOptions:e,name:t,onChangeHandler:a,required:n,setAlert:l,title:i,defaultValue:c,info:d,id:o}){try{function u(e){if(e.type.match(/enter/i)&&window.innerWidth<1200)return;let t=e.target.closest(".info-wrapper"),a=t.querySelector(".info-dropdown");if(e.type.match(/leave/i)&&!a.classList.contains("hidden")){a.classList.add("hidden");return}if(!(e.type.match(/leave/i)&&a.classList.contains("hidden"))){if(!t){a.classList.add("hidden");return}if(a.classList.contains("hidden")){a.classList.remove("hidden");return}a.classList.add("hidden")}}return(0,s.jsxs)("div",{className:"form-select-block flex items-start flex-col gap-0.5 w-full relative"+(d?" pr-8":""),children:[i&&(0,s.jsxs)("label",{htmlFor:t,children:[i,n?"":" (optional)"]}),(0,s.jsxs)("div",{className:"flex items-center w-full relative",children:[(0,s.jsx)("select",{name:t,id:o||t,className:"w-full bg-white",required:n,onChange:e=>{l&&l(null),e.target.classList.remove("warning"),a&&a(e)},defaultValue:c||void 0,children:e.map((e,t)=>{let{payload:a,title:r}=e;return(0,s.jsx)("option",{value:a,selected:!!e.default,children:r},t+1)})}),(0,s.jsx)(r.A,{className:"absolute right-2 text-base text-slate-500 pointer-events-none",size:20}),d&&(0,s.jsxs)("div",{className:"info-wrapper absolute -right-10 w-8 h-8 rounded-full bg-white flex items-center justify-center z-10",style:{top:"50%",transform:"translate(0,-50%)"},onMouseEnter:u,onMouseLeave:u,onClick:u,children:[(0,s.jsx)("img",{src:"/images/info-outlined-black.png",alt:"",className:"w-6 h-6 object-contain opacity-60 pointer-events-none"}),(0,s.jsx)("div",{className:"info-dropdown absolute top-9 right-0 bg-white w-52 md:w-96 p-2 sm:p-6 shadow-xl rounded hidden text-center border border-slate-300 border-solid",children:(0,s.jsx)("span",{children:d})}),(0,s.jsx)("div",{className:"absolute -top-2 w-12",style:{height:"45px"}})]})]})]})}catch(e){return console.log("ERROR in FormSelect =>",e),(0,s.jsx)("div",{children:"Form Select Error"})}}a(82015)},89788:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>d});var r=a(8732);a(63715);var n=a(82015),l=a.n(n);a(84759);var i=a(75979),c=e([i]);function d({editorRef:e,content:t,readOnly:a,language:s="javascript",options:n,wrapperProps:c}){try{let e=l().useRef(),[t,a]=l().useState(0);return(0,r.jsx)("div",{...c,ref:e,className:(0,i.twMerge)("ace-editor-wrapper w-full h-full minimal-scrollbars all-children",c?.className)})}catch(e){return(0,r.jsx)(l().Fragment,{children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Editor Error"})})}}i=(c.then?(await c)():c)[0],s()}catch(e){s(e)}})},34844:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(8732),r=a(82015),n=a.n(r),l=a(96089);function i({content:e,language:t,style:a,showCopy:r}){let[i,c]=n().useState(!1),d=()=>{c(!0)},o={};return(0,s.jsxs)("pre",{className:`language-${t||"javascript"} w-auto overflow-hidden skip-js code-block relative max-w-4xl flex items-center justify-center`,style:a?{...a,...o}:o,children:[(0,s.jsx)("code",{className:"w-auto px-10",style:{wordBreak:"break-all"},children:e}),(0,s.jsx)("button",{className:"outlined copy-code "+(r?"relative show":" absolute right-2 z-20 hover:opacity-50"),style:{padding:"2px",border:"none"},onClick:t=>{navigator.clipboard.writeText(e).then(()=>{d()})},children:(0,s.jsx)(l.A,{className:"text-white",size:20})})]})}},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,a)=>{a.d(t,{A:()=>l});let s=a(22373),r=a(29021),n=a(33873);function l({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(t,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let n=0;n",t.message),e}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),n=a(67216),l=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:c,useLocal:d}){let o;let u=!!d||!!a?.match(/^datasquirel$/),m=d?i:u?n:l;try{o=e&&t&&Array.isArray(t)&&t[0]?u?await m(e,t):await m({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await m(e):await m({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(o&&c)try{let e=o;return await s({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(o)return o;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),n=a(31976),l=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((c,d)=>{let o=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),c(JSON.parse(JSON.stringify(e)))}function m(e){l.end(),c({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}l=o?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(a,i).then(u).catch(m):l.query(a).then(u).catch(m)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},56248:e=>{e.exports={parse:function(e,t){if(e){if("object"==typeof e)return e;if("string"==typeof e)try{return JSON.parse(e,t)}catch(e){return}}},stringify:function(e,t,a){try{return JSON.stringify(e,t,a)}catch(e){return}}}},74157:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{EditDatabaseContext:()=>f,default:()=>g,getServerSideProps:()=>b});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),c=a(20048),d=a.n(c),o=a(42105),u=a(22622),m=a(64098),h=a(67216),p=a.n(h),x=e([u,m]);[u,m]=x.then?(await x)():x;let f=l().createContext({});function g({user:e,database:t,query:a}){let s=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Add Database | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Add a database"})]}),[n,c]=l().useState(t.db_image);return(0,r.jsx)(i.A,{head:s,user:e,extraHeaderContent:(0,r.jsx)(m.A,{database:t,query:a,user:e}),children:(0,r.jsxs)(f.Provider,{value:{user:e,database:t,dbImage:n,setDbImage:c},children:[(0,r.jsx)(u.A,{}),(0,r.jsx)(o.A,{setDbImage:c})]})})}async function b({req:e,res:t,query:a}){let s=await d()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await p()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);return r&&r[0]?{props:{user:s,database:r[0],query:a}}:{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}}}s()}catch(e){s(e)}})},14454:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{DatabaseSchemaContext:()=>S,default:()=>f,getServerSideProps:()=>j});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),c=a(20048),d=a.n(c),o=a(64098),u=a(28545),m=a(90378),h=a.n(m),p=a(67216),x=a.n(p),g=a(93342),b=e([o,u]);[o,u]=b.then?(await b)():b;let S=l().createContext({});function f({user:e,database:t,query:a,dbSchemaData:s,tables:n}){let c=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Add Database | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Add a database"})]}),[d,m]=l().useState(t.db_image);return(0,r.jsx)(i.A,{head:c,user:e,extraHeaderContent:(0,r.jsx)(o.A,{database:t,query:a,user:e}),aceEditor:!0,children:(0,r.jsx)(S.Provider,{value:{user:e,database:t,dbImage:d,setDbImage:m,dbSchemaData:s,tables:n},children:(0,r.jsx)(u.A,{})})})}async function j({req:e,res:t,query:a}){try{let s=await d()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await x()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);if(!r||!r[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let n=await h()({queryString:"SHOW TABLES",database:r[0].db_full_name}),l=(0,g.A)({userId:s.id});if(!l)throw Error("User schema data not found!");return{props:{user:s,database:r[0],query:a,dbSchemaData:l||[],tables:n&&n[0]?n.map(e=>{let t=Object.keys(e)[0];return{tableSlug:e[t]}}):[]}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}s()}catch(e){s(e)}})},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,2996],()=>a(91489));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=8295,e.ids=[8295],e.modules={91489:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>x,default:()=>u,getServerSideProps:()=>p,getStaticPaths:()=>h,getStaticProps:()=>m,reportWebVitals:()=>g,routeModule:()=>y,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>f,unstable_getStaticProps:()=>b});var r=a(63865),n=a(9455),l=a(30671),i=a(49407),c=a(89600),d=a(14454),o=e([d]);d=(o.then?(await o)():o)[0];let u=(0,l.M)(d,"default"),m=(0,l.M)(d,"getStaticProps"),h=(0,l.M)(d,"getStaticPaths"),p=(0,l.M)(d,"getServerSideProps"),x=(0,l.M)(d,"config"),g=(0,l.M)(d,"reportWebVitals"),b=(0,l.M)(d,"unstable_getStaticProps"),f=(0,l.M)(d,"unstable_getStaticPaths"),j=(0,l.M)(d,"unstable_getStaticParams"),S=(0,l.M)(d,"unstable_getServerProps"),v=(0,l.M)(d,"unstable_getServerSideProps"),y=new r.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/schema",pathname:"/admin/[user_id]/databases/[single]/schema",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:d});s()}catch(e){s(e)}})},28545:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>S});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),c=a(58548),d=a(14591),o=a(14454);a(58403);var u=a(51548),m=a(61430),h=a(220);a(63715);var p=a(89788),x=a(86571);a(34844);var g=a(59621),b=a(56248),f=a.n(b),j=e([d,o,m,h,p,g]);function S(e){let{database:t,dbSchemaData:a,tables:s,user:n}=l().useContext(o.DatabaseSchemaContext);try{if(!a)return(0,r.jsx)("span",{children:"No Database Schema Found!"});let e=a.filter(e=>e.dbFullName===t?.db_full_name)[0],[s,d]=l().useState(e.tables),[o,h]=l().useState(null),[b,j]=l().useState(e);if(!t)return(0,r.jsx)("span",{children:"No Database Record Found"});return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),t.active_clone?(0,r.jsx)(x.A,{database:t,user:n}):(0,r.jsx)(r.Fragment,{}),t.remote_connected?(0,r.jsx)(g.p,{database:t}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)("section",{className:"paper",children:(0,r.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Database SCHEMA JSON"}),(0,r.jsx)("div",{children:s&&s[0]&&(0,r.jsx)(u.A,{required:!0,selectOptions:[{title:"All Tables",payload:"none"},...s.map((e,t)=>({title:e.tableFullName,payload:e.tableName,name:e.tableName}))],name:"database_tables",onChangeHandler:e=>{e.target.value?.match(/^none$/)?h(null):h(e.target.value)}})})]}),(0,r.jsx)(p.A,{content:f().stringify(b,null,4),readOnly:!0,options:{wrap:!0},wrapperProps:{className:"h-[60vh]"}})]})}),(0,r.jsx)(m.A,{})]})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name||null}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),(0,r.jsx)("section",{children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Error in generating Preview"})})]})}}[d,o,m,h,p,g]=j.then?(await j)():j,s()}catch(e){s(e)}})},220:(e,t,a)=>{a.a(e,async(e,t)=>{try{a(8732),a(82015);var s=a(14454),r=e([s]);s=(r.then?(await r)():r)[0],t()}catch(e){t(e)}})},61430:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>m});var r=a(8732),n=a(82015),l=a.n(n),i=a(46437),c=a(58548),d=a(14591),o=a(14454);a(58403),a(51548),a(63715);var u=e([d,o]);function m(e){let{database:t,dbSchemaData:a,tables:s,user:n}=l().useContext(o.DatabaseSchemaContext);try{return(0,r.jsx)("section",{className:"card",children:(0,r.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Database Tables"}),s&&s[0]&&s.map((e,t)=>(0,r.jsx)("div",{className:"card light-gray w-full",children:(0,r.jsx)("span",{children:e.tableSlug})},t+1))]})})}catch(e){return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(i.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,r.jsx)("span",{children:"Database Schema"})]})]}),(0,r.jsx)(c.A,{user:n})]}),(0,r.jsx)("section",{className:"card",children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Error in generating Tables Table"})})]})}}[d,o]=u.then?(await u)():u,s()}catch(e){s(e)}})},22622:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),n=a(82015),l=a.n(n),i=a(74157),c=a(46437),d=a(58548);a(55312);var o=a(14591),u=a(86571),m=e([i,o]);function h(e){let{database:t,user:a}=l().useContext(i.EditDatabaseContext);return(0,r.jsxs)(l().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)(c.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:["Edit"," ",(0,r.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name})]})]}),(0,r.jsx)(d.A,{user:a})]}),t?.active_clone&&a?(0,r.jsx)(u.A,{database:t,user:a}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(o.A,{})]})}[i,o]=m.then?(await m)():m,s()}catch(e){s(e)}})},14591:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>m});var r=a(8732),n=a(82015),l=a.n(n),i=a(32415),c=a(74157),d=a(56987),o=a(12042),u=e([c]);function m(e){let{user:t,dbImage:a,setDbImage:s,database:n}=l().useContext(c.EditDatabaseContext),[u,m]=l().useState(!1);return l().useRef(),(0,r.jsx)("section",{className:"paper",children:(0,r.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[u&&(0,r.jsx)(i.A,{}),(0,r.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,r.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),t&&a?(0,r.jsx)(d.A,{user:t,dbImage:a,setDbImage:s,database:n,setLoading:m}):(0,r.jsx)("span",{children:"No User and Database Image present"})]}),t&&a&&s?(0,r.jsx)(o.A,{user:t,dbImage:a,setDbImage:s,database:n}):(0,r.jsx)("span",{children:"Database Image could not be rendered"})]})})}c=(u.then?(await u)():u)[0],s()}catch(e){s(e)}})},84759:(e,t,a)=>{a.d(t,{A:()=>s});function s({editorHTMLElementRef:e,fieldObject:t,setRefresh:a,language:s="javascript",entry:r,jsonTextEditors:n,editorRef:l,readOnly:i,initialContent:c,options:d}){try{if(!ace?.edit||!e.current){console.log("Ace Editor not found!"),setTimeout(()=>{a?.(e=>e+1)},1e3);return}let o=ace.edit(e.current);o.setOptions({mode:"ace/mode/"+s,value:c||(t?.defaultValue?t.defaultValue:t?.fieldName&&r?.[t.fieldName]?(()=>{if("json"!==s)return r[t.fieldName];try{return JSON.stringify(JSON.parse(r[t.fieldName]),null,4)}catch(e){return r[t.fieldName]}})():""),placeholder:"json"==s?"{}":"",enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,readOnly:i,...d}),l&&t?.fieldName&&(n?.current.push({fieldName:t.fieldName,ref:l}),l.current=o);try{ace.require("ace/ext/beautify").beautify(o.session)}catch(e){}}catch(e){console.log("JSON Editor ERROR =>",e.message)}}},51548:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(58526);function n({selectOptions:e,name:t,onChangeHandler:a,required:n,setAlert:l,title:i,defaultValue:c,info:d,id:o}){try{function u(e){if(e.type.match(/enter/i)&&window.innerWidth<1200)return;let t=e.target.closest(".info-wrapper"),a=t.querySelector(".info-dropdown");if(e.type.match(/leave/i)&&!a.classList.contains("hidden")){a.classList.add("hidden");return}if(!(e.type.match(/leave/i)&&a.classList.contains("hidden"))){if(!t){a.classList.add("hidden");return}if(a.classList.contains("hidden")){a.classList.remove("hidden");return}a.classList.add("hidden")}}return(0,s.jsxs)("div",{className:"form-select-block flex items-start flex-col gap-0.5 w-full relative"+(d?" pr-8":""),children:[i&&(0,s.jsxs)("label",{htmlFor:t,children:[i,n?"":" (optional)"]}),(0,s.jsxs)("div",{className:"flex items-center w-full relative",children:[(0,s.jsx)("select",{name:t,id:o||t,className:"w-full bg-white",required:n,onChange:e=>{l&&l(null),e.target.classList.remove("warning"),a&&a(e)},defaultValue:c||void 0,children:e.map((e,t)=>{let{payload:a,title:r}=e;return(0,s.jsx)("option",{value:a,selected:!!e.default,children:r},t+1)})}),(0,s.jsx)(r.A,{className:"absolute right-2 text-base text-slate-500 pointer-events-none",size:20}),d&&(0,s.jsxs)("div",{className:"info-wrapper absolute -right-10 w-8 h-8 rounded-full bg-white flex items-center justify-center z-10",style:{top:"50%",transform:"translate(0,-50%)"},onMouseEnter:u,onMouseLeave:u,onClick:u,children:[(0,s.jsx)("img",{src:"/images/info-outlined-black.png",alt:"",className:"w-6 h-6 object-contain opacity-60 pointer-events-none"}),(0,s.jsx)("div",{className:"info-dropdown absolute top-9 right-0 bg-white w-52 md:w-96 p-2 sm:p-6 shadow-xl rounded hidden text-center border border-slate-300 border-solid",children:(0,s.jsx)("span",{children:d})}),(0,s.jsx)("div",{className:"absolute -top-2 w-12",style:{height:"45px"}})]})]})]})}catch(e){return console.log("ERROR in FormSelect =>",e),(0,s.jsx)("div",{children:"Form Select Error"})}}a(82015)},89788:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>d});var r=a(8732);a(63715);var n=a(82015),l=a.n(n);a(84759);var i=a(75979),c=e([i]);function d({editorRef:e,content:t,readOnly:a,language:s="javascript",options:n,wrapperProps:c}){try{let e=l().useRef(),[t,a]=l().useState(0);return(0,r.jsx)("div",{...c,ref:e,className:(0,i.twMerge)("ace-editor-wrapper w-full h-full minimal-scrollbars all-children",c?.className)})}catch(e){return(0,r.jsx)(l().Fragment,{children:(0,r.jsx)("h2",{className:"text-xl m-0",children:"Editor Error"})})}}i=(c.then?(await c)():c)[0],s()}catch(e){s(e)}})},34844:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(8732),r=a(82015),n=a.n(r),l=a(96089);function i({content:e,language:t,style:a,showCopy:r}){let[i,c]=n().useState(!1),d=()=>{c(!0)},o={};return(0,s.jsxs)("pre",{className:`language-${t||"javascript"} w-auto overflow-hidden skip-js code-block relative max-w-4xl flex items-center justify-center`,style:a?{...a,...o}:o,children:[(0,s.jsx)("code",{className:"w-auto px-10",style:{wordBreak:"break-all"},children:e}),(0,s.jsx)("button",{className:"outlined copy-code "+(r?"relative show":" absolute right-2 z-20 hover:opacity-50"),style:{padding:"2px",border:"none"},onClick:t=>{navigator.clipboard.writeText(e).then(()=>{d()})},children:(0,s.jsx)(l.A,{className:"text-white",size:20})})]})}},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,a)=>{let s=a(22373),r=a(29021),n=a(33873);e.exports=function({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(t,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let n=0;n",t.message),e}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),n=a(67216),l=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:c,useLocal:d}){let o;let u=!!d||!!a?.match(/^datasquirel$/),m=d?i:u?n:l;try{o=e&&t&&Array.isArray(t)&&t[0]?u?await m(e,t):await m({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await m(e):await m({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(o&&c)try{let e=o;return await s({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(o)return o;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),n=a(31976),l=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((c,d)=>{let o=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),c(JSON.parse(JSON.stringify(e)))}function m(e){l.end(),c({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}l=o?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(a,i).then(u).catch(m):l.query(a).then(u).catch(m)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},56248:e=>{e.exports={parse:function(e,t){if(e){if("object"==typeof e)return e;if("string"==typeof e)try{return JSON.parse(e,t)}catch(e){return}}},stringify:function(e,t,a){try{return JSON.stringify(e,t,a)}catch(e){return}}}},74157:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{EditDatabaseContext:()=>f,default:()=>g,getServerSideProps:()=>b});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),c=a(20048),d=a.n(c),o=a(42105),u=a(22622),m=a(64098),h=a(67216),p=a.n(h),x=e([u,m]);[u,m]=x.then?(await x)():x;let f=l().createContext({});function g({user:e,database:t,query:a}){let s=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Add Database | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Add a database"})]}),[n,c]=l().useState(t.db_image);return(0,r.jsx)(i.A,{head:s,user:e,extraHeaderContent:(0,r.jsx)(m.A,{database:t,query:a,user:e}),children:(0,r.jsxs)(f.Provider,{value:{user:e,database:t,dbImage:n,setDbImage:c},children:[(0,r.jsx)(u.A,{}),(0,r.jsx)(o.A,{setDbImage:c})]})})}async function b({req:e,res:t,query:a}){let s=await d()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await p()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);return r&&r[0]?{props:{user:s,database:r[0],query:a}}:{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}}}s()}catch(e){s(e)}})},14454:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{DatabaseSchemaContext:()=>v,default:()=>j,getServerSideProps:()=>S});var r=a(8732),n=a(82015),l=a.n(n),i=a(95222),c=a(20048),d=a.n(c),o=a(64098),u=a(28545),m=a(90378),h=a.n(m),p=a(67216),x=a.n(p),g=a(93342),b=a.n(g),f=e([o,u]);[o,u]=f.then?(await f)():f;let v=l().createContext({});function j({user:e,database:t,query:a,dbSchemaData:s,tables:n}){let c=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"Add Database | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Add a database"})]}),[d,m]=l().useState(t.db_image);return(0,r.jsx)(i.A,{head:c,user:e,extraHeaderContent:(0,r.jsx)(o.A,{database:t,query:a,user:e}),aceEditor:!0,children:(0,r.jsx)(v.Provider,{value:{user:e,database:t,dbImage:d,setDbImage:m,dbSchemaData:s,tables:n},children:(0,r.jsx)(u.A,{})})})}async function S({req:e,res:t,query:a}){try{let s=await d()(e,t);if(!s?.logged_in_status||!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await x()(`SELECT * FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.single}'`);if(!r||!r[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let n=await h()({queryString:"SHOW TABLES",database:r[0].db_full_name}),l=b()({userId:s.id});if(!l)throw Error("User schema data not found!");return{props:{user:s,database:r[0],query:a,dbSchemaData:l||[],tables:n&&n[0]?n.map(e=>{let t=Object.keys(e)[0];return{tableSlug:e[t]}}):[]}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}s()}catch(e){s(e)}})},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,2996],()=>a(91489));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/shell.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/shell.js index f927385..c58765b 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/shell.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/shell.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=204,e.ids=[204],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},12009:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>m,default:()=>u,getServerSideProps:()=>y,getStaticPaths:()=>h,getStaticProps:()=>p,reportWebVitals:()=>g,routeModule:()=>_,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>b,unstable_getStaticParams:()=>S,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>f});var s=r(63865),n=r(9455),l=r(30671),i=r(49407),c=r(89600),o=r(92557),d=e([o]);o=(d.then?(await d)():d)[0];let u=(0,l.M)(o,"default"),p=(0,l.M)(o,"getStaticProps"),h=(0,l.M)(o,"getStaticPaths"),y=(0,l.M)(o,"getServerSideProps"),m=(0,l.M)(o,"config"),g=(0,l.M)(o,"reportWebVitals"),f=(0,l.M)(o,"unstable_getStaticProps"),x=(0,l.M)(o,"unstable_getStaticPaths"),S=(0,l.M)(o,"unstable_getStaticParams"),A=(0,l.M)(o,"unstable_getServerProps"),b=(0,l.M)(o,"unstable_getServerSideProps"),_=new s.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/shell",pathname:"/admin/[user_id]/databases/[single]/shell",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:o});a()}catch(e){a(e)}})},64648:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>y});var s=r(8732),n=r(82015),l=r.n(n),i=r(46437),c=r(58548),o=r(92557),d=r(32415),u=r(63715),p=r(60324),h=e([o,p]);function y(e){let{database:t,dbSchemaData:r,tables:a,user:n}=l().useContext(o.DatabaseShellContext);if(!n)return null;try{let e=l().useRef(),r=l().useRef(),[o,h]=l().useState(!1),[y,m]=l().useState(!1),[g,f]=l().useState(0);return(0,s.jsxs)(l().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:(0,s.jsxs)("span",{children:[t?.db_name," Database Shell"]})})]}),(0,s.jsx)(c.A,{user:n})]}),(0,s.jsxs)("div",{className:"w-full flex-col relative",children:[(0,s.jsx)("div",{ref:e,id:"ace-editor-wrapper"}),(0,s.jsxs)("button",{className:"absolute right-4 bottom-4"+(o?" pointer-events-none opacity-70":""),onClick:e=>{!function(){h(!0);let e=r.current?r.current.getValue():null;if(!e?.match(/./))return;let s=e.replace(/^--.*/gm,"").replace(/\n|\r|\n\r/gm,"").replace(/ {2,}/g," ");(0,u.A)("/api/runUserDbQuery",{method:"post",body:{database:t?.db_slug,query:s,tables:a?.map(e=>e.tableSlug)}},!0).then(e=>{e.success?m(e.result):e.msg&&window.alert(e.msg),setTimeout(()=>{h(!1)},500)})}()},children:[o&&(0,s.jsx)(d.A,{position:"relative",width:"15px",borderWidth:"3px",style:{backgroundColor:"transparent"}}),o?"Running Query ...":"Run Query"]})]}),y&&!o&&(0,s.jsx)("section",{className:"card",children:(0,s.jsxs)("div",{className:"w-full flex-col items-start overflow-x-scroll",children:[(0,s.jsx)("h2",{className:"text-xl",children:"Query Results"}),(0,s.jsx)(p.A,{data:y,user:n})]})})]})}catch(e){return(0,s.jsxs)(l().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,s.jsx)("span",{children:"Database Shell"})]})]}),(0,s.jsx)(c.A,{user:n})]}),(0,s.jsx)("section",{className:"card",children:(0,s.jsx)("h2",{className:"text-xl m-0",children:"Shell not available at this time"})})]})}}[o,p]=h.then?(await h)():h,a()}catch(e){a(e)}})},60324:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>o});var s=r(8732),n=r(82015),l=r.n(n);r(63715);var i=r(89788),c=e([i]);function o({data:e,user:t}){try{return Object.keys(e[0]),(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("div",{className:"p-4 bg-slate-200 rounded-md overflow-hidden",children:(0,s.jsx)(i.A,{content:JSON.stringify(e,null,4)})})})}catch(e){return(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("span",{children:"No results"})})}}i=(c.then?(await c)():c)[0],a()}catch(e){a(e)}})},84759:(e,t,r)=>{r.d(t,{A:()=>a});function a({editorHTMLElementRef:e,fieldObject:t,setRefresh:r,language:a="javascript",entry:s,jsonTextEditors:n,editorRef:l,readOnly:i,initialContent:c,options:o}){try{if(!ace?.edit||!e.current){console.log("Ace Editor not found!"),setTimeout(()=>{r?.(e=>e+1)},1e3);return}let d=ace.edit(e.current);d.setOptions({mode:"ace/mode/"+a,value:c||(t?.defaultValue?t.defaultValue:t?.fieldName&&s?.[t.fieldName]?(()=>{if("json"!==a)return s[t.fieldName];try{return JSON.stringify(JSON.parse(s[t.fieldName]),null,4)}catch(e){return s[t.fieldName]}})():""),placeholder:"json"==a?"{}":"",enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,readOnly:i,...o}),l&&t?.fieldName&&(n?.current.push({fieldName:t.fieldName,ref:l}),l.current=d);try{ace.require("ace/ext/beautify").beautify(d.session)}catch(e){}}catch(e){console.log("JSON Editor ERROR =>",e.message)}}},89788:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>o});var s=r(8732);r(63715);var n=r(82015),l=r.n(n);r(84759);var i=r(75979),c=e([i]);function o({editorRef:e,content:t,readOnly:r,language:a="javascript",options:n,wrapperProps:c}){try{let e=l().useRef(),[t,r]=l().useState(0);return(0,s.jsx)("div",{...c,ref:e,className:(0,i.twMerge)("ace-editor-wrapper w-full h-full minimal-scrollbars all-children",c?.className)})}catch(e){return(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("h2",{className:"text-xl m-0",children:"Editor Error"})})}}i=(c.then?(await c)():c)[0],a()}catch(e){a(e)}})},23293:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,r)=>{r.d(t,{A:()=>l});let a=r(22373),s=r(29021),n=r(33873);function l({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(t,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,r)=>{let a=r(77463),s=r(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let n=0;n",t.message),e}}},22373:(e,t,r)=>{let a=r(29021),{IncomingMessage:s}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:s,req:n}){let l=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],r=n.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=r||a||t||n.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=204,e.ids=[204],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},12009:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>m,default:()=>u,getServerSideProps:()=>y,getStaticPaths:()=>h,getStaticProps:()=>p,reportWebVitals:()=>g,routeModule:()=>_,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>b,unstable_getStaticParams:()=>S,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>f});var s=r(63865),n=r(9455),l=r(30671),i=r(49407),c=r(89600),o=r(92557),d=e([o]);o=(d.then?(await d)():d)[0];let u=(0,l.M)(o,"default"),p=(0,l.M)(o,"getStaticProps"),h=(0,l.M)(o,"getStaticPaths"),y=(0,l.M)(o,"getServerSideProps"),m=(0,l.M)(o,"config"),g=(0,l.M)(o,"reportWebVitals"),f=(0,l.M)(o,"unstable_getStaticProps"),x=(0,l.M)(o,"unstable_getStaticPaths"),S=(0,l.M)(o,"unstable_getStaticParams"),A=(0,l.M)(o,"unstable_getServerProps"),b=(0,l.M)(o,"unstable_getServerSideProps"),_=new s.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/shell",pathname:"/admin/[user_id]/databases/[single]/shell",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:o});a()}catch(e){a(e)}})},64648:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>y});var s=r(8732),n=r(82015),l=r.n(n),i=r(46437),c=r(58548),o=r(92557),d=r(32415),u=r(63715),p=r(60324),h=e([o,p]);function y(e){let{database:t,dbSchemaData:r,tables:a,user:n}=l().useContext(o.DatabaseShellContext);if(!n)return null;try{let e=l().useRef(),r=l().useRef(),[o,h]=l().useState(!1),[y,m]=l().useState(!1),[g,f]=l().useState(0);return(0,s.jsxs)(l().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:(0,s.jsxs)("span",{children:[t?.db_name," Database Shell"]})})]}),(0,s.jsx)(c.A,{user:n})]}),(0,s.jsxs)("div",{className:"w-full flex-col relative",children:[(0,s.jsx)("div",{ref:e,id:"ace-editor-wrapper"}),(0,s.jsxs)("button",{className:"absolute right-4 bottom-4"+(o?" pointer-events-none opacity-70":""),onClick:e=>{!function(){h(!0);let e=r.current?r.current.getValue():null;if(!e?.match(/./))return;let s=e.replace(/^--.*/gm,"").replace(/\n|\r|\n\r/gm,"").replace(/ {2,}/g," ");(0,u.A)("/api/runUserDbQuery",{method:"post",body:{database:t?.db_slug,query:s,tables:a?.map(e=>e.tableSlug)}},!0).then(e=>{e.success?m(e.result):e.msg&&window.alert(e.msg),setTimeout(()=>{h(!1)},500)})}()},children:[o&&(0,s.jsx)(d.A,{position:"relative",width:"15px",borderWidth:"3px",style:{backgroundColor:"transparent"}}),o?"Running Query ...":"Run Query"]})]}),y&&!o&&(0,s.jsx)("section",{className:"card",children:(0,s.jsxs)("div",{className:"w-full flex-col items-start overflow-x-scroll",children:[(0,s.jsx)("h2",{className:"text-xl",children:"Query Results"}),(0,s.jsx)(p.A,{data:y,user:n})]})})]})}catch(e){return(0,s.jsxs)(l().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{className:"px-2 bg-slate-100 dark:bg-white/10 border border-solid border-slate-300 dark:border-slate-300/20 rounded py-1",children:t?.db_name}),"\xa0",(0,s.jsx)("span",{children:"Database Shell"})]})]}),(0,s.jsx)(c.A,{user:n})]}),(0,s.jsx)("section",{className:"card",children:(0,s.jsx)("h2",{className:"text-xl m-0",children:"Shell not available at this time"})})]})}}[o,p]=h.then?(await h)():h,a()}catch(e){a(e)}})},60324:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>o});var s=r(8732),n=r(82015),l=r.n(n);r(63715);var i=r(89788),c=e([i]);function o({data:e,user:t}){try{return Object.keys(e[0]),(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("div",{className:"p-4 bg-slate-200 rounded-md overflow-hidden",children:(0,s.jsx)(i.A,{content:JSON.stringify(e,null,4)})})})}catch(e){return(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("span",{children:"No results"})})}}i=(c.then?(await c)():c)[0],a()}catch(e){a(e)}})},84759:(e,t,r)=>{r.d(t,{A:()=>a});function a({editorHTMLElementRef:e,fieldObject:t,setRefresh:r,language:a="javascript",entry:s,jsonTextEditors:n,editorRef:l,readOnly:i,initialContent:c,options:o}){try{if(!ace?.edit||!e.current){console.log("Ace Editor not found!"),setTimeout(()=>{r?.(e=>e+1)},1e3);return}let d=ace.edit(e.current);d.setOptions({mode:"ace/mode/"+a,value:c||(t?.defaultValue?t.defaultValue:t?.fieldName&&s?.[t.fieldName]?(()=>{if("json"!==a)return s[t.fieldName];try{return JSON.stringify(JSON.parse(s[t.fieldName]),null,4)}catch(e){return s[t.fieldName]}})():""),placeholder:"json"==a?"{}":"",enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,readOnly:i,...o}),l&&t?.fieldName&&(n?.current.push({fieldName:t.fieldName,ref:l}),l.current=d);try{ace.require("ace/ext/beautify").beautify(d.session)}catch(e){}}catch(e){console.log("JSON Editor ERROR =>",e.message)}}},89788:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{A:()=>o});var s=r(8732);r(63715);var n=r(82015),l=r.n(n);r(84759);var i=r(75979),c=e([i]);function o({editorRef:e,content:t,readOnly:r,language:a="javascript",options:n,wrapperProps:c}){try{let e=l().useRef(),[t,r]=l().useState(0);return(0,s.jsx)("div",{...c,ref:e,className:(0,i.twMerge)("ace-editor-wrapper w-full h-full minimal-scrollbars all-children",c?.className)})}catch(e){return(0,s.jsx)(l().Fragment,{children:(0,s.jsx)("h2",{className:"text-xl m-0",children:"Editor Error"})})}}i=(c.then?(await c)():c)[0],a()}catch(e){a(e)}})},23293:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},93342:(e,t,r)=>{let a=r(22373),s=r(29021),n=r(33873);e.exports=function({userId:e}){try{let t=n.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(t,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},89545:(e,t,r)=>{let a=r(77463),s=r(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let n=0;n",t.message),e}}},22373:(e,t,r)=>{let a=r(29021),{IncomingMessage:s}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:s,req:n}){let l=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],r=n.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=r||a||t||n.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${l.toDateString()} -${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,t,r)=>{r(29021);let a=r(89545),s=r(22373),n=r(67216),l=r(1231),i=r(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:r,tableSchema:c,useLocal:o}){let d;let u=!!o||!!r?.match(/^datasquirel$/),p=o?i:u?n:l;try{d=e&&t&&Array.isArray(t)&&t[0]?u?await p(e,t):await p({paradigm:"Full Access",database:r,queryString:e,queryValues:t}):u?await p(e):await p({paradigm:"Full Access",database:r,queryString:e})}catch(e){s({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(d&&c)try{let e=d;return await a({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",r,e),s({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(d)return d;else return null}},1231:(e,t,r)=>{let a=r(29021);r(33873);let s=r(9973),n=r(31976),l=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:i}){try{return new Promise((c,o)=>{let d=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),c(JSON.parse(JSON.stringify(e)))}function p(e){l.end(),c({error:e.message,queryStringGenerated:r,queryValuesGenerated:i,sql:e.sql})}l=d?s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(r,i).then(u).catch(p):l.query(r).then(u).catch(p)}catch(e){a.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,r)=>{let a=r(9973),s=r(31976);async function n(...e){let t=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:s()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},92557:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{DatabaseShellContext:()=>A,default:()=>x,getServerSideProps:()=>S});var s=r(8732),n=r(82015),l=r.n(n),i=r(95222),c=r(20048),o=r.n(c),d=r(64098),u=r(90378),p=r.n(u),h=r(64648),y=r(67216),m=r.n(y),g=r(93342),f=e([d,h]);[d,h]=f.then?(await f)():f;let A=l().createContext({});function x({user:e,database:t,query:r,dbSchemaData:a,tables:n}){let c=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Database Shell | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Database Shell"}),(0,s.jsx)("link",{rel:"stylesheet",href:"/styles/shell-page.css"})]}),[o,u]=l().useState(t.db_image);return(0,s.jsx)(i.A,{head:c,user:e,extraHeaderContent:(0,s.jsx)(d.A,{database:t,query:r,user:e}),aceEditor:!0,children:(0,s.jsx)(A.Provider,{value:{user:e,database:t,dbImage:o,setDbImage:u,dbSchemaData:a,tables:n},children:(0,s.jsx)(h.A,{})})})}async function S({req:e,res:t,query:r}){try{let a=await o()(e,t);if(!a?.logged_in_status||!a?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()(`SELECT * FROM user_databases WHERE user_id='${a.id}' AND db_slug='${r.single}'`);if(!s||!s[0])return{redirect:{destination:`/admin/${a?.id}/databases`,permanent:!1}};let n=await p()({queryString:"SHOW TABLES",database:s[0].db_full_name}),l=(0,g.A)({userId:a.id});if(!l)throw Error("User schema data not found!");return{props:{user:a,database:s[0],query:r,dbSchemaData:l||[],tables:n&&n[0]?n.map(e=>{let t=Object.keys(e)[0];return{tableSlug:e[t]}}):[]}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}a()}catch(e){a(e)}})},9455:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[883,9821,9600,7070,5134],()=>r(12009));module.exports=a})(); \ No newline at end of file +${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,t,r)=>{r(29021);let a=r(89545),s=r(22373),n=r(67216),l=r(1231),i=r(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:r,tableSchema:c,useLocal:o}){let d;let u=!!o||!!r?.match(/^datasquirel$/),p=o?i:u?n:l;try{d=e&&t&&Array.isArray(t)&&t[0]?u?await p(e,t):await p({paradigm:"Full Access",database:r,queryString:e,queryValues:t}):u?await p(e):await p({paradigm:"Full Access",database:r,queryString:e})}catch(e){s({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(d&&c)try{let e=d;return await a({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",r,e),s({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(d)return d;else return null}},1231:(e,t,r)=>{let a=r(29021);r(33873);let s=r(9973),n=r(31976),l=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:i}){try{return new Promise((c,o)=>{let d=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),c(JSON.parse(JSON.stringify(e)))}function p(e){l.end(),c({error:e.message,queryStringGenerated:r,queryValuesGenerated:i,sql:e.sql})}l=d?s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(r,i).then(u).catch(p):l.query(r).then(u).catch(p)}catch(e){a.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,r)=>{let a=r(9973),s=r(31976);async function n(...e){let t=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:s()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},92557:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{DatabaseShellContext:()=>b,default:()=>S,getServerSideProps:()=>A});var s=r(8732),n=r(82015),l=r.n(n),i=r(95222),c=r(20048),o=r.n(c),d=r(64098),u=r(90378),p=r.n(u),h=r(64648),y=r(67216),m=r.n(y),g=r(93342),f=r.n(g),x=e([d,h]);[d,h]=x.then?(await x)():x;let b=l().createContext({});function S({user:e,database:t,query:r,dbSchemaData:a,tables:n}){let c=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Database Shell | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Database Shell"}),(0,s.jsx)("link",{rel:"stylesheet",href:"/styles/shell-page.css"})]}),[o,u]=l().useState(t.db_image);return(0,s.jsx)(i.A,{head:c,user:e,extraHeaderContent:(0,s.jsx)(d.A,{database:t,query:r,user:e}),aceEditor:!0,children:(0,s.jsx)(b.Provider,{value:{user:e,database:t,dbImage:o,setDbImage:u,dbSchemaData:a,tables:n},children:(0,s.jsx)(h.A,{})})})}async function A({req:e,res:t,query:r}){try{let a=await o()(e,t);if(!a?.logged_in_status||!a?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()(`SELECT * FROM user_databases WHERE user_id='${a.id}' AND db_slug='${r.single}'`);if(!s||!s[0])return{redirect:{destination:`/admin/${a?.id}/databases`,permanent:!1}};let n=await p()({queryString:"SHOW TABLES",database:s[0].db_full_name}),l=f()({userId:a.id});if(!l)throw Error("User schema data not found!");return{props:{user:a,database:s[0],query:r,dbSchemaData:l||[],tables:n&&n[0]?n.map(e=>{let t=Object.keys(e)[0];return{tableSlug:e[t]}}):[]}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}a()}catch(e){a(e)}})},9455:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[883,9821,9600,7070,5134],()=>r(12009));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table].js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table].js index fade218..15a0321 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table].js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table].js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5271,e.ids=[5271],e.modules={91312:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{config:()=>f,default:()=>u,getServerSideProps:()=>p,getStaticPaths:()=>m,getStaticProps:()=>x,reportWebVitals:()=>h,routeModule:()=>y,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>b});var s=t(63865),r=t(9455),n=t(30671),i=t(49407),d=t(89600),c=t(13699),o=e([c]);c=(o.then?(await o)():o)[0];let u=(0,n.M)(c,"default"),x=(0,n.M)(c,"getStaticProps"),m=(0,n.M)(c,"getStaticPaths"),p=(0,n.M)(c,"getServerSideProps"),f=(0,n.M)(c,"config"),h=(0,n.M)(c,"reportWebVitals"),b=(0,n.M)(c,"unstable_getStaticProps"),g=(0,n.M)(c,"unstable_getStaticPaths"),w=(0,n.M)(c,"unstable_getStaticParams"),j=(0,n.M)(c,"unstable_getServerProps"),v=(0,n.M)(c,"unstable_getServerSideProps"),y=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:c});l()}catch(e){l(e)}})},73972:(e,a,t)=>{t.d(a,{A:()=>c});var l=t(8732),s=t(82015),r=t.n(s),n=t(63715);t(58548);var i=t(55158),d=t(32415);function c({targetTable:e,database:a}){let[t,s]=r().useState(!1);return(0,l.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[t&&(0,l.jsx)(d.A,{width:"20px"}),(0,l.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("button",{className:"outlined"+(t?" pointer-events-none opacity-40":""),onClick:t=>{s(!0),(0,n.A)("/api/deleteUserTable",{method:"post",body:{database:a,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,l.jsx)("span",{children:"Yes"})}),(0,l.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,l.jsx)("span",{children:"Cancel"})})]})]})}},68153:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.d(a,{A:()=>v});var s=t(8732),r=t(82015),n=t.n(r),i=t(63715),d=t(13699),c=t(46437),o=t(58548),u=t(94010),x=t(32415),m=t(34486),p=t(77802),f=t(59550),h=t(62506),b=t(86571),g=t(65241),w=t(59621),j=e([d,u,m,w]);function v(e){let{user:a,database:l,table:r,tableRecord:j,dbSchemaData:v,targetField:y,setTargetField:N,refreshFieldsListRef:_,setTableFields:T,tableFields:S,tableIndexes:A,setTableIndexes:F,updateTableAfterFieldsUpdateFunction:C,entries:E,targetEntry:I,setTargetEntry:q,richTextEditors:D,jsonTextEditors:$,query:k,confirmedDelegetedUser:P,entriesCount:R}=n().useContext(d.SingleTableContext);if(!l||!a||!j||!r)return;let U=t(94327),M=P?.delegated,L=P?.priviledges?.match(/Edit Tables/i),O=P?.priviledges?.match(/Delete Tables/i);P?.priviledges?.match(/Create Tables/i);let{active_clone:W,active_clone_parent_db:B,remote_connected:H}=l,V=`dsql${a.id}${l.id}${j.id}`,[X,z]=n().useState(!1);return(0,s.jsxs)(n().Fragment,{children:[X&&(0,s.jsx)(x.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start gap-4 xl:gap-0 w-full relative z-50",children:[(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsxs)("div",{className:"flex-wrap",children:[(0,s.jsx)(c.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:(0,s.jsxs)("span",{children:[r.tableFullName.replace(/ table/i,"")," ","Table"]})}),(0,s.jsx)(u.A,{slugText:r.tableName,outlined:!0})]}),(0,s.jsx)("div",{className:"flex-wrap flex-col md:flex-row w-full md:w-auto items-stretch md:items-center",children:(0,s.jsxs)(h.A,{children:[(0,s.jsxs)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/entries/add-entry`,className:"button flex items-center gap-2",children:[(0,s.jsx)("span",{className:"symbol",children:"+"}),(0,s.jsx)("span",{children:"Add New Table Entry"})]}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/entries`,className:"button secondary flex items-center gap-2",children:(0,s.jsx)("span",{children:"Entries"})}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/fields`,className:"button outlined secondary flex items-center gap-2",children:(0,s.jsx)("span",{children:"All Fields"})}),(!M||M&&(L||O))&&!B&&!H&&(0,s.jsxs)("div",{className:"dropdown-wrapper mt-4 xl:mt-0",children:[(0,s.jsx)("span",{className:"hidden xl:flex button outlined gray",children:"More"}),(0,s.jsx)("div",{className:"dropdown mobile-transform right-aligned mt-0 xl:-mt-2 gap-2",children:(0,s.jsxs)(h.A,{column:!0,className:"w-full",children:[(!M||M&&L)&&!B&&!H&&(0,s.jsx)("a",{className:"button outlined-gray more-padding w-full",href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/edit-table`,children:"Edit Table"}),(!M||M&&O)&&!B&&!H&&(0,s.jsx)("button",{className:"outlined-gray more-padding w-full",onClick:e=>{window.confirm(`Delete "${r.tableFullName}" table?`)&&(z(!0),(0,i.A)("/api/deleteUserTable",{method:"post",body:{database:l,table:{table_slug:r.tableName}}},!0).then(e=>{e.success&&window.location.reload()}))},children:"Delete Table"})]})})]})]})})]}),(0,s.jsx)(o.A,{confirmedDelegetedUser:k?.delegated,user:a})]}),l.active_clone?(0,s.jsx)(b.A,{database:l,user:a}):(0,s.jsx)(s.Fragment,{}),l.remote_connected?(0,s.jsx)(w.p,{database:l}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(g.A,{table:r,database:l,user:a}),(0,s.jsx)(p.A,{user:a,tableFields:S,setTableFields:T,setTargetField:N,refreshFieldsListRef:_,updateTable:!0,updateTableAfterFieldsUpdateFunction:C,collapsed:!0,database:l,table:r,confirmedDelegetedUser:P,query:k}),(0,s.jsx)(f.A,{user:a,table:r,tableUniqueId:V,tableIndexes:A,setTableIndexes:F,database:l,tableFields:S,updateTableAfterFieldsUpdateFunction:C,confirmedDelegetedUser:P}),E&&v&&D&&$&&(0,s.jsx)(m.A,{user:a,entries:E,database:l,table:r,setTargetEntry:q,dbSchemaData:v,richTextEditors:D,dataTypes:U,title:"Entries",query:k,confirmedDelegetedUser:P,jsonTextEditors:$,entriesCount:R})]})}[d,u,m,w]=j.then?(await j)():j,l()}catch(e){l(e)}})},59550:(e,a,t)=>{t.d(a,{A:()=>b});var l=t(8732),s=t(82015),r=t.n(s);function n({tableIndexes:e,setTableIndexes:a,setRefresh:t,setPageRefresh:l}){let s=e&&e[0]?e:[];s.push({newTempIndex:!0}),a(s),t&&t(e=>e+1)}var i=t(32415),d=t(63715),c=t(27825),o=t.n(c);function u({tableIndex:e,fieldIndex:a,currentTable:t,tableFields:s,tableIndexes:n,setTableIndexes:i,setRefresh:c,user:u,tableUniqueId:x}){let[m,p]=r().useState("regular"),[f,h]=r().useState(0),b=r().useRef();return(0,l.jsx)("div",{className:"w-full mt-1 xl:flex-nowrap flex-wrap",ref:b,children:(0,l.jsxs)("form",{className:"flex flex-row items-start gap-4 w-full justify-between border border-solid p-4 pt-6 border-slate-400 rounded focus:shadow-lg shadow-slate-700/40 relative flex-wrap xl:flex-nowrap shadow-xl",onSubmit:e=>{e.preventDefault();let t=e.target.new_index_name.value.replace(/_index/,"").replace(/_{1,}$/,"")+"_index";if(!f||!f[0]){alert("Please Select at least 1 table column name");return}!function({fieldIndex:e,setTableIndexes:a,setRefresh:t,payload:l}){a(a=>(a.splice(e,1,l),a)),t&&t(e=>e+1)}({fieldIndex:a,setTableIndexes:i,payload:{indexType:m,indexName:t,indexTableFields:f,alias:x+"_"+t},setRefresh:c})},children:[(0,l.jsx)("span",{className:"absolute -top-2 text-sm bg-fuchsia-600 text-white px-2 rounded-full",children:"New Index"}),(0,l.jsxs)("div",{className:"gap-4 flex-wrap xl:flex-nowrap flex-col xl:flex-row items-stretch w-full",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",style:{minWidth:"70px"},children:[(0,l.jsx)("label",{htmlFor:"new_field_required",children:"Type"}),(0,l.jsx)("select",{name:"new_field_required",id:"new_field_required",className:"px-2",onChange:e=>{p(e.target.value)},children:m?.match(/regular/i)?(0,l.jsx)("option",{value:"regular",children:"Default"}):(0,l.jsx)("option",{value:"fullText",children:"Full Text"})})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_index_name",children:"Index Name"}),(0,l.jsx)("input",{type:"text",name:"new_index_name",id:"new_index_name",placeholder:"Eg. title_index",onInput:async e=>{let a=e.target;a.value=a.value.toLowerCase().replace(/ /g,"_")},required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-4 xl:gap-0.5",children:[(0,l.jsxs)("div",{className:"items-start",children:[(0,l.jsx)("label",{htmlFor:"new_field_data_type",children:"Table Column(s)"}),(0,l.jsxs)("div",{className:"dropdown-wrapper reversed text-sm items-start gap-2",children:[(0,l.jsx)("span",{className:"px-2 bg-slate-200 dark:bg-slate-700 rounded-full hover:bg-slate-100 dark:hover:bg-slate-600 hidden xl:flex",children:"Info"}),(0,l.jsx)("div",{className:"dropdown mt-0 xl:-mt-2",children:(0,l.jsx)("span",{children:"Select Columns to be indexed. NB the order matters"})})]})]}),(0,l.jsxs)("div",{className:"w-auto flex flex-row items-stretch gap-4",children:[(0,l.jsxs)("select",{name:"new_field_data_type",id:"new_field_data_type",className:"w-full xl:w-auto",onChange:e=>{if(e.target.value.match(/--/))return;let a=Array.from(e.target.options).filter(a=>a.value===e.target.value)[0].dataset.type;if(a?.match(/text/i))p("fullText"),h([{value:e.target.value,dataType:a}]);else{try{if(f.filter(e=>e.dataType.match(/text/i))[0])throw Error("TEXT type exists");if(f.findIndex(a=>a.value===e.target.value)>=0||e.target.value.match(/^--$/))return;a?(f.push({value:e.target.value,dataType:a}),h([...f])):window.alert("Datatype not provided. Please recheck fields.")}catch(t){(0,d.A)("/api/admin/clientError",{method:"post",body:{component:"NewIndexFieldTemp/lines-177-190",message:t.message,user:u}}),a?h([{value:e.target.value,dataType:a}]):window.alert("Couldn't set Index Fields")}p("regular")}},children:[(0,l.jsx)("option",{value:"--",children:"--"}),s.filter(e=>!e?.fieldName?.match(/^id$|^date_/)&&!e.foreignKey).map((e,a)=>(0,l.jsx)("option",{value:e.fieldName,"data-type":e.dataType,children:e.fieldName},a+1))]}),f&&f[0]&&(0,l.jsx)("div",{className:"px-3 py-1 bg-slate-100 dark:bg-slate-500/10 rounded",children:f.map((e,a)=>(0,l.jsxs)("span",{className:"text-sm px-3 py-1 bg-white dark:bg-slate-700 rounded-full shadow-lg font-bold flex items-center justify-center gap-1",children:[(0,l.jsx)("span",{children:e.value}),(0,l.jsx)("span",{className:"font-normal w-5 h-5 rounded-full flex items-center justify-center cursor-pointer bg-slate-200 dark:bg-slate-600 text-xs hover:bg-slate-400",onClick:a=>{h([...f.filter(a=>!a.value.match(RegExp(`^${o().escapeRegExp(e.value)}$`)))])},children:"✖"})]},a+1))})]})]})]}),(0,l.jsxs)("div",{className:"secondary mt-auto flex-wrap xl:flex-nowrap w-full xl:w-auto",children:[(0,l.jsx)("button",{type:"submit",className:"secondary mt-auto py-3 w-full sm:w-auto justify-center grow",children:"Add Index"}),(0,l.jsx)("div",{className:"button outlined gray mt-auto py-2.5 w-full sm:w-auto justify-center grow",onClick:e=>{i(e=>e.filter((e,t)=>t!=a))},children:"Cancel"})]})]})})}var x=t(64030);function m({targetIndexObject:e,fieldIndex:a,tableFields:t,refreshFieldsListRef:s,setTableIndexes:n,setRefresh:i,setActiveEdit:c,user:u,tableUniqueId:x}){let[m,p]=r().useState(e),[f,h]=r().useState(m.indexType||"regular"),[b,g]=r().useState(m.indexTableFields?[...m.indexTableFields]:[]),w=r().useRef();return(0,l.jsx)("div",{className:"w-full -mt-3 flex-wrap",ref:w,children:(0,l.jsxs)("form",{className:"flex flex-col xl:flex-row items-start gap-4 w-full justify-between p-4 relative xl:flex-nowrap flex-wrap border border-t-0 border-slate-200 dark:border-slate-600 border-solid rounded-b",onSubmit:e=>{e.preventDefault();let t=e.target.new_index_name.value.replace(/_index/,"").replace(/_{1,}$/,"")+"_index";m.indexName=t,m.alias=x+"_"+t,m.indexTableFields=b,n(e=>(e[a]=m,e)),c(!1),i(e=>e+1)},children:[(0,l.jsxs)("div",{className:"gap-4 xl:flex-nowrap flex-wrap flex-col xl:flex-row items-stretch w-full",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",style:{minWidth:"70px"},children:[(0,l.jsx)("label",{htmlFor:"new_field_required",children:"Type"}),(0,l.jsx)("select",{name:"new_field_required",id:"new_field_required",className:"px-2",onChange:e=>{h(e.target.value),p(a=>(a.indexType=e.target.value,a))},defaultValue:f,children:f?.match(/regular/i)?(0,l.jsx)("option",{value:"regular",children:"Default"}):(0,l.jsx)("option",{value:"fullText",children:"Full Text"})})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_index_name",children:"Index Name"}),(0,l.jsx)("input",{type:"text",name:"new_index_name",id:"new_index_name",placeholder:"Eg. title_index",onInput:async e=>{let a=e.target;a.value=a.value.toLowerCase().replace(/ /g,"_")},required:!0,defaultValue:m.indexName})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-4 xl:gap-0.5",children:[(0,l.jsxs)("div",{className:"items-start",children:[(0,l.jsx)("label",{htmlFor:"new_field_data_type",children:"Table Column(s)"}),(0,l.jsxs)("div",{className:"dropdown-wrapper reversed text-sm items-start gap-2",children:[(0,l.jsx)("span",{className:"px-2 bg-slate-200 dark:bg-slate-700 rounded-full hover:bg-slate-100 dark:hover:bg-slate-600 hidden xl:flex",children:"Info"}),(0,l.jsx)("div",{className:"dropdown mt-0 xl:-mt-2",children:(0,l.jsx)("span",{children:"Select Columns to be indexed. NB the order matters"})})]})]}),(0,l.jsxs)("div",{className:"w-auto flex flex-row items-stretch gap-4",children:[(0,l.jsxs)("select",{name:"new_field_data_type",id:"new_field_data_type",className:"w-full xl:w-auto",onChange:e=>{!function({e,indexTableFields:a,setIndexTableFields:t,setIndexType:l,user:s}){if(e.target.value.match(/--/))return;let r=Array.from(e.target.options).filter(a=>a.value===e.target.value)[0].dataset.type;if(r.match(/text/i))l("fullText"),t([{value:e.target.value,dataType:r}]);else{try{if(a.filter(e=>e.dataType.match(/text/i))[0])throw Error("TEXT type exists");if(a.findIndex(a=>a.value===e.target.value)>=0||e.target.value.match(/^--$/))return;a.push({value:e.target.value,dataType:r}),t([...a])}catch(a){(0,d.A)("/api/admin/clientError",{method:"post",body:{component:"ExistingIndexEdit/lines-184-197",message:a.message,user:s}}),t([{value:e.target.value,dataType:r}])}l("regular")}}({e,indexTableFields:b,setIndexTableFields:g,setIndexType:h,user:u})},children:[(0,l.jsx)("option",{value:"--",children:"--"}),t.filter(e=>!e?.fieldName?.match(/^id$|^date_/)&&!e.foreignKey).map((e,a)=>(0,l.jsx)("option",{value:e.fieldName,"data-type":e.dataType,children:e.fieldName},a+1))]}),b&&b[0]&&(0,l.jsx)("div",{className:"card no-hover px-3 py-1 items-center",children:b.map((e,a)=>(0,l.jsxs)("span",{className:"text-sm px-3 py-1 bg-white dark:bg-slate-700 rounded-full shadow-lg font-bold flex items-center justify-center gap-1",children:[(0,l.jsx)("span",{children:e.value}),(0,l.jsx)("span",{className:"font-normal w-5 h-5 rounded-full flex items-center justify-center cursor-pointer bg-slate-200 text-xs hover:bg-slate-400",onClick:a=>{g([...b.filter(a=>!a.value.match(RegExp(`^${o().escapeRegExp(e.value)}$`)))])},children:"✖"})]},a+1))})]})]})]}),(0,l.jsxs)("div",{className:"secondary mt-auto xl:flex-nowrap flex-wrap w-full xl:w-auto",children:[(0,l.jsx)("button",{type:"submit",className:"secondary mt-auto py-3 w-full md:w-auto grow",children:"Save Updates"}),(0,l.jsx)("div",{className:"button outlined gray mt-auto py-2.5 w-full md:w-auto justify-center grow",onClick:e=>{c(!1)},children:"Cancel"})]})]})})}var p=t(62506);function f({tableIndex:e,fieldIndex:a,tableIndexes:t,setTableIndexes:s,refreshFieldsListRef:n,database:i,currentTable:d,tableFields:c,setRefresh:o,confirmedDelegetedUser:u,user:f,tableUniqueId:h}){let b=u?.delegated,g=u?.priviledges?.match(/Edit Tables/i);u?.priviledges?.match(/Delete Tables/i),u?.priviledges?.match(/Create Tables/i);let{active_clone:w,active_clone_parent_db:j,remote_connected:v}=i,[y,N]=r().useState(e),[_,T]=r().useState(!1),[S,A]=r().useState(0);return(0,l.jsxs)("div",{className:"flex-col w-full"+(_?" shadow-xl shadow-slate-300/40 dark:shadow-black/30 relative z-50":""),children:[(0,l.jsxs)("div",{className:"card no-hover items-center w-full py-4"+(_?" rounded-t":" rounded")+(y.indexName?.match(x.A)?" text-slate-400 pointer-events-none border-slate-200 border":""),onClick:e=>{},children:[(0,l.jsx)("span",{className:"font-bold dark:text-white",children:y.indexName}),!y.indexName?.match(x.A)&&!j&&!v&&(0,l.jsx)("div",{className:"ml-0 md:ml-auto flex-wrap",children:(!b||b&&g)&&(0,l.jsx)(r().Fragment,{children:(0,l.jsx)(p.A,{children:(0,l.jsx)("div",{className:"button outlined gray smallest",onClick:t=>{window.confirm(`Delete "${e.indexName}"?`)&&s(e=>e.filter((e,t)=>t!=a))},style:{color:"var(--slate-500)"},children:"Delete"})})})})]}),_&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(m,{fieldIndex:a,setTableIndexes:s,refreshFieldsListRef:n,setActiveEdit:T,tableFields:c,targetIndexObject:y,setRefresh:o,user:f,tableUniqueId:h})})]})}let h=1;function b({user:e,table:a,tableUniqueId:t,tableIndexes:s,setTableIndexes:d,tableFields:c,updateTableAfterFieldsUpdateFunction:o,confirmedDelegetedUser:x,database:m}){a.indexes;let p=x?.delegated,b=x?.priviledges?.match(/Edit Tables/i);x?.priviledges?.match(/Delete Tables/i),x?.priviledges?.match(/Create Tables/i);let{active_clone:g,active_clone_parent_db:w,remote_connected:j}=m,[v,y]=r().useState(0),[N,_]=r().useState(!1),[T,S]=r().useState(!1);return p&&!b?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)("section",{className:"paper blue",children:[N&&(0,l.jsx)(i.A,{}),a.childTable?(0,l.jsxs)(r().Fragment,{children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Indexes"}),(0,l.jsx)("span",{children:"Table indexes are inherited from parent table"}),s&&s[0]&&s.map((e,a)=>(0,l.jsxs)("div",{className:"card w-full light-gray py-4 no-hover items-center",children:[(0,l.jsx)("b",{children:e.indexName}),(0,l.jsxs)("span",{className:"info small gray grow-0 ml-auto w-auto",children:[e.indexType," index"]})]},a))]}):(0,l.jsxs)(r().Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Indexes"}),(!p||p&&b)&&!w&&!j&&(0,l.jsxs)("div",{className:"button secondary outlined flex items-center gap-2",onClick:e=>{T&&S(!1),n({tableIndexes:s,setTableIndexes:d,setRefresh:y})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Index"})]})]}),(0,l.jsxs)("div",{className:"flex-col w-full",style:T?{maxHeight:"200px"}:{},children:[s&&s[0]&&s.map((r,n)=>(h++,r.newTempIndex)?(0,l.jsx)(u,{fieldIndex:n,tableIndex:r,currentTable:a,tableIndexes:s,setTableIndexes:d,tableFields:c,setRefresh:y,user:e,tableUniqueId:t},h):(0,l.jsx)(f,{fieldIndex:n,tableIndex:r,database:m,currentTable:a,tableIndexes:s,setTableIndexes:d,tableFields:c,setRefresh:y,confirmedDelegetedUser:x,user:e,tableUniqueId:t},h)),(!p||p&&b)&&!w&&!j&&(0,l.jsxs)(r().Fragment,{children:[(0,l.jsxs)("div",{className:"button outlined gray w-full justify-center more-padding",style:{borderStyle:"dashed"},onClick:e=>{n({tableIndexes:s,setTableIndexes:d,setRefresh:y})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add New Index"})]}),(0,l.jsx)("div",{className:"button w-full blue",onClick:e=>{_(!0),o&&o(_)},children:(0,l.jsx)("span",{children:"Update Table Indexes"})})]})]})]})]})}},92728:(e,a,t)=>{t.d(a,{A:()=>x}),t(81630);var l=t(22373),s=t.n(l),r=t(67216),n=t.n(r),i=t(31651),d=t.n(i),c=t(93342),o=t(90378),u=t.n(o);async function x({req:e,user:a,query:t}){try{let l=await d()({request:e,user:a,databaseSlug:t.single,query:t});if(!l)return null;let{dbUserId:s}=l,r=await n()(`SELECT * FROM user_databases WHERE user_id='${s}' AND db_slug='${t.single}'`);if(!r?.[0])return null;let i=(0,c.A)({userId:s});if(!i)throw Error("DB Schema not found!");let o=i.filter(e=>e.dbFullName===r[0].db_full_name)[0]?.tables,x=o?.filter(e=>e.tableName===t.single_table)[0],m=await n()(`SELECT * FROM user_database_tables WHERE user_id='${s}' AND db_id='${r[0].id}' AND table_slug='${t.single_table}'`),p=await u()({database:r[0].db_full_name,queryString:`SELECT * FROM ${x?.tableName} ORDER BY id DESC LIMIT 10`,tableSchema:x}),f=await u()({database:r[0].db_full_name,queryString:`SELECT COUNT(id) AS count FROM ${x?.tableName}`,tableSchema:x});if(l.rootUserId){let e=i.filter(e=>e.dbFullName==r[0].db_full_name)[0],a=e.tables.filter(e=>e.tableName===x?.tableName);e.tables=a,i=[e]}return{confirmedDelegetedUser:l||null,database:r[0]||null,dbSchemaData:i||null,entries:p||null,entriesCount:f?.[0]?.count||0,query:t,table:x,tableRecord:m[0]||{}}}catch(e){return s()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:e.message,user:a}),{}}}},94933:(e,a,t)=>{t.d(a,{A:()=>r});var l=t(27825),s=t(63715);function r({query:e,table:a,database:t,dbSchemaData:r,tableFields:n,tableIndexes:i,setLoading:d}){let c=[...r];try{let r=c.findIndex(e=>e.dbFullName===t.db_full_name),o=c[r].tables.findIndex(e=>e.tableName===a.tableName);if(c[r].tables[o].fields=n?l.cloneDeep(n):[],c[r].tables[o].indexes=i?l.cloneDeep(i):[],c[r].tables[o].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,s.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:c,database:t.db_slug,table:a,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},13699:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{SingleTableContext:()=>v,default:()=>w,getServerSideProps:()=>j});var s=t(8732),r=t(82015),n=t.n(r),i=t(20048),d=t.n(i),c=t(95222),o=t(73972),u=t(68153),x=t(64098),m=t(94933),p=t(22373),f=t.n(p),h=t(92728),b=t(11169),g=e([u,x]);[u,x]=g.then?(await g)():g;let v=n().createContext({});function w({user:e,database:a,table:t,tableRecord:l,dbSchemaData:r,entries:i,query:d,confirmedDelegetedUser:p,entriesCount:f}){let h=`${t.tableFullName} Table | Datasquirel`,g=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:h}),(0,s.jsx)("meta",{name:"description",content:"Single Table"})]}),[w,j]=n().useState(t.fields),[y,N]=n().useState(t.indexes),[_,T]=n().useState(null),[S,A]=n().useState(null),F=n().useRef(null),C=n().useRef([]),E=n().useRef([]);return(0,s.jsx)(c.A,{head:g,user:e,extraHeaderContent:(0,s.jsx)(x.A,{database:a,query:d,confirmedDelegetedUser:p,user:e}),children:(0,s.jsxs)(v.Provider,{value:{user:e,database:a,table:t,tableRecord:l,dbSchemaData:r,targetField:_,setTargetField:T,refreshFieldsListRef:F,tableFields:w,setTableFields:j,tableIndexes:y,setTableIndexes:N,updateTableAfterFieldsUpdateFunction:function(e){(0,m.A)({query:d,table:t,database:a,dbSchemaData:r,tableFields:w,tableIndexes:y,setLoading:e})},entries:i,targetEntry:S,setTargetEntry:A,richTextEditors:C,jsonTextEditors:E,query:d,confirmedDelegetedUser:p,entriesCount:f},children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(o.A,{database:a,targetTable:l}),(0,s.jsx)(b.A,{snug:!0})]})})}async function j({req:e,res:a,query:t}){let l=await d()(e,a);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};try{let a=await (0,h.A)({req:e,query:t,user:l});if(!a?.table)throw Error("Data Fetching Error!");return{props:{user:l,...a}}}catch(a){return f()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:a.message,user:l}),{redirect:{destination:e.url?e.url.replace(/\/[^\/]+$/,"")+(t?.delegated?"?delegated=true":""):"/",permanent:!1}}}}l()}catch(e){l(e)}})},40373:e=>{e.exports=require("@tinymce/tinymce-react")},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},90317:e=>{e.exports=require("html-prettify")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},41836:e=>{e.exports=require("react-tiny-popover")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var a=require("../../../../../../webpack-runtime.js");a.C(e);var t=e=>a(a.s=e),l=a.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421,9732,8842],()=>t(91312));module.exports=l})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5271,e.ids=[5271],e.modules={91312:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{config:()=>f,default:()=>u,getServerSideProps:()=>p,getStaticPaths:()=>m,getStaticProps:()=>x,reportWebVitals:()=>h,routeModule:()=>y,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>b});var s=t(63865),r=t(9455),n=t(30671),i=t(49407),d=t(89600),c=t(13699),o=e([c]);c=(o.then?(await o)():o)[0];let u=(0,n.M)(c,"default"),x=(0,n.M)(c,"getStaticProps"),m=(0,n.M)(c,"getStaticPaths"),p=(0,n.M)(c,"getServerSideProps"),f=(0,n.M)(c,"config"),h=(0,n.M)(c,"reportWebVitals"),b=(0,n.M)(c,"unstable_getStaticProps"),g=(0,n.M)(c,"unstable_getStaticPaths"),w=(0,n.M)(c,"unstable_getStaticParams"),j=(0,n.M)(c,"unstable_getServerProps"),v=(0,n.M)(c,"unstable_getServerSideProps"),y=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:c});l()}catch(e){l(e)}})},73972:(e,a,t)=>{t.d(a,{A:()=>c});var l=t(8732),s=t(82015),r=t.n(s),n=t(63715);t(58548);var i=t(55158),d=t(32415);function c({targetTable:e,database:a}){let[t,s]=r().useState(!1);return(0,l.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[t&&(0,l.jsx)(d.A,{width:"20px"}),(0,l.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("button",{className:"outlined"+(t?" pointer-events-none opacity-40":""),onClick:t=>{s(!0),(0,n.A)("/api/deleteUserTable",{method:"post",body:{database:a,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,l.jsx)("span",{children:"Yes"})}),(0,l.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,l.jsx)("span",{children:"Cancel"})})]})]})}},68153:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.d(a,{A:()=>v});var s=t(8732),r=t(82015),n=t.n(r),i=t(63715),d=t(13699),c=t(46437),o=t(58548),u=t(94010),x=t(32415),m=t(34486),p=t(77802),f=t(59550),h=t(62506),b=t(86571),g=t(65241),w=t(59621),j=e([d,u,m,w]);function v(e){let{user:a,database:l,table:r,tableRecord:j,dbSchemaData:v,targetField:y,setTargetField:N,refreshFieldsListRef:_,setTableFields:T,tableFields:S,tableIndexes:F,setTableIndexes:A,updateTableAfterFieldsUpdateFunction:C,entries:E,targetEntry:I,setTargetEntry:q,richTextEditors:D,jsonTextEditors:$,query:k,confirmedDelegetedUser:P,entriesCount:R}=n().useContext(d.SingleTableContext);if(!l||!a||!j||!r)return;let U=t(94327),M=P?.delegated,L=P?.priviledges?.match(/Edit Tables/i),O=P?.priviledges?.match(/Delete Tables/i);P?.priviledges?.match(/Create Tables/i);let{active_clone:W,active_clone_parent_db:B,remote_connected:H}=l,V=`dsql${a.id}${l.id}${j.id}`,[X,z]=n().useState(!1);return(0,s.jsxs)(n().Fragment,{children:[X&&(0,s.jsx)(x.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start gap-4 xl:gap-0 w-full relative z-50",children:[(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsxs)("div",{className:"flex-wrap",children:[(0,s.jsx)(c.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:(0,s.jsxs)("span",{children:[r.tableFullName.replace(/ table/i,"")," ","Table"]})}),(0,s.jsx)(u.A,{slugText:r.tableName,outlined:!0})]}),(0,s.jsx)("div",{className:"flex-wrap flex-col md:flex-row w-full md:w-auto items-stretch md:items-center",children:(0,s.jsxs)(h.A,{children:[(0,s.jsxs)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/entries/add-entry`,className:"button flex items-center gap-2",children:[(0,s.jsx)("span",{className:"symbol",children:"+"}),(0,s.jsx)("span",{children:"Add New Table Entry"})]}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/entries`,className:"button secondary flex items-center gap-2",children:(0,s.jsx)("span",{children:"Entries"})}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/fields`,className:"button outlined secondary flex items-center gap-2",children:(0,s.jsx)("span",{children:"All Fields"})}),(!M||M&&(L||O))&&!B&&!H&&(0,s.jsxs)("div",{className:"dropdown-wrapper mt-4 xl:mt-0",children:[(0,s.jsx)("span",{className:"hidden xl:flex button outlined gray",children:"More"}),(0,s.jsx)("div",{className:"dropdown mobile-transform right-aligned mt-0 xl:-mt-2 gap-2",children:(0,s.jsxs)(h.A,{column:!0,className:"w-full",children:[(!M||M&&L)&&!B&&!H&&(0,s.jsx)("a",{className:"button outlined-gray more-padding w-full",href:`/admin/${a?.id}/databases/${l.db_slug}/tables/${r.tableName}/edit-table`,children:"Edit Table"}),(!M||M&&O)&&!B&&!H&&(0,s.jsx)("button",{className:"outlined-gray more-padding w-full",onClick:e=>{window.confirm(`Delete "${r.tableFullName}" table?`)&&(z(!0),(0,i.A)("/api/deleteUserTable",{method:"post",body:{database:l,table:{table_slug:r.tableName}}},!0).then(e=>{e.success&&window.location.reload()}))},children:"Delete Table"})]})})]})]})})]}),(0,s.jsx)(o.A,{confirmedDelegetedUser:k?.delegated,user:a})]}),l.active_clone?(0,s.jsx)(b.A,{database:l,user:a}):(0,s.jsx)(s.Fragment,{}),l.remote_connected?(0,s.jsx)(w.p,{database:l}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(g.A,{table:r,database:l,user:a}),(0,s.jsx)(p.A,{user:a,tableFields:S,setTableFields:T,setTargetField:N,refreshFieldsListRef:_,updateTable:!0,updateTableAfterFieldsUpdateFunction:C,collapsed:!0,database:l,table:r,confirmedDelegetedUser:P,query:k}),(0,s.jsx)(f.A,{user:a,table:r,tableUniqueId:V,tableIndexes:F,setTableIndexes:A,database:l,tableFields:S,updateTableAfterFieldsUpdateFunction:C,confirmedDelegetedUser:P}),E&&v&&D&&$&&(0,s.jsx)(m.A,{user:a,entries:E,database:l,table:r,setTargetEntry:q,dbSchemaData:v,richTextEditors:D,dataTypes:U,title:"Entries",query:k,confirmedDelegetedUser:P,jsonTextEditors:$,entriesCount:R})]})}[d,u,m,w]=j.then?(await j)():j,l()}catch(e){l(e)}})},59550:(e,a,t)=>{t.d(a,{A:()=>b});var l=t(8732),s=t(82015),r=t.n(s);function n({tableIndexes:e,setTableIndexes:a,setRefresh:t,setPageRefresh:l}){let s=e&&e[0]?e:[];s.push({newTempIndex:!0}),a(s),t&&t(e=>e+1)}var i=t(32415),d=t(63715),c=t(27825),o=t.n(c);function u({tableIndex:e,fieldIndex:a,currentTable:t,tableFields:s,tableIndexes:n,setTableIndexes:i,setRefresh:c,user:u,tableUniqueId:x}){let[m,p]=r().useState("regular"),[f,h]=r().useState(0),b=r().useRef();return(0,l.jsx)("div",{className:"w-full mt-1 xl:flex-nowrap flex-wrap",ref:b,children:(0,l.jsxs)("form",{className:"flex flex-row items-start gap-4 w-full justify-between border border-solid p-4 pt-6 border-slate-400 rounded focus:shadow-lg shadow-slate-700/40 relative flex-wrap xl:flex-nowrap shadow-xl",onSubmit:e=>{e.preventDefault();let t=e.target.new_index_name.value.replace(/_index/,"").replace(/_{1,}$/,"")+"_index";if(!f||!f[0]){alert("Please Select at least 1 table column name");return}!function({fieldIndex:e,setTableIndexes:a,setRefresh:t,payload:l}){a(a=>(a.splice(e,1,l),a)),t&&t(e=>e+1)}({fieldIndex:a,setTableIndexes:i,payload:{indexType:m,indexName:t,indexTableFields:f,alias:x+"_"+t},setRefresh:c})},children:[(0,l.jsx)("span",{className:"absolute -top-2 text-sm bg-fuchsia-600 text-white px-2 rounded-full",children:"New Index"}),(0,l.jsxs)("div",{className:"gap-4 flex-wrap xl:flex-nowrap flex-col xl:flex-row items-stretch w-full",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",style:{minWidth:"70px"},children:[(0,l.jsx)("label",{htmlFor:"new_field_required",children:"Type"}),(0,l.jsx)("select",{name:"new_field_required",id:"new_field_required",className:"px-2",onChange:e=>{p(e.target.value)},children:m?.match(/regular/i)?(0,l.jsx)("option",{value:"regular",children:"Default"}):(0,l.jsx)("option",{value:"fullText",children:"Full Text"})})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_index_name",children:"Index Name"}),(0,l.jsx)("input",{type:"text",name:"new_index_name",id:"new_index_name",placeholder:"Eg. title_index",onInput:async e=>{let a=e.target;a.value=a.value.toLowerCase().replace(/ /g,"_")},required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-4 xl:gap-0.5",children:[(0,l.jsxs)("div",{className:"items-start",children:[(0,l.jsx)("label",{htmlFor:"new_field_data_type",children:"Table Column(s)"}),(0,l.jsxs)("div",{className:"dropdown-wrapper reversed text-sm items-start gap-2",children:[(0,l.jsx)("span",{className:"px-2 bg-slate-200 dark:bg-slate-700 rounded-full hover:bg-slate-100 dark:hover:bg-slate-600 hidden xl:flex",children:"Info"}),(0,l.jsx)("div",{className:"dropdown mt-0 xl:-mt-2",children:(0,l.jsx)("span",{children:"Select Columns to be indexed. NB the order matters"})})]})]}),(0,l.jsxs)("div",{className:"w-auto flex flex-row items-stretch gap-4",children:[(0,l.jsxs)("select",{name:"new_field_data_type",id:"new_field_data_type",className:"w-full xl:w-auto",onChange:e=>{if(e.target.value.match(/--/))return;let a=Array.from(e.target.options).filter(a=>a.value===e.target.value)[0].dataset.type;if(a?.match(/text/i))p("fullText"),h([{value:e.target.value,dataType:a}]);else{try{if(f.filter(e=>e.dataType.match(/text/i))[0])throw Error("TEXT type exists");if(f.findIndex(a=>a.value===e.target.value)>=0||e.target.value.match(/^--$/))return;a?(f.push({value:e.target.value,dataType:a}),h([...f])):window.alert("Datatype not provided. Please recheck fields.")}catch(t){(0,d.A)("/api/admin/clientError",{method:"post",body:{component:"NewIndexFieldTemp/lines-177-190",message:t.message,user:u}}),a?h([{value:e.target.value,dataType:a}]):window.alert("Couldn't set Index Fields")}p("regular")}},children:[(0,l.jsx)("option",{value:"--",children:"--"}),s.filter(e=>!e?.fieldName?.match(/^id$|^date_/)&&!e.foreignKey).map((e,a)=>(0,l.jsx)("option",{value:e.fieldName,"data-type":e.dataType,children:e.fieldName},a+1))]}),f&&f[0]&&(0,l.jsx)("div",{className:"px-3 py-1 bg-slate-100 dark:bg-slate-500/10 rounded",children:f.map((e,a)=>(0,l.jsxs)("span",{className:"text-sm px-3 py-1 bg-white dark:bg-slate-700 rounded-full shadow-lg font-bold flex items-center justify-center gap-1",children:[(0,l.jsx)("span",{children:e.value}),(0,l.jsx)("span",{className:"font-normal w-5 h-5 rounded-full flex items-center justify-center cursor-pointer bg-slate-200 dark:bg-slate-600 text-xs hover:bg-slate-400",onClick:a=>{h([...f.filter(a=>!a.value.match(RegExp(`^${o().escapeRegExp(e.value)}$`)))])},children:"✖"})]},a+1))})]})]})]}),(0,l.jsxs)("div",{className:"secondary mt-auto flex-wrap xl:flex-nowrap w-full xl:w-auto",children:[(0,l.jsx)("button",{type:"submit",className:"secondary mt-auto py-3 w-full sm:w-auto justify-center grow",children:"Add Index"}),(0,l.jsx)("div",{className:"button outlined gray mt-auto py-2.5 w-full sm:w-auto justify-center grow",onClick:e=>{i(e=>e.filter((e,t)=>t!=a))},children:"Cancel"})]})]})})}var x=t(64030);function m({targetIndexObject:e,fieldIndex:a,tableFields:t,refreshFieldsListRef:s,setTableIndexes:n,setRefresh:i,setActiveEdit:c,user:u,tableUniqueId:x}){let[m,p]=r().useState(e),[f,h]=r().useState(m.indexType||"regular"),[b,g]=r().useState(m.indexTableFields?[...m.indexTableFields]:[]),w=r().useRef();return(0,l.jsx)("div",{className:"w-full -mt-3 flex-wrap",ref:w,children:(0,l.jsxs)("form",{className:"flex flex-col xl:flex-row items-start gap-4 w-full justify-between p-4 relative xl:flex-nowrap flex-wrap border border-t-0 border-slate-200 dark:border-slate-600 border-solid rounded-b",onSubmit:e=>{e.preventDefault();let t=e.target.new_index_name.value.replace(/_index/,"").replace(/_{1,}$/,"")+"_index";m.indexName=t,m.alias=x+"_"+t,m.indexTableFields=b,n(e=>(e[a]=m,e)),c(!1),i(e=>e+1)},children:[(0,l.jsxs)("div",{className:"gap-4 xl:flex-nowrap flex-wrap flex-col xl:flex-row items-stretch w-full",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",style:{minWidth:"70px"},children:[(0,l.jsx)("label",{htmlFor:"new_field_required",children:"Type"}),(0,l.jsx)("select",{name:"new_field_required",id:"new_field_required",className:"px-2",onChange:e=>{h(e.target.value),p(a=>(a.indexType=e.target.value,a))},defaultValue:f,children:f?.match(/regular/i)?(0,l.jsx)("option",{value:"regular",children:"Default"}):(0,l.jsx)("option",{value:"fullText",children:"Full Text"})})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5",children:[(0,l.jsx)("label",{htmlFor:"new_index_name",children:"Index Name"}),(0,l.jsx)("input",{type:"text",name:"new_index_name",id:"new_index_name",placeholder:"Eg. title_index",onInput:async e=>{let a=e.target;a.value=a.value.toLowerCase().replace(/ /g,"_")},required:!0,defaultValue:m.indexName})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-4 xl:gap-0.5",children:[(0,l.jsxs)("div",{className:"items-start",children:[(0,l.jsx)("label",{htmlFor:"new_field_data_type",children:"Table Column(s)"}),(0,l.jsxs)("div",{className:"dropdown-wrapper reversed text-sm items-start gap-2",children:[(0,l.jsx)("span",{className:"px-2 bg-slate-200 dark:bg-slate-700 rounded-full hover:bg-slate-100 dark:hover:bg-slate-600 hidden xl:flex",children:"Info"}),(0,l.jsx)("div",{className:"dropdown mt-0 xl:-mt-2",children:(0,l.jsx)("span",{children:"Select Columns to be indexed. NB the order matters"})})]})]}),(0,l.jsxs)("div",{className:"w-auto flex flex-row items-stretch gap-4",children:[(0,l.jsxs)("select",{name:"new_field_data_type",id:"new_field_data_type",className:"w-full xl:w-auto",onChange:e=>{!function({e,indexTableFields:a,setIndexTableFields:t,setIndexType:l,user:s}){if(e.target.value.match(/--/))return;let r=Array.from(e.target.options).filter(a=>a.value===e.target.value)[0].dataset.type;if(r.match(/text/i))l("fullText"),t([{value:e.target.value,dataType:r}]);else{try{if(a.filter(e=>e.dataType.match(/text/i))[0])throw Error("TEXT type exists");if(a.findIndex(a=>a.value===e.target.value)>=0||e.target.value.match(/^--$/))return;a.push({value:e.target.value,dataType:r}),t([...a])}catch(a){(0,d.A)("/api/admin/clientError",{method:"post",body:{component:"ExistingIndexEdit/lines-184-197",message:a.message,user:s}}),t([{value:e.target.value,dataType:r}])}l("regular")}}({e,indexTableFields:b,setIndexTableFields:g,setIndexType:h,user:u})},children:[(0,l.jsx)("option",{value:"--",children:"--"}),t.filter(e=>!e?.fieldName?.match(/^id$|^date_/)&&!e.foreignKey).map((e,a)=>(0,l.jsx)("option",{value:e.fieldName,"data-type":e.dataType,children:e.fieldName},a+1))]}),b&&b[0]&&(0,l.jsx)("div",{className:"card no-hover px-3 py-1 items-center",children:b.map((e,a)=>(0,l.jsxs)("span",{className:"text-sm px-3 py-1 bg-white dark:bg-slate-700 rounded-full shadow-lg font-bold flex items-center justify-center gap-1",children:[(0,l.jsx)("span",{children:e.value}),(0,l.jsx)("span",{className:"font-normal w-5 h-5 rounded-full flex items-center justify-center cursor-pointer bg-slate-200 text-xs hover:bg-slate-400",onClick:a=>{g([...b.filter(a=>!a.value.match(RegExp(`^${o().escapeRegExp(e.value)}$`)))])},children:"✖"})]},a+1))})]})]})]}),(0,l.jsxs)("div",{className:"secondary mt-auto xl:flex-nowrap flex-wrap w-full xl:w-auto",children:[(0,l.jsx)("button",{type:"submit",className:"secondary mt-auto py-3 w-full md:w-auto grow",children:"Save Updates"}),(0,l.jsx)("div",{className:"button outlined gray mt-auto py-2.5 w-full md:w-auto justify-center grow",onClick:e=>{c(!1)},children:"Cancel"})]})]})})}var p=t(62506);function f({tableIndex:e,fieldIndex:a,tableIndexes:t,setTableIndexes:s,refreshFieldsListRef:n,database:i,currentTable:d,tableFields:c,setRefresh:o,confirmedDelegetedUser:u,user:f,tableUniqueId:h}){let b=u?.delegated,g=u?.priviledges?.match(/Edit Tables/i);u?.priviledges?.match(/Delete Tables/i),u?.priviledges?.match(/Create Tables/i);let{active_clone:w,active_clone_parent_db:j,remote_connected:v}=i,[y,N]=r().useState(e),[_,T]=r().useState(!1),[S,F]=r().useState(0);return(0,l.jsxs)("div",{className:"flex-col w-full"+(_?" shadow-xl shadow-slate-300/40 dark:shadow-black/30 relative z-50":""),children:[(0,l.jsxs)("div",{className:"card no-hover items-center w-full py-4"+(_?" rounded-t":" rounded")+(y.indexName?.match(x.A)?" text-slate-400 pointer-events-none border-slate-200 border":""),onClick:e=>{},children:[(0,l.jsx)("span",{className:"font-bold dark:text-white",children:y.indexName}),!y.indexName?.match(x.A)&&!j&&!v&&(0,l.jsx)("div",{className:"ml-0 md:ml-auto flex-wrap",children:(!b||b&&g)&&(0,l.jsx)(r().Fragment,{children:(0,l.jsx)(p.A,{children:(0,l.jsx)("div",{className:"button outlined gray smallest",onClick:t=>{window.confirm(`Delete "${e.indexName}"?`)&&s(e=>e.filter((e,t)=>t!=a))},style:{color:"var(--slate-500)"},children:"Delete"})})})})]}),_&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(m,{fieldIndex:a,setTableIndexes:s,refreshFieldsListRef:n,setActiveEdit:T,tableFields:c,targetIndexObject:y,setRefresh:o,user:f,tableUniqueId:h})})]})}let h=1;function b({user:e,table:a,tableUniqueId:t,tableIndexes:s,setTableIndexes:d,tableFields:c,updateTableAfterFieldsUpdateFunction:o,confirmedDelegetedUser:x,database:m}){a.indexes;let p=x?.delegated,b=x?.priviledges?.match(/Edit Tables/i);x?.priviledges?.match(/Delete Tables/i),x?.priviledges?.match(/Create Tables/i);let{active_clone:g,active_clone_parent_db:w,remote_connected:j}=m,[v,y]=r().useState(0),[N,_]=r().useState(!1),[T,S]=r().useState(!1);return p&&!b?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)("section",{className:"paper blue",children:[N&&(0,l.jsx)(i.A,{}),a.childTable?(0,l.jsxs)(r().Fragment,{children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Indexes"}),(0,l.jsx)("span",{children:"Table indexes are inherited from parent table"}),s&&s[0]&&s.map((e,a)=>(0,l.jsxs)("div",{className:"card w-full light-gray py-4 no-hover items-center",children:[(0,l.jsx)("b",{children:e.indexName}),(0,l.jsxs)("span",{className:"info small gray grow-0 ml-auto w-auto",children:[e.indexType," index"]})]},a))]}):(0,l.jsxs)(r().Fragment,{children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h2",{className:"text-xl m-0 text-left title",children:"Indexes"}),(!p||p&&b)&&!w&&!j&&(0,l.jsxs)("div",{className:"button secondary outlined flex items-center gap-2",onClick:e=>{T&&S(!1),n({tableIndexes:s,setTableIndexes:d,setRefresh:y})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Index"})]})]}),(0,l.jsxs)("div",{className:"flex-col w-full",style:T?{maxHeight:"200px"}:{},children:[s&&s[0]&&s.map((r,n)=>(h++,r.newTempIndex)?(0,l.jsx)(u,{fieldIndex:n,tableIndex:r,currentTable:a,tableIndexes:s,setTableIndexes:d,tableFields:c,setRefresh:y,user:e,tableUniqueId:t},h):(0,l.jsx)(f,{fieldIndex:n,tableIndex:r,database:m,currentTable:a,tableIndexes:s,setTableIndexes:d,tableFields:c,setRefresh:y,confirmedDelegetedUser:x,user:e,tableUniqueId:t},h)),(!p||p&&b)&&!w&&!j&&(0,l.jsxs)(r().Fragment,{children:[(0,l.jsxs)("div",{className:"button outlined gray w-full justify-center more-padding",style:{borderStyle:"dashed"},onClick:e=>{n({tableIndexes:s,setTableIndexes:d,setRefresh:y})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add New Index"})]}),(0,l.jsx)("div",{className:"button w-full blue",onClick:e=>{_(!0),o&&o(_)},children:(0,l.jsx)("span",{children:"Update Table Indexes"})})]})]})]})]})}},92728:(e,a,t)=>{t.d(a,{A:()=>m}),t(81630);var l=t(22373),s=t.n(l),r=t(67216),n=t.n(r),i=t(31651),d=t.n(i),c=t(93342),o=t.n(c),u=t(90378),x=t.n(u);async function m({req:e,user:a,query:t}){try{let l=await d()({request:e,user:a,databaseSlug:t.single,query:t});if(!l)return null;let{dbUserId:s}=l,r=await n()(`SELECT * FROM user_databases WHERE user_id='${s}' AND db_slug='${t.single}'`);if(!r?.[0])return null;let i=o()({userId:s});if(!i)throw Error("DB Schema not found!");let c=i.filter(e=>e.dbFullName===r[0].db_full_name)[0]?.tables,u=c?.filter(e=>e.tableName===t.single_table)[0],m=await n()(`SELECT * FROM user_database_tables WHERE user_id='${s}' AND db_id='${r[0].id}' AND table_slug='${t.single_table}'`),p=await x()({database:r[0].db_full_name,queryString:`SELECT * FROM ${u?.tableName} ORDER BY id DESC LIMIT 10`,tableSchema:u}),f=await x()({database:r[0].db_full_name,queryString:`SELECT COUNT(id) AS count FROM ${u?.tableName}`,tableSchema:u});if(l.rootUserId){let e=i.filter(e=>e.dbFullName==r[0].db_full_name)[0],a=e.tables.filter(e=>e.tableName===u?.tableName);e.tables=a,i=[e]}return{confirmedDelegetedUser:l||null,database:r[0]||null,dbSchemaData:i||null,entries:p||null,entriesCount:f?.[0]?.count||0,query:t,table:u,tableRecord:m[0]||{}}}catch(e){return s()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:e.message,user:a}),{}}}},94933:(e,a,t)=>{t.d(a,{A:()=>r});var l=t(27825),s=t(63715);function r({query:e,table:a,database:t,dbSchemaData:r,tableFields:n,tableIndexes:i,setLoading:d}){let c=[...r];try{let r=c.findIndex(e=>e.dbFullName===t.db_full_name),o=c[r].tables.findIndex(e=>e.tableName===a.tableName);if(c[r].tables[o].fields=n?l.cloneDeep(n):[],c[r].tables[o].indexes=i?l.cloneDeep(i):[],c[r].tables[o].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,s.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:c,database:t.db_slug,table:a,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},13699:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{SingleTableContext:()=>v,default:()=>w,getServerSideProps:()=>j});var s=t(8732),r=t(82015),n=t.n(r),i=t(20048),d=t.n(i),c=t(95222),o=t(73972),u=t(68153),x=t(64098),m=t(94933),p=t(22373),f=t.n(p),h=t(92728),b=t(11169),g=e([u,x]);[u,x]=g.then?(await g)():g;let v=n().createContext({});function w({user:e,database:a,table:t,tableRecord:l,dbSchemaData:r,entries:i,query:d,confirmedDelegetedUser:p,entriesCount:f}){let h=`${t.tableFullName} Table | Datasquirel`,g=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:h}),(0,s.jsx)("meta",{name:"description",content:"Single Table"})]}),[w,j]=n().useState(t.fields),[y,N]=n().useState(t.indexes),[_,T]=n().useState(null),[S,F]=n().useState(null),A=n().useRef(null),C=n().useRef([]),E=n().useRef([]);return(0,s.jsx)(c.A,{head:g,user:e,extraHeaderContent:(0,s.jsx)(x.A,{database:a,query:d,confirmedDelegetedUser:p,user:e}),children:(0,s.jsxs)(v.Provider,{value:{user:e,database:a,table:t,tableRecord:l,dbSchemaData:r,targetField:_,setTargetField:T,refreshFieldsListRef:A,tableFields:w,setTableFields:j,tableIndexes:y,setTableIndexes:N,updateTableAfterFieldsUpdateFunction:function(e){(0,m.A)({query:d,table:t,database:a,dbSchemaData:r,tableFields:w,tableIndexes:y,setLoading:e})},entries:i,targetEntry:S,setTargetEntry:F,richTextEditors:C,jsonTextEditors:E,query:d,confirmedDelegetedUser:p,entriesCount:f},children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(o.A,{database:a,targetTable:l}),(0,s.jsx)(b.A,{snug:!0})]})})}async function j({req:e,res:a,query:t}){let l=await d()(e,a);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};try{let a=await (0,h.A)({req:e,query:t,user:l});if(!a?.table)throw Error("Data Fetching Error!");return{props:{user:l,...a}}}catch(a){return f()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:a.message,user:l}),{redirect:{destination:e.url?e.url.replace(/\/[^\/]+$/,"")+(t?.delegated?"?delegated=true":""):"/",permanent:!1}}}}l()}catch(e){l(e)}})},40373:e=>{e.exports=require("@tinymce/tinymce-react")},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},90317:e=>{e.exports=require("html-prettify")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},41836:e=>{e.exports=require("react-tiny-popover")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var a=require("../../../../../../webpack-runtime.js");a.C(e);var t=e=>a(a.s=e),l=a.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421,9732,8842],()=>t(91312));module.exports=l})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js index b73561b..45213d4 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7181,e.ids=[7181],e.modules={96829:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{config:()=>g,default:()=>c,getServerSideProps:()=>p,getStaticPaths:()=>m,getStaticProps:()=>b,reportWebVitals:()=>x,routeModule:()=>j,unstable_getServerProps:()=>v,unstable_getServerSideProps:()=>w,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>f,unstable_getStaticProps:()=>h});var s=t(63865),r=t(9455),i=t(30671),n=t(49407),d=t(89600),o=t(32448),u=e([o]);o=(u.then?(await u)():u)[0];let c=(0,i.M)(o,"default"),b=(0,i.M)(o,"getStaticProps"),m=(0,i.M)(o,"getStaticPaths"),p=(0,i.M)(o,"getServerSideProps"),g=(0,i.M)(o,"config"),x=(0,i.M)(o,"reportWebVitals"),h=(0,i.M)(o,"unstable_getStaticProps"),f=(0,i.M)(o,"unstable_getStaticPaths"),_=(0,i.M)(o,"unstable_getStaticParams"),v=(0,i.M)(o,"unstable_getServerProps"),w=(0,i.M)(o,"unstable_getServerSideProps"),j=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table",bundlePath:"",filename:""},components:{App:d.default,Document:n.default},userland:o});l()}catch(e){l(e)}})},29641:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.d(a,{A:()=>h});var s=t(8732),r=t(82015),i=t.n(r),n=t(32448),d=t(46437),o=t(58548),u=t(33702),c=t(77802),b=t(94933),m=t(86571),p=t(65241),g=t(59621),x=e([n,u,g]);function h(e){let{user:a,database:t,table:l,tableFields:r,setTableFields:x,setTargetField:h,refreshFieldsListRef:f,dbSchemaData:_,query:v,confirmedDelegetedUser:w}=i().useContext(n.EditTableContext);return w?.delegated,w?.priviledges?.match(/Edit Tables/i),w?.priviledges?.match(/Delete Tables/i),w?.priviledges?.match(/Create Tables/i),(0,s.jsxs)(i().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(d.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{children:"Edit"}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${t.db_slug}/tables/${l.tableName}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 ml-2 text-primary hover:text-primary_dark",children:l.tableFullName}),(0,s.jsx)("span",{className:"ml-2",children:"Table"})]})]}),(0,s.jsx)(o.A,{confirmedDelegetedUser:v?.delegated,user:a})]}),t.active_clone?(0,s.jsx)(m.A,{database:t,user:a}):(0,s.jsx)(s.Fragment,{}),t.remote_connected?(0,s.jsx)(g.p,{database:t}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(p.A,{table:l,database:t,user:a}),(0,s.jsxs)("div",{className:"w-full flex-col",children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(c.A,{user:a,tableFields:r,setTableFields:x,setTargetField:h,refreshFieldsListRef:f,updateTable:!0,database:t,updateTableAfterFieldsUpdateFunction:function(){(0,b.A)({query:v,table:l,database:t,dbSchemaData:_,tableFields:r,tableIndexes:l.indexes})},confirmedDelegetedUser:w,query:v,table:l})]})]})}[n,u,g]=x.then?(await x)():x,l()}catch(e){l(e)}})},33702:(e,a,t)=>{t.a(e,async(e,l)=>{try{let p;t.d(a,{A:()=>m});var s=t(8732),r=t(82015),i=t.n(r),n=t(32415),d=t(27462);t(77802);var o=t(63715),u=t(32448),c=t(64535),b=e([u]);function m(e){let{user:a,table:t,tableFields:l,database:r,query:b,confirmedDelegetedUser:m}=i().useContext(u.EditTableContext);async function g(e){return await (0,d.A)({tableName:"user_database_tables",columnName:"table_slug",value:e,userId:a.id})}let x=m?.delegated,h=m?.priviledges?.match(/Edit Tables/i);m?.priviledges?.match(/Delete Tables/i),m?.priviledges?.match(/Create Tables/i);let[f,_]=i().useState(null),[v,w]=i().useState(!1);return(0,s.jsx)(i().Fragment,{children:(!x||x&&h)&&(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Table Information"}),v&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{e.preventDefault(),w(!0);let l=e.target,s=l.table_name.value,i=l.table_slug.value,n=l.table_description.value;(0,o.A)("/api/updateUserTable",{method:"post",body:{dbFullName:r.db_full_name,dbSlug:r.db_slug,dbId:r.id,tableNameOld:t.tableName,payload:{tableName:i,tableFullName:s,tableDescription:n},delegated:b?.delegated}},!0).then(e=>{e.success?window.location.pathname=`/admin/${a?.id}/databases/${r.db_slug}/tables`+window.location.search:(window.alert("Failed to update Table! Please Try again."),window.location.reload())})},children:[f&&(0,s.jsx)(c.A,{message:f}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_name",children:"Name"}),(0,s.jsx)("input",{type:"text",name:"table_name",id:"table_name",placeholder:"Table Name",onInput:async e=>{let a=e.target,l=a.closest("form");a.value.match(/./)?(a.classList.remove("warning"),_(null)):a.classList.add("warning"),l.table_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let s=l.table_slug.value;window.clearTimeout(p),p=setTimeout(()=>{g(s).then(e=>{e.result&&s!==t.tableName?(l.table_slug.classList.add("warning"),_("Duplicate Table Name")):(l.table_slug.classList.remove("warning"),_(null))})},300)},required:!0,defaultValue:t.tableFullName})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_slug",children:"Slug"}),(0,s.jsx)("input",{type:"text",name:"table_slug",id:"table_slug",placeholder:"Table Slug",onInput:e=>{let a=e.target;a.closest("form"),a.value.match(/./)?(a.classList.remove("warning"),_(null)):a.classList.add("warning"),window.clearTimeout(p),p=setTimeout(()=>{g(a.value).then(e=>{e.result?(a.classList.add("warning"),_("Duplicate Table Slug")):(a.classList.remove("warning"),_(null))})},300)},required:!0,defaultValue:t.tableName})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_description",children:"Description (optional)"}),(0,s.jsx)("textarea",{name:"table_description",id:"table_description",placeholder:"Short Description of Table",defaultValue:t.tableDescription})]}),(0,s.jsx)("button",{type:"submit",className:"w-full"+(v?" pointer-events-none opacity-40":""),id:"create-new-table-form-submit-button",children:"Update Table Info"})]})]})})}u=(b.then?(await b)():b)[0],l()}catch(e){l(e)}})},65241:(e,a,t)=>{t.d(a,{A:()=>i});var l=t(8732),s=t(82015),r=t.n(s);function i({table:e,database:a,user:t,activeDbClone:s}){let i=e?.childTableDbFullName?e.childTableDbFullName.replace(new RegExp(/datasquirel_user_\d+_/),""):null,n=e.childTableDbFullName===a.db_full_name;return i?(0,l.jsxs)("span",{className:"info small green gap-1"+(a?.active_clone?" -mt-6":""),style:{fontWeight:"500"},children:["This Table is an active clone of"," ",(0,l.jsx)("a",{href:`/admin/${t?.id}/databases/${i}/tables/${e.childTableName}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,l.jsx)("b",{children:e.childTableName})})," ","in"," ",n?(0,l.jsxs)("span",{children:["this current database(",(0,l.jsx)("b",{children:a.db_name}),")."]}):(0,l.jsxs)(r().Fragment,{children:[(0,l.jsx)("a",{href:`/admin/${t?.id}/databases/${i}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,l.jsx)("b",{children:i})}),(0,l.jsx)("span",{children:"database."})]})," ",a?.active_clone?"":"Only Foreign keys and Entries can be updated."]}):(0,l.jsx)(r().Fragment,{})}},64535:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(8732);function s({message:e}){return(0,l.jsxs)("div",{className:"p-2 bg-orange-50 w-full justify-center rounded text-sm text-orange-700 border border-orange-400 border-solid",children:[(0,l.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,l.jsx)("span",{children:e})]})}t(82015)},31651:(e,a,t)=>{t(81630);let l=t(77463);e.exports=async function({request:e,databaseSlug:a,user:t,query:s}){try{let r=t.id,i=null;if(!s?.delegated)return{dbUserId:r};let n=s.dbUserId,d=`${process.env.DSQL_USER_DB_PREFIX}${n}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${d}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let t=l({encryptedString:e.cookies[o]});if(!t)throw Error("Invalid Token");if((i=JSON.parse(t)).databaseSlug===a)return{dbUserId:r=i.rootUserId,rootUserId:i.rootUserId,rootUserName:i.rootUserName,rootUserEmail:i.rootUserEmail,rootUserImage:i.rootUserImage,databaseFullName:i.databaseFullName,databaseSlug:i.databaseSlug,allowedTables:i.allowedTables,priviledges:i.priviledges,database:i.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:r}}catch(e){return null}}},27462:(e,a,t)=>{t.d(a,{A:()=>s}),t(22326);var l=t(63715);async function s({tableName:e,columnName:a,value:t,dbFullName:s,dispatch:r,userId:i,dbId:n}){return await (0,l.A)(`/api/checkDuplicateData?tableName=${e}&type=${a}&value=${t}${s?"&dbFullName="+s:""}${i?"&userId="+i:""}${n?"&dbId="+n:""}`)}},94933:(e,a,t)=>{t.d(a,{A:()=>r});var l=t(27825),s=t(63715);function r({query:e,table:a,database:t,dbSchemaData:r,tableFields:i,tableIndexes:n,setLoading:d}){let o=[...r];try{let r=o.findIndex(e=>e.dbFullName===t.db_full_name),u=o[r].tables.findIndex(e=>e.tableName===a.tableName);if(o[r].tables[u].fields=i?l.cloneDeep(i):[],o[r].tables[u].indexes=n?l.cloneDeep(n):[],o[r].tables[u].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,s.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:o,database:t.db_slug,table:a,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},32448:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{EditTableContext:()=>v,default:()=>f,getServerSideProps:()=>_});var s=t(8732),r=t(82015),i=t.n(r),n=t(95222),d=t(20048),o=t.n(d),u=t(64098),c=t(29641),b=t(31651),m=t.n(b),p=t(67216),g=t.n(p),x=t(93342),h=e([u,c]);[u,c]=h.then?(await h)():h;let v=i().createContext({});function f({user:e,database:a,table:t,dbSchemaData:l,query:r,confirmedDelegetedUser:d}){let o=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Edit Table | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Edit Table"})]}),[b,m]=i().useState(t.fields),[p,g]=i().useState(null),[x,h]=i().useState(0),f=i().useRef();return(0,s.jsx)(n.A,{head:o,user:e,extraHeaderContent:(0,s.jsx)(u.A,{database:a,query:r,confirmedDelegetedUser:d,user:e}),children:(0,s.jsx)(v.Provider,{value:{user:e,database:a,table:t,tableFields:b,setTableFields:m,targetField:p,setTargetField:g,pageRefresh:x,setPageRefresh:h,refreshFieldsListRef:f,dbSchemaData:l,query:r,confirmedDelegetedUser:d},children:(0,s.jsx)(c.A,{})})})}async function _({req:e,res:a,query:t}){try{let l=await o()(e,a);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()({request:e,user:l,databaseSlug:t.single,query:t});if(!s)throw Error("No Db Object Found!");let{dbUserId:r,rootUserId:i}=s,n=await g()(`SELECT * FROM user_databases WHERE user_id='${r}' AND db_slug='${t.single}'`);if(!n||!n[0])return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};let d=(0,x.A)({userId:r});if(!d)throw Error("User schema data not found!");let u=d.filter(e=>e.dbFullName===n[0].db_full_name)?.[0]?.tables,c=u?.filter(e=>e.tableName===t.single_table)[0];if(!u||!c)return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};return{props:{user:l,database:n[0],dbSchemaData:d,table:c,query:t,confirmedDelegetedUser:s}}}catch(e){return{redirect:{destination:"/",permanent:!1}}}}l()}catch(e){l(e)}})},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var a=require("../../../../../../../webpack-runtime.js");a.C(e);var t=e=>a(a.s=e),l=a.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421],()=>t(96829));module.exports=l})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7181,e.ids=[7181],e.modules={96829:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{config:()=>g,default:()=>c,getServerSideProps:()=>p,getStaticPaths:()=>m,getStaticProps:()=>b,reportWebVitals:()=>x,routeModule:()=>j,unstable_getServerProps:()=>v,unstable_getServerSideProps:()=>w,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>f,unstable_getStaticProps:()=>h});var s=t(63865),r=t(9455),i=t(30671),n=t(49407),d=t(89600),o=t(32448),u=e([o]);o=(u.then?(await u)():u)[0];let c=(0,i.M)(o,"default"),b=(0,i.M)(o,"getStaticProps"),m=(0,i.M)(o,"getStaticPaths"),p=(0,i.M)(o,"getServerSideProps"),g=(0,i.M)(o,"config"),x=(0,i.M)(o,"reportWebVitals"),h=(0,i.M)(o,"unstable_getStaticProps"),f=(0,i.M)(o,"unstable_getStaticPaths"),_=(0,i.M)(o,"unstable_getStaticParams"),v=(0,i.M)(o,"unstable_getServerProps"),w=(0,i.M)(o,"unstable_getServerSideProps"),j=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table",bundlePath:"",filename:""},components:{App:d.default,Document:n.default},userland:o});l()}catch(e){l(e)}})},29641:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.d(a,{A:()=>h});var s=t(8732),r=t(82015),i=t.n(r),n=t(32448),d=t(46437),o=t(58548),u=t(33702),c=t(77802),b=t(94933),m=t(86571),p=t(65241),g=t(59621),x=e([n,u,g]);function h(e){let{user:a,database:t,table:l,tableFields:r,setTableFields:x,setTargetField:h,refreshFieldsListRef:f,dbSchemaData:_,query:v,confirmedDelegetedUser:w}=i().useContext(n.EditTableContext);return w?.delegated,w?.priviledges?.match(/Edit Tables/i),w?.priviledges?.match(/Delete Tables/i),w?.priviledges?.match(/Create Tables/i),(0,s.jsxs)(i().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(d.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{children:"Edit"}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${t.db_slug}/tables/${l.tableName}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 ml-2 text-primary hover:text-primary_dark",children:l.tableFullName}),(0,s.jsx)("span",{className:"ml-2",children:"Table"})]})]}),(0,s.jsx)(o.A,{confirmedDelegetedUser:v?.delegated,user:a})]}),t.active_clone?(0,s.jsx)(m.A,{database:t,user:a}):(0,s.jsx)(s.Fragment,{}),t.remote_connected?(0,s.jsx)(g.p,{database:t}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(p.A,{table:l,database:t,user:a}),(0,s.jsxs)("div",{className:"w-full flex-col",children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(c.A,{user:a,tableFields:r,setTableFields:x,setTargetField:h,refreshFieldsListRef:f,updateTable:!0,database:t,updateTableAfterFieldsUpdateFunction:function(){(0,b.A)({query:v,table:l,database:t,dbSchemaData:_,tableFields:r,tableIndexes:l.indexes})},confirmedDelegetedUser:w,query:v,table:l})]})]})}[n,u,g]=x.then?(await x)():x,l()}catch(e){l(e)}})},33702:(e,a,t)=>{t.a(e,async(e,l)=>{try{let p;t.d(a,{A:()=>m});var s=t(8732),r=t(82015),i=t.n(r),n=t(32415),d=t(27462);t(77802);var o=t(63715),u=t(32448),c=t(64535),b=e([u]);function m(e){let{user:a,table:t,tableFields:l,database:r,query:b,confirmedDelegetedUser:m}=i().useContext(u.EditTableContext);async function g(e){return await (0,d.A)({tableName:"user_database_tables",columnName:"table_slug",value:e,userId:a.id})}let x=m?.delegated,h=m?.priviledges?.match(/Edit Tables/i);m?.priviledges?.match(/Delete Tables/i),m?.priviledges?.match(/Create Tables/i);let[f,_]=i().useState(null),[v,w]=i().useState(!1);return(0,s.jsx)(i().Fragment,{children:(!x||x&&h)&&(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Table Information"}),v&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{e.preventDefault(),w(!0);let l=e.target,s=l.table_name.value,i=l.table_slug.value,n=l.table_description.value;(0,o.A)("/api/updateUserTable",{method:"post",body:{dbFullName:r.db_full_name,dbSlug:r.db_slug,dbId:r.id,tableNameOld:t.tableName,payload:{tableName:i,tableFullName:s,tableDescription:n},delegated:b?.delegated}},!0).then(e=>{e.success?window.location.pathname=`/admin/${a?.id}/databases/${r.db_slug}/tables`+window.location.search:(window.alert("Failed to update Table! Please Try again."),window.location.reload())})},children:[f&&(0,s.jsx)(c.A,{message:f}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_name",children:"Name"}),(0,s.jsx)("input",{type:"text",name:"table_name",id:"table_name",placeholder:"Table Name",onInput:async e=>{let a=e.target,l=a.closest("form");a.value.match(/./)?(a.classList.remove("warning"),_(null)):a.classList.add("warning"),l.table_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let s=l.table_slug.value;window.clearTimeout(p),p=setTimeout(()=>{g(s).then(e=>{e.result&&s!==t.tableName?(l.table_slug.classList.add("warning"),_("Duplicate Table Name")):(l.table_slug.classList.remove("warning"),_(null))})},300)},required:!0,defaultValue:t.tableFullName})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_slug",children:"Slug"}),(0,s.jsx)("input",{type:"text",name:"table_slug",id:"table_slug",placeholder:"Table Slug",onInput:e=>{let a=e.target;a.closest("form"),a.value.match(/./)?(a.classList.remove("warning"),_(null)):a.classList.add("warning"),window.clearTimeout(p),p=setTimeout(()=>{g(a.value).then(e=>{e.result?(a.classList.add("warning"),_("Duplicate Table Slug")):(a.classList.remove("warning"),_(null))})},300)},required:!0,defaultValue:t.tableName})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_description",children:"Description (optional)"}),(0,s.jsx)("textarea",{name:"table_description",id:"table_description",placeholder:"Short Description of Table",defaultValue:t.tableDescription})]}),(0,s.jsx)("button",{type:"submit",className:"w-full"+(v?" pointer-events-none opacity-40":""),id:"create-new-table-form-submit-button",children:"Update Table Info"})]})]})})}u=(b.then?(await b)():b)[0],l()}catch(e){l(e)}})},65241:(e,a,t)=>{t.d(a,{A:()=>i});var l=t(8732),s=t(82015),r=t.n(s);function i({table:e,database:a,user:t,activeDbClone:s}){let i=e?.childTableDbFullName?e.childTableDbFullName.replace(new RegExp(/datasquirel_user_\d+_/),""):null,n=e.childTableDbFullName===a.db_full_name;return i?(0,l.jsxs)("span",{className:"info small green gap-1"+(a?.active_clone?" -mt-6":""),style:{fontWeight:"500"},children:["This Table is an active clone of"," ",(0,l.jsx)("a",{href:`/admin/${t?.id}/databases/${i}/tables/${e.childTableName}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,l.jsx)("b",{children:e.childTableName})})," ","in"," ",n?(0,l.jsxs)("span",{children:["this current database(",(0,l.jsx)("b",{children:a.db_name}),")."]}):(0,l.jsxs)(r().Fragment,{children:[(0,l.jsx)("a",{href:`/admin/${t?.id}/databases/${i}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,l.jsx)("b",{children:i})}),(0,l.jsx)("span",{children:"database."})]})," ",a?.active_clone?"":"Only Foreign keys and Entries can be updated."]}):(0,l.jsx)(r().Fragment,{})}},64535:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(8732);function s({message:e}){return(0,l.jsxs)("div",{className:"p-2 bg-orange-50 w-full justify-center rounded text-sm text-orange-700 border border-orange-400 border-solid",children:[(0,l.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,l.jsx)("span",{children:e})]})}t(82015)},31651:(e,a,t)=>{t(81630);let l=t(77463);e.exports=async function({request:e,databaseSlug:a,user:t,query:s}){try{let r=t.id,i=null;if(!s?.delegated)return{dbUserId:r};let n=s.dbUserId,d=`${process.env.DSQL_USER_DB_PREFIX}${n}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${d}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let t=l({encryptedString:e.cookies[o]});if(!t)throw Error("Invalid Token");if((i=JSON.parse(t)).databaseSlug===a)return{dbUserId:r=i.rootUserId,rootUserId:i.rootUserId,rootUserName:i.rootUserName,rootUserEmail:i.rootUserEmail,rootUserImage:i.rootUserImage,databaseFullName:i.databaseFullName,databaseSlug:i.databaseSlug,allowedTables:i.allowedTables,priviledges:i.priviledges,database:i.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:r}}catch(e){return null}}},27462:(e,a,t)=>{t.d(a,{A:()=>s}),t(22326);var l=t(63715);async function s({tableName:e,columnName:a,value:t,dbFullName:s,dispatch:r,userId:i,dbId:n}){return await (0,l.A)(`/api/checkDuplicateData?tableName=${e}&type=${a}&value=${t}${s?"&dbFullName="+s:""}${i?"&userId="+i:""}${n?"&dbId="+n:""}`)}},94933:(e,a,t)=>{t.d(a,{A:()=>r});var l=t(27825),s=t(63715);function r({query:e,table:a,database:t,dbSchemaData:r,tableFields:i,tableIndexes:n,setLoading:d}){let o=[...r];try{let r=o.findIndex(e=>e.dbFullName===t.db_full_name),u=o[r].tables.findIndex(e=>e.tableName===a.tableName);if(o[r].tables[u].fields=i?l.cloneDeep(i):[],o[r].tables[u].indexes=n?l.cloneDeep(n):[],o[r].tables[u].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,s.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:o,database:t.db_slug,table:a,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},32448:(e,a,t)=>{t.a(e,async(e,l)=>{try{t.r(a),t.d(a,{EditTableContext:()=>w,default:()=>_,getServerSideProps:()=>v});var s=t(8732),r=t(82015),i=t.n(r),n=t(95222),d=t(20048),o=t.n(d),u=t(64098),c=t(29641),b=t(31651),m=t.n(b),p=t(67216),g=t.n(p),x=t(93342),h=t.n(x),f=e([u,c]);[u,c]=f.then?(await f)():f;let w=i().createContext({});function _({user:e,database:a,table:t,dbSchemaData:l,query:r,confirmedDelegetedUser:d}){let o=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Edit Table | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Edit Table"})]}),[b,m]=i().useState(t.fields),[p,g]=i().useState(null),[x,h]=i().useState(0),f=i().useRef();return(0,s.jsx)(n.A,{head:o,user:e,extraHeaderContent:(0,s.jsx)(u.A,{database:a,query:r,confirmedDelegetedUser:d,user:e}),children:(0,s.jsx)(w.Provider,{value:{user:e,database:a,table:t,tableFields:b,setTableFields:m,targetField:p,setTargetField:g,pageRefresh:x,setPageRefresh:h,refreshFieldsListRef:f,dbSchemaData:l,query:r,confirmedDelegetedUser:d},children:(0,s.jsx)(c.A,{})})})}async function v({req:e,res:a,query:t}){try{let l=await o()(e,a);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()({request:e,user:l,databaseSlug:t.single,query:t});if(!s)throw Error("No Db Object Found!");let{dbUserId:r,rootUserId:i}=s,n=await g()(`SELECT * FROM user_databases WHERE user_id='${r}' AND db_slug='${t.single}'`);if(!n||!n[0])return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};let d=h()({userId:r});if(!d)throw Error("User schema data not found!");let u=d.filter(e=>e.dbFullName===n[0].db_full_name)?.[0]?.tables,c=u?.filter(e=>e.tableName===t.single_table)[0];if(!u||!c)return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};return{props:{user:l,database:n[0],dbSchemaData:d,table:c,query:t,confirmedDelegetedUser:s}}}catch(e){return{redirect:{destination:"/",permanent:!1}}}}l()}catch(e){l(e)}})},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var a=require("../../../../../../../webpack-runtime.js");a.C(e);var t=e=>a(a.s=e),l=a.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421],()=>t(96829));module.exports=l})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js index 431b7b7..056019d 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6569,e.ids=[6569],e.modules={8409:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>g,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>p,getStaticProps:()=>b,reportWebVitals:()=>h,routeModule:()=>y,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>D,unstable_getStaticParams:()=>f,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>_});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),o=a(48292),c=e([o]);o=(c.then?(await c)():c)[0];let u=(0,n.M)(o,"default"),b=(0,n.M)(o,"getStaticProps"),p=(0,n.M)(o,"getStaticPaths"),m=(0,n.M)(o,"getServerSideProps"),g=(0,n.M)(o,"config"),h=(0,n.M)(o,"reportWebVitals"),_=(0,n.M)(o,"unstable_getStaticProps"),x=(0,n.M)(o,"unstable_getStaticPaths"),f=(0,n.M)(o,"unstable_getStaticParams"),S=(0,n.M)(o,"unstable_getServerProps"),D=(0,n.M)(o,"unstable_getServerSideProps"),y=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]/fields",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]/fields",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:o});s()}catch(e){s(e)}})},73972:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(8732),r=a(82015),l=a.n(r),n=a(63715);a(58548);var i=a(55158),d=a(32415);function o({targetTable:e,database:t}){let[a,r]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[a&&(0,s.jsx)(d.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{r(!0),(0,n.A)("/api/deleteUserTable",{method:"post",body:{database:t,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},59844:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),l=a(82015),n=a.n(l),i=a(48292),d=a(46437),o=a(58548),c=a(94010),u=a(77802),b=a(86571),p=a(65241),m=a(59621),g=e([i,c,m]);function h(e){let{user:t,database:a,table:s,tableFields:l,setTableFields:g,setTargetField:h,refreshFieldsListRef:_,updateTableAfterFieldsUpdateFunction:x,query:f,confirmedDelegetedUser:S}=n().useContext(i.TableFieldsContext);return S?.delegated,S?.priviledges?.match(/Edit Tables/i),S?.priviledges?.match(/Delete Tables/i),S?.priviledges?.match(/Create Tables/i),s?.childTable&&s.childTableDbFullName?.replace(new RegExp(/datasquirel_user_\d+_/),""),(0,r.jsxs)(n().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(d.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{children:"All Fields in"}),(0,r.jsx)("div",{className:"inline relative",children:(0,r.jsxs)("a",{href:`/admin/${t?.id}/databases/${a.db_slug}/tables/${s.tableName}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 ml-2 text-primary hover:text-primary_dark relative",onClick:e=>{e.target.closest(".copy-slug-span")&&e.preventDefault()},children:[s.tableFullName,(0,r.jsx)("div",{className:"absolute -top-4 -right-4",children:(0,r.jsx)(c.A,{slugText:s.tableName,justIcon:!0})})]})}),(0,r.jsx)("span",{className:"ml-2",children:"Table"})]})]}),(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:`/admin/${t?.id}/databases/${a.db_slug}/tables/${s.tableName}/entries/add-entry`,className:"button flex items-center gap-2",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add New Table Entry"})]})})]}),(0,r.jsx)(o.A,{confirmedDelegetedUser:f?.delegated,user:t})]}),a.active_clone?(0,r.jsx)(b.A,{database:a,user:t}):(0,r.jsx)(r.Fragment,{}),a.remote_connected?(0,r.jsx)(m.p,{database:a}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(p.A,{table:s,database:a,user:t}),(0,r.jsx)(u.A,{user:t,tableFields:l,setTableFields:g,setTargetField:h,refreshFieldsListRef:_,updateTable:!0,updateTableAfterFieldsUpdateFunction:x,database:a,confirmedDelegetedUser:S,query:f,table:s})]})}[i,c,m]=g.then?(await g)():g,s()}catch(e){s(e)}})},65241:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({table:e,database:t,user:a,activeDbClone:r}){let n=e?.childTableDbFullName?e.childTableDbFullName.replace(new RegExp(/datasquirel_user_\d+_/),""):null,i=e.childTableDbFullName===t.db_full_name;return n?(0,s.jsxs)("span",{className:"info small green gap-1"+(t?.active_clone?" -mt-6":""),style:{fontWeight:"500"},children:["This Table is an active clone of"," ",(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${n}/tables/${e.childTableName}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,s.jsx)("b",{children:e.childTableName})})," ","in"," ",i?(0,s.jsxs)("span",{children:["this current database(",(0,s.jsx)("b",{children:t.db_name}),")."]}):(0,s.jsxs)(l().Fragment,{children:[(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${n}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,s.jsx)("b",{children:n})}),(0,s.jsx)("span",{children:"database."})]})," ",t?.active_clone?"":"Only Foreign keys and Entries can be updated."]}):(0,s.jsx)(l().Fragment,{})}},31651:(e,t,a)=>{a(81630);let s=a(77463);e.exports=async function({request:e,databaseSlug:t,user:a,query:r}){try{let l=a.id,n=null;if(!r?.delegated)return{dbUserId:l};let i=r.dbUserId,d=`${process.env.DSQL_USER_DB_PREFIX}${i}_${t}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${d}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let a=s({encryptedString:e.cookies[o]});if(!a)throw Error("Invalid Token");if((n=JSON.parse(a)).databaseSlug===t)return{dbUserId:l=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},92728:(e,t,a)=>{a.d(t,{A:()=>b}),a(81630);var s=a(22373),r=a.n(s),l=a(67216),n=a.n(l),i=a(31651),d=a.n(i),o=a(93342),c=a(90378),u=a.n(c);async function b({req:e,user:t,query:a}){try{let s=await d()({request:e,user:t,databaseSlug:a.single,query:a});if(!s)return null;let{dbUserId:r}=s,l=await n()(`SELECT * FROM user_databases WHERE user_id='${r}' AND db_slug='${a.single}'`);if(!l?.[0])return null;let i=(0,o.A)({userId:r});if(!i)throw Error("DB Schema not found!");let c=i.filter(e=>e.dbFullName===l[0].db_full_name)[0]?.tables,b=c?.filter(e=>e.tableName===a.single_table)[0],p=await n()(`SELECT * FROM user_database_tables WHERE user_id='${r}' AND db_id='${l[0].id}' AND table_slug='${a.single_table}'`),m=await u()({database:l[0].db_full_name,queryString:`SELECT * FROM ${b?.tableName} ORDER BY id DESC LIMIT 10`,tableSchema:b}),g=await u()({database:l[0].db_full_name,queryString:`SELECT COUNT(id) AS count FROM ${b?.tableName}`,tableSchema:b});if(s.rootUserId){let e=i.filter(e=>e.dbFullName==l[0].db_full_name)[0],t=e.tables.filter(e=>e.tableName===b?.tableName);e.tables=t,i=[e]}return{confirmedDelegetedUser:s||null,database:l[0]||null,dbSchemaData:i||null,entries:m||null,entriesCount:g?.[0]?.count||0,query:a,table:b,tableRecord:p[0]||{}}}catch(e){return r()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:e.message,user:t}),{}}}},94933:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(27825),r=a(63715);function l({query:e,table:t,database:a,dbSchemaData:l,tableFields:n,tableIndexes:i,setLoading:d}){let o=[...l];try{let l=o.findIndex(e=>e.dbFullName===a.db_full_name),c=o[l].tables.findIndex(e=>e.tableName===t.tableName);if(o[l].tables[c].fields=n?s.cloneDeep(n):[],o[l].tables[c].indexes=i?s.cloneDeep(i):[],o[l].tables[c].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,r.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:o,database:a.db_slug,table:t,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let l=0;l",t.message),e}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),l=a(67216),n=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:d,useLocal:o}){let c;let u=!!o||!!a?.match(/^datasquirel$/),b=o?i:u?l:n;try{c=e&&t&&Array.isArray(t)&&t[0]?u?await b(e,t):await b({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await b(e):await b({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&d)try{let e=c;return await s({unparsedResults:e,tableSchema:d})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),l=a(31976),n=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:l()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((d,o)=>{let c=!!e?.match(/full.access|^fa$/i);try{function u(e){n.end(),d(JSON.parse(JSON.stringify(e)))}function b(e){n.end(),d({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}n=c?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:l()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:l()}}),i&&Array.isArray(i)&&i[0]?n.query(a,i).then(u).catch(b):n.query(a).then(u).catch(b)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),d({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function l(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=l},48292:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{TableFieldsContext:()=>S,default:()=>x,getServerSideProps:()=>f});var r=a(8732),l=a(82015),n=a.n(l),i=a(20048),d=a.n(i),o=a(95222),c=a(73972),u=a(64098),b=a(59844),p=a(94933),m=a(22373),g=a.n(m),h=a(92728),_=e([u,b]);[u,b]=_.then?(await _)():_;let S=n().createContext({});function x({user:e,database:t,table:a,dbSchemaData:s,query:l,confirmedDelegetedUser:i}){let d=`${a.tableFullName} Table | Datasquirel`,m=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:d}),(0,r.jsx)("meta",{name:"description",content:"Single Table"})]}),[g,h]=n().useState(a.fields),[_,x]=n().useState(null),f=n().useRef();return(0,r.jsx)(o.A,{head:m,user:e,extraHeaderContent:(0,r.jsx)(u.A,{database:t,query:l,confirmedDelegetedUser:i,user:e}),children:(0,r.jsxs)(S.Provider,{value:{user:e,database:t,table:a,dbSchemaData:s,targetField:_,setTargetField:x,refreshFieldsListRef:f,tableFields:g,setTableFields:h,updateTableAfterFieldsUpdateFunction:function(e){(0,p.A)({query:l,table:a,database:t,dbSchemaData:s,tableFields:g,tableIndexes:a.indexes,setLoading:e})},query:l,confirmedDelegetedUser:i},children:[(0,r.jsx)(b.A,{}),(0,r.jsx)(c.A,{database:t})]})})}async function f({req:e,res:t,query:a}){let s=await d()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};try{let t=await (0,h.A)({req:e,query:a,user:s});if(!t||!t?.table)throw Error("Data Fetching Error!");return{props:{user:s,...t}}}catch(e){return g()({component:"fields-page-component/getServerSideProps/catch-error",message:e.message,user:s}),{props:{user:s,database:null,table:null}}}}s()}catch(e){s(e)}})},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421],()=>a(8409));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6569,e.ids=[6569],e.modules={8409:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{config:()=>g,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>p,getStaticProps:()=>b,reportWebVitals:()=>h,routeModule:()=>y,unstable_getServerProps:()=>S,unstable_getServerSideProps:()=>D,unstable_getStaticParams:()=>f,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>_});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),o=a(48292),c=e([o]);o=(c.then?(await c)():c)[0];let u=(0,n.M)(o,"default"),b=(0,n.M)(o,"getStaticProps"),p=(0,n.M)(o,"getStaticPaths"),m=(0,n.M)(o,"getServerSideProps"),g=(0,n.M)(o,"config"),h=(0,n.M)(o,"reportWebVitals"),_=(0,n.M)(o,"unstable_getStaticProps"),x=(0,n.M)(o,"unstable_getStaticPaths"),f=(0,n.M)(o,"unstable_getStaticParams"),S=(0,n.M)(o,"unstable_getServerProps"),D=(0,n.M)(o,"unstable_getServerSideProps"),y=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/[single_table]/fields",pathname:"/admin/[user_id]/databases/[single]/tables/[single_table]/fields",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:o});s()}catch(e){s(e)}})},73972:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(8732),r=a(82015),l=a.n(r),n=a(63715);a(58548);var i=a(55158),d=a(32415);function o({targetTable:e,database:t}){let[a,r]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[a&&(0,s.jsx)(d.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{r(!0),(0,n.A)("/api/deleteUserTable",{method:"post",body:{database:t,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},59844:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.d(t,{A:()=>h});var r=a(8732),l=a(82015),n=a.n(l),i=a(48292),d=a(46437),o=a(58548),c=a(94010),u=a(77802),b=a(86571),p=a(65241),m=a(59621),g=e([i,c,m]);function h(e){let{user:t,database:a,table:s,tableFields:l,setTableFields:g,setTargetField:h,refreshFieldsListRef:_,updateTableAfterFieldsUpdateFunction:x,query:f,confirmedDelegetedUser:S}=n().useContext(i.TableFieldsContext);return S?.delegated,S?.priviledges?.match(/Edit Tables/i),S?.priviledges?.match(/Delete Tables/i),S?.priviledges?.match(/Create Tables/i),s?.childTable&&s.childTableDbFullName?.replace(new RegExp(/datasquirel_user_\d+_/),""),(0,r.jsxs)(n().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(d.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[(0,r.jsx)("span",{children:"All Fields in"}),(0,r.jsx)("div",{className:"inline relative",children:(0,r.jsxs)("a",{href:`/admin/${t?.id}/databases/${a.db_slug}/tables/${s.tableName}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 ml-2 text-primary hover:text-primary_dark relative",onClick:e=>{e.target.closest(".copy-slug-span")&&e.preventDefault()},children:[s.tableFullName,(0,r.jsx)("div",{className:"absolute -top-4 -right-4",children:(0,r.jsx)(c.A,{slugText:s.tableName,justIcon:!0})})]})}),(0,r.jsx)("span",{className:"ml-2",children:"Table"})]})]}),(0,r.jsx)("div",{children:(0,r.jsxs)("a",{href:`/admin/${t?.id}/databases/${a.db_slug}/tables/${s.tableName}/entries/add-entry`,className:"button flex items-center gap-2",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add New Table Entry"})]})})]}),(0,r.jsx)(o.A,{confirmedDelegetedUser:f?.delegated,user:t})]}),a.active_clone?(0,r.jsx)(b.A,{database:a,user:t}):(0,r.jsx)(r.Fragment,{}),a.remote_connected?(0,r.jsx)(m.p,{database:a}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(p.A,{table:s,database:a,user:t}),(0,r.jsx)(u.A,{user:t,tableFields:l,setTableFields:g,setTargetField:h,refreshFieldsListRef:_,updateTable:!0,updateTableAfterFieldsUpdateFunction:x,database:a,confirmedDelegetedUser:S,query:f,table:s})]})}[i,c,m]=g.then?(await g)():g,s()}catch(e){s(e)}})},65241:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({table:e,database:t,user:a,activeDbClone:r}){let n=e?.childTableDbFullName?e.childTableDbFullName.replace(new RegExp(/datasquirel_user_\d+_/),""):null,i=e.childTableDbFullName===t.db_full_name;return n?(0,s.jsxs)("span",{className:"info small green gap-1"+(t?.active_clone?" -mt-6":""),style:{fontWeight:"500"},children:["This Table is an active clone of"," ",(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${n}/tables/${e.childTableName}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,s.jsx)("b",{children:e.childTableName})})," ","in"," ",i?(0,s.jsxs)("span",{children:["this current database(",(0,s.jsx)("b",{children:t.db_name}),")."]}):(0,s.jsxs)(l().Fragment,{children:[(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${n}`,target:"_blank",className:"button gray outlined small-text",style:{display:"inline-block",fontSize:"12px",padding:"3px 7px"},children:(0,s.jsx)("b",{children:n})}),(0,s.jsx)("span",{children:"database."})]})," ",t?.active_clone?"":"Only Foreign keys and Entries can be updated."]}):(0,s.jsx)(l().Fragment,{})}},31651:(e,t,a)=>{a(81630);let s=a(77463);e.exports=async function({request:e,databaseSlug:t,user:a,query:r}){try{let l=a.id,n=null;if(!r?.delegated)return{dbUserId:l};let i=r.dbUserId,d=`${process.env.DSQL_USER_DB_PREFIX}${i}_${t}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${d}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let a=s({encryptedString:e.cookies[o]});if(!a)throw Error("Invalid Token");if((n=JSON.parse(a)).databaseSlug===t)return{dbUserId:l=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},92728:(e,t,a)=>{a.d(t,{A:()=>p}),a(81630);var s=a(22373),r=a.n(s),l=a(67216),n=a.n(l),i=a(31651),d=a.n(i),o=a(93342),c=a.n(o),u=a(90378),b=a.n(u);async function p({req:e,user:t,query:a}){try{let s=await d()({request:e,user:t,databaseSlug:a.single,query:a});if(!s)return null;let{dbUserId:r}=s,l=await n()(`SELECT * FROM user_databases WHERE user_id='${r}' AND db_slug='${a.single}'`);if(!l?.[0])return null;let i=c()({userId:r});if(!i)throw Error("DB Schema not found!");let o=i.filter(e=>e.dbFullName===l[0].db_full_name)[0]?.tables,u=o?.filter(e=>e.tableName===a.single_table)[0],p=await n()(`SELECT * FROM user_database_tables WHERE user_id='${r}' AND db_id='${l[0].id}' AND table_slug='${a.single_table}'`),m=await b()({database:l[0].db_full_name,queryString:`SELECT * FROM ${u?.tableName} ORDER BY id DESC LIMIT 10`,tableSchema:u}),g=await b()({database:l[0].db_full_name,queryString:`SELECT COUNT(id) AS count FROM ${u?.tableName}`,tableSchema:u});if(s.rootUserId){let e=i.filter(e=>e.dbFullName==l[0].db_full_name)[0],t=e.tables.filter(e=>e.tableName===u?.tableName);e.tables=t,i=[e]}return{confirmedDelegetedUser:s||null,database:l[0]||null,dbSchemaData:i||null,entries:m||null,entriesCount:g?.[0]?.count||0,query:a,table:u,tableRecord:p[0]||{}}}catch(e){return r()({component:"[single_table]/index-page-component/getServerSideProps/catch-error]",message:e.message,user:t}),{}}}},94933:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(27825),r=a(63715);function l({query:e,table:t,database:a,dbSchemaData:l,tableFields:n,tableIndexes:i,setLoading:d}){let o=[...l];try{let l=o.findIndex(e=>e.dbFullName===a.db_full_name),c=o[l].tables.findIndex(e=>e.tableName===t.tableName);if(o[l].tables[c].fields=n?s.cloneDeep(n):[],o[l].tables[c].indexes=i?s.cloneDeep(i):[],o[l].tables[c].fields.find(e=>e.newTempField)){window.alert("Please resolve all open fields before you save"),setTimeout(()=>{d?.(!1)},1e3);return}(0,r.A)("/api/updateDbSchemaDataForUser",{method:"post",body:{schema:o,database:a.db_slug,table:t,delegated:e?.delegated}},!0).then(e=>{e?.success?window.location.reload():(console.log("Res",e),window.alert(e?.msg||"Operation Failed. Please check permissions."))}).finally(()=>{d&&setTimeout(()=>{d(!1)},1e3)})}catch(e){window.alert(e.message),setTimeout(()=>{d?.(!1)},1e3);return}}},68743:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},89545:(e,t,a)=>{let s=a(77463),r=a(68743);e.exports=async function({unparsedResults:e,tableSchema:t}){let a=[];try{for(let l=0;l",t.message),e}}},90378:(e,t,a)=>{a(29021);let s=a(89545),r=a(22373),l=a(67216),n=a(1231),i=a(88896);e.exports=async function({queryString:e,queryValuesArray:t,database:a,tableSchema:d,useLocal:o}){let c;let u=!!o||!!a?.match(/^datasquirel$/),b=o?i:u?l:n;try{c=e&&t&&Array.isArray(t)&&t[0]?u?await b(e,t):await b({paradigm:"Full Access",database:a,queryString:e,queryValues:t}):u?await b(e):await b({paradigm:"Full Access",database:a,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&d)try{let e=c;return await s({unparsedResults:e,tableSchema:d})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",a,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},1231:(e,t,a)=>{let s=a(29021);a(33873);let r=a(9973),l=a(31976),n=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:l()}});e.exports=function({paradigm:e,database:t,queryString:a,queryValues:i}){try{return new Promise((d,o)=>{let c=!!e?.match(/full.access|^fa$/i);try{function u(e){n.end(),d(JSON.parse(JSON.stringify(e)))}function b(e){n.end(),d({error:e.message,queryStringGenerated:a,queryValuesGenerated:i,sql:e.sql})}n=c?r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:l()}}):r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:l()}}),i&&Array.isArray(i)&&i[0]?n.query(a,i).then(u).catch(b):n.query(a).then(u).catch(b)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),d({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},88896:(e,t,a)=>{let s=a(9973),r=a(31976);async function l(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:r()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let a=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(a))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=l},48292:(e,t,a)=>{a.a(e,async(e,s)=>{try{a.r(t),a.d(t,{TableFieldsContext:()=>S,default:()=>x,getServerSideProps:()=>f});var r=a(8732),l=a(82015),n=a.n(l),i=a(20048),d=a.n(i),o=a(95222),c=a(73972),u=a(64098),b=a(59844),p=a(94933),m=a(22373),g=a.n(m),h=a(92728),_=e([u,b]);[u,b]=_.then?(await _)():_;let S=n().createContext({});function x({user:e,database:t,table:a,dbSchemaData:s,query:l,confirmedDelegetedUser:i}){let d=`${a.tableFullName} Table | Datasquirel`,m=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:d}),(0,r.jsx)("meta",{name:"description",content:"Single Table"})]}),[g,h]=n().useState(a.fields),[_,x]=n().useState(null),f=n().useRef();return(0,r.jsx)(o.A,{head:m,user:e,extraHeaderContent:(0,r.jsx)(u.A,{database:t,query:l,confirmedDelegetedUser:i,user:e}),children:(0,r.jsxs)(S.Provider,{value:{user:e,database:t,table:a,dbSchemaData:s,targetField:_,setTargetField:x,refreshFieldsListRef:f,tableFields:g,setTableFields:h,updateTableAfterFieldsUpdateFunction:function(e){(0,p.A)({query:l,table:a,database:t,dbSchemaData:s,tableFields:g,tableIndexes:a.indexes,setLoading:e})},query:l,confirmedDelegetedUser:i},children:[(0,r.jsx)(b.A,{}),(0,r.jsx)(c.A,{database:t})]})})}async function f({req:e,res:t,query:a}){let s=await d()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};try{let t=await (0,h.A)({req:e,query:a,user:s});if(!t||!t?.table)throw Error("Data Fetching Error!");return{props:{user:s,...t}}}catch(e){return g()({component:"fields-page-component/getServerSideProps/catch-error",message:e.message,user:s}),{props:{user:s,database:null,table:null}}}}s()}catch(e){s(e)}})},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,6521,9600,7070,5134,3737,9621,8613,5421],()=>a(8409));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/add-table.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/add-table.js index 1e4cf00..c99422b 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/add-table.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/add-table.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6778,e.ids=[6778],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,a){return a in t?t[a]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,a)):"function"==typeof t&&"default"===a?t:void 0}}})},95515:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.r(t),a.d(t,{config:()=>h,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>b,getStaticProps:()=>p,reportWebVitals:()=>x,routeModule:()=>j,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>g,unstable_getStaticPaths:()=>y,unstable_getStaticProps:()=>f});var s=a(63865),r=a(9455),d=a(30671),n=a(49407),i=a(89600),c=a(85719),o=e([c]);c=(o.then?(await o)():o)[0];let u=(0,d.M)(c,"default"),p=(0,d.M)(c,"getStaticProps"),b=(0,d.M)(c,"getStaticPaths"),m=(0,d.M)(c,"getServerSideProps"),h=(0,d.M)(c,"config"),x=(0,d.M)(c,"reportWebVitals"),f=(0,d.M)(c,"unstable_getStaticProps"),y=(0,d.M)(c,"unstable_getStaticPaths"),g=(0,d.M)(c,"unstable_getStaticParams"),A=(0,d.M)(c,"unstable_getServerProps"),v=(0,d.M)(c,"unstable_getServerSideProps"),j=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/add-table",pathname:"/admin/[user_id]/databases/[single]/tables/add-table",bundlePath:"",filename:""},components:{App:i.default,Document:n.default},userland:c});l()}catch(e){l(e)}})},59706:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>p});var s=a(8732),r=a(82015),d=a.n(r),n=a(85719),i=a(46437),c=a(58548),o=a(81579);a(77802);var u=e([n,o]);function p(e){let{database:t,user:a}=d().useContext(n.AddTableContext);return t?(0,s.jsxs)(d().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{children:"Add A New Table To"}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${t.db_slug}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-700 ml-2 text-primary hover:text-primary_dark",children:t.db_name})]})]}),(0,s.jsx)(c.A,{user:a})]}),(0,s.jsx)("div",{className:"w-full flex-col",children:(0,s.jsx)(o.A,{})})]}):null}[n,o]=u.then?(await u)():u,l()}catch(e){l(e)}})},81579:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>u});var s=a(8732),r=a(82015),d=a.n(r),n=a(85719),i=a(34702),c=a(54253),o=e([n,i,c]);function u(e){let{database:t,query:a}=d().useContext(n.AddTableContext),l=a?.clone;a?.clone_db,a?.clone_table;let[r,o]=d().useState(!!l);return(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsxs)("div",{className:"gap-1 w-full bg-blue-100 dark:bg-blue-100/10 text-white p-2 rounded",children:[(0,s.jsx)("input",{type:"checkbox",name:"toggle-clone-table",id:"toggle-clone-table",className:"w-5 h-5",onChange:e=>{e.target.checked?o(!0):o(!1)},defaultChecked:r}),(0,s.jsx)("label",{htmlFor:"toggle-clone-table",className:"text-base text-slate-600",children:"Clone Another Table"})]}),r?(0,s.jsx)(c.A,{}):(0,s.jsx)(i.A,{})]})}[n,i,c]=o.then?(await o)():o,l()}catch(e){l(e)}})},54253:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>b});var s=a(8732),r=a(82015),d=a.n(r),n=a(32415),i=a(85719),c=a(63715),o=a(64535),u=a(15969),p=e([i,u]);function b(e){let{user:t,tableFields:a,database:l,dbSchemaData:r,query:p}=d().useContext(i.AddTableContext);if(!r)return null;p?.clone;let b=p?.clone_db,m=p?.clone_table,h=b?r.find(e=>e.dbSlug===b):null,x=h?h.tables:null,[f,y]=d().useState(null),[g,A]=d().useState(!1),[v,j]=d().useState(!1),[N,w]=d().useState(h||{...r[0]}),[_,k]=d().useState(x||[...r[0].tables]),[T,S]=d().useState(x?x.find(e=>e.tableName===m):r[0].tables[0]?{...r[0].tables[0]}:null);return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Clone Existing Table"}),g&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{if(e.preventDefault(),A(!0),!T){window.alert("No Table Selected!"),A(!1);return}let a=e.target,s=a.table_name.value,r=a.table_slug.value,d=a.table_description?.value?.match(/./)?a.table_description.value:null,n={...T};n.tableName=r,n.tableFullName=s,v&&(n.childTable=!0,n.childTableName=T.tableName,n.childTableDbFullName=N.dbFullName),d&&(n.tableDescription=d),n.fields.forEach(e=>{delete e.foreignKey}),delete n.childrenTables,l?(0,c.A)("/api/addUserTable",{method:"post",body:{dbFullName:l.db_full_name,dbId:l.id,dbSlug:l.db_slug,parentDatabase:N.dbFullName,parentTable:T.tableName,payload:n}},!0).then(e=>{e.success?window.location.pathname=`/admin/${t?.id}/databases/${l.db_slug}/tables`:window.alert("Table Clonning Failed! Please Try again.")}).finally(()=>{setTimeout(()=>{A(!1)},1e3)}):window.alert("Database record data not found!")},id:"create-new-table-form",children:[f&&(0,s.jsx)(o.A,{message:f}),(0,s.jsx)("hr",{className:"w-full opacity-40"}),(0,s.jsx)("h3",{className:"text-base m-0 font-semibold text-slate-600",children:"Enter New Table Info"}),(0,s.jsx)(u.A,{setAlert:y}),(0,s.jsx)("hr",{className:"w-full opacity-40"}),(0,s.jsx)("h3",{className:"text-base m-0 font-semibold text-slate-600",children:"Select Existing Table To Clone"}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"select_root_database",children:"Database"}),(0,s.jsx)("select",{name:"select_root_database",id:"select_root_database",onChange:e=>{let t=r.filter(t=>t.dbName===e.target.value)[0];w({...t}),k([...t.tables]),t.tables[0]?S({...t.tables[0]}):S(null)},children:r.filter(e=>!e.childDatabase).map((e,t)=>(0,s.jsx)("option",{value:e.dbName,selected:!!b&&b==e.dbSlug||void 0,children:e.dbName},t+1))})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"select_root_table",children:"Table"}),(0,s.jsx)("select",{name:"select_root_table",id:"select_root_table",onChange:e=>{S({..._.filter(t=>t.tableName===e.target.value)[0]})},children:_&&_[0]?_.filter(e=>!e.childTable).map((e,t)=>(0,s.jsx)("option",{value:e.tableName,selected:!!m&&m==e.tableName||void 0,children:e.tableFullName},t+1)):(0,s.jsx)("option",{value:"null",children:"-- No Tables --"})})]}),(0,s.jsxs)("div",{className:"flex-col items-start gap-1",children:[(0,s.jsxs)("div",{className:"gap-1",children:[(0,s.jsx)("input",{type:"checkbox",name:"toggle-update-table",id:"toggle-update-table",className:"w-4 h-4",onChange:e=>{e.target.checked?j(!0):j(!1)}}),(0,s.jsx)("label",{htmlFor:"toggle-update-table",className:"text-base text-slate-600 dark:text-slate-100",children:"Keep New Table Updated?"})]}),(0,s.jsx)("span",{className:"text-sm italic text-slate-600 dark:text-slate-400",children:"By checking this box the new Table stays up to date with changes to the structure of the parent Table"})]}),(0,s.jsx)("button",{className:"w-full p-4"+(g?" pointer-events-none opacity-40":""),onClick:e=>{document.getElementById("create-new-table-form-submit-button")?.click()},children:"Clone Table"})]})]})}[i,u]=p.then?(await p)():p,l()}catch(e){l(e)}})},6848:(e,t,a)=>{a.d(t,{A:()=>c});var l=a(8732),s=a(82015),r=a.n(s),d=a(55158),n=a(32415),i=a(64417);function c({targetField:e,fieldIndex:t,tableFields:a,setTableFields:s,refreshFieldsListRef:c,database:o,user:u}){let[p,b]=r().useState(!1);return(0,l.jsxs)(d.Ay,{title:"edit-field-popup",children:[p&&(0,l.jsx)(n.A,{width:"20px"}),(0,l.jsxs)("span",{children:["Edit"," ",(0,l.jsx)("b",{className:"bg-slate-100 px-3 py-1.5 rounded-full border border-slate-300 border-solid",children:e?.fieldName})]}),(0,l.jsx)(i.A,{fieldIndex:t,tableFields:a,setTableFields:s,refreshFieldsListRef:c,targetField:e,database:o,user:u})]})}},34702:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>m});var s=a(8732),r=a(82015),d=a.n(r),n=a(32415),i=a(85719),c=a(77802),o=a(63715),u=a(64535),p=a(15969),b=e([i,p]);function m(e){let{user:t,tableFields:a,database:l,setTableFields:r,setTargetField:b,refreshFieldsListRef:m,query:h}=d().useContext(i.AddTableContext),[x,f]=d().useState(null),[y,g]=d().useState(!1),[A,v]=d().useState(!1);return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"New Table Information"}),A&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{e.preventDefault(),v(!0);let s=e.target,r=s.table_name.value,d=s.table_slug.value,n=s.table_description?.value?.match(/./)?s.table_description.value:null,i={tableName:d,tableFullName:r,fields:a};n&&(i.description=n),(0,o.A)("/api/addUserTable",{method:"post",body:{dbFullName:l?.db_full_name,dbId:l?.id,dbSlug:l?.db_slug,payload:i}},!0).then(e=>{e.success?window.location.pathname=`/admin/${t?.id}/databases/${l?.db_slug}/tables`:(window.alert("Table Creation Failed! Please Try again."),window.location.reload())})},id:"create-new-table-form",children:[x&&(0,s.jsx)(u.A,{message:x}),(0,s.jsx)(p.A,{setAlert:f}),(0,s.jsx)("button",{type:"submit",className:"w-full hidden",id:"create-new-table-form-submit-button",children:"Create Table"})]}),t&&a&&r&&b&&l&&m&&(0,s.jsx)(c.A,{user:t,tableFields:a,setTableFields:r,setTargetField:b,refreshFieldsListRef:m,database:l,query:h}),(0,s.jsx)("button",{className:"w-full p-4"+(A?" pointer-events-none opacity-40":""),onClick:e=>{document.getElementById("create-new-table-form-submit-button")?.click()},children:"Create Table"})]})}[i,p]=b.then?(await b)():b,l()}catch(e){l(e)}})},15969:(e,t,a)=>{a.a(e,async(e,l)=>{try{let u;a.d(t,{A:()=>o});var s=a(8732),r=a(82015),d=a.n(r),n=a(27462),i=a(85719),c=e([i]);function o({setAlert:e}){let{user:t,database:a}=d().useContext(i.AddTableContext);async function l(e){return await (0,n.A)({tableName:"user_database_tables",columnName:"table_slug",value:e,dbId:a?.id,userId:t?.id})}return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_name",children:"Name"}),(0,s.jsx)("input",{type:"text",name:"table_name",id:"table_name",placeholder:"Table Name",onInput:async t=>{let a=t.target,s=a.closest("form");if(a.value.match(/./)?(a.classList.remove("warning"),e(null)):a.classList.add("warning"),s){s.table_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let t=s.table_slug.value;window.clearTimeout(u),u=setTimeout(()=>{l(t).then(t=>{t.result?(s?.table_slug.classList.add("warning"),e("Duplicate Table Name")):(s.table_slug.classList.remove("warning"),e(null))})},300)}},required:!0})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_slug",children:"Slug"}),(0,s.jsx)("input",{type:"text",name:"table_slug",id:"table_slug",placeholder:"Table Slug",onInput:t=>{let a=t.target;a.closest("form"),a.value.match(/./)?(a.classList.remove("warning"),e(null)):a.classList.add("warning"),window.clearTimeout(u),u=setTimeout(()=>{l(a.value).then(t=>{t.result?(a.classList.add("warning"),e("Duplicate Table Name")):(a.classList.remove("warning"),e(null))})},300)},required:!0})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_description",children:"Description (optional)"}),(0,s.jsx)("textarea",{name:"table_description",id:"table_description",placeholder:"Short Description of Table"})]})]})}i=(c.then?(await c)():c)[0],l()}catch(e){l(e)}})},64535:(e,t,a)=>{a.d(t,{A:()=>s});var l=a(8732);function s({message:e}){return(0,l.jsxs)("div",{className:"p-2 bg-orange-50 w-full justify-center rounded text-sm text-orange-700 border border-orange-400 border-solid",children:[(0,l.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,l.jsx)("span",{children:e})]})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>n,PB:()=>i,fs:()=>c});var l=a(8732),s=a(58150),r=a(82015),d=a.n(r);function n({children:e,title:t,data:a,fullPage:r,wrapperClasses:n,closePopupDispatch:i,wrapperStyle:o,noContainer:u}){return r?(0,l.jsxs)("div",{className:"popup-bg overflow-hidden "+(n||""),"data-popupid":t||null,style:o,children:[u?(0,l.jsx)(d().Fragment,{children:e}):(0,l.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,l.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),i&&i()},children:(0,l.jsx)(s.A,{color:"white",size:20})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]}):(0,l.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,l.jsx)(d().Fragment,{children:e}):(0,l.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,l.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,l.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]})}function i(e,t){let a=document.querySelector(`[data-popupid='${e}']`);a&&(a.style.display="flex",t&&t(a))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},62506:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(8732),s=a(82015),r=a.n(s);function d({children:e,column:t,className:a}){let s=r().useRef();return(0,l.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:s,children:e})}},27462:(e,t,a)=>{a.d(t,{A:()=>s}),a(22326);var l=a(63715);async function s({tableName:e,columnName:t,value:a,dbFullName:s,dispatch:r,userId:d,dbId:n}){return await (0,l.A)(`/api/checkDuplicateData?tableName=${e}&type=${t}&value=${a}${s?"&dbFullName="+s:""}${d?"&userId="+d:""}${n?"&dbId="+n:""}`)}},23293:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},85719:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.r(t),a.d(t,{AddTableContext:()=>g,default:()=>f,getServerSideProps:()=>y});var s=a(8732),r=a(82015),d=a.n(r),n=a(95222),i=a(20048),c=a.n(i),o=a(59706),u=a(6848),p=a(64098),b=a(67216),m=a.n(b),h=a(93342),x=e([o,p]);[o,p]=x.then?(await x)():x;let g=d().createContext({});function f({user:e,database:t,tables:l,dbSchemaData:r,query:i}){let c=`Add Table To ${t.db_name}| Datasquirel`,b=a(45478),m=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:c}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[h,x]=d().useState(b),[f,y]=d().useState(),[A,v]=d().useState(null),j=d().useRef(),N=f&&h?h.findIndex(e=>e.fieldName===f.fieldName):1;return(0,s.jsx)(n.A,{head:m,user:e,extraHeaderContent:(0,s.jsx)(p.A,{database:t,query:i,user:e}),children:(0,s.jsxs)(g.Provider,{value:{user:e,dbSchemaData:r,database:t,tables:l,tableFields:h,setTableFields:x,targetField:f,setTargetField:y,pageRefresh:A,setPageRefresh:v,refreshFieldsListRef:j,query:i},children:[(0,s.jsx)(o.A,{}),f&&h&&(0,s.jsx)(u.A,{targetField:f,fieldIndex:N,tableFields:h,setTableFields:x,refreshFieldsListRef:j,database:t,user:e})]})})}async function y({req:e,res:t,query:a}){try{let l=await c()(e,t);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()(`SELECT * FROM user_databases WHERE user_id='${l.id}' AND db_slug='${a.single}'`);if(!s||!s[0])return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};let r=await m()(`SELECT * FROM user_database_tables WHERE user_id='${l.id}' AND db_id='${s[0].id}'`),d=(0,h.A)({userId:l.id});if(!d)throw Error("User schema data not found!");return{props:{user:l,database:s[0],tables:r,dbSchemaData:d,query:a}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}l()}catch(e){l(e)}})},9455:(e,t)=>{var a;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(a||(a={}))},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")},45478:e=>{e.exports=JSON.parse('[{"fieldName":"id","dataType":"BIGINT","notNullValue":true,"primaryKey":true,"autoIncrement":true},{"fieldName":"uuid","dataType":"UUID","defaultValueLiteral":"UUID()"},{"fieldName":"date_created","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"date_created_code","dataType":"BIGINT","nullValue":true},{"fieldName":"date_created_timestamp","dataType":"TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP"},{"fieldName":"date_updated","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"date_updated_code","dataType":"BIGINT","nullValue":true},{"fieldName":"date_updated_timestamp","dataType":"TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP","onUpdateLiteral":"CURRENT_TIMESTAMP"}]')}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),l=t.X(0,[883,9821,9600,7070,5134,3737,8613,5421],()=>a(95515));module.exports=l})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6778,e.ids=[6778],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,a){return a in t?t[a]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,a)):"function"==typeof t&&"default"===a?t:void 0}}})},95515:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.r(t),a.d(t,{config:()=>h,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>b,getStaticProps:()=>p,reportWebVitals:()=>x,routeModule:()=>j,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>g,unstable_getStaticPaths:()=>y,unstable_getStaticProps:()=>f});var s=a(63865),r=a(9455),d=a(30671),n=a(49407),i=a(89600),c=a(85719),o=e([c]);c=(o.then?(await o)():o)[0];let u=(0,d.M)(c,"default"),p=(0,d.M)(c,"getStaticProps"),b=(0,d.M)(c,"getStaticPaths"),m=(0,d.M)(c,"getServerSideProps"),h=(0,d.M)(c,"config"),x=(0,d.M)(c,"reportWebVitals"),f=(0,d.M)(c,"unstable_getStaticProps"),y=(0,d.M)(c,"unstable_getStaticPaths"),g=(0,d.M)(c,"unstable_getStaticParams"),A=(0,d.M)(c,"unstable_getServerProps"),v=(0,d.M)(c,"unstable_getServerSideProps"),j=new s.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables/add-table",pathname:"/admin/[user_id]/databases/[single]/tables/add-table",bundlePath:"",filename:""},components:{App:i.default,Document:n.default},userland:c});l()}catch(e){l(e)}})},59706:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>p});var s=a(8732),r=a(82015),d=a.n(r),n=a(85719),i=a(46437),c=a(58548),o=a(81579);a(77802);var u=e([n,o]);function p(e){let{database:t,user:a}=d().useContext(n.AddTableContext);return t?(0,s.jsxs)(d().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(i.A,{}),(0,s.jsxs)("h1",{className:"text-3xl m-0",children:[(0,s.jsx)("span",{children:"Add A New Table To"}),(0,s.jsx)("a",{href:`/admin/${a?.id}/databases/${t.db_slug}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-700 ml-2 text-primary hover:text-primary_dark",children:t.db_name})]})]}),(0,s.jsx)(c.A,{user:a})]}),(0,s.jsx)("div",{className:"w-full flex-col",children:(0,s.jsx)(o.A,{})})]}):null}[n,o]=u.then?(await u)():u,l()}catch(e){l(e)}})},81579:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>u});var s=a(8732),r=a(82015),d=a.n(r),n=a(85719),i=a(34702),c=a(54253),o=e([n,i,c]);function u(e){let{database:t,query:a}=d().useContext(n.AddTableContext),l=a?.clone;a?.clone_db,a?.clone_table;let[r,o]=d().useState(!!l);return(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsxs)("div",{className:"gap-1 w-full bg-blue-100 dark:bg-blue-100/10 text-white p-2 rounded",children:[(0,s.jsx)("input",{type:"checkbox",name:"toggle-clone-table",id:"toggle-clone-table",className:"w-5 h-5",onChange:e=>{e.target.checked?o(!0):o(!1)},defaultChecked:r}),(0,s.jsx)("label",{htmlFor:"toggle-clone-table",className:"text-base text-slate-600",children:"Clone Another Table"})]}),r?(0,s.jsx)(c.A,{}):(0,s.jsx)(i.A,{})]})}[n,i,c]=o.then?(await o)():o,l()}catch(e){l(e)}})},54253:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>b});var s=a(8732),r=a(82015),d=a.n(r),n=a(32415),i=a(85719),c=a(63715),o=a(64535),u=a(15969),p=e([i,u]);function b(e){let{user:t,tableFields:a,database:l,dbSchemaData:r,query:p}=d().useContext(i.AddTableContext);if(!r)return null;p?.clone;let b=p?.clone_db,m=p?.clone_table,h=b?r.find(e=>e.dbSlug===b):null,x=h?h.tables:null,[f,y]=d().useState(null),[g,A]=d().useState(!1),[v,j]=d().useState(!1),[N,w]=d().useState(h||{...r[0]}),[_,k]=d().useState(x||[...r[0].tables]),[T,S]=d().useState(x?x.find(e=>e.tableName===m):r[0].tables[0]?{...r[0].tables[0]}:null);return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Clone Existing Table"}),g&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{if(e.preventDefault(),A(!0),!T){window.alert("No Table Selected!"),A(!1);return}let a=e.target,s=a.table_name.value,r=a.table_slug.value,d=a.table_description?.value?.match(/./)?a.table_description.value:null,n={...T};n.tableName=r,n.tableFullName=s,v&&(n.childTable=!0,n.childTableName=T.tableName,n.childTableDbFullName=N.dbFullName),d&&(n.tableDescription=d),n.fields.forEach(e=>{delete e.foreignKey}),delete n.childrenTables,l?(0,c.A)("/api/addUserTable",{method:"post",body:{dbFullName:l.db_full_name,dbId:l.id,dbSlug:l.db_slug,parentDatabase:N.dbFullName,parentTable:T.tableName,payload:n}},!0).then(e=>{e.success?window.location.pathname=`/admin/${t?.id}/databases/${l.db_slug}/tables`:window.alert("Table Clonning Failed! Please Try again.")}).finally(()=>{setTimeout(()=>{A(!1)},1e3)}):window.alert("Database record data not found!")},id:"create-new-table-form",children:[f&&(0,s.jsx)(o.A,{message:f}),(0,s.jsx)("hr",{className:"w-full opacity-40"}),(0,s.jsx)("h3",{className:"text-base m-0 font-semibold text-slate-600",children:"Enter New Table Info"}),(0,s.jsx)(u.A,{setAlert:y}),(0,s.jsx)("hr",{className:"w-full opacity-40"}),(0,s.jsx)("h3",{className:"text-base m-0 font-semibold text-slate-600",children:"Select Existing Table To Clone"}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"select_root_database",children:"Database"}),(0,s.jsx)("select",{name:"select_root_database",id:"select_root_database",onChange:e=>{let t=r.filter(t=>t.dbName===e.target.value)[0];w({...t}),k([...t.tables]),t.tables[0]?S({...t.tables[0]}):S(null)},children:r.filter(e=>!e.childDatabase).map((e,t)=>(0,s.jsx)("option",{value:e.dbName,selected:!!b&&b==e.dbSlug||void 0,children:e.dbName},t+1))})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"select_root_table",children:"Table"}),(0,s.jsx)("select",{name:"select_root_table",id:"select_root_table",onChange:e=>{S({..._.filter(t=>t.tableName===e.target.value)[0]})},children:_&&_[0]?_.filter(e=>!e.childTable).map((e,t)=>(0,s.jsx)("option",{value:e.tableName,selected:!!m&&m==e.tableName||void 0,children:e.tableFullName},t+1)):(0,s.jsx)("option",{value:"null",children:"-- No Tables --"})})]}),(0,s.jsxs)("div",{className:"flex-col items-start gap-1",children:[(0,s.jsxs)("div",{className:"gap-1",children:[(0,s.jsx)("input",{type:"checkbox",name:"toggle-update-table",id:"toggle-update-table",className:"w-4 h-4",onChange:e=>{e.target.checked?j(!0):j(!1)}}),(0,s.jsx)("label",{htmlFor:"toggle-update-table",className:"text-base text-slate-600 dark:text-slate-100",children:"Keep New Table Updated?"})]}),(0,s.jsx)("span",{className:"text-sm italic text-slate-600 dark:text-slate-400",children:"By checking this box the new Table stays up to date with changes to the structure of the parent Table"})]}),(0,s.jsx)("button",{className:"w-full p-4"+(g?" pointer-events-none opacity-40":""),onClick:e=>{document.getElementById("create-new-table-form-submit-button")?.click()},children:"Clone Table"})]})]})}[i,u]=p.then?(await p)():p,l()}catch(e){l(e)}})},6848:(e,t,a)=>{a.d(t,{A:()=>c});var l=a(8732),s=a(82015),r=a.n(s),d=a(55158),n=a(32415),i=a(64417);function c({targetField:e,fieldIndex:t,tableFields:a,setTableFields:s,refreshFieldsListRef:c,database:o,user:u}){let[p,b]=r().useState(!1);return(0,l.jsxs)(d.Ay,{title:"edit-field-popup",children:[p&&(0,l.jsx)(n.A,{width:"20px"}),(0,l.jsxs)("span",{children:["Edit"," ",(0,l.jsx)("b",{className:"bg-slate-100 px-3 py-1.5 rounded-full border border-slate-300 border-solid",children:e?.fieldName})]}),(0,l.jsx)(i.A,{fieldIndex:t,tableFields:a,setTableFields:s,refreshFieldsListRef:c,targetField:e,database:o,user:u})]})}},34702:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.d(t,{A:()=>m});var s=a(8732),r=a(82015),d=a.n(r),n=a(32415),i=a(85719),c=a(77802),o=a(63715),u=a(64535),p=a(15969),b=e([i,p]);function m(e){let{user:t,tableFields:a,database:l,setTableFields:r,setTargetField:b,refreshFieldsListRef:m,query:h}=d().useContext(i.AddTableContext),[x,f]=d().useState(null),[y,g]=d().useState(!1),[A,v]=d().useState(!1);return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"New Table Information"}),A&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("form",{className:"w-full flex flex-col items-start gap-4 relative",onSubmit:e=>{e.preventDefault(),v(!0);let s=e.target,r=s.table_name.value,d=s.table_slug.value,n=s.table_description?.value?.match(/./)?s.table_description.value:null,i={tableName:d,tableFullName:r,fields:a};n&&(i.description=n),(0,o.A)("/api/addUserTable",{method:"post",body:{dbFullName:l?.db_full_name,dbId:l?.id,dbSlug:l?.db_slug,payload:i}},!0).then(e=>{e.success?window.location.pathname=`/admin/${t?.id}/databases/${l?.db_slug}/tables`:(window.alert("Table Creation Failed! Please Try again."),window.location.reload())})},id:"create-new-table-form",children:[x&&(0,s.jsx)(u.A,{message:x}),(0,s.jsx)(p.A,{setAlert:f}),(0,s.jsx)("button",{type:"submit",className:"w-full hidden",id:"create-new-table-form-submit-button",children:"Create Table"})]}),t&&a&&r&&b&&l&&m&&(0,s.jsx)(c.A,{user:t,tableFields:a,setTableFields:r,setTargetField:b,refreshFieldsListRef:m,database:l,query:h}),(0,s.jsx)("button",{className:"w-full p-4"+(A?" pointer-events-none opacity-40":""),onClick:e=>{document.getElementById("create-new-table-form-submit-button")?.click()},children:"Create Table"})]})}[i,p]=b.then?(await b)():b,l()}catch(e){l(e)}})},15969:(e,t,a)=>{a.a(e,async(e,l)=>{try{let u;a.d(t,{A:()=>o});var s=a(8732),r=a(82015),d=a.n(r),n=a(27462),i=a(85719),c=e([i]);function o({setAlert:e}){let{user:t,database:a}=d().useContext(i.AddTableContext);async function l(e){return await (0,n.A)({tableName:"user_database_tables",columnName:"table_slug",value:e,dbId:a?.id,userId:t?.id})}return(0,s.jsxs)(d().Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_name",children:"Name"}),(0,s.jsx)("input",{type:"text",name:"table_name",id:"table_name",placeholder:"Table Name",onInput:async t=>{let a=t.target,s=a.closest("form");if(a.value.match(/./)?(a.classList.remove("warning"),e(null)):a.classList.add("warning"),s){s.table_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let t=s.table_slug.value;window.clearTimeout(u),u=setTimeout(()=>{l(t).then(t=>{t.result?(s?.table_slug.classList.add("warning"),e("Duplicate Table Name")):(s.table_slug.classList.remove("warning"),e(null))})},300)}},required:!0})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_slug",children:"Slug"}),(0,s.jsx)("input",{type:"text",name:"table_slug",id:"table_slug",placeholder:"Table Slug",onInput:t=>{let a=t.target;a.closest("form"),a.value.match(/./)?(a.classList.remove("warning"),e(null)):a.classList.add("warning"),window.clearTimeout(u),u=setTimeout(()=>{l(a.value).then(t=>{t.result?(a.classList.add("warning"),e("Duplicate Table Name")):(a.classList.remove("warning"),e(null))})},300)},required:!0})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,s.jsx)("label",{htmlFor:"table_description",children:"Description (optional)"}),(0,s.jsx)("textarea",{name:"table_description",id:"table_description",placeholder:"Short Description of Table"})]})]})}i=(c.then?(await c)():c)[0],l()}catch(e){l(e)}})},64535:(e,t,a)=>{a.d(t,{A:()=>s});var l=a(8732);function s({message:e}){return(0,l.jsxs)("div",{className:"p-2 bg-orange-50 w-full justify-center rounded text-sm text-orange-700 border border-orange-400 border-solid",children:[(0,l.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,l.jsx)("span",{children:e})]})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>n,PB:()=>i,fs:()=>c});var l=a(8732),s=a(58150),r=a(82015),d=a.n(r);function n({children:e,title:t,data:a,fullPage:r,wrapperClasses:n,closePopupDispatch:i,wrapperStyle:o,noContainer:u}){return r?(0,l.jsxs)("div",{className:"popup-bg overflow-hidden "+(n||""),"data-popupid":t||null,style:o,children:[u?(0,l.jsx)(d().Fragment,{children:e}):(0,l.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,l.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),i&&i()},children:(0,l.jsx)(s.A,{color:"white",size:20})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]}):(0,l.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,l.jsx)(d().Fragment,{children:e}):(0,l.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,l.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,l.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,l.jsx)("span",{className:"font-normal",children:"✖"})}),(0,l.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]})}function i(e,t){let a=document.querySelector(`[data-popupid='${e}']`);a&&(a.style.display="flex",t&&t(a))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},62506:(e,t,a)=>{a.d(t,{A:()=>d});var l=a(8732),s=a(82015),r=a.n(s);function d({children:e,column:t,className:a}){let s=r().useRef();return(0,l.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:s,children:e})}},27462:(e,t,a)=>{a.d(t,{A:()=>s}),a(22326);var l=a(63715);async function s({tableName:e,columnName:t,value:a,dbFullName:s,dispatch:r,userId:d,dbId:n}){return await (0,l.A)(`/api/checkDuplicateData?tableName=${e}&type=${t}&value=${a}${s?"&dbFullName="+s:""}${d?"&userId="+d:""}${n?"&dbId="+n:""}`)}},23293:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("BookText",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}],["path",{d:"M8 7h6",key:"1f0q6e"}],["path",{d:"M8 11h8",key:"vwpz6n"}]])},96089:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},34637:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},25088:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},72935:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FileInput",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]])},29743:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FileKey2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6",key:"rc0qvx"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"4",cy:"16",r:"2",key:"1ehqvc"}],["path",{d:"m10 10-4.5 4.5",key:"7fwrp6"}],["path",{d:"m9 11 1 1",key:"wa6s5q"}]])},71296:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("FolderOutput",[["path",{d:"M2 7.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-1.5",key:"1yk7aj"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m5 10-3 3 3 3",key:"1r8ie0"}]])},10643:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},66916:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},83158:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]])},66918:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},10321:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("ShieldEllipsis",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]])},98136:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("SquareTerminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},25294:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},85719:(e,t,a)=>{a.a(e,async(e,l)=>{try{a.r(t),a.d(t,{AddTableContext:()=>A,default:()=>y,getServerSideProps:()=>g});var s=a(8732),r=a(82015),d=a.n(r),n=a(95222),i=a(20048),c=a.n(i),o=a(59706),u=a(6848),p=a(64098),b=a(67216),m=a.n(b),h=a(93342),x=a.n(h),f=e([o,p]);[o,p]=f.then?(await f)():f;let A=d().createContext({});function y({user:e,database:t,tables:l,dbSchemaData:r,query:i}){let c=`Add Table To ${t.db_name}| Datasquirel`,b=a(45478),m=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:c}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[h,x]=d().useState(b),[f,y]=d().useState(),[g,v]=d().useState(null),j=d().useRef(),N=f&&h?h.findIndex(e=>e.fieldName===f.fieldName):1;return(0,s.jsx)(n.A,{head:m,user:e,extraHeaderContent:(0,s.jsx)(p.A,{database:t,query:i,user:e}),children:(0,s.jsxs)(A.Provider,{value:{user:e,dbSchemaData:r,database:t,tables:l,tableFields:h,setTableFields:x,targetField:f,setTargetField:y,pageRefresh:g,setPageRefresh:v,refreshFieldsListRef:j,query:i},children:[(0,s.jsx)(o.A,{}),f&&h&&(0,s.jsx)(u.A,{targetField:f,fieldIndex:N,tableFields:h,setTableFields:x,refreshFieldsListRef:j,database:t,user:e})]})})}async function g({req:e,res:t,query:a}){try{let l=await c()(e,t);if(!l?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await m()(`SELECT * FROM user_databases WHERE user_id='${l.id}' AND db_slug='${a.single}'`);if(!s||!s[0])return{redirect:{destination:`/admin/${l?.id}/databases`,permanent:!1}};let r=await m()(`SELECT * FROM user_database_tables WHERE user_id='${l.id}' AND db_id='${s[0].id}'`),d=x()({userId:l.id});if(!d)throw Error("User schema data not found!");return{props:{user:l,database:s[0],tables:r,dbSchemaData:d,query:a}}}catch(e){return console.log(e),{redirect:{destination:"/",permanent:!1}}}}l()}catch(e){l(e)}})},9455:(e,t)=>{var a;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return a}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(a||(a={}))},80255:e=>{e.exports=require("gsap")},43191:e=>{e.exports=require("gsap/Flip")},27825:e=>{e.exports=require("lodash")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},1976:e=>{e.exports=require("react-dom/client")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},75979:e=>{e.exports=import("tailwind-merge")},45478:e=>{e.exports=JSON.parse('[{"fieldName":"id","dataType":"BIGINT","notNullValue":true,"primaryKey":true,"autoIncrement":true},{"fieldName":"uuid","dataType":"UUID","defaultValueLiteral":"UUID()"},{"fieldName":"date_created","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"date_created_code","dataType":"BIGINT","nullValue":true},{"fieldName":"date_created_timestamp","dataType":"TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP"},{"fieldName":"date_updated","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"date_updated_code","dataType":"BIGINT","nullValue":true},{"fieldName":"date_updated_timestamp","dataType":"TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP","onUpdateLiteral":"CURRENT_TIMESTAMP"}]')}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),l=t.X(0,[883,9821,9600,7070,5134,3737,8613,5421],()=>a(95515));module.exports=l})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/media.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/media.js index 81d558f..54e9667 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/media.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/media.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9326,e.ids=[9326],e.modules={53088:(e,t,s)=>{s.r(t),s.d(t,{config:()=>W,default:()=>R,getServerSideProps:()=>I,getStaticPaths:()=>H,getStaticProps:()=>k,reportWebVitals:()=>B,routeModule:()=>X,unstable_getServerProps:()=>U,unstable_getServerSideProps:()=>G,unstable_getStaticParams:()=>Q,unstable_getStaticPaths:()=>O,unstable_getStaticProps:()=>$});var r={};s.r(r),s.d(r,{MediaContext:()=>T,default:()=>D,getServerSideProps:()=>V});var a=s(63865),i=s(9455),n=s(30671),d=s(49407),o=s(89600),l=s(8732),u=s(82015),c=s.n(u),p=s(95222),x=s(20048),m=s.n(x),g=s(58548),S=s(55158),j=s(24671),h=s(82747),f=s(62506);function b(e){let{media:t,setTargetMedia:s,user:r,folders:a,staticHost:i}=c().useContext(T);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,l.jsxs)(f.A,{children:[(0,l.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,S.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Media"})]}),(0,l.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,S.PB)("add-folder-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Folder"})]})]})]}),(0,l.jsx)(g.A,{user:r})]}),r?.verification_status?.toString().match(/1/)?(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(h.A,{media:t,setTargetMedia:s,folders:a,staticHost:i,user:r}),t&&t[0]&&(0,l.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,S.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,l.jsx)(j.A,{})]})}var P=s(83531),M=s(81156),v=s(98009),A=s(30180),_=s(31700),N=s(99486),w=s(32415),y=s(67216),q=s.n(y),F=s(33873),C=s.n(F),E=s(65693);let L=s(29021),T=c().createContext({});function D({user:e,media:t,folders:s,staticHost:r}){let a=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[i,n]=c().useState(null),[d,o]=c().useState(null),[u,x]=c().useState(null),[m,g]=c().useState(!1),[S,j]=c().useState(null);return(0,l.jsx)(p.A,{head:a,user:e,children:(0,l.jsxs)(T.Provider,{value:{user:e,media:t,targetMedia:S,setTargetMedia:j,folders:s,staticHost:r},children:[m&&(0,l.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,l.jsx)(b,{}),(0,l.jsx)(P.A,{setNewMedia:n,setLoading:g}),(0,l.jsx)(_.A,{setNewFile:o,setLoading:g}),(0,l.jsx)(E.A,{setNewVideo:x,setLoading:g}),(0,l.jsx)(M.A,{newMedia:i,setNewMedia:n,newFile:d,setNewFile:o,newVideo:u,setNewVideo:x}),(0,l.jsx)(v.A,{targetMedia:S,setTargetMedia:j,staticHost:r,media:t}),(0,l.jsx)(A.A,{}),(0,l.jsx)(N.A,{user:e})]})})}async function V({req:e,res:t,query:s}){let r=await m()(e,t);if(!r?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let a=await q()(`SELECT * FROM user_media WHERE user_id='${r.id}' AND folder IS NULL`),i=process.env.DSQL_STATIC_SERVER_DIR;if(!i)return console.log("Static File ENV not Found!"),{redirect:{destination:"/admin",permanent:!1}};let n=C().join(i,`images/user-images/user-${r.id}/`);return L.existsSync(n)?{props:{user:r,media:a,folders:L.readdirSync(n).filter(e=>!e.match(/\..{3,4}$/)),staticHost:process.env.DSQL_STATIC_HOST||""}}:{redirect:{destination:"/admin",permanent:!1}}}let R=(0,n.M)(r,"default"),k=(0,n.M)(r,"getStaticProps"),H=(0,n.M)(r,"getStaticPaths"),I=(0,n.M)(r,"getServerSideProps"),W=(0,n.M)(r,"config"),B=(0,n.M)(r,"reportWebVitals"),$=(0,n.M)(r,"unstable_getStaticProps"),O=(0,n.M)(r,"unstable_getStaticPaths"),Q=(0,n.M)(r,"unstable_getStaticParams"),U=(0,n.M)(r,"unstable_getServerProps"),G=(0,n.M)(r,"unstable_getServerSideProps"),X=new a.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/admin/[user_id]/media",pathname:"/admin/[user_id]/media",bundlePath:"",filename:""},components:{App:o.default,Document:d.default},userland:r})},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600,7070,7640],()=>s(53088));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9326,e.ids=[9326],e.modules={53088:(e,t,s)=>{s.r(t),s.d(t,{config:()=>W,default:()=>R,getServerSideProps:()=>I,getStaticPaths:()=>H,getStaticProps:()=>k,reportWebVitals:()=>B,routeModule:()=>X,unstable_getServerProps:()=>U,unstable_getServerSideProps:()=>G,unstable_getStaticParams:()=>Q,unstable_getStaticPaths:()=>O,unstable_getStaticProps:()=>$});var r={};s.r(r),s.d(r,{MediaContext:()=>T,default:()=>D,getServerSideProps:()=>V});var a=s(63865),i=s(9455),n=s(30671),d=s(49407),o=s(89600),l=s(8732),u=s(82015),c=s.n(u),p=s(95222),x=s(20048),m=s.n(x),g=s(58548),S=s(55158),j=s(24671),h=s(82747),f=s(62506);function b(e){let{media:t,setTargetMedia:s,user:r,folders:a,staticHost:i}=c().useContext(T);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,l.jsxs)(f.A,{children:[(0,l.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,S.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Media"})]}),(0,l.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,S.PB)("add-folder-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Folder"})]})]})]}),(0,l.jsx)(g.A,{user:r})]}),r?.verification_status?.toString().match(/1/)?(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(h.A,{media:t,setTargetMedia:s,folders:a,staticHost:i,user:r}),t&&t[0]&&(0,l.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,S.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,l.jsx)(j.A,{})]})}var P=s(83531),M=s(81156),v=s(98009),A=s(30180),_=s(31700),N=s(99486),w=s(32415),y=s(67216),q=s.n(y),F=s(33873),C=s.n(F),E=s(65693);let L=s(29021),T=c().createContext({});function D({user:e,media:t,folders:s,staticHost:r}){let a=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[i,n]=c().useState(null),[d,o]=c().useState(null),[u,x]=c().useState(null),[m,g]=c().useState(!1),[S,j]=c().useState(null);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(p.A,{head:a,user:e,children:(0,l.jsxs)(T.Provider,{value:{user:e,media:t,targetMedia:S,setTargetMedia:j,folders:s,staticHost:r},children:[m&&(0,l.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,l.jsx)(b,{}),(0,l.jsx)(P.A,{setNewMedia:n,setLoading:g}),(0,l.jsx)(_.A,{setNewFile:o,setLoading:g}),(0,l.jsx)(E.A,{setNewVideo:x,setLoading:g})]})}),(0,l.jsx)(M.A,{newMedia:i,setNewMedia:n,newFile:d,setNewFile:o,newVideo:u,setNewVideo:x}),(0,l.jsx)(v.A,{targetMedia:S,setTargetMedia:j,staticHost:r,media:t}),(0,l.jsx)(A.A,{}),(0,l.jsx)(N.A,{user:e})]})}async function V({req:e,res:t,query:s}){let r=await m()(e,t);if(!r?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let a=await q()(`SELECT * FROM user_media WHERE user_id='${r.id}' AND folder IS NULL`),i=process.env.DSQL_STATIC_SERVER_DIR;if(!i)return console.log("Static File ENV not Found!"),{redirect:{destination:"/admin",permanent:!1}};let n=C().join(i,`images/user-images/user-${r.id}/`);return L.existsSync(n)?{props:{user:r,media:a,folders:L.readdirSync(n).filter(e=>!e.match(/\..{3,4}$/)),staticHost:process.env.DSQL_STATIC_HOST||""}}:{redirect:{destination:"/admin",permanent:!1}}}let R=(0,n.M)(r,"default"),k=(0,n.M)(r,"getStaticProps"),H=(0,n.M)(r,"getStaticPaths"),I=(0,n.M)(r,"getServerSideProps"),W=(0,n.M)(r,"config"),B=(0,n.M)(r,"reportWebVitals"),$=(0,n.M)(r,"unstable_getStaticProps"),O=(0,n.M)(r,"unstable_getStaticPaths"),Q=(0,n.M)(r,"unstable_getStaticParams"),U=(0,n.M)(r,"unstable_getServerProps"),G=(0,n.M)(r,"unstable_getServerSideProps"),X=new a.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/admin/[user_id]/media",pathname:"/admin/[user_id]/media",bundlePath:"",filename:""},components:{App:o.default,Document:d.default},userland:r})},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600,7070,7640],()=>s(53088));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/media/[...folder].js b/dsql-app/.local_dist/server/pages/admin/[user_id]/media/[...folder].js index 2ed198e..a5242d3 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/media/[...folder].js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/media/[...folder].js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=431,e.ids=[431],e.modules={55840:(e,t,r)=>{r.r(t),r.d(t,{config:()=>W,default:()=>B,getServerSideProps:()=>Q,getStaticPaths:()=>O,getStaticProps:()=>I,reportWebVitals:()=>z,routeModule:()=>Y,unstable_getServerProps:()=>J,unstable_getServerSideProps:()=>K,unstable_getStaticParams:()=>X,unstable_getStaticPaths:()=>G,unstable_getStaticProps:()=>U});var s={};r.r(s),r.d(s,{MediaContext:()=>V,default:()=>H,getServerSideProps:()=>L});var i=r(63865),a=r(9455),n=r(30671),o=r(49407),d=r(89600),l=r(8732),u=r(82015),c=r.n(u),p=r(95222),x=r(20048),m=r.n(x),f=r(83531),h=r(81156),S=r(98009),g=r(30180),j=r(46437),v=r(58548),y=r(55158),A=r(24671),P=r(82747),_=r(62506),b=r(96089);function M(e){let{media:t,setTargetMedia:r,user:s,folders:i,query:a,staticHost:n,folder:o}=c().useContext(V);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(j.A,{}),(0,l.jsx)(b.A,{size:20}),(0,l.jsx)("h1",{className:"text-3xl m-0",children:a.folder[a.folder.length-1]})]}),(0,l.jsxs)(_.A,{children:[(0,l.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,y.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Media"})]}),(0,l.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,y.PB)("add-folder-popoup",e=>{e?.querySelector("input")?.focus()})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Folder"})]})]})]}),(0,l.jsx)(v.A,{user:s})]}),s?.verification_status?.toString().match(/1/)?(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(P.A,{media:t,setTargetMedia:r,folders:i,folder:o,staticHost:n,user:s}),t&&t[0]&&(0,l.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,y.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,l.jsx)(A.A,{})]})}var w=r(31700),N=r(99486),q=r(32415),$=r(67216),F=r.n($),C=r(33873),T=r.n(C),E=r(65693),k=r(67735),D=r.n(k);let R=r(29021),V=c().createContext({});function H({user:e,media:t,folders:r,query:s,staticHost:i,folderNameFull:a}){let n=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,d]=c().useState(null),[u,x]=c().useState(null),[m,j]=c().useState(null),[v,y]=c().useState(!1),[A,P]=c().useState(null);return(0,l.jsx)(p.A,{head:n,user:e,children:(0,l.jsxs)(V.Provider,{value:{user:e,media:t,targetMedia:A,setTargetMedia:P,folders:r,query:s,staticHost:i,folder:a},children:[v&&(0,l.jsx)(q.A,{screen:!0,title:"Processing Files ..."}),(0,l.jsx)(M,{}),(0,l.jsx)(f.A,{setNewMedia:d,setLoading:y}),(0,l.jsx)(w.A,{setNewFile:x,setLoading:y}),(0,l.jsx)(E.A,{setNewVideo:j,setLoading:y}),(0,l.jsx)(h.A,{newMedia:o,setNewMedia:d,newFile:u,setNewFile:x,folder:a,newVideo:m,setNewVideo:j}),(0,l.jsx)(S.A,{targetMedia:A,staticHost:i,setTargetMedia:P,media:t}),(0,l.jsx)(g.A,{folder:a}),(0,l.jsx)(N.A,{user:e})]})})}async function L({req:e,res:t,query:r}){try{let s=await m()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let i=r.folder.join("/"),a=await F()(`SELECT * FROM user_media WHERE user_id='${s.id}' AND folder='${i}'`),n=D()({isPrivate:!1,user:s,folder:i,video:!1,pathOnly:!0});if(!n)return console.log("Static File ENV not Found!"),{redirect:{destination:"/",permanent:!1}};let o=n.fileRootPath,d=R.readdirSync(o).filter(e=>!R.statSync(T().normalize(`${o}/${e}`)).isFile());return{props:{user:s,media:a,folders:d,query:r,staticHost:process.env.DSQL_STATIC_HOST||"",folderNameFull:i}}}catch(e){return{redirect:{destination:"/admin",permanent:!1}}}}let B=(0,n.M)(s,"default"),I=(0,n.M)(s,"getStaticProps"),O=(0,n.M)(s,"getStaticPaths"),Q=(0,n.M)(s,"getServerSideProps"),W=(0,n.M)(s,"config"),z=(0,n.M)(s,"reportWebVitals"),U=(0,n.M)(s,"unstable_getStaticProps"),G=(0,n.M)(s,"unstable_getStaticPaths"),X=(0,n.M)(s,"unstable_getStaticParams"),J=(0,n.M)(s,"unstable_getServerProps"),K=(0,n.M)(s,"unstable_getServerSideProps"),Y=new i.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/admin/[user_id]/media/[...folder]",pathname:"/admin/[user_id]/media/[...folder]",bundlePath:"",filename:""},components:{App:d.default,Document:o.default},userland:s})},46437:(e,t,r)=>{r.d(t,{A:()=>a});var s=r(8732),i=r(23293);function a(){return(0,s.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,s.jsx)(i.A,{})})}r(82015)},67735:(e,t,r)=>{let s=r(29021),i=r(33873);e.exports=function({isPrivate:e,user:t,folder:r,video:a,pathOnly:n}){"production".match(/production/);let o=t?.id||t?.user_id,d=process.env.DSQL_STATIC_SERVER_DIR;if(!d)return console.log("Static File ENV not Found!"),null;let l=e?`@/${a?"videos":"media"}/${r?r+"/":""}`:a?`/videos/user-videos/user-${o}/${r?r+"/":""}`:`/images/user-images/user-${o}/${r?r+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}/media/${r?r+"/":""}`:i.join(d,l);return s.existsSync(u)||n||s.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${r?r+"/":""}`:`${process.env.DSQL_STATIC_HOST}${l}`,relativePath:l}}},96089:(e,t,r)=>{r.d(t,{A:()=>s});let s=(0,r(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,7640],()=>r(55840));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=431,e.ids=[431],e.modules={55840:(e,t,r)=>{r.r(t),r.d(t,{config:()=>W,default:()=>I,getServerSideProps:()=>Q,getStaticPaths:()=>O,getStaticProps:()=>B,reportWebVitals:()=>z,routeModule:()=>Y,unstable_getServerProps:()=>J,unstable_getServerSideProps:()=>K,unstable_getStaticParams:()=>X,unstable_getStaticPaths:()=>G,unstable_getStaticProps:()=>U});var s={};r.r(s),r.d(s,{MediaContext:()=>V,default:()=>H,getServerSideProps:()=>L});var i=r(63865),a=r(9455),n=r(30671),o=r(49407),d=r(89600),l=r(8732),u=r(82015),c=r.n(u),p=r(95222),x=r(20048),m=r.n(x),f=r(83531),h=r(81156),g=r(98009),S=r(30180),j=r(46437),v=r(58548),y=r(55158),A=r(24671),P=r(82747),b=r(62506),_=r(96089);function M(e){let{media:t,setTargetMedia:r,user:s,folders:i,query:a,staticHost:n,folder:o}=c().useContext(V);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,l.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(j.A,{}),(0,l.jsx)(_.A,{size:20}),(0,l.jsx)("h1",{className:"text-3xl m-0",children:a.folder[a.folder.length-1]})]}),(0,l.jsxs)(b.A,{children:[(0,l.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,y.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Media"})]}),(0,l.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,y.PB)("add-folder-popoup",e=>{e?.querySelector("input")?.focus()})},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{children:"Add Folder"})]})]})]}),(0,l.jsx)(v.A,{user:s})]}),s?.verification_status?.toString().match(/1/)?(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(P.A,{media:t,setTargetMedia:r,folders:i,folder:o,staticHost:n,user:s}),t&&t[0]&&(0,l.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,y.PB)("choose-media-type-popoup")},children:[(0,l.jsx)("span",{className:"symbol",children:"+"}),(0,l.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,l.jsx)(A.A,{})]})}var w=r(31700),N=r(99486),q=r(32415),F=r(67216),$=r.n(F),C=r(33873),T=r.n(C),E=r(65693),k=r(67735),D=r.n(k);let R=r(29021),V=c().createContext({});function H({user:e,media:t,folders:r,query:s,staticHost:i,folderNameFull:a}){let n=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,d]=c().useState(null),[u,x]=c().useState(null),[m,j]=c().useState(null),[v,y]=c().useState(!1),[A,P]=c().useState(null);return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsx)(p.A,{head:n,user:e,children:(0,l.jsxs)(V.Provider,{value:{user:e,media:t,targetMedia:A,setTargetMedia:P,folders:r,query:s,staticHost:i,folder:a},children:[v&&(0,l.jsx)(q.A,{screen:!0,title:"Processing Files ..."}),(0,l.jsx)(M,{}),(0,l.jsx)(f.A,{setNewMedia:d,setLoading:y}),(0,l.jsx)(w.A,{setNewFile:x,setLoading:y}),(0,l.jsx)(E.A,{setNewVideo:j,setLoading:y})]})}),(0,l.jsx)(h.A,{newMedia:o,setNewMedia:d,newFile:u,setNewFile:x,folder:a,newVideo:m,setNewVideo:j}),(0,l.jsx)(g.A,{targetMedia:A,staticHost:i,setTargetMedia:P,media:t}),(0,l.jsx)(S.A,{folder:a}),(0,l.jsx)(N.A,{user:e})]})}async function L({req:e,res:t,query:r}){try{let s=await m()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let i=r.folder.join("/"),a=await $()(`SELECT * FROM user_media WHERE user_id='${s.id}' AND folder='${i}'`),n=D()({isPrivate:!1,userId:s.id,folder:i,video:!1,pathOnly:!0});if(!n)return console.log("Static File ENV not Found!"),{redirect:{destination:"/",permanent:!1}};let o=n.fileRootPath,d=R.readdirSync(o).filter(e=>!R.statSync(T().normalize(`${o}/${e}`)).isFile());return{props:{user:s,media:a,folders:d,query:r,staticHost:process.env.DSQL_STATIC_HOST||"",folderNameFull:i}}}catch(e){return{redirect:{destination:"/admin",permanent:!1}}}}let I=(0,n.M)(s,"default"),B=(0,n.M)(s,"getStaticProps"),O=(0,n.M)(s,"getStaticPaths"),Q=(0,n.M)(s,"getServerSideProps"),W=(0,n.M)(s,"config"),z=(0,n.M)(s,"reportWebVitals"),U=(0,n.M)(s,"unstable_getStaticProps"),G=(0,n.M)(s,"unstable_getStaticPaths"),X=(0,n.M)(s,"unstable_getStaticParams"),J=(0,n.M)(s,"unstable_getServerProps"),K=(0,n.M)(s,"unstable_getServerSideProps"),Y=new i.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/admin/[user_id]/media/[...folder]",pathname:"/admin/[user_id]/media/[...folder]",bundlePath:"",filename:""},components:{App:d.default,Document:o.default},userland:s})},46437:(e,t,r)=>{r.d(t,{A:()=>a});var s=r(8732),i=r(23293);function a(){return(0,s.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,s.jsx)(i.A,{})})}r(82015)},67735:(e,t,r)=>{let s=r(29021),i=r(33873);e.exports=function({isPrivate:e,userId:t,folder:r,video:a,pathOnly:n}){"production".match(/production/);let o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),null;let d=e?`@/${a?"videos":"media"}/${r?r+"/":""}`:a?`/videos/user-videos/user-${t}/${r?r+"/":""}`:`/images/user-images/user-${t}/${r?r+"/":""}`,l=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t}/media/${r?r+"/":""}`:i.join(o,d);return s.existsSync(l)||n||s.mkdirSync(l,{recursive:!0}),{fileRootPath:l,urlRootPath:e?`@/media/${r?r+"/":""}`:`${process.env.DSQL_STATIC_HOST}${d}`,relativePath:d}}},96089:(e,t,r)=>{r.d(t,{A:()=>s});let s=(0,r(82544).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,7640],()=>r(55840));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/acceptUserInvitation.js b/dsql-app/.local_dist/server/pages/api/acceptUserInvitation.js index dda08b2..935d070 100644 --- a/dsql-app/.local_dist/server/pages/api/acceptUserInvitation.js +++ b/dsql-app/.local_dist/server/pages/api/acceptUserInvitation.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8935,e.ids=[8935],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},27118:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>v,routeModule:()=>h});var s={};t.r(s),t.d(s,{default:()=>g});var i=t(89947),a=t(2706),n=t(96762),l=t(6420),o=t.n(l),u=t(48225),d=t.n(u),_=t(27825),c=t.n(_),p=t(51348),m=t.n(p),f=t(47670),E=t.n(f);async function g(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await o()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=c().cloneDeep(e.body),i=s.inviting_user_id,a=s.invited_user_email,n=s.database_access,l=s.priviledge;try{let e=await m()("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[i,t.id,t.email]);if(e&&e[0])return r.json({success:!1});let s=await E()({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:i,invited_user_id:t.id,database_access:n,user_priviledge:l,user_type:"admin",first_name:t.first_name,last_name:t.last_name,email:t.email,username:t.first_name,image:t.image,image_thumbnail:t.image_thumbnail}});await m()("UPDATE invitations SET invitation_status='Accepted' WHERE inviting_user_id=? AND invited_user_email=?",[i,a]);let o=await m()("SELECT db_tables_data FROM invitations WHERE inviting_user_id=?",[i]);if(await m()(`DELETE FROM delegated_user_tables WHERE root_user_id='${i}' AND delegated_user_id='${t.id}'`),o&&o[0]){let e=o[0].db_tables_data.split("|");for(let r=0;r{t(81630);let s=t(51348),i=t(72835),a=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:o,csrfCookieName:u}=n();if(!e.cookies?.[o]?.match(/./))return null;let d=i({encryptedString:e.cookies[o]});if(!d)return null;let _=JSON.parse(d);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${c}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=t;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),{keyCookieName:a,csrfCookieName:n+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||a.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8935,e.ids=[8935],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},27118:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>v,routeModule:()=>N});var s={};t.r(s),t.d(s,{default:()=>g});var i=t(89947),a=t(2706),n=t(96762),l=t(6420),o=t.n(l),u=t(48225),d=t.n(u),_=t(27825),c=t.n(_),p=t(51348),m=t.n(p),E=t(47670),f=t.n(E);async function g(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await o()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=c().cloneDeep(e.body),i=s.inviting_user_id,a=s.invited_user_email,n=s.database_access,l=s.priviledge;try{let e=await m()("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[i,t.id,t.email]);if(e&&e[0])return r.json({success:!1});let s=await f()({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:i,invited_user_id:t.id,database_access:n,user_priviledge:l,user_type:"admin",first_name:t.first_name,last_name:t.last_name,email:t.email,username:t.first_name,image:t.image,image_thumbnail:t.image_thumbnail}});await m()("UPDATE invitations SET invitation_status='Accepted' WHERE inviting_user_id=? AND invited_user_email=?",[i,a]);let o=await m()("SELECT db_tables_data FROM invitations WHERE inviting_user_id=?",[i]);if(await m()(`DELETE FROM delegated_user_tables WHERE root_user_id='${i}' AND delegated_user_id='${t.id}'`),o&&o[0]){let e=o[0].db_tables_data.split("|");for(let r=0;r{t(81630);let s=t(51348),i=t(72835),a=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:o,csrfCookieName:u}=n();if(!e.cookies?.[o]?.match(/./))return null;let d=i({encryptedString:e.cookies[o]});if(!d)return null;let _=JSON.parse(d);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${c}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),l+=s;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:l,oneTimeCodeName:o+=i}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||a.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/addAdminUserUser.js b/dsql-app/.local_dist/server/pages/api/addAdminUserUser.js index 2a8398f..8b45002 100644 --- a/dsql-app/.local_dist/server/pages/api/addAdminUserUser.js +++ b/dsql-app/.local_dist/server/pages/api/addAdminUserUser.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=9785,e.ids=[9785],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},81764:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>c,routeModule:()=>p});var i={};t.r(i),t.d(i,{default:()=>_});var s=t(89947),a=t(2706),n=t(96762),l=t(6420),o=t.n(l),d=t(44767),u=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await o()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});console.log("Invitation Received by current logged in user, Loggin in VIA API ...");let i=await u()({query:e.body.query,user:t});r.json({success:!0,result:i})}let c=(0,n.M)(i,"default"),m=(0,n.M)(i,"config"),p=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/addAdminUserUser",pathname:"/api/addAdminUserUser",bundlePath:"",filename:""},userland:i})},6420:(e,r,t)=>{t(81630);let i=t(51348),s=t(72835),a=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:o,csrfCookieName:d}=n();if(!e.cookies?.[o]?.match(/./))return null;let u=s({encryptedString:e.cookies[o]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${c}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await i(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=l},44767:(e,r,t)=>{let i=t(48225),s=t(51348),a=t(47670),n=t(44900);e.exports=async function({query:e,user:r,useLocal:t}){try{let i=t?n:s,{invite:l,database_access:o,priviledge:d,email:u}=e,_=[l,u],c=await i("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",_);if(!c||!c[0])throw Error("No Invitation Found");let m=[l],p=await i("SELECT first_name,last_name,email FROM users WHERE id=?",m);if(p?.[0]){let e=await i("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[l,r.id,u]);if(e?.[0])console.log("User already added");else{a({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:l,invited_user_id:r.id,database_access:o,first_name:r.first_name,last_name:r.last_name,phone:r.phone,email:r.email,username:r.username,user_type:"admin",user_priviledge:d,image:r.image,image_thumbnail:r.image_thumbnail},useLocal:t});let e=await i("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[l,u]);if(await i("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[l,r.id]),e&&e[0]){let i=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",i=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),s&&(a+=`${s}_`),a+=t;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),s&&(n+=`${s}_`),{keyCookieName:a,csrfCookieName:n+=i}}},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||i||r||a.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=9785,e.ids=[9785],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},81764:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>c,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>_});var i=t(89947),a=t(2706),n=t(96762),l=t(6420),o=t.n(l),d=t(44767),u=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await o()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});console.log("Invitation Received by current logged in user, Loggin in VIA API ...");let s=await u()({query:e.body.query,user:t});r.json({success:!0,result:s})}let c=(0,n.M)(s,"default"),m=(0,n.M)(s,"config"),p=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/addAdminUserUser",pathname:"/api/addAdminUserUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),i=t(72835),a=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:o,csrfCookieName:d}=n();if(!e.cookies?.[o]?.match(/./))return null;let u=i({encryptedString:e.cookies[o]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${c}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=l},44767:(e,r,t)=>{let s=t(48225),i=t(51348),a=t(47670),n=t(44900);e.exports=async function({query:e,user:r,useLocal:t}){try{let s=t?n:i,{invite:l,database_access:o,priviledge:d,email:u}=e,_=[l,u],c=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",_);if(!c||!c[0])throw Error("No Invitation Found");let m=[l],p=await s("SELECT first_name,last_name,email FROM users WHERE id=?",m);if(p?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[l,r.id,u]);if(e?.[0])console.log("User already added");else{a({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:l,invited_user_id:r.id,database_access:o,first_name:r.first_name,last_name:r.last_name,phone:r.phone,email:r.email,username:r.username,user_type:"admin",user_priviledge:d,image:r.image,image_thumbnail:r.image_thumbnail},useLocal:t});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[l,u]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[l,r.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),l+=s;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:l,oneTimeCodeName:o+=i}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||a.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} -Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` +Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),a?.url&&(s+=` -URL: ${a.url}`),a?.body&&(s+=` -Request Body: ${JSON.stringify(a.body,null,4)}`),l&&(s+=` -IP: ${l}`),s+=` +User Email: ${e?.email}`),a?.url&&(i+=` +URL: ${a.url}`),a?.body&&(i+=` +Request Body: ${JSON.stringify(a.body,null,4)}`),l&&(i+=` +IP: ${l}`),i+=` Date: ${n.toDateString()} -========================================`,i.existsSync("./.tmp/error.log")||i.writeFileSync("./.tmp/error.log","","utf-8");let o=i.readFileSync("./.tmp/error.log","utf-8");i.writeFileSync("./.tmp/error.log",s),i.appendFileSync("./.tmp/error.log",` +========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let o=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",i),s.appendFileSync("./.tmp/error.log",` -${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:i,createDecipheriv:s}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=s("aes-192-cbc",i(n,l,o),a.alloc(16,0));try{let r=d.update(e,"hex","utf8");return r+=d.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),i=r.X(0,[4050],()=>t(81764));module.exports=i})(); \ No newline at end of file +${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:i}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=i("aes-192-cbc",s(n,l,o),a.alloc(16,0));try{let r=d.update(e,"hex","utf8");return r+=d.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4050],()=>t(81764));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addApiKey.js b/dsql-app/.local_dist/server/pages/api/addApiKey.js index ee63da4..f5a68d0 100644 --- a/dsql-app/.local_dist/server/pages/api/addApiKey.js +++ b/dsql-app/.local_dist/server/pages/api/addApiKey.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=1385,e.ids=[1385],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},87256:(e,r,t)=>{t.r(r),t.d(r,{config:()=>h,default:()=>E,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>y});var n=t(89947),i=t(2706),a=t(96762),o=t(20503),l=t.n(o),u=t(48225),c=t.n(u),d=t(6420),p=t.n(d),_=t(47670),f=t.n(_);let m=t(29021);t(33873);let{execSync:S}=t(79646),g=t(47795);async function y(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{api_key_name:s,api_key_slug:n,api_key_scope:i,target_database:a,target_table:o}=e.body;if(!s?.match(/./)||!n?.match(/./)||!i?.match(/./))return r.json({success:!1,msg:"Wrong Input"});try{let e=process.env.DSQL_API_KEYS_PATH;if(!e)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");m.existsSync(e)||m.mkdirSync(e,{recursive:!0});let u=g.generate({length:24,numbers:!0,uppercase:!0,lowercase:!0,symbols:"-"})+"-"+Date.now(),c={user_id:t.id,date_code:Date.now(),sign:u,target_database:a,target_table:o};"fullAccess"==i&&(c={...c,full_access:!0});let d=l()({data:JSON.stringify(c)});if(!d)return r.json({success:!1,msg:"Couldn't encrypt API key"});let p=l()({data:d}),_={dbFullName:"datasquirel",tableName:"api_keys",data:{user_id:t.id,name:s,slug:n,key:p,scope:i}};u&&(_.data.csrf=u);let S=await f()(_);if(!S.insertId)throw Error(S?.error||"Api Key Couldn't be added");m.writeFileSync(`${e}/${u}`,JSON.stringify(c),"utf-8"),r.json({success:!0})}catch(e){c()({component:"/api/addApiKey/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!"})}}let E=(0,a.M)(s,"default"),h=(0,a.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addApiKey",pathname:"/api/addApiKey",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),a=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:u}=a();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:i,csrfCookieName:a+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let a=new Date,o=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=1385,e.ids=[1385],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},87256:(e,r,t)=>{t.r(r),t.d(r,{config:()=>h,default:()=>y,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>g});var n=t(89947),a=t(2706),i=t(96762),o=t(20503),l=t.n(o),u=t(48225),c=t.n(u),d=t(6420),p=t.n(d),_=t(47670),f=t.n(_);let m=t(29021);t(33873);let{execSync:S}=t(79646),E=t(47795);async function g(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{api_key_name:s,api_key_slug:n,api_key_scope:a,target_database:i,target_table:o}=e.body;if(!s?.match(/./)||!n?.match(/./)||!a?.match(/./))return r.json({success:!1,msg:"Wrong Input"});try{let e=process.env.DSQL_API_KEYS_PATH;if(!e)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");m.existsSync(e)||m.mkdirSync(e,{recursive:!0});let u=E.generate({length:24,numbers:!0,uppercase:!0,lowercase:!0,symbols:"-"})+"-"+Date.now(),c={user_id:t.id,date_code:Date.now(),sign:u,target_database:i,target_table:o};"fullAccess"==a&&(c={...c,full_access:!0});let d=l()({data:JSON.stringify(c)});if(!d)return r.json({success:!1,msg:"Couldn't encrypt API key"});let p=l()({data:d}),_={dbFullName:"datasquirel",tableName:"api_keys",data:{user_id:t.id,name:s,slug:n,key:p,scope:a}};u&&(_.data.csrf=u);let S=await f()(_);if(!S.insertId)throw Error(S?.error||"Api Key Couldn't be added");m.writeFileSync(`${e}/${u}`,JSON.stringify(c),"utf-8"),r.json({success:!0})}catch(e){c()({component:"/api/addApiKey/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!"})}}let y=(0,i.M)(s,"default"),h=(0,i.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/addApiKey",pathname:"/api/addApiKey",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),i=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:u}=i();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let i=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),i?.url&&(n+=` -URL: ${i.url}`),i?.body&&(n+=` -Request Body: ${JSON.stringify(i.body,null,4)}`),o&&(n+=` +User Email: ${e?.email}`),a?.url&&(n+=` +URL: ${a.url}`),a?.body&&(n+=` +Request Body: ${JSON.stringify(a.body,null,4)}`),o&&(n+=` IP: ${o}`),n+=` -Date: ${a.toDateString()} +Date: ${i.toDateString()} ========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let l=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",n),s.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(a,o,l),i.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4050],()=>t(87256));module.exports=s})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,o,l),a.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4050],()=>t(87256));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addDbUser.js b/dsql-app/.local_dist/server/pages/api/addDbUser.js index 1cff940..1cb971b 100644 --- a/dsql-app/.local_dist/server/pages/api/addDbUser.js +++ b/dsql-app/.local_dist/server/pages/api/addDbUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9187,e.ids=[9187],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},49915:(e,r,s)=>{s.r(r),s.d(r,{config:()=>m,default:()=>f,routeModule:()=>S});var t={};s.r(t),s.d(t,{default:()=>_});var a=s(89947),i=s(2706),n=s(96762),o=s(14533),l=s.n(o),u=s(6420),d=s.n(u),c=s(47670),p=s.n(c);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await d()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{payload:s,dbFullName:t,dbId:a}=e.body,i=await p()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:t,tableName:"users",data:(()=>{let e=Object.keys(s),r={};return e.forEach(e=>{e?.match(/paradigm|priviledge|database_access|databases|confirm/)||(r[e]=s[e])}),r.password=l()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:s.password}),r.email=s.email_address,r.image="/images/user-preset.png",r.image_thumbnail="/images/user-preset-thumbnail.png",delete r.email_address,r})()});r.json({success:!!i?.insertId,msg:"New User User Added",newUserId:i.insertId})}let f=(0,n.M)(t,"default"),m=(0,n.M)(t,"config"),S=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addDbUser",pathname:"/api/addDbUser",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),a=s(72835),i=s(29021),n=s(31341);async function o(e,r,s,o){let{keyCookieName:l,csrfCookieName:u}=n();if(!e.cookies?.[l]?.match(/./))return null;let d=a({encryptedString:e.cookies[l]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!i.existsSync(`${p}/${c.csrf_k}`))return null;if(0==c.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),{keyCookieName:i,csrfCookieName:n+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:a}=s(55511),{Buffer:i}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=a("aes-192-cbc",t(n,o,l),i.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,s)=>{let{createHmac:t}=s(55511);e.exports=function({password:e,encryptionKey:r}){let s=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!s?.match(/.{8,}/))throw Error("Encryption key is invalid");let a=t("sha512",s);return a.update(e),a.digest("base64")}}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4050],()=>s(49915));module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9187,e.ids=[9187],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},49915:(e,r,s)=>{s.r(r),s.d(r,{config:()=>m,default:()=>f,routeModule:()=>E});var t={};s.r(t),s.d(t,{default:()=>p});var a=s(89947),i=s(2706),n=s(96762),o=s(14533),l=s.n(o),u=s(6420),d=s.n(u),c=s(47670),_=s.n(c);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await d()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{payload:s,dbFullName:t,dbId:a}=e.body,i=await _()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:t,tableName:"users",data:(()=>{let e=Object.keys(s),r={};return e.forEach(e=>{e?.match(/paradigm|priviledge|database_access|databases|confirm/)||(r[e]=s[e])}),r.password=l()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:s.password}),r.email=s.email_address,r.image="/images/user-preset.png",r.image_thumbnail="/images/user-preset-thumbnail.png",delete r.email_address,r})()});r.json({success:!!i?.insertId,msg:"New User User Added",newUserId:i.insertId})}let f=(0,n.M)(t,"default"),m=(0,n.M)(t,"config"),E=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addDbUser",pathname:"/api/addDbUser",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),a=s(72835),i=s(29021),n=s(31341);async function o(e,r,s,o){let{keyCookieName:l,csrfCookieName:u}=n();if(!e.cookies?.[l]?.match(/./))return null;let d=a({encryptedString:e.cookies[l]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!i.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=s;let o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:n,csrfCookieName:o,oneTimeCodeName:l+=a}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:a}=s(55511),{Buffer:i}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=a("aes-192-cbc",t(n,o,l),i.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,s)=>{let{createHmac:t}=s(55511);e.exports=function({password:e,encryptionKey:r}){let s=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!s?.match(/.{8,}/))throw Error("Encryption key is invalid");let a=t("sha512",s);return a.update(e),a.digest("base64")}}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4050],()=>s(49915));module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addNewMediaFolder.js b/dsql-app/.local_dist/server/pages/api/addNewMediaFolder.js index b973b03..a23243a 100644 --- a/dsql-app/.local_dist/server/pages/api/addNewMediaFolder.js +++ b/dsql-app/.local_dist/server/pages/api/addNewMediaFolder.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6534,e.ids=[6534],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},68336:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>S,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),o=t(2706),i=t(96762),a=t(33873),c=t.n(a),u=t(6420),l=t.n(u),p=t(80304),f=t.n(p);let _=t(29021);async function d(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{name:s}=f()(e.body),n=process.env.DSQL_STATIC_SERVER_DIR;if(!n)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static File Path"});let o=c().join(n,`images/user-images/user-${t.id}/`)+s;if(_.existsSync(o))return r.json({success:!1});_.mkdirSync(o),r.json({success:!0})}let S=(0,i.M)(s,"default"),E=(0,i.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/addNewMediaFolder",pathname:"/api/addNewMediaFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let p=JSON.parse(l);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let f=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!f)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${f}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},80304:(e,r,t)=>{let s=t(27825);function n(e,r,t){if(!e)return"";if("number"==typeof e||"boolean"==typeof e)return e;if("string"==typeof e&&!e?.toString()?.match(/./))return"";if("object"==typeof e&&!Array.isArray(e))return o(e,r);if("object"==typeof e&&Array.isArray(e))return i(e,r);let s=e;return t&&(s=e.toString().replace(t,"")),r||(s=e.toString().replace(/\n|\r|\n\r|\r\n/g,"").replace(/ /g,"")),s=s.replace(/(?{let s=t[e];if(!s){delete t[e];return}"string"==typeof s||"number"==typeof s?t[e]=n(s,r):"object"!=typeof s||Array.isArray(s)?"object"==typeof s&&Array.isArray(s)&&(t[e]=i(s,r)):t[e]=o(s,r)}),t}function i(e,r){let t=s.cloneDeep(e);return t.forEach((e,s)=>{if(!e){t.splice(s,1);return}"string"==typeof e||"number"==typeof e?t[s]=n(e,r):"object"!=typeof e||Array.isArray(e)?"object"==typeof e&&Array.isArray(e)&&(t[s]=i(e,r)):t[s]=o(e,r)}),t}e.exports=n},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=68336);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6534,e.ids=[6534],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},68336:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>S,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),o=t(2706),i=t(96762),a=t(33873),c=t.n(a),u=t(6420),l=t.n(u),p=t(80304),f=t.n(p);let _=t(29021);async function d(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{name:s}=f()(e.body),n=process.env.DSQL_STATIC_SERVER_DIR;if(!n)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static File Path"});let o=c().join(n,`images/user-images/user-${t.id}/`)+s;if(_.existsSync(o))return r.json({success:!1});_.mkdirSync(o),r.json({success:!0})}let S=(0,i.M)(s,"default"),E=(0,i.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/addNewMediaFolder",pathname:"/api/addNewMediaFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let p=JSON.parse(l);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let f=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!f)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${f}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:c+=n}}},80304:(e,r,t)=>{let s=t(27825);function n(e,r,t){if(!e)return"";if("number"==typeof e||"boolean"==typeof e)return e;if("string"==typeof e&&!e?.toString()?.match(/./))return"";if("object"==typeof e&&!Array.isArray(e))return o(e,r);if("object"==typeof e&&Array.isArray(e))return i(e,r);let s=e;return t&&(s=e.toString().replace(t,"")),r||(s=e.toString().replace(/\n|\r|\n\r|\r\n/g,"").replace(/ /g,"")),s=s.replace(/(?{let s=t[e];if(!s){delete t[e];return}"string"==typeof s||"number"==typeof s?t[e]=n(s,r):"object"!=typeof s||Array.isArray(s)?"object"==typeof s&&Array.isArray(s)&&(t[e]=i(s,r)):t[e]=o(s,r)}),t}function i(e,r){let t=s.cloneDeep(e);return t.forEach((e,s)=>{if(!e){t.splice(s,1);return}"string"==typeof e||"number"==typeof e?t[s]=n(e,r):"object"!=typeof e||Array.isArray(e)?"object"==typeof e&&Array.isArray(e)&&(t[s]=i(e,r)):t[s]=o(e,r)}),t}e.exports=n},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=68336);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addSocialLogin.js b/dsql-app/.local_dist/server/pages/api/addSocialLogin.js index ed33973..e14b3b2 100644 --- a/dsql-app/.local_dist/server/pages/api/addSocialLogin.js +++ b/dsql-app/.local_dist/server/pages/api/addSocialLogin.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3292,e.ids=[3292],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},25858:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>_,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),i=t(96762),a=t(48225),l=t.n(a),c=t(6420),u=t.n(c);let p=t(29021);t(33873);let{execSync:d}=t(79646);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:s,dbSlug:n,paradigm:o,platforms:i}=e.body;try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/env.json`;p.existsSync(e)||p.writeFileSync(e,"{}","utf8");let n=JSON.parse(p.readFileSync(e,"utf8")),a=n[s];a||(a={social:[]},n[s]=a);let l=a.social;l=[];for(let e=0;e{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=3292,e.ids=[3292],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},25858:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>f,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),o=t(2706),i=t(96762),a=t(48225),l=t.n(a),c=t(6420),u=t.n(c);let p=t(29021);t(33873);let{execSync:d}=t(79646);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:s,dbSlug:n,paradigm:o,platforms:i}=e.body;try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/env.json`;p.existsSync(e)||p.writeFileSync(e,"{}","utf8");let n=JSON.parse(p.readFileSync(e,"utf8")),a=n[s];a||(a={social:[]},n[s]=a);let l=a.social;l=[];for(let e=0;e{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/addTableEntry.js b/dsql-app/.local_dist/server/pages/api/addTableEntry.js index 87de27a..7ec3e15 100644 --- a/dsql-app/.local_dist/server/pages/api/addTableEntry.js +++ b/dsql-app/.local_dist/server/pages/api/addTableEntry.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=460,e.ids=[460],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},14373:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>m,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>g});var a=t(89947),i=t(2706),o=t(96762),l=t(96771),n=t.n(l),d=t(47670),u=t.n(d);t(51348),t(21339);let c=t(73677),p=t(39831),_=t(48225),E=t(6420);async function g(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await E(e,r,!0);if(!t)return r.json({success:!1,msg:"User Auth Failed"});let{tableName:s,payload:a,tableSchema:i,dbSlug:o,dbId:l,delegated:d}=e.body;try{let d=await p({databaseSlug:o,request:e,user:t,query:e.query});if(!await c({user:t,confirmedDelegetedUser:d,database:o,table:s,dbId:l,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let _=d?.rootUserId?`datasquirel_user_${d.rootUserId}_${o}`:`datasquirel_user_${t.id}_${o}`,E=await u()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:_,tableName:s,data:a,tableSchema:i});if(!E.insertId)throw console.log("Table Insertion Failed =>",E),Error(E?.error||"Table Insertion Failed");await n()({dbName:_,entryId:E.insertId,entryOrder:a.order,tableName:s,tableSchema:i}),r.json({success:!0})}catch(e){_({component:"/api/addTableEntry/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let m=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),S=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addTableEntry",pathname:"/api/addTableEntry",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:i,priviledgeRegex:o,dbId:l}){let n,d;try{r?.delegated?(n=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,i]),d=n[0]?.priviledge?.match(o)):(n=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,i,l]),d=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!n&&!!n[0]&&!!d}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let i=t.id,o=null;if(!a?.delegated)return{dbUserId:i};let l=a.dbUserId,n=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,d=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;try{if(!e.cookies?.[d])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[d]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:i=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:i}}catch(e){return null}}},96771:(e,r,t)=>{let s=t(21339);e.exports=async function({dbName:e,entryId:r,entryOrder:t,tableName:a,tableSchema:i}){try{if(i.fields.find(e=>!!e.fieldName?.match(/^order$/i))&&t){let i=await s({database:e,paradigm:"Full Access",queryString:`SELECT * FROM ${a} WHERE \`order\` = '${t}' AND id != ?`,queryValues:[String(r)]});if(!i?.[0])throw Error("No Existing Order");await s({database:e,paradigm:"Full Access",queryString:`UPDATE ${a} SET \`order\` = \`order\` + 1 WHERE \`order\` >= ${t} AND id != ?`,queryValues:[String(r)]})}return!0}catch(e){return!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),i=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:n,csrfCookieName:d}=o();if(!e.cookies?.[n]?.match(/./))return null;let u=a({encryptedString:e.cookies[n]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:i,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:i}){let o=new Date,l=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||i.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=460,e.ids=[460],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},14373:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>m,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>g});var a=t(89947),i=t(2706),o=t(96762),l=t(96771),n=t.n(l),d=t(47670),u=t.n(d);t(51348),t(21339);let c=t(73677),_=t(39831),p=t(48225),E=t(6420);async function g(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await E(e,r,!0);if(!t)return r.json({success:!1,msg:"User Auth Failed"});let{tableName:s,payload:a,tableSchema:i,dbSlug:o,dbId:l,delegated:d}=e.body;try{let d=await _({databaseSlug:o,request:e,user:t,query:e.query});if(!await c({user:t,confirmedDelegetedUser:d,database:o,table:s,dbId:l,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let p=d?.rootUserId?`datasquirel_user_${d.rootUserId}_${o}`:`datasquirel_user_${t.id}_${o}`,E=await u()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:p,tableName:s,data:a,tableSchema:i});if(!E.insertId)throw console.log("Table Insertion Failed =>",E),Error(E?.error||"Table Insertion Failed");await n()({dbName:p,entryId:E.insertId,entryOrder:a.order,tableName:s,tableSchema:i}),r.json({success:!0})}catch(e){p({component:"/api/addTableEntry/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let m=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),S=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addTableEntry",pathname:"/api/addTableEntry",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:i,priviledgeRegex:o,dbId:l}){let n,d;try{r?.delegated?(n=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,i]),d=n[0]?.priviledge?.match(o)):(n=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,i,l]),d=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!n&&!!n[0]&&!!d}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let i=t.id,o=null;if(!a?.delegated)return{dbUserId:i};let l=a.dbUserId,n=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,d=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;try{if(!e.cookies?.[d])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[d]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:i=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:i}}catch(e){return null}}},96771:(e,r,t)=>{let s=t(21339);e.exports=async function({dbName:e,entryId:r,entryOrder:t,tableName:a,tableSchema:i}){try{if(i.fields.find(e=>!!e.fieldName?.match(/^order$/i))&&t){let i=await s({database:e,paradigm:"Full Access",queryString:`SELECT * FROM ${a} WHERE \`order\` = '${t}' AND id != ?`,queryValues:[String(r)]});if(!i?.[0])throw Error("No Existing Order");await s({database:e,paradigm:"Full Access",queryString:`UPDATE ${a} SET \`order\` = \`order\` + 1 WHERE \`order\` >= ${t} AND id != ?`,queryValues:[String(r)]})}return!0}catch(e){return!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),i=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:n,csrfCookieName:d}=o();if(!e.cookies?.[n]?.match(/./))return null;let u=a({encryptedString:e.cookies[n]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),l+=s;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),{keyCookieName:o,csrfCookieName:l,oneTimeCodeName:n+=a}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:i}){let o=new Date,l=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||i.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/addUserMedia.js b/dsql-app/.local_dist/server/pages/api/addUserMedia.js index 04bc859..cd4b69b 100644 --- a/dsql-app/.local_dist/server/pages/api/addUserMedia.js +++ b/dsql-app/.local_dist/server/pages/api/addUserMedia.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=979,e.ids=[979],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},93851:(e,r,t)=>{t.r(r),t.d(r,{config:()=>b,default:()=>$,routeModule:()=>N});var a={};t.r(a),t.d(a,{config:()=>E,default:()=>y});var i=t(89947),s=t(2706),l=t(96762),n=t(47670),o=t.n(n),u=t(10701),d=t.n(u),c=t(48227),m=t.n(c),p=t(48225),_=t.n(p),f=t(6420),h=t.n(f);let S=t(29021),g=t(33873),{execSync:v}=t(79646),E={api:{responseLimit:"1mb",bodyParser:{sizeLimit:"200mb"}}};async function y(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await h()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let a=e.body,{media:i}=a;console.log(a.type);let s=a.folder,l=a.type;"production".match(/production/);let n=process.env.DSQL_STATIC_SERVER_DIR;if(!n)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static File Path"});if(s){let e=g.join(n,`images/user-images/user-${t.id}/${s}`);S.existsSync(e)||S.mkdirSync(e,{recursive:!0});let r=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/media/${s}`;S.existsSync(r)||S.mkdirSync(r,{recursive:!0})}try{let e=[];for(let r=0;r{let a=t(9288),i=t(48225),s=t(48227);e.exports=async function({imageSourceBase64:e,imageName:r,user:t,mimeType:l,thumbnailSize:n,folder:o,isPrivate:u}){try{let i=Buffer.from(e,"base64"),d=n?parseInt(n.toString()):400,c=a(i),m=a(i),p=s({isPrivate:u,user:t,folder:o});if(!p)return null;let{fileRootPath:_,urlRootPath:f,relativePath:h}=p,{width:S,height:g,format:v}=await c.metadata(),E=l||v;S&&g&&S>1800&&c.resize(1800,Math.round(1800/S*g),{fit:"cover"}),c.toFormat(E,{quality:80}),await c.metadata();let y=`${r}.${E}`;if(await c.toFile(_+y),S&&g&&S>d){let e=d/S;m.resize(d,Math.round(g*e),{fit:"cover"})}else S&&g&&m.resize(150,Math.round(150/S*g),{fit:"cover"});m.toFormat(E,{quality:80});let $=`${r}_thumbnail.${E}`;return await m.toFile(_+$),{urlPath:f+y,urlThumbnailPath:f+$,urlRelativePath:h+y,urlThumbnailRelativePath:h+$}}catch(e){return console.log("Write Image to Disk error =>",e.message),i({component:"functions/backend/fsWriteImageToDiskFromBase64",message:e.message}),null}}},48227:(e,r,t)=>{let a=t(29021),i=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:s,pathOnly:l}){"production".match(/production/);let n=r?.id||r?.user_id,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),null;let u=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${n}/${t?t+"/":""}`:`/images/user-images/user-${n}/${t?t+"/":""}`,d=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${n}/media/${t?t+"/":""}`:i.join(o,u);return a.existsSync(d)||l||a.mkdirSync(d,{recursive:!0}),{fileRootPath:d,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${u}`,relativePath:u}}},6420:(e,r,t)=>{t(81630);let a=t(51348),i=t(72835),s=t(29021),l=t(31341);async function n(e,r,t,n){let{keyCookieName:o,csrfCookieName:u}=l();if(!e.cookies?.[o]?.match(/./))return null;let d=i({encryptedString:e.cookies[o]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!s.existsSync(`${m}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),s=r;e?.userId&&(s+=`user_${e.userId}_`),i&&(s+=`${i}_`),s+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:s,csrfCookieName:l+=a}}},48225:(e,r,t)=>{let a=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let l=new Date,n=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||a||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=979,e.ids=[979],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},93851:(e,r,t)=>{t.r(r),t.d(r,{config:()=>b,default:()=>$,routeModule:()=>N});var a={};t.r(a),t.d(a,{config:()=>E,default:()=>y});var i=t(89947),s=t(2706),l=t(96762),n=t(47670),o=t.n(n),u=t(10701),d=t.n(u),c=t(48227),m=t.n(c),_=t(48225),p=t.n(_),f=t(6420),h=t.n(f);let S=t(29021),g=t(33873),{execSync:v}=t(79646),E={api:{responseLimit:"1mb",bodyParser:{sizeLimit:"200mb"}}};async function y(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await h()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let a=e.body,{media:i}=a,s=a.folder,l=a.type;"production".match(/production/);let n=process.env.DSQL_STATIC_SERVER_DIR;if(!n)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static File Path"});if(s){let e=g.join(n,`images/user-images/user-${t.id}/${s}`);S.existsSync(e)||S.mkdirSync(e,{recursive:!0});let r=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/media/${s}`;S.existsSync(r)||S.mkdirSync(r,{recursive:!0})}try{let e=[];for(let r=0;r{let a=t(9288),i=t(48225),s=t(48227);e.exports=async function({imageSourceBase64:e,imageName:r,userId:t,mimeType:l,thumbnailSize:n,folder:o,isPrivate:u}){try{let i=Buffer.from(e,"base64"),d=n?parseInt(n.toString()):400,c=a(i),m=a(i),_=s({isPrivate:u,userId:t,folder:o});if(!_)return null;let{fileRootPath:p,urlRootPath:f,relativePath:h}=_,{width:S,height:g,format:v}=await c.metadata(),E=l||v;S&&g&&S>1800&&c.resize(1800,Math.round(1800/S*g),{fit:"cover"}),c.toFormat(E,{quality:80}),await c.metadata();let y=`${r}.${E}`;if(await c.toFile(p+y),S&&g&&S>d){let e=d/S;m.resize(d,Math.round(g*e),{fit:"cover"})}else S&&g&&m.resize(150,Math.round(150/S*g),{fit:"cover"});m.toFormat(E,{quality:80});let $=`${r}_thumbnail.${E}`;return await m.toFile(p+$),{urlPath:f+y,urlThumbnailPath:f+$,urlRelativePath:h+y,urlThumbnailRelativePath:h+$}}catch(e){return console.log("Write Image to Disk error =>",e.message),i({component:"functions/backend/fsWriteImageToDiskFromBase64",message:e.message}),null}}},48227:(e,r,t)=>{let a=t(29021),i=t(33873);e.exports=function({isPrivate:e,userId:r,folder:t,video:s,pathOnly:l}){"production".match(/production/);let n=process.env.DSQL_STATIC_SERVER_DIR;if(!n)return console.log("Static File ENV not Found!"),null;let o=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${r}/${t?t+"/":""}`:`/images/user-images/user-${r}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${t?t+"/":""}`:i.join(n,o);return a.existsSync(u)||l||a.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${o}`,relativePath:o}}},6420:(e,r,t)=>{t(81630);let a=t(51348),i=t(72835),s=t(29021),l=t(31341);async function n(e,r,t,n){let{keyCookieName:o,csrfCookieName:u}=l();if(!e.cookies?.[o]?.match(/./))return null;let d=i({encryptedString:e.cookies[o]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!s.existsSync(`${m}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",s=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=r;e?.userId&&(l+=`user_${e.userId}_`),s&&(l+=`${s}_`),l+=t;let n=r;e?.userId&&(n+=`user_${e.userId}_`),s&&(n+=`${s}_`),n+=a;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),s&&(o+=`${s}_`),{keyCookieName:l,csrfCookieName:n,oneTimeCodeName:o+=i}}},48225:(e,r,t)=>{let a=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let l=new Date,n=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||a||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/addUserTable.js b/dsql-app/.local_dist/server/pages/api/addUserTable.js index 63639bb..6ee3b65 100644 --- a/dsql-app/.local_dist/server/pages/api/addUserTable.js +++ b/dsql-app/.local_dist/server/pages/api/addUserTable.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=8275,e.ids=[8275],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},13441:(e,a,t)=>{t.r(a),t.d(a,{config:()=>v,default:()=>F,routeModule:()=>x});var s={};t.r(s),t.d(s,{default:()=>D});var r=t(89947),l=t(2706),d=t(96762),i=t(48225),n=t.n(i),u=t(6420),o=t.n(u),b=t(2258),c=t(27825),_=t.n(c),m=t(78634),f=t(51348),p=t.n(f),N=t(47670),h=t.n(N),S=t(19261),g=t.n(S);t(29021),t(33873);let{execSync:E}=t(79646);async function D(e,a){if("POST"!==e.method)return a.json({msg:"Failed!"});let t=await o()(e,a,!0);if(!t)return console.log("No User"),a.json({success:!1,msg:"Unauthorized"});let{payload:s}=e.body,r=e.body.dbFullName.replace(/[^a-z\_0-9]/g,""),l=e.body.dbSlug,d=e.body.dbId,i=e.body.parentDatabase,u=e.body.parentTable;try{let e=(0,b.default)({userId:t.id});if(!e)throw Error("No User Schema found!");let o=e.findIndex(e=>e.dbFullName===r),c=e[o];if(!c)throw Error("No Target Database Found!");let f=c.tables.findIndex(e=>e.tableName===s.tableName);if(f>=0?e[o].tables[f]=s:e[o].tables.push(s),s?.childTable){let a=e.find(e=>e.dbFullName===i),t=a?.tables.find(e=>{if(e.tableName===u)return!0});if(!t)throw Error("Child Table Parent Doesn't Exist!");t.childrenTables?.[0]?t.childrenTables.push({dbNameFull:r,tableName:s.tableName,tableNameFull:s.tableNameFull}):t.childrenTables=[{dbNameFull:r,tableName:s.tableName,tableNameFull:s.tableFullName}]}if(c.childrenDatabases)for(let a=0;ae.dbFullName===r.dbFullName);e[a]&&(e[a].tables=_().cloneDeep(c.tables));let l=await p()("SELECT * FROM user_databases WHERE user_id = ? AND db_full_name = ?",[t.id,r.dbFullName]),d=await p()("SELECT * FROM user_database_tables WHERE db_id=? AND user_id=? AND table_slug=?",[l[0].id,t.id,s.tableName]);if(d?.[0])continue;await h()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:t.id,db_id:l[0].id,db_slug:l[0].db_slug,table_name:s.tableFullName,table_slug:s.tableName}})}catch(e){n()({component:"/api/addUserTable/lines-124-140",message:e.message,user:t})}}(0,m.default)({userId:t.id,schemaData:e});let N={user_id:t.id,db_id:d,db_slug:l,table_name:s.tableFullName,table_slug:s.tableName};s?.childTable&&(N.child_table="1",N.child_table_parent_database=i,N.child_table_parent_table=u),await h()({dbFullName:"datasquirel",tableName:"user_database_tables",data:N}),await g()({userId:t.id,targetDatabase:r}),a.json({success:!0})}catch(e){console.log(e.message),n()({component:"/api/addUserTable/main-catch-error",message:e.message,user:t}),a.json({success:!1,msg:"Database Files could not be written!"})}}let F=(0,d.M)(s,"default"),v=(0,d.M)(s,"config"),x=new r.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/addUserTable",pathname:"/api/addUserTable",bundlePath:"",filename:""},userland:s})},6420:(e,a,t)=>{t(81630);let s=t(51348),r=t(72835),l=t(29021),d=t(31341);async function i(e,a,t,i){let{keyCookieName:n,csrfCookieName:u}=d();if(!e.cookies?.[n]?.match(/./))return null;let o=r({encryptedString:e.cookies[n]});if(!o)return null;let b=JSON.parse(o);if(!b.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${b.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!l.existsSync(`${c}/${b.csrf_k}`))return null;if(0==b.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${b.id}'`);e&&e[0]&&1==e[0].verification_status&&a.setHeader("Set-Cookie",["user_refresh=1"])}return b?.date&&Date.now()-b.date>6048e5?null:b}e.exports=i},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=a;e?.userId&&(l+=`user_${e.userId}_`),r&&(l+=`${r}_`),l+=t;let d=a;return e?.userId&&(d+=`user_${e.userId}_`),r&&(d+=`${r}_`),{keyCookieName:l,csrfCookieName:d+=s}}},2258:(e,a,t)=>{t.r(a),t.d(a,{default:()=>d});let s=t(48225),r=t(29021),l=t(33873);function d({userId:e}){try{let a=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(a,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},78634:(e,a,t)=>{t.r(a),t.d(a,{default:()=>d});let s=t(48225),r=t(29021),l=t(33873);function d({userId:e,schemaData:a}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return r.writeFileSync(t,JSON.stringify(a),"utf8"),!0}catch(e){return s({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}}};var a=require("../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(13441));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=8275,e.ids=[8275],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},13441:(e,a,t)=>{t.r(a),t.d(a,{config:()=>I,default:()=>v,routeModule:()=>T});var s={};t.r(s),t.d(s,{default:()=>x});var r=t(89947),l=t(2706),i=t(96762),n=t(48225),d=t.n(n),u=t(6420),o=t.n(u),b=t(2258),c=t.n(b),_=t(27825),m=t.n(_),p=t(78634),f=t.n(p),N=t(51348),h=t.n(N),E=t(47670),S=t.n(E),g=t(19261),D=t.n(g);t(29021),t(33873);let{execSync:F}=t(79646);async function x(e,a){if("POST"!==e.method)return a.json({msg:"Failed!"});let t=await o()(e,a,!0);if(!t)return console.log("No User"),a.json({success:!1,msg:"Unauthorized"});let{payload:s}=e.body,r=e.body.dbFullName.replace(/[^a-z\_0-9]/g,""),l=e.body.dbSlug,i=e.body.dbId,n=e.body.parentDatabase,u=e.body.parentTable;try{let e=c()({userId:t.id});if(!e)throw Error("No User Schema found!");let o=e.findIndex(e=>e.dbFullName===r),b=e[o];if(!b)throw Error("No Target Database Found!");let _=b.tables.findIndex(e=>e.tableName===s.tableName);if(_>=0?e[o].tables[_]=s:e[o].tables.push(s),s?.childTable){let a=e.find(e=>e.dbFullName===n),t=a?.tables.find(e=>{if(e.tableName===u)return!0});if(!t)throw Error("Child Table Parent Doesn't Exist!");t.childrenTables?.[0]?t.childrenTables.push({dbNameFull:r,tableName:s.tableName,tableNameFull:s.tableNameFull}):t.childrenTables=[{dbNameFull:r,tableName:s.tableName,tableNameFull:s.tableFullName}]}if(b.childrenDatabases)for(let a=0;ae.dbFullName===r.dbFullName);e[a]&&(e[a].tables=m().cloneDeep(b.tables));let l=await h()("SELECT * FROM user_databases WHERE user_id = ? AND db_full_name = ?",[t.id,r.dbFullName]),i=await h()("SELECT * FROM user_database_tables WHERE db_id=? AND user_id=? AND table_slug=?",[l[0].id,t.id,s.tableName]);if(i?.[0])continue;await S()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:t.id,db_id:l[0].id,db_slug:l[0].db_slug,table_name:s.tableFullName,table_slug:s.tableName}})}catch(e){d()({component:"/api/addUserTable/lines-124-140",message:e.message,user:t})}}f()({userId:t.id,schemaData:e});let p={user_id:t.id,db_id:i,db_slug:l,table_name:s.tableFullName,table_slug:s.tableName};s?.childTable&&(p.child_table="1",p.child_table_parent_database=n,p.child_table_parent_table=u),await S()({dbFullName:"datasquirel",tableName:"user_database_tables",data:p}),await D()({userId:t.id,targetDatabase:r}),a.json({success:!0})}catch(e){console.log(e.message),d()({component:"/api/addUserTable/main-catch-error",message:e.message,user:t}),a.json({success:!1,msg:"Database Files could not be written!"})}}let v=(0,i.M)(s,"default"),I=(0,i.M)(s,"config"),T=new r.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/addUserTable",pathname:"/api/addUserTable",bundlePath:"",filename:""},userland:s})},6420:(e,a,t)=>{t(81630);let s=t(51348),r=t(72835),l=t(29021),i=t(31341);async function n(e,a,t,n){let{keyCookieName:d,csrfCookieName:u}=i();if(!e.cookies?.[d]?.match(/./))return null;let o=r({encryptedString:e.cookies[d]});if(!o)return null;let b=JSON.parse(o);if(!b.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${b.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!l.existsSync(`${c}/${b.csrf_k}`))return null;if(0==b.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${b.id}'`);e&&e[0]&&1==e[0].verification_status&&a.setHeader("Set-Cookie",["user_refresh=1"])}return b?.date&&Date.now()-b.date>6048e5?null:b}e.exports=n},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",l=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=a;e?.userId&&(i+=`user_${e.userId}_`),l&&(i+=`${l}_`),i+=t;let n=a;e?.userId&&(n+=`user_${e.userId}_`),l&&(n+=`${l}_`),n+=s;let d=a;return e?.userId&&(d+=`user_${e.userId}_`),l&&(d+=`${l}_`),{keyCookieName:i,csrfCookieName:n,oneTimeCodeName:d+=r}}},2258:(e,a,t)=>{let s=t(48225),r=t(29021),l=t(33873);e.exports=function({userId:e}){try{let a=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(a,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},78634:(e,a,t)=>{let s=t(48225),r=t(29021),l=t(33873);e.exports=function({userId:e,schemaData:a}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return r.writeFileSync(t,JSON.stringify(a),"utf8"),!0}catch(e){return s({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}}};var a=require("../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(13441));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addUserUser.js b/dsql-app/.local_dist/server/pages/api/addUserUser.js index 3b19e8c..ef77d9b 100644 --- a/dsql-app/.local_dist/server/pages/api/addUserUser.js +++ b/dsql-app/.local_dist/server/pages/api/addUserUser.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3812,e.ids=[3812],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},21110:(e,s,t)=>{t.r(s),t.d(s,{config:()=>h,default:()=>g,routeModule:()=>E});var r={};t.r(r),t.d(r,{default:()=>S});var a=t(89947),i=t(2706),n=t(96762),l=t(59474),o=t.n(l),d=t(6420),u=t.n(d),c=t(47670),_=t.n(c),p=t(51348),m=t.n(p),f=t(14533),v=t.n(f);async function S(e,s){if("POST"!==e.method)return s.json({msg:"Failed!"});let t=await u()(e,s,!0);if(!t)return s.json({success:!1,msg:"Unauthorized"});let r=e.body,a=r.paradigm;if(a?.match(/database/)){let e=await _()({dbFullName:"datasquirel",tableName:"user_users",data:(()=>{let e=Object.keys(r),s={};return e.forEach(e=>{e?.match(/paradigm|priviledge|database_access|databases|confirm/)||(s[e]=r[e])}),s.user_id=t.id,s.password=v()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:r.password}),s.user_type="database",s.email=r.email_address,s.image="/images/user-preset.png",s.image_thumbnail="/images/user-preset-thumbnail.png",delete s.email_address,s})()});s.json({success:!!e?.insertId,msg:"New User User Added",newUserId:e.insertId})}else{if(t?.email===r.email_address)return s.json({success:!1,msg:"Can't Invite yourself"});let e=await m()("SELECT * FROM invitations WHERE invited_user_email=? AND inviting_user_id=?",[r.email_address,t.id]);if(e&&e[0])return s.json({success:!1,msg:"User Already Invited"});await _()({dbFullName:"datasquirel",tableName:"invitations",data:{inviting_user_id:t.id,invited_user_email:r.email_address,database_access:r.database_access,priviledge:r.priviledge,db_tables_data:r.db_tables}});let a=await o()({to:r.email_address,subject:`${t.first_name} ${t.last_name} Invited you`,text:`${t.first_name} ${t.last_name} has invited you to manage a datasquirel account`,html:` -

${t.first_name} ${t.last_name} has invited you to manage a datasquirel account.

- Accept Invitation - `});s.json({success:!!a?.accepted,msg:"This is an invitation request"})}}let g=(0,n.M)(r,"default"),h=(0,n.M)(r,"config"),E=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addUserUser",pathname:"/api/addUserUser",bundlePath:"",filename:""},userland:r})},6420:(e,s,t)=>{t(81630);let r=t(51348),a=t(72835),i=t(29021),n=t(31341);async function l(e,s,t,l){let{keyCookieName:o,csrfCookieName:d}=n();if(!e.cookies?.[o]?.match(/./))return null;let u=a({encryptedString:e.cookies[o]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await r(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=s;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let n=s;return e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),{keyCookieName:i,csrfCookieName:n+=r}}},59474:(e,s,t)=>{let r=t(29021),a=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:s,text:t,html:i,alias:n}){let l;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let o=(n?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!r.existsSync("./email/index.html"))return;let d=r.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let r={};r.from=`"Datasquirel" <${o}>`,r.sender=o,n&&(r["replyTo "]=o),r.to=e,r.subject=s,r.text=t,r.html=d,l=await a.sendMail(r)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return l}},72835:(e,s,t)=>{let{scryptSync:r,createDecipheriv:a}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=s||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=a("aes-192-cbc",r(n,l,o),i.alloc(16,0));try{let s=d.update(e,"hex","utf8");return s+=d.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},14533:(e,s,t)=>{let{createHmac:r}=t(55511);e.exports=function({password:e,encryptionKey:s}){let t=s||process.env.DSQL_ENCRYPTION_PASSWORD;if(!t?.match(/.{8,}/))throw Error("Encryption key is invalid");let a=r("sha512",t);return a.update(e),a.digest("base64")}}};var s=require("../../webpack-api-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[4050],()=>t(21110));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3812,e.ids=[3812],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},21110:(e,s,r)=>{r.r(s),r.d(s,{config:()=>g,default:()=>E,routeModule:()=>h});var t={};r.r(t),r.d(t,{default:()=>S});var a=r(89947),i=r(2706),n=r(96762),l=r(59474),o=r.n(l),d=r(6420),u=r.n(d),c=r(47670),_=r.n(c),p=r(51348),m=r.n(p),v=r(14533),f=r.n(v);async function S(e,s){if("POST"!==e.method)return s.json({msg:"Failed!"});let r=await u()(e,s,!0);if(!r)return s.json({success:!1,msg:"Unauthorized"});let t=e.body,a=t.paradigm;if(a?.match(/database/)){let e=await _()({dbFullName:"datasquirel",tableName:"user_users",data:(()=>{let e=Object.keys(t),s={};return e.forEach(e=>{e?.match(/paradigm|priviledge|database_access|databases|confirm/)||(s[e]=t[e])}),s.user_id=r.id,s.password=f()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:t.password}),s.user_type="database",s.email=t.email_address,s.image="/images/user-preset.png",s.image_thumbnail="/images/user-preset-thumbnail.png",delete s.email_address,s})()});s.json({success:!!e?.insertId,msg:"New User User Added",newUserId:e.insertId})}else{if(r?.email===t.email_address)return s.json({success:!1,msg:"Can't Invite yourself"});let e=await m()("SELECT * FROM invitations WHERE invited_user_email=? AND inviting_user_id=?",[t.email_address,r.id]);if(e&&e[0])return s.json({success:!1,msg:"User Already Invited"});await _()({dbFullName:"datasquirel",tableName:"invitations",data:{inviting_user_id:r.id,invited_user_email:t.email_address,database_access:t.database_access,priviledge:t.priviledge,db_tables_data:t.db_tables}});let a=await o()({to:t.email_address,subject:`${r.first_name} ${r.last_name} Invited you`,text:`${r.first_name} ${r.last_name} has invited you to manage a datasquirel account`,html:` +

${r.first_name} ${r.last_name} has invited you to manage a datasquirel account.

+ Accept Invitation + `});s.json({success:!!a?.accepted,msg:"This is an invitation request"})}}let E=(0,n.M)(t,"default"),g=(0,n.M)(t,"config"),h=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/addUserUser",pathname:"/api/addUserUser",bundlePath:"",filename:""},userland:t})},6420:(e,s,r)=>{r(81630);let t=r(51348),a=r(72835),i=r(29021),n=r(31341);async function l(e,s,r,l){let{keyCookieName:o,csrfCookieName:d}=n();if(!e.cookies?.[o]?.match(/./))return null;let u=a({encryptedString:e.cookies[o]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!r){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=s;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=r;let l=s;e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),l+=t;let o=s;return e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),{keyCookieName:n,csrfCookieName:l,oneTimeCodeName:o+=a}}},59474:(e,s,r)=>{let t=r(29021),a=r(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:s,text:r,html:i,alias:n}){let l;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let o=(n?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!t.existsSync("./email/index.html"))return;let d=t.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let t={};t.from=`"Datasquirel" <${o}>`,t.sender=o,n&&(t["replyTo "]=o),t.to=e,t.subject=s,t.text=r,t.html=d,l=await a.sendMail(t)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return l}},72835:(e,s,r)=>{let{scryptSync:t,createDecipheriv:a}=r(55511),{Buffer:i}=r(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=s||process.env.DSQL_ENCRYPTION_PASSWORD,l=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=a("aes-192-cbc",t(n,l,o),i.alloc(16,0));try{let s=d.update(e,"hex","utf8");return s+=d.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},14533:(e,s,r)=>{let{createHmac:t}=r(55511);e.exports=function({password:e,encryptionKey:s}){let r=s||process.env.DSQL_ENCRYPTION_PASSWORD;if(!r?.match(/.{8,}/))throw Error("Encryption key is invalid");let a=t("sha512",r);return a.update(e),a.digest("base64")}}};var s=require("../../webpack-api-runtime.js");s.C(e);var r=e=>s(s.s=e),t=s.X(0,[4050],()=>r(21110));module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/addUsersTableToDatabase.js b/dsql-app/.local_dist/server/pages/api/addUsersTableToDatabase.js index 41ba517..88daada 100644 --- a/dsql-app/.local_dist/server/pages/api/addUsersTableToDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/addUsersTableToDatabase.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4436,e.ids=[4436],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},13461:(e,a,t)=>{t.r(a),t.d(a,{config:()=>y,default:()=>T,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>R});var l=t(89947),r=t(2706),i=t(96762),d=t(51348),u=t.n(d),n=t(48225),o=t.n(n),p=t(6420),f=t.n(p),_=t(47670),m=t.n(_),c=t(19261),b=t.n(c);let N=t(29021);t(33873);let{execSync:A}=t(79646);async function R(e,a){if("POST"!==e.method)return a.json({msg:"Failed!"});let s=await f()(e,a,!0);if(!s)return a.json({success:!1,msg:"Unauthorized"});let{dbFullName:l,dbSlug:r,dbId:i}=e.body,d=t(8693),n=t(95610),p=[...n.slice(0,2),...d.fields,...n.slice(2)];d.fields=[...p];try{let e;let t=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/main.json`,n=JSON.parse(N.readFileSync(t,"utf8")),p=n.filter(e=>e.dbFullName===l)[0],f=p.tables.filter((a,t)=>{if("users"===a.tableName)return e=t,!0});if(f?.[0]&&"number"==typeof e?p.tables[e]=d:p.tables.push(d),p.childrenDatabases)for(let e=0;ee.dbFullName===a.dbFullName)[0].tables=p.tables;let e=await u()("SELECT * FROM user_databases WHERE user_id = ? AND db_full_name = ?",[s.id,a.dbFullName]);await m()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:s.id,db_id:e[0].id,db_slug:e[0].db_slug,table_name:"Users",table_slug:"users"}})}catch(e){o()({component:"/api/addUsersTableToDatabase/lines-100-115",message:e.message,user:s})}}N.writeFileSync(`${t}`,JSON.stringify(n),"utf8"),await m()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:s.id,db_id:i,db_slug:r,table_name:"Users",table_slug:"users"}});let _=l.replace(/[^a-z\_0-9]/g,"");await b()({userId:s.id,targetDatabase:_}),a.json({success:!0})}catch(e){o()({component:"/api/addUsersTableToDatabase/main-catch-error",message:e.message,user:s}),a.json({success:!1,msg:"Database Files could not be written!"})}}let T=(0,i.M)(s,"default"),y=(0,i.M)(s,"config"),g=new l.PagesAPIRouteModule({definition:{kind:r.A.PAGES_API,page:"/api/addUsersTableToDatabase",pathname:"/api/addUsersTableToDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,a,t)=>{t(81630);let s=t(51348),l=t(72835),r=t(29021),i=t(31341);async function d(e,a,t,d){let{keyCookieName:u,csrfCookieName:n}=i();if(!e.cookies?.[u]?.match(/./))return null;let o=l({encryptedString:e.cookies[u]});if(!o)return null;let p=JSON.parse(o);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let f=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!f)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!r.existsSync(`${f}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&a.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=d},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",l=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),r=a;e?.userId&&(r+=`user_${e.userId}_`),l&&(r+=`${l}_`),r+=t;let i=a;return e?.userId&&(i+=`user_${e.userId}_`),l&&(i+=`${l}_`),{keyCookieName:r,csrfCookieName:i+=s}}},8693:e=>{e.exports=JSON.parse('{"tableName":"users","tableFullName":"Users","fields":[{"fieldName":"first_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"last_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"email","dataType":"VARCHAR(200)","notNullValue":true},{"fieldName":"phone","dataType":"VARCHAR(50)"},{"fieldName":"user_type","dataType":"VARCHAR(20)","defaultValue":"default"},{"fieldName":"username","dataType":"VARCHAR(100)","nullValue":true},{"fieldName":"password","dataType":"TEXT"},{"fieldName":"image","dataType":"VARCHAR(250)","defaultValue":"/images/user-preset.png"},{"fieldName":"image_thumbnail","dataType":"VARCHAR(250)","defaultValue":"/images/user-preset-thumbnail.png"},{"fieldName":"address","dataType":"VARCHAR(255)"},{"fieldName":"city","dataType":"VARCHAR(50)"},{"fieldName":"state","dataType":"VARCHAR(50)"},{"fieldName":"country","dataType":"VARCHAR(50)"},{"fieldName":"zip_code","dataType":"VARCHAR(50)"},{"fieldName":"social_login","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"social_platform","dataType":"VARCHAR(50)","nullValue":true},{"fieldName":"social_id","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"more_user_data","dataType":"BIGINT","defaultValue":"0"},{"fieldName":"verification_status","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"temp_login_code","dataType":"VARCHAR(50)","nullValue":true}]}')}};var a=require("../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(13461));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4436,e.ids=[4436],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},13461:(e,a,t)=>{t.r(a),t.d(a,{config:()=>y,default:()=>T,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>R});var r=t(89947),l=t(2706),i=t(96762),d=t(51348),u=t.n(d),n=t(48225),o=t.n(n),_=t(6420),p=t.n(_),f=t(47670),m=t.n(f),c=t(19261),b=t.n(c);let N=t(29021);t(33873);let{execSync:A}=t(79646);async function R(e,a){if("POST"!==e.method)return a.json({msg:"Failed!"});let s=await p()(e,a,!0);if(!s)return a.json({success:!1,msg:"Unauthorized"});let{dbFullName:r,dbSlug:l,dbId:i}=e.body,d=t(8693),n=t(95610),_=[...n.slice(0,2),...d.fields,...n.slice(2)];d.fields=[..._];try{let e;let t=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/main.json`,n=JSON.parse(N.readFileSync(t,"utf8")),_=n.filter(e=>e.dbFullName===r)[0],p=_.tables.filter((a,t)=>{if("users"===a.tableName)return e=t,!0});if(p?.[0]&&"number"==typeof e?_.tables[e]=d:_.tables.push(d),_.childrenDatabases)for(let e=0;e<_.childrenDatabases.length;e++){let a=_.childrenDatabases[e];try{n.filter(e=>e.dbFullName===a.dbFullName)[0].tables=_.tables;let e=await u()("SELECT * FROM user_databases WHERE user_id = ? AND db_full_name = ?",[s.id,a.dbFullName]);await m()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:s.id,db_id:e[0].id,db_slug:e[0].db_slug,table_name:"Users",table_slug:"users"}})}catch(e){o()({component:"/api/addUsersTableToDatabase/lines-100-115",message:e.message,user:s})}}N.writeFileSync(`${t}`,JSON.stringify(n),"utf8"),await m()({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:s.id,db_id:i,db_slug:l,table_name:"Users",table_slug:"users"}});let f=r.replace(/[^a-z\_0-9]/g,"");await b()({userId:s.id,targetDatabase:f}),a.json({success:!0})}catch(e){o()({component:"/api/addUsersTableToDatabase/main-catch-error",message:e.message,user:s}),a.json({success:!1,msg:"Database Files could not be written!"})}}let T=(0,i.M)(s,"default"),y=(0,i.M)(s,"config"),S=new r.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/addUsersTableToDatabase",pathname:"/api/addUsersTableToDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,a,t)=>{t(81630);let s=t(51348),r=t(72835),l=t(29021),i=t(31341);async function d(e,a,t,d){let{keyCookieName:u,csrfCookieName:n}=i();if(!e.cookies?.[u]?.match(/./))return null;let o=r({encryptedString:e.cookies[u]});if(!o)return null;let _=JSON.parse(o);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!l.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&a.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=d},31341:e=>{e.exports=function(e){let a=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",r=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",l=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=a;e?.userId&&(i+=`user_${e.userId}_`),l&&(i+=`${l}_`),i+=t;let d=a;e?.userId&&(d+=`user_${e.userId}_`),l&&(d+=`${l}_`),d+=s;let u=a;return e?.userId&&(u+=`user_${e.userId}_`),l&&(u+=`${l}_`),{keyCookieName:i,csrfCookieName:d,oneTimeCodeName:u+=r}}},8693:e=>{e.exports=JSON.parse('{"tableName":"users","tableFullName":"Users","fields":[{"fieldName":"first_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"last_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"email","dataType":"VARCHAR(200)","notNullValue":true},{"fieldName":"phone","dataType":"VARCHAR(50)"},{"fieldName":"user_type","dataType":"VARCHAR(20)","defaultValue":"default"},{"fieldName":"username","dataType":"VARCHAR(100)","nullValue":true},{"fieldName":"password","dataType":"TEXT"},{"fieldName":"image","dataType":"VARCHAR(250)"},{"fieldName":"image_thumbnail","dataType":"VARCHAR(250)"},{"fieldName":"address","dataType":"VARCHAR(255)"},{"fieldName":"city","dataType":"VARCHAR(50)"},{"fieldName":"state","dataType":"VARCHAR(50)"},{"fieldName":"country","dataType":"VARCHAR(50)"},{"fieldName":"zip_code","dataType":"VARCHAR(50)"},{"fieldName":"social_login","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"social_platform","dataType":"VARCHAR(50)","nullValue":true},{"fieldName":"social_id","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"more_user_data","dataType":"BIGINT","defaultValue":"0"},{"fieldName":"verification_status","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"temp_login_code","dataType":"VARCHAR(50)","nullValue":true}]}')}};var a=require("../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(13461));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/addUserBackup.js b/dsql-app/.local_dist/server/pages/api/admin/addUserBackup.js index 8512dc8..940578b 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/addUserBackup.js +++ b/dsql-app/.local_dist/server/pages/api/admin/addUserBackup.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9171,e.ids=[9171],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},55535:(e,r,s)=>{s.r(r),s.d(r,{config:()=>E,default:()=>f,routeModule:()=>v});var t={};s.r(t),s.d(t,{default:()=>D});var n=s(89947),o=s(2706),c=s(96762),a=s(51348),i=s.n(a),l=s(19131),u=s.n(l);let p=s(29021),_=s(21820),{execSync:S,spawnSync:d}=s(79646);async function D(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await u()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"Unauthorized"});try{let s=e.body.user.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),t=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s}/backups`;p.existsSync(t)||p.mkdirSync(t);let n=Date.now().toString();p.mkdirSync(`${t}/${n}`);let o=await i()("SHOW databases LIKE ?",[`datasquirel_user_${s}_%`]);for(let e=0;e ${i}`;console.log(`addUserBackup.js exe => ${l}`),d(c,["-u",process.env.DSQL_DB_USERNAME,"-h",process.env.DSQL_DB_HOST,`-p${process.env.DSQL_DB_PASSWORD}`,s,">",i],a)}p.copyFileSync(`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s}/main.json`,`${t}/${n}/main.json`),r.json({success:!0})}catch(e){console.log(e.message),r.json({success:!1})}}let f=(0,c.M)(t,"default"),E=(0,c.M)(t,"config"),v=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/addUserBackup",pathname:"/api/admin/addUserBackup",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let c=n({encryptedString:e.cookies[t]});if(!c)return console.log("No user payload found"),null;let a=JSON.parse(c);return a.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):a.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):a}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),n&&(c+=`${n}_`),{keyCookieName:o,csrfCookieName:c+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let c=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=s||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!c?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(c,a,i),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function c(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=c},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=55535);module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9171,e.ids=[9171],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},55535:(e,r,s)=>{s.r(r),s.d(r,{config:()=>f,default:()=>E,routeModule:()=>v});var t={};s.r(t),s.d(t,{default:()=>D});var n=s(89947),o=s(2706),c=s(96762),a=s(51348),u=s.n(a),i=s(19131),l=s.n(i);let _=s(29021),p=s(21820),{execSync:d,spawnSync:S}=s(79646);async function D(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await l()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"Unauthorized"});try{let s=e.body.user.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),t=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s}/backups`;_.existsSync(t)||_.mkdirSync(t);let n=Date.now().toString();_.mkdirSync(`${t}/${n}`);let o=await u()("SHOW databases LIKE ?",[`datasquirel_user_${s}_%`]);for(let e=0;e ${u}`;console.log(`addUserBackup.js exe => ${i}`),S(c,["-u",process.env.DSQL_DB_USERNAME,"-h",process.env.DSQL_DB_HOST,`-p${process.env.DSQL_DB_PASSWORD}`,s,">",u],a)}_.copyFileSync(`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s}/main.json`,`${t}/${n}/main.json`),r.json({success:!0})}catch(e){console.log(e.message),r.json({success:!1})}}let E=(0,c.M)(t,"default"),f=(0,c.M)(t,"config"),v=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/addUserBackup",pathname:"/api/admin/addUserBackup",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let c=n({encryptedString:e.cookies[t]});if(!c)return console.log("No user payload found"),null;let a=JSON.parse(c);return a.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):a.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):a}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=s;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),{keyCookieName:c,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let c=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=s||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!c?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let i=n("aes-192-cbc",t(c,a,u),o.alloc(16,0));try{let r=i.update(e,"hex","utf8");return r+=i.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function c(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=c},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=55535);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/clearErrorLogs.js b/dsql-app/.local_dist/server/pages/api/admin/clearErrorLogs.js index bafbeaa..fa835df 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/clearErrorLogs.js +++ b/dsql-app/.local_dist/server/pages/api/admin/clearErrorLogs.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4785,e.ids=[4785],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,o){return o in r?r[o]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,o)):"function"==typeof r&&"default"===o?r:void 0}}})},6126:(e,r,o)=>{o.r(r),o.d(r,{config:()=>_,default:()=>p,routeModule:()=>f});var t={};o.r(t),o.d(t,{default:()=>d});var n=o(89947),s=o(2706),i=o(96762),u=o(19131),l=o.n(u);let{execSync:c}=o(79646),a=o(29021);async function d(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let o=await l()(e);if(!o?.logged_in_status)return r.json({success:!1,log:"No Logs"});a.writeFileSync("./.tmp/error.log","","utf-8"),r.json({success:!0})}let p=(0,i.M)(t,"default"),_=(0,i.M)(t,"config"),f=new n.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/admin/clearErrorLogs",pathname:"/api/admin/clearErrorLogs",bundlePath:"",filename:""},userland:t})},19131:(e,r,o)=>{let{IncomingMessage:t}=o(81630),n=o(72835),s=o(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:o}=s(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let i=n({encryptedString:e.cookies[t]});if(!i)return console.log("No user payload found"),null;let u=JSON.parse(i);return u.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):u.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):u}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",o=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),s=r;e?.userId&&(s+=`user_${e.userId}_`),n&&(s+=`${n}_`),s+=o;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:s,csrfCookieName:i+=t}}},72835:(e,r,o)=>{let{scryptSync:t,createDecipheriv:n}=o(55511),{Buffer:s}=o(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:o})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,u=o||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",t(i,u,l),s.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var o;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return o}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(o||(o={}))},89947:(e,r,o)=>{e.exports=o(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var o=r(r.s=6126);module.exports=o})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4785,e.ids=[4785],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,o){return o in r?r[o]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,o)):"function"==typeof r&&"default"===o?r:void 0}}})},6126:(e,r,o)=>{o.r(r),o.d(r,{config:()=>p,default:()=>_,routeModule:()=>E});var s={};o.r(s),o.d(s,{default:()=>d});var t=o(89947),n=o(2706),u=o(96762),i=o(19131),l=o.n(i);let{execSync:c}=o(79646),a=o(29021);async function d(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let o=await l()(e);if(!o?.logged_in_status)return r.json({success:!1,log:"No Logs"});a.writeFileSync("./.tmp/error.log","","utf-8"),r.json({success:!0})}let _=(0,u.M)(s,"default"),p=(0,u.M)(s,"config"),E=new t.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/clearErrorLogs",pathname:"/api/admin/clearErrorLogs",bundlePath:"",filename:""},userland:s})},19131:(e,r,o)=>{let{IncomingMessage:s}=o(81630),t=o(72835),n=o(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:o}=n(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let u=t({encryptedString:e.cookies[s]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",o=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",t=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),u+=o;let i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:l+=t}}},72835:(e,r,o)=>{let{scryptSync:s,createDecipheriv:t}=o(55511),{Buffer:n}=o(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:o})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=o||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=t("aes-192-cbc",s(u,i,l),n.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var o;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return o}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(o||(o={}))},89947:(e,r,o)=>{e.exports=o(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var o=r(r.s=6126);module.exports=o})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/createNewBackup.js b/dsql-app/.local_dist/server/pages/api/admin/createNewBackup.js index 0be7c0e..46f0e57 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/createNewBackup.js +++ b/dsql-app/.local_dist/server/pages/api/admin/createNewBackup.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=9885,e.ids=[9885],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},75865:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>y,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),a=t(96762),l=t(93209),i=t.n(l),c=t(48225),u=t.n(c),p=t(19131),d=t.n(p);let S=t(29021),m=t(21820),{execSync:_}=t(79646);async function f(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let t=await d()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});let s="./.tmp/backups";S.existsSync(s)||S.mkdirSync("./.tmp/backups");let n=Date.now().toString();S.mkdirSync(`${s}/${n}`);let o=m.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let e={cwd:process.cwd()},t=`${s}/${n}/datasquirel.sql`;m.platform().match(/win/i)&&(e.shell="bash.exe");let a=`${o} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} datasquirel > ${t}`;console.log(`createNewBackup.js exe => ${a}`),_(a,e),S.copyFileSync("./jsonData/dbSchemas/main.json",`${s}/${n}/datasquirelSchema.json`),i()({rootFolderPath:`${process.env.DSQL_USER_DB_SCHEMA_PATH}`,destinationFolderPath:`${s}/${n}/userSchemas`}),r.json({success:!0})}catch(e){r.json({success:!1}),u()({component:"/api/admin/createNewBackup/lines-73-90",message:e.message})}}let y=(0,a.M)(s,"default"),g=(0,a.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/createNewBackup",pathname:"/api/admin/createNewBackup",bundlePath:"",filename:""},userland:s})},93209:(e,r,t)=>{let s=t(29021);e.exports=function({rootFolderPath:e,destinationFolderPath:r}){try{return s.mkdirSync(r),function e(r,t){let n=s.readdirSync(r);for(let o=0;o{let{IncomingMessage:s}=t(81630),n=t(72835),o=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=o(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[s]});if(!a)return console.log("No user payload found"),null;let l=JSON.parse(a);return l.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):l.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):l}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,l=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=9885,e.ids=[9885],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},75865:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>E,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),a=t(96762),l=t(93209),i=t.n(l),c=t(48225),u=t.n(c),d=t(19131),p=t.n(d);let _=t(29021),S=t(21820),{execSync:m}=t(79646);async function f(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let t=await p()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});let s="./.tmp/backups";_.existsSync(s)||_.mkdirSync("./.tmp/backups");let n=Date.now().toString();_.mkdirSync(`${s}/${n}`);let o=S.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let e={cwd:process.cwd()},t=`${s}/${n}/datasquirel.sql`;S.platform().match(/win/i)&&(e.shell="bash.exe");let a=`${o} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} datasquirel > ${t}`;console.log(`createNewBackup.js exe => ${a}`),m(a,e),_.copyFileSync("./jsonData/dbSchemas/main.json",`${s}/${n}/datasquirelSchema.json`),i()({rootFolderPath:`${process.env.DSQL_USER_DB_SCHEMA_PATH}`,destinationFolderPath:`${s}/${n}/userSchemas`}),r.json({success:!0})}catch(e){r.json({success:!1}),u()({component:"/api/admin/createNewBackup/lines-73-90",message:e.message})}}let E=(0,a.M)(s,"default"),y=(0,a.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/createNewBackup",pathname:"/api/admin/createNewBackup",bundlePath:"",filename:""},userland:s})},93209:(e,r,t)=>{let s=t(29021);e.exports=function({rootFolderPath:e,destinationFolderPath:r}){try{return s.mkdirSync(r),function e(r,t){let n=s.readdirSync(r);for(let o=0;o{let{IncomingMessage:s}=t(81630),n=t(72835),o=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=o(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[s]});if(!a)return console.log("No user payload found"),null;let l=JSON.parse(a);return l.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):l.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):l}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),l+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:a,csrfCookieName:l,oneTimeCodeName:i+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,l=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/admin/docs/[action].js b/dsql-app/.local_dist/server/pages/api/admin/docs/[action].js index 9c52fa9..b40e0fc 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/docs/[action].js +++ b/dsql-app/.local_dist/server/pages/api/admin/docs/[action].js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2927,e.ids=[2927],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},24296:(e,t,a)=>{a.r(t),a.d(t,{config:()=>N,default:()=>w,routeModule:()=>R});var r={};a.r(r),a.d(r,{default:()=>h});var s=a(89947),n=a(2706),l=a(96762),o=a(77509),i=a.n(o),d=a(73921),c=a.n(d),u=a(29131),p=a.n(u),_=a(30573),g=a.n(_),E=a(6983),f=a.n(E),S=a(46238),y=a.n(S),m=a(19131),v=a.n(m);async function h(e,t){if("POST"!==e.method)return t.json({success:!1,msg:"Wrong Method"});let a=await v()(e);if(!a?.logged_in_status)return t.json({success:!1,log:"Unauthorized"});let{action:r}=e.query,s=e.body;try{let e;switch(r){case"add-page":e=await i()({body:s});break;case"update-page":e=await i()({body:s,update:!0});break;case"delete-page":e=await c()({body:s});break;case"get-snippets":e=await p()();break;case"grab-parent-pages":e=await f()({body:s});break;case"get-child-pages":e=await g()({body:s});break;case"persist":e=await y()({body:s})}if(!e)throw Error("Operation failed!");t.json({success:!0,result:e})}catch(e){t.json({success:!1})}}let w=(0,l.M)(r,"default"),N=(0,l.M)(r,"config"),R=new s.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/docs/[action]",pathname:"/api/admin/docs/[action]",bundlePath:"",filename:""},userland:r})},77509:(e,t,a)=>{let r=a(72583),s=a(51348),n=a(47670),l=a(16570);e.exports=async function({body:e,update:t}){let a=e.title.toLowerCase().replace(/ /g,"-").replace(/[^a-z0-9\-]/g,""),o=await async function(){if(t)return null;try{return(await s("SELECT page_order FROM docs_pages ORDER BY page_order DESC LIMIT 1"))[0].page_order}catch(e){return null}}(),i=await n({data:{title:e.title,slug:a,description:r(e.description,l),content:r(e.content,l),text_content:e.text_content,level:e.level,page_order:t?e.page_order:parseInt(o)+1,parent_id:e?.parent_id},tableName:"docs_pages",update:t,duplicateColumnName:"id",duplicateColumnValue:e.id});return i?.insertId?i:t&&i.affectedRows?i:null}},73921:(e,t,a)=>{let r=a(51348);e.exports=async function({body:e}){return await r("DELETE FROM docs_pages WHERE id=?",[e.id])||null}},29131:(e,t,a)=>{let r=a(29021);e.exports=async function(){let e="./components/su/components/RichText/html-presets",t=[];return r.existsSync(e)&&r.readdirSync(e).forEach(a=>{if(a?.endsWith(".html")){let s={};s[a.replace(/\.html$/,"")]=r.readFileSync(`${e}/${a}`,"utf-8"),t.push({...s})}}),t}},30573:(e,t,a)=>{a(29021);let r=a(51348);e.exports=async function({body:e}){let t=await r("SELECT id, title, slug FROM docs_pages WHERE parent_id = ?",[e.pageId]);return t[0]?t:null}},6983:(e,t,a)=>{let r=a(51348);e.exports=async function({body:e}){return e?.currentPageId?await r("SELECT * FROM docs_pages WHERE level = ? AND id != ?",[e.pagesLevel,e.currentPageId]):await r("SELECT * FROM docs_pages WHERE level = ?",[e.pagesLevel])}},46238:(e,t,a)=>{let r=a(29021),s=a(51348);e.exports=async function({body:e}){let{pull:t}=e,a="./jsonData/docs.json";if(t)try{let e=JSON.parse(r.readFileSync(a,"utf-8"));for(let t=0;t{let{IncomingMessage:r}=a(81630),s=a(72835),n=a(31341);e.exports=async function(e){let{keyCookieName:t,csrfCookieName:a}=n(),r=`${t}_su`;if(!e.cookies?.[r])return console.log("No auth key cookie found"),null;let l=s({encryptedString:e.cookies[r]});if(!l)return console.log("No user payload found"),null;let o=JSON.parse(l);return o.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):o.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):o}},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",a=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=t;e?.userId&&(n+=`user_${e.userId}_`),s&&(n+=`${s}_`),n+=a;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),s&&(l+=`${s}_`),{keyCookieName:n,csrfCookieName:l+=r}}},72835:(e,t,a)=>{let{scryptSync:r,createDecipheriv:s}=a(55511),{Buffer:n}=a(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:a})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let l=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=a||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!l?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=s("aes-192-cbc",r(l,o,i),n.alloc(16,0));try{let t=d.update(e,"hex","utf8");return t+=d.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}}};var t=require("../../../../webpack-api-runtime.js");t.C(e);var a=e=>t(t.s=e),r=t.X(0,[4050],()=>a(24296));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2927,e.ids=[2927],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},24296:(e,t,a)=>{a.r(t),a.d(t,{config:()=>N,default:()=>I,routeModule:()=>O});var r={};a.r(r),a.d(r,{default:()=>h});var s=a(89947),n=a(2706),l=a(96762),o=a(77509),i=a.n(o),d=a(73921),c=a.n(d),u=a(29131),p=a.n(u),_=a(30573),E=a.n(_),g=a(6983),f=a.n(g),S=a(46238),m=a.n(S),y=a(19131),v=a.n(y);async function h(e,t){if("POST"!==e.method)return t.json({success:!1,msg:"Wrong Method"});let a=await v()(e);if(!a?.logged_in_status)return t.json({success:!1,log:"Unauthorized"});let{action:r}=e.query,s=e.body;try{let e;switch(r){case"add-page":e=await i()({body:s});break;case"update-page":e=await i()({body:s,update:!0});break;case"delete-page":e=await c()({body:s});break;case"get-snippets":e=await p()();break;case"grab-parent-pages":e=await f()({body:s});break;case"get-child-pages":e=await E()({body:s});break;case"persist":e=await m()({body:s})}if(!e)throw Error("Operation failed!");t.json({success:!0,result:e})}catch(e){t.json({success:!1})}}let I=(0,l.M)(r,"default"),N=(0,l.M)(r,"config"),O=new s.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/docs/[action]",pathname:"/api/admin/docs/[action]",bundlePath:"",filename:""},userland:r})},77509:(e,t,a)=>{let r=a(72583),s=a(51348),n=a(47670),l=a(16570);e.exports=async function({body:e,update:t}){let a=e.title.toLowerCase().replace(/ /g,"-").replace(/[^a-z0-9\-]/g,""),o=await async function(){if(t)return null;try{return(await s("SELECT page_order FROM docs_pages ORDER BY page_order DESC LIMIT 1"))[0].page_order}catch(e){return null}}(),i=await n({data:{title:e.title,slug:a,description:r(e.description,l),content:r(e.content,l),text_content:e.text_content,level:e.level,page_order:t?e.page_order:parseInt(o)+1,parent_id:e?.parent_id},tableName:"docs_pages",update:t,duplicateColumnName:"id",duplicateColumnValue:e.id});return i?.insertId?i:t&&i.affectedRows?i:null}},73921:(e,t,a)=>{let r=a(51348);e.exports=async function({body:e}){return await r("DELETE FROM docs_pages WHERE id=?",[e.id])||null}},29131:(e,t,a)=>{let r=a(29021);e.exports=async function(){let e="./components/su/components/RichText/html-presets",t=[];return r.existsSync(e)&&r.readdirSync(e).forEach(a=>{if(a?.endsWith(".html")){let s={};s[a.replace(/\.html$/,"")]=r.readFileSync(`${e}/${a}`,"utf-8"),t.push({...s})}}),t}},30573:(e,t,a)=>{a(29021);let r=a(51348);e.exports=async function({body:e}){let t=await r("SELECT id, title, slug FROM docs_pages WHERE parent_id = ?",[e.pageId]);return t[0]?t:null}},6983:(e,t,a)=>{let r=a(51348);e.exports=async function({body:e}){return e?.currentPageId?await r("SELECT * FROM docs_pages WHERE level = ? AND id != ?",[e.pagesLevel,e.currentPageId]):await r("SELECT * FROM docs_pages WHERE level = ?",[e.pagesLevel])}},46238:(e,t,a)=>{let r=a(29021),s=a(51348);e.exports=async function({body:e}){let{pull:t}=e,a="./jsonData/docs.json";if(t)try{let e=JSON.parse(r.readFileSync(a,"utf-8"));for(let t=0;t{let{IncomingMessage:r}=a(81630),s=a(72835),n=a(31341);e.exports=async function(e){let{keyCookieName:t,csrfCookieName:a}=n(),r=`${t}_su`;if(!e.cookies?.[r])return console.log("No auth key cookie found"),null;let l=s({encryptedString:e.cookies[r]});if(!l)return console.log("No user payload found"),null;let o=JSON.parse(l);return o.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):o.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):o}},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",a=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=t;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=a;let o=t;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=r;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:l,csrfCookieName:o,oneTimeCodeName:i+=s}}},72835:(e,t,a)=>{let{scryptSync:r,createDecipheriv:s}=a(55511),{Buffer:n}=a(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:a})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let l=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=a||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!l?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=s("aes-192-cbc",r(l,o,i),n.alloc(16,0));try{let t=d.update(e,"hex","utf8");return t+=d.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}}};var t=require("../../../../webpack-api-runtime.js");t.C(e);var a=e=>t(t.s=e),r=t.X(0,[4050],()=>a(24296));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/getTablesForUserDatabase.js b/dsql-app/.local_dist/server/pages/api/admin/getTablesForUserDatabase.js index 2edb421..eb211b1 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/getTablesForUserDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/admin/getTablesForUserDatabase.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=5905,e.ids=[5905],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},62347:(e,r,s)=>{s.r(r),s.d(r,{config:()=>_,default:()=>d,routeModule:()=>S});var t={};s.r(t),s.d(t,{default:()=>p});var n=s(89947),o=s(2706),a=s(96762),c=s(57638),l=s.n(c);s(48225);var i=s(19131),u=s.n(i);async function p(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await u()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{database:t}=e.query;try{let e=await l()({database:"string"==typeof t?t:"",queryString:`SHOW TABLES FROM ${t}`});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,tables:e.map(e=>Object.values(e)[0])})}catch(e){console.log(e.message),r.json({success:!1})}}s(29021);let d=(0,a.M)(t,"default"),_=(0,a.M)(t,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/getTablesForUserDatabase",pathname:"/api/admin/getTablesForUserDatabase",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[t]});if(!a)return console.log("No user payload found"),null;let c=JSON.parse(a);return c.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):c.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):c}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=t}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let o=0;o",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:o}){let a=new Date,c=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],s=o.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=5905,e.ids=[5905],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},62347:(e,r,s)=>{s.r(r),s.d(r,{config:()=>d,default:()=>_,routeModule:()=>S});var t={};s.r(t),s.d(t,{default:()=>p});var n=s(89947),o=s(2706),a=s(96762),c=s(57638),l=s.n(c);s(48225);var i=s(19131),u=s.n(i);async function p(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await u()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{database:t}=e.query;try{let e=await l()({database:"string"==typeof t?t:"",queryString:`SHOW TABLES FROM ${t}`});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,tables:e.map(e=>Object.values(e)[0])})}catch(e){console.log(e.message),r.json({success:!1})}}s(29021);let _=(0,a.M)(t,"default"),d=(0,a.M)(t,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/getTablesForUserDatabase",pathname:"/api/admin/getTablesForUserDatabase",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[t]});if(!a)return console.log("No user payload found"),null;let c=JSON.parse(a);return c.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):c.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):c}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:a,csrfCookieName:c,oneTimeCodeName:l+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let o=0;o",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:o}){let a=new Date,c=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],s=o.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${a.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),o=s(51348),a=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:l,useLocal:i}){let u;let p=!!i||!!s?.match(/^datasquirel$/),d=i?c:p?o:a;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await d(e,r):await d({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):p?await d(e):await d({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await t({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let i=n("aes-192-cbc",t(a,c,l),o.alloc(16,0));try{let r=i.update(e,"hex","utf8");return r+=i.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),o=s(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((l,i)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),l(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),l({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(s,c).then(p).catch(d):a.query(s).then(p).catch(d)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function o(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=62347);module.exports=s})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),o=s(51348),a=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:l,useLocal:i}){let u;let p=!!i||!!s?.match(/^datasquirel$/),_=i?c:p?o:a;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await _(e,r):await _({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):p?await _(e):await _({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await t({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let i=n("aes-192-cbc",t(a,c,l),o.alloc(16,0));try{let r=i.update(e,"hex","utf8");return r+=i.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),o=s(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((l,i)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),l(JSON.parse(JSON.stringify(e)))}function _(e){a.end(),l({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(s,c).then(p).catch(_):a.query(s).then(p).catch(_)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function o(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=62347);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/getUserBackups.js b/dsql-app/.local_dist/server/pages/api/admin/getUserBackups.js index f9df0ae..0e3caf6 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/getUserBackups.js +++ b/dsql-app/.local_dist/server/pages/api/admin/getUserBackups.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=525,e.ids=[525],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},42513:(e,r,s)=>{s.r(r),s.d(r,{config:()=>p,default:()=>d,routeModule:()=>_});var t={};s.r(t),s.d(t,{default:()=>a});var n=s(89947),o=s(2706),u=s(96762),i=s(19131),c=s.n(i);let l=s(29021);async function a(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await c()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let t=e.body.user.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t}/backups`;l.existsSync(n)||l.mkdirSync(n);let o=l.readdirSync(n);r.json({success:!0,backups:o})}let d=(0,u.M)(t,"default"),p=(0,u.M)(t,"config"),_=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/getUserBackups",pathname:"/api/admin/getUserBackups",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=n({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),{keyCookieName:o,csrfCookieName:u+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(u,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=42513);module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=525,e.ids=[525],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},42513:(e,r,s)=>{s.r(r),s.d(r,{config:()=>_,default:()=>d,routeModule:()=>p});var t={};s.r(t),s.d(t,{default:()=>a});var n=s(89947),o=s(2706),u=s(96762),i=s(19131),c=s.n(i);let l=s(29021);async function a(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await c()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let t=e.body.user.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t}/backups`;l.existsSync(n)||l.mkdirSync(n);let o=l.readdirSync(n);r.json({success:!0,backups:o})}let d=(0,u.M)(t,"default"),_=(0,u.M)(t,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/getUserBackups",pathname:"/api/admin/getUserBackups",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=n({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:c+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(u,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=42513);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/getUserData.js b/dsql-app/.local_dist/server/pages/api/admin/getUserData.js index a265263..77b0473 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/getUserData.js +++ b/dsql-app/.local_dist/server/pages/api/admin/getUserData.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9664,e.ids=[9664],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},29249:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>_,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>d});var o=t(89947),n=t(2706),a=t(96762),i=t(51348),c=t.n(i),u=t(19131),l=t.n(u);let p=t(29021);async function d(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let t=await l()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});let s=e.body.user,o=s?.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}`,a=[];!function e({originArray:r,rootPath:t}){let s=p.readdirSync(t);for(let o=0;oObject.values(e)[0])})}let _=(0,a.M)(s,"default"),f=(0,a.M)(s,"config"),S=new o.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/getUserData",pathname:"/api/admin/getUserData",bundlePath:"",filename:""},userland:s})},19131:(e,r,t)=>{let{IncomingMessage:s}=t(81630),o=t(72835),n=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=n(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let a=o({encryptedString:e.cookies[s]});if(!a)return console.log("No user payload found"),null;let i=JSON.parse(a);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",o=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),o&&(n+=`${o}_`),n+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:n,csrfCookieName:a+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:o}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=o("aes-192-cbc",s(a,i,c),n.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),o=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:o()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=29249);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9664,e.ids=[9664],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},29249:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>p});var o=t(89947),n=t(2706),a=t(96762),i=t(51348),u=t.n(i),c=t(19131),l=t.n(c);let _=t(29021);async function p(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let t=await l()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});let s=e.body.user,o=s?.id.toString().replace(/[^0-9]/g,"").replace(/\//g,""),n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}`,a=[];!function e({originArray:r,rootPath:t}){let s=_.readdirSync(t);for(let o=0;oObject.values(e)[0])})}let d=(0,a.M)(s,"default"),S=(0,a.M)(s,"config"),f=new o.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/getUserData",pathname:"/api/admin/getUserData",bundlePath:"",filename:""},userland:s})},19131:(e,r,t)=>{let{IncomingMessage:s}=t(81630),o=t(72835),n=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=n(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let a=o({encryptedString:e.cookies[s]});if(!a)return console.log("No user payload found"),null;let i=JSON.parse(a);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",o=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:u+=o}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:o}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=o("aes-192-cbc",s(a,i,u),n.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),o=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:o()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=29249);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/grabBackups.js b/dsql-app/.local_dist/server/pages/api/admin/grabBackups.js index 8b2adcc..6fd2891 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/grabBackups.js +++ b/dsql-app/.local_dist/server/pages/api/admin/grabBackups.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2266,e.ids=[2266],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,n){return n in r?r[n]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,n)):"function"==typeof r&&"default"===n?r:void 0}}})},89995:(e,r,n)=>{n.r(r),n.d(r,{config:()=>p,default:()=>d,routeModule:()=>_});var t={};n.r(t),n.d(t,{default:()=>l});var s=n(89947),o=n(2706),u=n(96762),i=n(19131),a=n.n(i);let c=n(29021);async function l(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let n=await a()(e);if(!n?.logged_in_status)return r.json({success:!1,log:"No Logs"});let t="./.tmp/backups";c.existsSync(t)||c.mkdirSync(t);let s=c.readdirSync(t);r.json({success:!0,backups:s})}let d=(0,u.M)(t,"default"),p=(0,u.M)(t,"config"),_=new s.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/grabBackups",pathname:"/api/admin/grabBackups",bundlePath:"",filename:""},userland:t})},19131:(e,r,n)=>{let{IncomingMessage:t}=n(81630),s=n(72835),o=n(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:n}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=s({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",n=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),s&&(o+=`${s}_`),o+=n;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),s&&(u+=`${s}_`),{keyCookieName:o,csrfCookieName:u+=t}}},72835:(e,r,n)=>{let{scryptSync:t,createDecipheriv:s}=n(55511),{Buffer:o}=n(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:n})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=n||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=s("aes-192-cbc",t(u,i,a),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var n;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return n}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(n||(n={}))},89947:(e,r,n)=>{e.exports=n(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var n=r(r.s=89995);module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2266,e.ids=[2266],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},89995:(e,r,s)=>{s.r(r),s.d(r,{config:()=>_,default:()=>d,routeModule:()=>p});var n={};s.r(n),s.d(n,{default:()=>c});var t=s(89947),o=s(2706),u=s(96762),i=s(19131),a=s.n(i);let l=s(29021);async function c(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let s=await a()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let n="./.tmp/backups";l.existsSync(n)||l.mkdirSync(n);let t=l.readdirSync(n);r.json({success:!0,backups:t})}let d=(0,u.M)(n,"default"),_=(0,u.M)(n,"config"),p=new t.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/grabBackups",pathname:"/api/admin/grabBackups",bundlePath:"",filename:""},userland:n})},19131:(e,r,s)=>{let{IncomingMessage:n}=s(81630),t=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),n=`${r}_su`;if(!e.cookies?.[n])return console.log("No auth key cookie found"),null;let u=t({encryptedString:e.cookies[n]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",n=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",t=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=n;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:a+=t}}},72835:(e,r,s)=>{let{scryptSync:n,createDecipheriv:t}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=t("aes-192-cbc",n(u,i,a),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=89995);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/grabErrorLogs.js b/dsql-app/.local_dist/server/pages/api/admin/grabErrorLogs.js index 0cd354b..babe49b 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/grabErrorLogs.js +++ b/dsql-app/.local_dist/server/pages/api/admin/grabErrorLogs.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5120,e.ids=[5120],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,o){return o in r?r[o]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,o)):"function"==typeof r&&"default"===o?r:void 0}}})},22955:(e,r,o)=>{o.r(r),o.d(r,{config:()=>p,default:()=>d,routeModule:()=>_});var t={};o.r(t),o.d(t,{default:()=>c});var s=o(89947),n=o(2706),u=o(96762),i=o(19131),l=o.n(i);let a=o(29021);async function c(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let o=await l()(e);if(!o?.logged_in_status)return r.json({success:!1,log:"No Logs"});if(!a.existsSync("./.tmp/error.log"))return r.json({success:!0,log:"No Logs Yet."});let t=a.readFileSync("./.tmp/error.log","utf-8");r.json({success:!0,log:t})}let d=(0,u.M)(t,"default"),p=(0,u.M)(t,"config"),_=new s.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/grabErrorLogs",pathname:"/api/admin/grabErrorLogs",bundlePath:"",filename:""},userland:t})},19131:(e,r,o)=>{let{IncomingMessage:t}=o(81630),s=o(72835),n=o(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:o}=n(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=s({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",o=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),s&&(n+=`${s}_`),n+=o;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),s&&(u+=`${s}_`),{keyCookieName:n,csrfCookieName:u+=t}}},72835:(e,r,o)=>{let{scryptSync:t,createDecipheriv:s}=o(55511),{Buffer:n}=o(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:o})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=o||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let a=s("aes-192-cbc",t(u,i,l),n.alloc(16,0));try{let r=a.update(e,"hex","utf8");return r+=a.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var o;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return o}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(o||(o={}))},89947:(e,r,o)=>{e.exports=o(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var o=r(r.s=22955);module.exports=o})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5120,e.ids=[5120],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,o){return o in r?r[o]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,o)):"function"==typeof r&&"default"===o?r:void 0}}})},22955:(e,r,o)=>{o.r(r),o.d(r,{config:()=>_,default:()=>d,routeModule:()=>p});var s={};o.r(s),o.d(s,{default:()=>c});var t=o(89947),n=o(2706),u=o(96762),i=o(19131),l=o.n(i);let a=o(29021);async function c(e,r){if("GET"!==e.method)return r.json({success:!1,msg:"Failed"});let o=await l()(e);if(!o?.logged_in_status)return r.json({success:!1,log:"No Logs"});if(!a.existsSync("./.tmp/error.log"))return r.json({success:!0,log:"No Logs Yet."});let s=a.readFileSync("./.tmp/error.log","utf-8");r.json({success:!0,log:s})}let d=(0,u.M)(s,"default"),_=(0,u.M)(s,"config"),p=new t.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/admin/grabErrorLogs",pathname:"/api/admin/grabErrorLogs",bundlePath:"",filename:""},userland:s})},19131:(e,r,o)=>{let{IncomingMessage:s}=o(81630),t=o(72835),n=o(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:o}=n(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let u=t({encryptedString:e.cookies[s]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",o=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",t=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),u+=o;let i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:l+=t}}},72835:(e,r,o)=>{let{scryptSync:s,createDecipheriv:t}=o(55511),{Buffer:n}=o(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:o})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=o||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let a=t("aes-192-cbc",s(u,i,l),n.alloc(16,0));try{let r=a.update(e,"hex","utf8");return r+=a.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var o;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return o}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(o||(o={}))},89947:(e,r,o)=>{e.exports=o(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var o=r(r.s=22955);module.exports=o})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/grabFile.js b/dsql-app/.local_dist/server/pages/api/admin/grabFile.js index b96bef9..2b6c2bf 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/grabFile.js +++ b/dsql-app/.local_dist/server/pages/api/admin/grabFile.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7375,e.ids=[7375],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},15570:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>_});var n={};t.r(n),t.d(n,{default:()=>c});var s=t(89947),o=t(2706),u=t(96762),i=t(19131),a=t.n(i);let l=t(29021);async function c(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let t=await a()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{type:n,path:s}=e.body;if(e.body.user,!s?.match(/^\.\/jsonData\/dbSchemas\/users/))return r.json({success:!1,msg:"Invalid Path"});let o=s.replace(/\//g,"\\\\"),u=l.readFileSync(o,"utf-8");r.json({success:!0,data:u})}let d=(0,u.M)(n,"default"),p=(0,u.M)(n,"config"),_=new s.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/grabFile",pathname:"/api/admin/grabFile",bundlePath:"",filename:""},userland:n})},19131:(e,r,t)=>{let{IncomingMessage:n}=t(81630),s=t(72835),o=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=o(),n=`${r}_su`;if(!e.cookies?.[n])return console.log("No auth key cookie found"),null;let u=s({encryptedString:e.cookies[n]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",n=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),s&&(o+=`${s}_`),o+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),s&&(u+=`${s}_`),{keyCookieName:o,csrfCookieName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:n,createDecipheriv:s}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=s("aes-192-cbc",n(u,i,a),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=15570);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7375,e.ids=[7375],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},15570:(e,r,s)=>{s.r(r),s.d(r,{config:()=>_,default:()=>d,routeModule:()=>p});var t={};s.r(t),s.d(t,{default:()=>c});var n=s(89947),o=s(2706),u=s(96762),i=s(19131),a=s.n(i);let l=s(29021);async function c(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await a()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{type:t,path:n}=e.body;if(e.body.user,!n?.match(/^\.\/jsonData\/dbSchemas\/users/))return r.json({success:!1,msg:"Invalid Path"});let o=n.replace(/\//g,"\\\\"),u=l.readFileSync(o,"utf-8");r.json({success:!0,data:u})}let d=(0,u.M)(t,"default"),_=(0,u.M)(t,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/grabFile",pathname:"/api/admin/grabFile",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=n({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:a+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(u,i,a),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=15570);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/loginSuUser.js b/dsql-app/.local_dist/server/pages/api/admin/loginSuUser.js index 7d2e4ea..c1181d1 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/loginSuUser.js +++ b/dsql-app/.local_dist/server/pages/api/admin/loginSuUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5467,e.ids=[5467],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},76386:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>E});var n={};t.r(n),t.d(n,{default:()=>_});var s=t(89947),o=t(2706),i=t(96762),u=t(31341),a=t.n(u),c=t(20503),l=t.n(c);async function _(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Failed"});let{email:t,password:n,authKey:s}=e.body;if(n!==process.env.DSQL_USER_KEY||s!==process.env.DSQL_SPECIAL_KEY)return r.json({success:!1});let o=l()({data:JSON.stringify({email:t,password:process.env.DSQL_USER_KEY,authKey:process.env.DSQL_SPECIAL_KEY,logged_in_status:!0,date:Date.now()})}),{keyCookieName:i,csrfCookieName:u}=a()();r.setHeader("Set-Cookie",[`${i}_su=${o};samesite=strict;path=/;HttpOnly=true;Secure=true`]),r.json({success:!0})}let d=(0,i.M)(n,"default"),p=(0,i.M)(n,"config"),E=new s.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/loginSuUser",pathname:"/api/admin/loginSuUser",bundlePath:"",filename:""},userland:n})},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",n=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),s&&(o+=`${s}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),s&&(i+=`${s}_`),{keyCookieName:o,csrfCookieName:i+=n}}},20503:(e,r,t)=>{let{scryptSync:n,createCipheriv:s}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,u=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=s("aes-192-cbc",n(i,u,a),o.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=76386);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5467,e.ids=[5467],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},76386:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>E});var n={};t.r(n),t.d(n,{default:()=>l});var s=t(89947),o=t(2706),i=t(96762),u=t(31341),a=t.n(u),_=t(20503),c=t.n(_);async function l(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Failed"});let{email:t,password:n,authKey:s}=e.body;if(n!==process.env.DSQL_USER_KEY||s!==process.env.DSQL_SPECIAL_KEY)return r.json({success:!1});let o=c()({data:JSON.stringify({email:t,password:process.env.DSQL_USER_KEY,authKey:process.env.DSQL_SPECIAL_KEY,logged_in_status:!0,date:Date.now()})}),{keyCookieName:i,csrfCookieName:u}=a()();r.setHeader("Set-Cookie",[`${i}_su=${o};samesite=strict;path=/;HttpOnly=true;Secure=true`]),r.json({success:!0})}let d=(0,i.M)(n,"default"),p=(0,i.M)(n,"config"),E=new s.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/loginSuUser",pathname:"/api/admin/loginSuUser",bundlePath:"",filename:""},userland:n})},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",n=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=n;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:i,csrfCookieName:u,oneTimeCodeName:a+=s}}},20503:(e,r,t)=>{let{scryptSync:n,createCipheriv:s}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,u=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let _=s("aes-192-cbc",n(i,u,a),o.alloc(16,0));try{let r=_.update(e,"utf8","hex");return r+=_.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=76386);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/runUserDbQuery.js b/dsql-app/.local_dist/server/pages/api/admin/runUserDbQuery.js index 4fa0c52..8e7a3bd 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/runUserDbQuery.js +++ b/dsql-app/.local_dist/server/pages/api/admin/runUserDbQuery.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=6799,e.ids=[6799],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},89496:(e,r,s)=>{s.r(r),s.d(r,{config:()=>g,default:()=>S,routeModule:()=>D});var t={};s.r(t),s.d(t,{default:()=>_});var n=s(89947),o=s(2706),a=s(96762),c=s(57638),l=s.n(c),i=s(48225),u=s.n(i),p=s(19131),d=s.n(p);async function _(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await d()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{database:t,query:n}=e.body;e.body.user;try{let e=await l()({database:t,queryString:n});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){console.log(e.message),u()({component:"/api/runUserDbQuery/main-catch-error",message:e.message}),r.json({success:!1})}}s(29021);let S=(0,a.M)(t,"default"),g=(0,a.M)(t,"config"),D=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/runUserDbQuery",pathname:"/api/admin/runUserDbQuery",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[t]});if(!a)return console.log("No user payload found"),null;let c=JSON.parse(a);return c.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):c.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):c}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=t}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let o=0;o",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:o}){let a=new Date,c=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],s=o.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=6799,e.ids=[6799],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},89496:(e,r,s)=>{s.r(r),s.d(r,{config:()=>D,default:()=>S,routeModule:()=>m});var t={};s.r(t),s.d(t,{default:()=>d});var n=s(89947),o=s(2706),a=s(96762),c=s(57638),l=s.n(c),u=s(48225),i=s.n(u),p=s(19131),_=s.n(p);async function d(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await _()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});let{database:t,query:n}=e.body;e.body.user;try{let e=await l()({database:t,queryString:n});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){console.log(e.message),i()({component:"/api/runUserDbQuery/main-catch-error",message:e.message}),r.json({success:!1})}}s(29021);let S=(0,a.M)(t,"default"),D=(0,a.M)(t,"config"),m=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/runUserDbQuery",pathname:"/api/admin/runUserDbQuery",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let a=n({encryptedString:e.cookies[t]});if(!a)return console.log("No user payload found"),null;let c=JSON.parse(a);return c.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):c.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):c}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:a,csrfCookieName:c,oneTimeCodeName:l+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let o=0;o",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:o}){let a=new Date,c=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],s=o.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${a.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),o=s(51348),a=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:l,useLocal:i}){let u;let p=!!i||!!s?.match(/^datasquirel$/),d=i?c:p?o:a;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await d(e,r):await d({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):p?await d(e):await d({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await t({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let i=n("aes-192-cbc",t(a,c,l),o.alloc(16,0));try{let r=i.update(e,"hex","utf8");return r+=i.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),o=s(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((l,i)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),l(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),l({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(s,c).then(p).catch(d):a.query(s).then(p).catch(d)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function o(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=89496);module.exports=s})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),o=s(51348),a=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:l,useLocal:u}){let i;let p=!!u||!!s?.match(/^datasquirel$/),_=u?c:p?o:a;try{i=e&&r&&Array.isArray(r)&&r[0]?p?await _(e,r):await _({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):p?await _(e):await _({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(i&&l)try{let e=i;return await t({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(i)return i;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",t(a,c,l),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),o=s(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((l,u)=>{let i=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),l(JSON.parse(JSON.stringify(e)))}function _(e){a.end(),l({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}a=i?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(s,c).then(p).catch(_):a.query(s).then(p).catch(_)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function o(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=89496);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/admin/updateEnv.js b/dsql-app/.local_dist/server/pages/api/admin/updateEnv.js index c1486e6..9194d60 100644 --- a/dsql-app/.local_dist/server/pages/api/admin/updateEnv.js +++ b/dsql-app/.local_dist/server/pages/api/admin/updateEnv.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5989,e.ids=[5989],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},89106:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>g,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>E});var n=t(89947),o=t(2706),u=t(96762),i=t(33873),c=t.n(i),l=t(19131),a=t.n(l),p=t(27825),d=t.n(p);let{execSync:_}=t(79646),f=t(29021);async function E(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let t=await a()(e);if(!t?.logged_in_status)return r.json({success:!1,log:"No Logs"});try{let t=c().join(process.cwd(),".env"),s=f.readFileSync(t,"utf-8"),n=RegExp(`${d().escapeRegExp(e.body.key)}=.*`);s.match(n);let o=s.replace(n,`${e.body.key}=${e.body.value}`);f.writeFileSync(t,o,"utf-8"),r.json({success:!0})}catch(e){console.log("updating Env error =>",e.message),r.json({success:!1,error:e.message})}}let g=(0,u.M)(s,"default"),P=(0,u.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/updateEnv",pathname:"/api/admin/updateEnv",bundlePath:"",filename:""},userland:s})},19131:(e,r,t)=>{let{IncomingMessage:s}=t(81630),n=t(72835),o=t(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:t}=o(),s=`${r}_su`;if(!e.cookies?.[s])return console.log("No auth key cookie found"),null;let u=n({encryptedString:e.cookies[s]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),{keyCookieName:o,csrfCookieName:u+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(u,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=89106);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5989,e.ids=[5989],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},89106:(e,r,s)=>{s.r(r),s.d(r,{config:()=>P,default:()=>g,routeModule:()=>S});var t={};s.r(t),s.d(t,{default:()=>f});var n=s(89947),o=s(2706),u=s(96762),i=s(33873),l=s.n(i),a=s(19131),c=s.n(a),d=s(27825),p=s.n(d);let{execSync:_}=s(79646),E=s(29021);async function f(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Wrong Method"});let s=await c()(e);if(!s?.logged_in_status)return r.json({success:!1,log:"No Logs"});try{let s=l().join(process.cwd(),".env"),t=E.readFileSync(s,"utf-8"),n=RegExp(`${p().escapeRegExp(e.body.key)}=.*`);t.match(n);let o=t.replace(n,`${e.body.key}=${e.body.value}`);E.writeFileSync(s,o,"utf-8"),r.json({success:!0})}catch(e){console.log("updating Env error =>",e.message),r.json({success:!1,error:e.message})}}let g=(0,u.M)(t,"default"),P=(0,u.M)(t,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/admin/updateEnv",pathname:"/api/admin/updateEnv",bundlePath:"",filename:""},userland:t})},19131:(e,r,s)=>{let{IncomingMessage:t}=s(81630),n=s(72835),o=s(31341);e.exports=async function(e){let{keyCookieName:r,csrfCookieName:s}=o(),t=`${r}_su`;if(!e.cookies?.[t])return console.log("No auth key cookie found"),null;let u=n({encryptedString:e.cookies[t]});if(!u)return console.log("No user payload found"),null;let i=JSON.parse(u);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:u,csrfCookieName:i,oneTimeCodeName:l+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let u=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!u?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let a=n("aes-192-cbc",t(u,i,l),o.alloc(16,0));try{let r=a.update(e,"hex","utf8");return r+=a.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=89106);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/changeDbUserPassword.js b/dsql-app/.local_dist/server/pages/api/changeDbUserPassword.js index 63911f6..7b05777 100644 --- a/dsql-app/.local_dist/server/pages/api/changeDbUserPassword.js +++ b/dsql-app/.local_dist/server/pages/api/changeDbUserPassword.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7963,e.ids=[7963],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},6523:(e,r,s)=>{s.r(r),s.d(r,{config:()=>S,default:()=>f,routeModule:()=>E});var t={};s.r(t),s.d(t,{default:()=>p});var n=s(89947),o=s(2706),a=s(96762),i=s(51348),c=s.n(i),u=s(6420),l=s.n(u),_=s(14533),d=s.n(_);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await l()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{userId:s,password:t,dbId:n}=e.body;try{let e=!!String(n).match(/^\d+$/),o=!!String(s).match(/^\d+$/),a=!!String(t).match(/ /);if(!e||!o)throw Error("Invalud Parameters!");if(a)throw Error("Invalid Password!");let i=await c()("SELECT * FROM user_databases WHERE id = ?",[n]),u=i?.[0]?.db_full_name,l=d()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:t});await c()(`UPDATE \`${u}\`.\`users\` SET password = ? WHERE id = ?`,[l,s]),r.json({success:!0,msg:"DB user Password Changed!"})}catch(e){r.json({success:!1,msg:e.message})}}let f=(0,a.M)(t,"default"),S=(0,a.M)(t,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/changeDbUserPassword",pathname:"/api/changeDbUserPassword",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),o=s(29021),a=s(31341);async function i(e,r,s,i){let{keyCookieName:c,csrfCookieName:u}=a();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",t(a,i,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,s)=>{let{createHmac:t}=s(55511);e.exports=function({password:e,encryptionKey:r}){let s=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!s?.match(/.{8,}/))throw Error("Encryption key is invalid");let n=t("sha512",s);return n.update(e),n.digest("base64")}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=6523);module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7963,e.ids=[7963],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},6523:(e,r,s)=>{s.r(r),s.d(r,{config:()=>E,default:()=>S,routeModule:()=>f});var t={};s.r(t),s.d(t,{default:()=>p});var n=s(89947),o=s(2706),a=s(96762),i=s(51348),c=s.n(i),u=s(6420),l=s.n(u),_=s(14533),d=s.n(_);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await l()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{userId:s,password:t,dbId:n}=e.body;try{let e=!!String(n).match(/^\d+$/),o=!!String(s).match(/^\d+$/),a=!!String(t).match(/ /);if(!e||!o)throw Error("Invalud Parameters!");if(a)throw Error("Invalid Password!");let i=await c()("SELECT * FROM user_databases WHERE id = ?",[n]),u=i?.[0]?.db_full_name,l=d()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:t});await c()(`UPDATE \`${u}\`.\`users\` SET password = ? WHERE id = ?`,[l,s]),r.json({success:!0,msg:"DB user Password Changed!"})}catch(e){r.json({success:!1,msg:e.message})}}let S=(0,a.M)(t,"default"),E=(0,a.M)(t,"config"),f=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/changeDbUserPassword",pathname:"/api/changeDbUserPassword",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),o=s(29021),a=s(31341);async function i(e,r,s,i){let{keyCookieName:c,csrfCookieName:u}=a();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:c+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",t(a,i,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,s)=>{let{createHmac:t}=s(55511);e.exports=function({password:e,encryptionKey:r}){let s=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!s?.match(/.{8,}/))throw Error("Encryption key is invalid");let n=t("sha512",s);return n.update(e),n.digest("base64")}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=6523);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/checkExistingFolder.js b/dsql-app/.local_dist/server/pages/api/checkExistingFolder.js index 9e70e70..420bcf5 100644 --- a/dsql-app/.local_dist/server/pages/api/checkExistingFolder.js +++ b/dsql-app/.local_dist/server/pages/api/checkExistingFolder.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6422,e.ids=[6422],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},82651:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),c=t(33873),u=t.n(c),a=t(6420),l=t.n(a);let _=t(29021);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{name:s,folder:n}=e.query,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static Path!"});let i=u().join(o,`images/user-images/user-${t.id}/${n?n+"/":""}`),c=_.existsSync(i+s);r.json({success:c})}let d=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/checkExistingFolder",pathname:"/api/checkExistingFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function c(e,r,t,c){let{keyCookieName:u,csrfCookieName:a}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let a=n("aes-192-cbc",s(i,c,u),o.alloc(16,0));try{let r=a.update(e,"hex","utf8");return r+=a.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=82651);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6422,e.ids=[6422],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},82651:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),c=t(33873),u=t.n(c),a=t(6420),l=t.n(a);let _=t(29021);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{name:s,folder:n}=e.query,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),r.json({success:!1,msg:"No Static Path!"});let i=u().join(o,`images/user-images/user-${t.id}/${n?n+"/":""}`),c=_.existsSync(i+s);r.json({success:c})}let d=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/checkExistingFolder",pathname:"/api/checkExistingFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function c(e,r,t,c){let{keyCookieName:u,csrfCookieName:a}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),{keyCookieName:i,csrfCookieName:c,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let a=n("aes-192-cbc",s(i,c,u),o.alloc(16,0));try{let r=a.update(e,"hex","utf8");return r+=a.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=82651);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/clientSideAuth.js b/dsql-app/.local_dist/server/pages/api/clientSideAuth.js index f0746f9..753ecb6 100644 --- a/dsql-app/.local_dist/server/pages/api/clientSideAuth.js +++ b/dsql-app/.local_dist/server/pages/api/clientSideAuth.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6237,e.ids=[6237],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},7616:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>l,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>u});var n=t(89947),o=t(2706),i=t(96762),a=t(6420),c=t.n(a);async function u(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await c()(e,r,!0);r.json({user:t})}let l=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/clientSideAuth",pathname:"/api/clientSideAuth",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=7616);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6237,e.ids=[6237],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},7616:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>l,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>c});var n=t(89947),o=t(2706),i=t(96762),u=t(6420),a=t.n(u);async function c(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await a()(e,r,!0);r.json({user:t})}let l=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/clientSideAuth",pathname:"/api/clientSideAuth",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function u(e,r,t,u){let{keyCookieName:a,csrfCookieName:c}=i();if(!e.cookies?.[a]?.match(/./))return null;let l=n({encryptedString:e.cookies[a]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=u},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:i,csrfCookieName:u,oneTimeCodeName:a+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,u=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,u,a),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=7616);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/connect.js b/dsql-app/.local_dist/server/pages/api/connect.js index da711f5..34d9aef 100644 --- a/dsql-app/.local_dist/server/pages/api/connect.js +++ b/dsql-app/.local_dist/server/pages/api/connect.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7539,e.ids=[7539],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},8953:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>_,routeModule:()=>P});var n={};t.r(n),t.d(n,{default:()=>m});var i=t(89947),s=t(2706),o=t(96762),a=t(48225),l=t.n(a),u=t(77619),c=t.n(u),d=t(72835),p=t.n(d),f=t(33873),g=t.n(f);let S=t(29021);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=e.body,{url:n,key:i,database:s,dbSchema:o,type:a}=t;try{let e=c()({key:i,database:s?.db_slug,user_id:t.user_id});if(!e?.user_id)throw Error("Api Credentials invalid!");let n=p()({encryptedString:i}),{user_id:o,full_access:a,csrf:l}=n?JSON.parse(n):null;if(!a||!l)return r.json({success:!1,msg:"Unauthorized"});let u=g().resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${o}`,"main.json");if(!S.existsSync(u))throw Error("User Shcema data file doesn't exist!");let d=JSON.parse(S.readFileSync(u,"utf-8"));r.json({success:!0,payload:d})}catch(e){console.log("Connect Verification Error, =>",e.message),l()({component:"/api/connect/main-catch-error",message:e.message}),r.json({success:!1,msg:"Connect Verification Operation Failed!"})}}let _=(0,o.M)(n,"default"),E=(0,o.M)(n,"config"),P=new i.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/connect",pathname:"/api/connect",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),i=t(72835);e.exports=({key:e,database:r,table:t,user_id:s})=>{if(!e||!s)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let a=i({encryptedString:e}),l=JSON.parse(a||""),u=n.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(s)||!u)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let c=l.target_database?.split(",").includes(String(r));if(c&&!l.target_table)return l;if(c&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let o=new Date,a=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||n||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7539,e.ids=[7539],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},8953:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>_,routeModule:()=>P});var n={};t.r(n),t.d(n,{default:()=>m});var i=t(89947),s=t(2706),o=t(96762),a=t(48225),l=t.n(a),c=t(77619),u=t.n(c),d=t(72835),p=t.n(d),f=t(33873),g=t.n(f);let S=t(29021);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=e.body,{url:n,key:i,database:s,dbSchema:o,type:a}=t;try{let e=u()({key:i,database:s?.db_slug,user_id:t.user_id});if(!e?.user_id)throw Error("Api Credentials invalid!");let n=p()({encryptedString:i}),{user_id:o,full_access:a,csrf:l}=n?JSON.parse(n):null;if(!a||!l)return r.json({success:!1,msg:"Unauthorized"});let c=g().resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${o}`,"main.json");if(!S.existsSync(c))throw Error("User Shcema data file doesn't exist!");let d=JSON.parse(S.readFileSync(c,"utf-8"));r.json({success:!0,payload:d})}catch(e){console.log("Connect Verification Error, =>",e.message),l()({component:"/api/connect/main-catch-error",message:e.message}),r.json({success:!1,msg:"Connect Verification Operation Failed!"})}}let _=(0,o.M)(n,"default"),E=(0,o.M)(n,"config"),P=new i.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/connect",pathname:"/api/connect",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),i=t(72835);e.exports=({key:e,database:r,table:t,user_id:s,media:o})=>{if(!e||!s)return null;try{let a=process.env.DSQL_API_KEYS_PATH;if(!a)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=i({encryptedString:e}),c=JSON.parse(l||""),u=n.existsSync(`${a}/${c.sign}`);if(String(c.user_id)!==String(s)||!u)return null;if(!c.target_database||o)return c;if(!r&&c.target_database)return null;let d=c.target_database?.split(",").includes(String(r));if(d&&!c.target_table)return c;if(d&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let o=new Date,a=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||n||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:n,createDecipheriv:i}=t(55511),{Buffer:s}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",n(o,a,l),s.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=8953);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:n,createDecipheriv:i}=t(55511),{Buffer:s}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=i("aes-192-cbc",n(o,a,l),s.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=8953);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/connect/disconnect.js b/dsql-app/.local_dist/server/pages/api/connect/disconnect.js index 2ffaf6d..3ff9f4b 100644 --- a/dsql-app/.local_dist/server/pages/api/connect/disconnect.js +++ b/dsql-app/.local_dist/server/pages/api/connect/disconnect.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=964,e.ids=[964],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},85617:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>f,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),o=t(2706),a=t(96762),i=t(48225),c=t.n(i),l=t(6420),u=t.n(l),p=t(33364),_=t.n(p);t(29021),t(28354);let{URL:d}=t(79551);async function S(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbId:s}=e.body;try{if(!s)throw Error("No Target Database ID provided");await _()({tableName:"user_databases",data:{remote_connected:0,remote_connection_host:"",remote_connection_key:"",remote_connection_type:"",remote_db_full_name:""},identifierColumnName:"id",identifierValue:s}),r.json({success:!0})}catch(e){console.log("Disconnect Error, =>",e.message),c()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let f=(0,a.M)(s,"default"),g=(0,a.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/disconnect",pathname:"/api/connect/disconnect",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),i=t(20503),c=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:p,identifierColumnName:_,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:g}){if(!u||!Object.keys(u).length)return null;let E=!!g||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),m=g?c:E?o:a,D=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;a?.richText&&(t=s(t,n)),a?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),h.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${l} SET ${h.join(",")} WHERE \`${_}\`=?`;return y.push(d),E?await m(v,y):await m({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=964,e.ids=[964],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},85617:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>f,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),o=t(2706),a=t(96762),i=t(48225),c=t.n(i),l=t(6420),u=t.n(l),_=t(33364),p=t.n(_);t(29021),t(28354);let{URL:d}=t(79551);async function S(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbId:s}=e.body;try{if(!s)throw Error("No Target Database ID provided");await p()({tableName:"user_databases",data:{remote_connected:0,remote_connection_host:"",remote_connection_key:"",remote_connection_type:"",remote_db_full_name:""},identifierColumnName:"id",identifierValue:s}),r.json({success:!0})}catch(e){console.log("Disconnect Error, =>",e.message),c()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let f=(0,a.M)(s,"default"),E=(0,a.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/disconnect",pathname:"/api/connect/disconnect",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:c+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),i=t(20503),c=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:_,identifierColumnName:p,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:E}){if(!u||!Object.keys(u).length)return null;let g=!!E||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),m=E?c:g?o:a,D=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;let c=/<[^>]+>/g;(a?.richText||String(t).match(c))&&(t=s(t,n)),a?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),h.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${l} SET ${h.join(",")} WHERE \`${p}\`=?`;return y.push(d),g?await m(v,y):await m({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${a.toDateString()} -${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,i,c),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),c(JSON.parse(JSON.stringify(e)))}function _(e){a.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),i&&Array.isArray(i)&&i[0]?a.query(t,i).then(p).catch(_):a.query(t).then(p).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=85617);module.exports=t})(); \ No newline at end of file +${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,i,c),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),c(JSON.parse(JSON.stringify(e)))}function p(e){a.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),i&&Array.isArray(i)&&i[0]?a.query(t,i).then(_).catch(p):a.query(t).then(_).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=85617);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/connect/handshake.js b/dsql-app/.local_dist/server/pages/api/connect/handshake.js index 002190b..906e0ec 100644 --- a/dsql-app/.local_dist/server/pages/api/connect/handshake.js +++ b/dsql-app/.local_dist/server/pages/api/connect/handshake.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4065,e.ids=[4065],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},83919:(e,r,t)=>{t.r(r),t.d(r,{config:()=>D,default:()=>m,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),a=t(96762),c=t(7753),i=t(48225),l=t.n(i),u=t(6420),_=t.n(u),d=t(33364),p=t.n(d);t(29021),t(28354);let{URL:S}=t(79551);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{url:s,key:n,database:o,dbSchema:a,type:i,remoteDbs:u,targetDb:d}=e.body;try{if(!d?.tables)throw Error("No Target Database");await p()({tableName:"user_databases",data:{remote_connected:1,remote_connection_host:s,remote_connection_key:n,remote_connection_type:i,remote_db_full_name:d.dbFullName},identifierColumnName:"db_full_name",identifierValue:o.db_full_name}),await (0,c.e)({dbSchema:d,database:o,userId:t.id}),r.json({success:!0})}catch(e){console.log("Connect Handshake Error, =>",e.message),l()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let m=(0,a.M)(s,"default"),D=(0,a.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/handshake",pathname:"/api/connect/handshake",bundlePath:"",filename:""},userland:s})},7753:(e,r,t)=>{let s=t(19261),{execSync:n}=t(79646),o=t(29021),a=t(33873),c=async({userId:e,dbSchema:r,targetDb:t})=>(await s({userId:e,targetDatabase:t}),`User ${e} Db Schema Updated`),i=async({userId:e,dbSchema:r,database:t})=>{let s=a.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${e}`,"main.json"),n=JSON.parse(o.readFileSync(s,"utf-8")),i=n.findIndex(e=>e.dbFullName==t.db_full_name);if(i<0)throw Error("Target Database not found in user schema data");let l={...n[i]};return n[i]=r,n[i].dbName=l.dbName,n[i].dbFullName=l.dbFullName,n[i].dbSlug=l.dbSlug,n[i].dbImage=l.dbImage,await c({dbSchema:n,userId:e,targetDb:t.db_full_name})};r.e=i},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:_,identifierColumnName:d,identifierValue:p,encryptionKey:S,encryptionSalt:f,useLocal:m}){if(!u||!Object.keys(u).length)return null;let D=!!m||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=m?i:D?o:a,h=Object.keys(u),E=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;a?.richText&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),E.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}E.push(`date_updated='${Date()}'`),E.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${l} SET ${E.join(",")} WHERE \`${d}\`=?`;return y.push(p),D?await g(b,y):await g({paradigm:r,database:t,queryString:b,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(_).catch(d):a.query(t).then(_).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(83919));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4065,e.ids=[4065],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},83919:(e,r,t)=>{t.r(r),t.d(r,{config:()=>D,default:()=>m,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),a=t(96762),c=t(7753),i=t(48225),l=t.n(i),u=t(6420),_=t.n(u),d=t(33364),p=t.n(d);t(29021),t(28354);let{URL:S}=t(79551);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{url:s,key:n,database:o,dbSchema:a,type:i,remoteDbs:u,targetDb:d}=e.body;try{if(!d?.tables)throw Error("No Target Database");await p()({tableName:"user_databases",data:{remote_connected:1,remote_connection_host:s,remote_connection_key:n,remote_connection_type:i,remote_db_full_name:d.dbFullName},identifierColumnName:"db_full_name",identifierValue:o.db_full_name}),await (0,c.e)({dbSchema:d,database:o,userId:t.id}),r.json({success:!0})}catch(e){console.log("Connect Handshake Error, =>",e.message),l()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let m=(0,a.M)(s,"default"),D=(0,a.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/handshake",pathname:"/api/connect/handshake",bundlePath:"",filename:""},userland:s})},7753:(e,r,t)=>{let s=t(19261),{execSync:n}=t(79646),o=t(29021),a=t(33873),c=async({userId:e,dbSchema:r,targetDb:t})=>(await s({userId:e,targetDatabase:t}),`User ${e} Db Schema Updated`),i=async({userId:e,dbSchema:r,database:t})=>{let s=a.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${e}`,"main.json"),n=JSON.parse(o.readFileSync(s,"utf-8")),i=n.findIndex(e=>e.dbFullName==t.db_full_name);if(i<0)throw Error("Target Database not found in user schema data");let l={...n[i]};return n[i]=r,n[i].dbName=l.dbName,n[i].dbFullName=l.dbFullName,n[i].dbSlug=l.dbSlug,n[i].dbImage=l.dbImage,await c({dbSchema:n,userId:e,targetDb:t.db_full_name})};r.e=i},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:a,csrfCookieName:c,oneTimeCodeName:i+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:_,identifierColumnName:d,identifierValue:p,encryptionKey:S,encryptionSalt:f,useLocal:m}){if(!u||!Object.keys(u).length)return null;let D=!!m||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=m?i:D?o:a,h=Object.keys(u),E=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;let i=/<[^>]+>/g;(a?.richText||String(t).match(i))&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),E.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}E.push(`date_updated='${Date()}'`),E.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${l} SET ${E.join(",")} WHERE \`${d}\`=?`;return y.push(p),D?await g(b,y):await g({paradigm:r,database:t,queryString:b,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(_).catch(d):a.query(t).then(_).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(83919));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/connect/verify.js b/dsql-app/.local_dist/server/pages/api/connect/verify.js index 0891f38..91b6898 100644 --- a/dsql-app/.local_dist/server/pages/api/connect/verify.js +++ b/dsql-app/.local_dist/server/pages/api/connect/verify.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3033,e.ids=[3033],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},94871:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>m,routeModule:()=>h});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),o=t(2706),i=t(96762),a=t(83634),c=t.n(a),l=t(48225),u=t.n(l),p=t(6420),d=t.n(p);t(29021),t(28354);let{URL:f}=t(79551);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{url:s,key:n,database:o,dbSchema:i,type:a}=e.body;try{let{hostname:e,port:t,protocol:o}=new f(s),i=await c()({scheme:o,headers:{Authorization:n},hostname:e,port:t,path:"/api/connect",method:"POST",body:{url:s,key:n}}),a=JSON.parse(i);if(!a?.success)throw Error(a.msg||"Remote request failed");r.json({success:!0,payload:a.payload})}catch(e){console.log("Connect Verification Initialtor Error, =>",e.message),u()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let m=(0,i.M)(s,"default"),S=(0,i.M)(s,"config"),h=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/verify",pathname:"/api/connect/verify",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=i();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},83634:(e,r,t)=>{let s=t(55591),n=t(81630),{URL:o}=t(79551);e.exports=function({url:e,method:r,hostname:t,path:i,headers:a,body:c,port:l,scheme:u}){let p=c?JSON.stringify(c):null,d=e?new o(e):null,f={method:r||"GET",hostname:d?d.hostname:t,port:u?.match(/https/i)?443:d?d.protocol?.match(/https/i)?443:d.port:l?Number(l):80,headers:{}};return i&&(f.path=i),a&&(f.headers=a),c&&(f.headers["Content-Type"]="application/json",f.headers["Content-Length"]=p?Buffer.from(p).length:void 0),new Promise((e,r)=>{let t=(u?.match(/https/i)?s:d?.protocol?.match(/https/i)?s:n).request(f,t=>{var s="";t.on("data",function(e){s+=e}),t.on("end",function(){e(s)}),t.on("error",e=>{console.log("HTTP response error =>",e.message),r(`HTTP response error =>, ${e.message}`)}),t.on("close",()=>{console.log("HTTP(S) Response Closed Successfully")})});c&&t.write(p),t.on("error",e=>{console.log("HTTPS request ERROR =>",e.message),r(`HTTP request error =>, ${e.message}`)}),t.end()})}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=3033,e.ids=[3033],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},79551:e=>{e.exports=require("url")},28354:e=>{e.exports=require("util")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},94871:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>m,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),o=t(2706),i=t(96762),a=t(83634),c=t.n(a),l=t(48225),u=t.n(l),p=t(6420),d=t.n(p);t(29021),t(28354);let{URL:_}=t(79551);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{url:s,key:n,database:o,dbSchema:i,type:a}=e.body;try{let{hostname:e,port:t,protocol:o}=new _(s),i=await c()({scheme:o,headers:{Authorization:n},hostname:e,port:t,path:"/api/connect",method:"POST",body:{url:s,key:n}}),a=JSON.parse(i);if(!a?.success)throw Error(a.msg||"Remote request failed");r.json({success:!0,payload:a.payload})}catch(e){console.log("Connect Verification Initialtor Error, =>",e.message),u()({component:"/api/connect/verify/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Operation Failed!"})}}let m=(0,i.M)(s,"default"),S=(0,i.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/connect/verify",pathname:"/api/connect/verify",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=i();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:c+=n}}},83634:(e,r,t)=>{let s=t(55591),n=t(81630),{URL:o}=t(79551);e.exports=function({url:e,method:r,hostname:t,path:i,headers:a,body:c,port:l,scheme:u}){let p=c?JSON.stringify(c):null,d=e?new o(e):null,_={method:r||"GET",hostname:d?d.hostname:t,port:u?.match(/https/i)?443:d?d.protocol?.match(/https/i)?443:d.port:l?Number(l):80,headers:{}};return i&&(_.path=i),a&&(_.headers=a),c&&(_.headers["Content-Type"]="application/json",_.headers["Content-Length"]=p?Buffer.from(p).length:void 0),new Promise((e,r)=>{let t=(u?.match(/https/i)?s:d?.protocol?.match(/https/i)?s:n).request(_,t=>{var s="";t.on("data",function(e){s+=e}),t.on("end",function(){e(s)}),t.on("error",e=>{console.log("HTTP response error =>",e.message),r(`HTTP response error =>, ${e.message}`)}),t.on("close",()=>{console.log("HTTP(S) Response Closed Successfully")})});c&&t.write(p),t.on("error",e=>{console.log("HTTPS request ERROR =>",e.message),r(`HTTP request error =>, ${e.message}`)}),t.end()})}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/createUserDatabase.js b/dsql-app/.local_dist/server/pages/api/createUserDatabase.js index d47fb3f..a0fff56 100644 --- a/dsql-app/.local_dist/server/pages/api/createUserDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/createUserDatabase.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=8893,e.ids=[8893],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},34932:(e,s,a)=>{a.r(s),a.d(s,{config:()=>R,default:()=>A,routeModule:()=>g});var r={};a.r(r),a.d(r,{default:()=>h});var t=a(89947),i=a(2706),n=a(96762),l=a(51348),o=a.n(l),u=a(48225),c=a.n(u),d=a(6420),_=a.n(d),p=a(47670),b=a.n(p),S=a(51926),m=a.n(S),E=a(19261),f=a.n(E);let D=a(29021);a(33873);let{execSync:N}=a(79646);async function h(e,s){if("POST"!==e.method)return s.json({msg:"Failed!"});let a=await _()(e,s,!0);if(!a)return s.json({success:!1,msg:"Unauthorized"});let r=await o()("SELECT * FROM users WHERE id = ?",[a.id]),t=r?.[0],{db_name:i,db_slug:n,db_description:l,db_image:u,duplicate:d,keepUpdated:p,keepDataUpdated:S}=e.body;if(n.match(/[^a-zA-Z0-9-_]/))return s.json({success:!1,msg:"Input Error"});let E=`datasquirel_user_${a.id}_${n}`,N=await m()(`CREATE DATABASE IF NOT EXISTS \`${E}\` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin`);if(!N?.affectedRows)return s.json({success:!1,msg:"Database Could Not be created!"});let h={user_id:a.id,db_name:i,db_slug:n,db_full_name:E,db_description:l,db_image:u};d&&p&&(h.active_clone="1",h.active_clone_parent_db=d),d&&S&&(h.active_data="1");let A=await b()({dbFullName:"datasquirel",tableName:"user_databases",data:h});if(A.insertId)try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${a.id}/main.json`,r=JSON.parse(D.readFileSync(e,"utf8")),o={dbName:i,dbSlug:n,dbFullName:E,dbDescription:l,dbImage:u,tables:[]};if(d)try{let e=r.filter(e=>e.dbFullName===d)[0];o.tables=e.tables,p&&(o.childDatabase=!0,o.childDatabaseDbFullName=d,S&&(o.updateData=!0),e.childrenDatabases?e.childrenDatabases.push({dbFullName:E}):e.childrenDatabases=[{dbFullName:E}]);for(let e=0;e{a(81630);let r=a(51348),t=a(72835),i=a(29021),n=a(31341);async function l(e,s,a,l){let{keyCookieName:o,csrfCookieName:u}=n();if(!e.cookies?.[o]?.match(/./))return null;let c=t({encryptedString:e.cookies[o]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||a&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(a&&!i.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!a){let e=await r(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",a=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",t=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=s;e?.userId&&(i+=`user_${e.userId}_`),t&&(i+=`${t}_`),i+=a;let n=s;return e?.userId&&(n+=`user_${e.userId}_`),t&&(n+=`${t}_`),{keyCookieName:i,csrfCookieName:n+=r}}},51926:(e,s,a)=>{let r=a(29021),t=a(48225),i=a(45356);e.exports=async function(e){let s;"production".match(/dev/)&&r.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{s=await i(e)}catch(e){t({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return s||null}},45356:(e,s,a)=>{let r=a(9973),t=a(21580),i=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,charset:"utf8mb4",ssl:t()}});e.exports=function(...e){try{return new Promise((s,a)=>{i.query(...e).then(e=>{i.end(),s(JSON.parse(JSON.stringify(e)))}).catch(e=>{i.end(),s({error:e.message,sql:e.sql})})})}catch(e){return{success:!1,error:e.message}}}}};var s=require("../../webpack-api-runtime.js");s.C(e);var a=e=>s(s.s=e),r=s.X(0,[4050,2451],()=>a(34932));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=8893,e.ids=[8893],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},34932:(e,s,r)=>{r.r(s),r.d(s,{config:()=>R,default:()=>A,routeModule:()=>O});var a={};r.r(a),r.d(a,{default:()=>h});var t=r(89947),i=r(2706),n=r(96762),l=r(51348),u=r.n(l),o=r(48225),d=r.n(o),c=r(6420),_=r.n(c),p=r(47670),S=r.n(p),b=r(51926),m=r.n(b),E=r(19261),D=r.n(E);let f=r(29021);r(33873);let{execSync:N}=r(79646);async function h(e,s){if("POST"!==e.method)return s.json({msg:"Failed!"});let r=await _()(e,s,!0);if(!r)return s.json({success:!1,msg:"Unauthorized"});let a=await u()("SELECT * FROM users WHERE id = ?",[r.id]),t=a?.[0],{db_name:i,db_slug:n,db_description:l,db_image:o,duplicate:c,keepUpdated:p,keepDataUpdated:b}=e.body;if(n.match(/[^a-zA-Z0-9-_]/))return s.json({success:!1,msg:"Input Error"});let E=`datasquirel_user_${r.id}_${n}`,N=await m()(`CREATE DATABASE IF NOT EXISTS \`${E}\` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin`);if(!N?.affectedRows)return s.json({success:!1,msg:"Database Could Not be created!"});let h={user_id:r.id,db_name:i,db_slug:n,db_full_name:E,db_description:l,db_image:o};c&&p&&(h.active_clone="1",h.active_clone_parent_db=c),c&&b&&(h.active_data="1");let A=await S()({dbFullName:"datasquirel",tableName:"user_databases",data:h});if(A.insertId)try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/main.json`,a=JSON.parse(f.readFileSync(e,"utf8")),u={dbName:i,dbSlug:n,dbFullName:E,dbDescription:l,dbImage:o,tables:[]};if(c)try{let e=a.filter(e=>e.dbFullName===c)[0];u.tables=e.tables,p&&(u.childDatabase=!0,u.childDatabaseDbFullName=c,b&&(u.updateData=!0),e.childrenDatabases?e.childrenDatabases.push({dbFullName:E}):e.childrenDatabases=[{dbFullName:E}]);for(let e=0;e{r(81630);let a=r(51348),t=r(72835),i=r(29021),n=r(31341);async function l(e,s,r,l){let{keyCookieName:u,csrfCookieName:o}=n();if(!e.cookies?.[u]?.match(/./))return null;let d=t({encryptedString:e.cookies[u]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!r){let e=await a(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",t=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=s;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=r;let l=s;e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),l+=a;let u=s;return e?.userId&&(u+=`user_${e.userId}_`),i&&(u+=`${i}_`),{keyCookieName:n,csrfCookieName:l,oneTimeCodeName:u+=t}}},51926:(e,s,r)=>{let a=r(29021),t=r(48225),i=r(45356);e.exports=async function(e){let s;"production".match(/dev/)&&a.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{s=await i(e)}catch(e){t({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return s||null}},45356:(e,s,r)=>{let a=r(9973),t=r(21580),i=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,charset:"utf8mb4",ssl:t()}});e.exports=function(...e){try{return new Promise((s,r)=>{i.query(...e).then(e=>{i.end(),s(JSON.parse(JSON.stringify(e)))}).catch(e=>{i.end(),s({error:e.message,sql:e.sql})})})}catch(e){return{success:!1,error:e.message}}}}};var s=require("../../webpack-api-runtime.js");s.C(e);var r=e=>s(s.s=e),a=s.X(0,[4050,2451],()=>r(34932));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/deleteApiKey.js b/dsql-app/.local_dist/server/pages/api/deleteApiKey.js index 58db0a4..2c6d2a3 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteApiKey.js +++ b/dsql-app/.local_dist/server/pages/api/deleteApiKey.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7015,e.ids=[7015],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},5261:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>m,routeModule:()=>A});var s={};t.r(s),t.d(s,{default:()=>D});var n=t(89947),o=t(2706),a=t(96762),i=t(72835),l=t.n(i),c=t(48225),u=t.n(c),_=t(6420),p=t.n(_),S=t(64122),d=t.n(S),f=t(77619),g=t.n(f);let E=t(29021);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s,key:n,user_id:o}=e.body;try{let e=process.env.DSQL_API_KEYS_PATH;if(!e)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=g()({key:String(l()({encryptedString:n})),user_id:t.id});if(!o?.sign)throw await d()({dbFullName:"datasquirel",tableName:"api_keys",identifierColumnName:"id",identifierValue:s}),Error("API KEY is Invalid");try{let r=`${e}/${o?.sign}`;E.unlinkSync(r)}catch(e){console.log("Error Deleting API key",e.message)}await d()({dbFullName:"datasquirel",tableName:"api_keys",identifierColumnName:"id",identifierValue:s}),r.json({success:!0})}catch(e){console.log(`ERROR Deleting API Key => ${e.message}`),u()({component:"/api/deleteApiKey/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Deletion Failed!"})}}let m=(0,a.M)(s,"default"),y=(0,a.M)(s,"config"),A=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteApiKey",pathname:"/api/deleteApiKey",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=a();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:o})=>{if(!e||!o)return null;try{let a=process.env.DSQL_API_KEYS_PATH;if(!a)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),l=JSON.parse(i||""),c=s.existsSync(`${a}/${l.sign}`);if(String(l.user_id)!==String(o)||!c)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let u=l.target_database?.split(",").includes(String(r));if(u&&!l.target_table)return l;if(u&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),o=t(44900);async function a({dbContext:e,paradigm:r,dbFullName:t,tableName:a,identifierColumnName:i,identifierValue:l,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),_=c?o:u?s:n,p=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await _(p,[l]):await _({paradigm:r,queryString:p,database:t,queryValues:[l]})}catch(e){return null}}e.exports=a},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7015,e.ids=[7015],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},5261:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>m,routeModule:()=>A});var s={};t.r(s),t.d(s,{default:()=>D});var n=t(89947),o=t(2706),a=t(96762),i=t(72835),l=t.n(i),c=t(48225),u=t.n(c),_=t(6420),p=t.n(_),d=t(64122),S=t.n(d),f=t(77619),E=t.n(f);let g=t(29021);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s,key:n,user_id:o}=e.body;try{let e=process.env.DSQL_API_KEYS_PATH;if(!e)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=E()({key:String(l()({encryptedString:n})),user_id:t.id});if(!o?.sign)throw await S()({dbFullName:"datasquirel",tableName:"api_keys",identifierColumnName:"id",identifierValue:s}),Error("API KEY is Invalid");try{let r=`${e}/${o?.sign}`;g.unlinkSync(r)}catch(e){console.log("Error Deleting API key",e.message)}await S()({dbFullName:"datasquirel",tableName:"api_keys",identifierColumnName:"id",identifierValue:s}),r.json({success:!0})}catch(e){console.log(`ERROR Deleting API Key => ${e.message}`),u()({component:"/api/deleteApiKey/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Deletion Failed!"})}}let m=(0,a.M)(s,"default"),y=(0,a.M)(s,"config"),A=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteApiKey",pathname:"/api/deleteApiKey",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=a();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:o,media:a})=>{if(!e||!o)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=n({encryptedString:e}),c=JSON.parse(l||""),u=s.existsSync(`${i}/${c.sign}`);if(String(c.user_id)!==String(o)||!u)return null;if(!c.target_database||a)return c;if(!r&&c.target_database)return null;let _=c.target_database?.split(",").includes(String(r));if(_&&!c.target_table)return c;if(_&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:l+=n}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),o=t(44900);async function a({dbContext:e,paradigm:r,dbFullName:t,tableName:a,identifierColumnName:i,identifierValue:l,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),_=c?o:u?s:n,p=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await _(p,[l]):await _({paradigm:r,queryString:p,database:t,queryValues:[l]})}catch(e){return null}}e.exports=a},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/deleteDbUser.js b/dsql-app/.local_dist/server/pages/api/deleteDbUser.js index d9263fa..e2abd19 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteDbUser.js +++ b/dsql-app/.local_dist/server/pages/api/deleteDbUser.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7081,e.ids=[7081],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},80061:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>p,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),c=t(57638),i=t.n(c),l=t(6420),u=t.n(l);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,userId:s}=e.body;await i()({database:t,queryString:"DELETE FROM users WHERE id = ?",queryValuesArray:[s]}),r.json({success:!0,msg:"User Deleted!"})}t(29021);let p=(0,o.M)(s,"default"),d=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteDbUser",pathname:"/api/deleteDbUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7081,e.ids=[7081],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},80061:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),c=t(57638),i=t.n(c),l=t(6420),u=t.n(l);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,userId:s}=e.body;await i()({database:t,queryString:"DELETE FROM users WHERE id = ?",queryValuesArray:[s]}),r.json({success:!0,msg:"User Deleted!"})}t(29021);let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteDbUser",pathname:"/api/deleteDbUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:o,csrfCookieName:c,oneTimeCodeName:i+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let _=!!l||!!t?.match(/^datasquirel$/),p=l?c:_?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?_?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):_?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(_).catch(p):o.query(t).then(_).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=80061);module.exports=t})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let _=!!l||!!t?.match(/^datasquirel$/),d=l?c:_?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?_?await d(e,r):await d({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):_?await d(e):await d({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(_).catch(d):o.query(t).then(_).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=80061);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/deleteInvitation.js b/dsql-app/.local_dist/server/pages/api/deleteInvitation.js index 858ddb8..229bc4f 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteInvitation.js +++ b/dsql-app/.local_dist/server/pages/api/deleteInvitation.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=291,e.ids=[291],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},50667:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});await u()("DELETE FROM invitations WHERE id = ? AND inviting_user_id = ?",[e.body.id,t.id]),r.json({success:!0})}let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/deleteInvitation",pathname:"/api/deleteInvitation",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=50667);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=291,e.ids=[291],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},50667:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});await u()("DELETE FROM invitations WHERE id = ? AND inviting_user_id = ?",[e.body.id,t.id]),r.json({success:!0})}let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/deleteInvitation",pathname:"/api/deleteInvitation",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),i&&(u+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=50667);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/deleteMediaFolder.js b/dsql-app/.local_dist/server/pages/api/deleteMediaFolder.js index fca34e8..9c32f84 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteMediaFolder.js +++ b/dsql-app/.local_dist/server/pages/api/deleteMediaFolder.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=9918,e.ids=[9918],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},30976:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>E});var n=t(89947),o=t(2706),a=t(96762),i=t(51348),c=t.n(i),l=t(48225),u=t.n(l),d=t(6420),p=t.n(d),_=t(33873),S=t.n(_);let f=t(29021);async function E(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{folder:s}=e.body;try{async function n({path:e}){try{let r=f.readdirSync(e);for(let t=0;t",e.message)}}let e=process.env.DSQL_STATIC_SERVER_DIR;if(!e)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let o=S().join(e,`images/user-images/user-${t.id}/`),a=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/media/`,i=o+(s?s.replace(/\.| /g,"")+"/":""),l=a+(s?s.replace(/\.| /g,"")+"/":"");await n({path:i}),await n({path:l}),r.json({success:!0})}catch(e){u()({component:"/api/deleteMediaFolder/main-catch-error",message:e.message,user:t}),r.json({success:!1})}}let m=(0,a.M)(s,"default"),g=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteMediaFolder",pathname:"/api/deleteMediaFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=9918,e.ids=[9918],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},30976:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>E});var n=t(89947),o=t(2706),a=t(96762),i=t(51348),c=t.n(i),l=t(48225),u=t.n(l),d=t(6420),_=t.n(d),p=t(33873),S=t.n(p);let f=t(29021);async function E(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{folder:s}=e.body;try{async function n({path:e}){try{let r=f.readdirSync(e);for(let t=0;t",e.message)}}let e=process.env.DSQL_STATIC_SERVER_DIR;if(!e)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let o=S().join(e,`images/user-images/user-${t.id}/`),a=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/media/`,i=o+(s?s.replace(/\.| /g,"")+"/":""),l=a+(s?s.replace(/\.| /g,"")+"/":"");await n({path:i}),await n({path:l}),r.json({success:!0})}catch(e){u()({component:"/api/deleteMediaFolder/main-catch-error",message:e.message,user:t}),r.json({success:!1})}}let m=(0,a.M)(s,"default"),g=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteMediaFolder",pathname:"/api/deleteMediaFolder",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:c+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/deleteTableEntry.js b/dsql-app/.local_dist/server/pages/api/deleteTableEntry.js index af2c45e..51d1fc7 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteTableEntry.js +++ b/dsql-app/.local_dist/server/pages/api/deleteTableEntry.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=1658,e.ids=[1658],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},43390:(e,r,s)=>{s.r(r),s.d(r,{config:()=>m,default:()=>D,routeModule:()=>y});var t={};s.r(t),s.d(t,{default:()=>g});var n=s(89947),a=s(2706),o=s(96762),i=s(64122),l=s.n(i),c=s(73677),u=s.n(c),d=s(39831),_=s.n(d),p=s(48225),S=s.n(p),E=s(6420),f=s.n(E);async function g(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let s=await f()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,tableName:n,entryId:a,dbSlug:o,dbId:i,delegated:c}=e.body;try{let c=await _()({databaseSlug:o,request:e,user:s,query:e.query});if(!await u()({user:s,confirmedDelegetedUser:c,database:o,table:n,dbId:i,priviledgeRegex:/Delete Entries/i}))return r.json({success:!1,msg:"Unauthorized"});await l()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:t,tableName:n,identifierColumnName:"id",identifierValue:a}),r.json({success:!0})}catch(e){S()({component:"/api/deleteTableEntry/main-catch-error",message:e.message,user:s}),r.json({success:!1,msg:"Deletion Failed!"})}}let D=(0,o.M)(t,"default"),m=(0,o.M)(t,"config"),y=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteTableEntry",pathname:"/api/deleteTableEntry",bundlePath:"",filename:""},userland:t})},73677:(e,r,s)=>{let t=s(51348),n=s(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:s,table:a,priviledgeRegex:o,dbId:i}){let l,c;try{r?.delegated?(l=await t("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,s,a]),c=l[0]?.priviledge?.match(o)):(l=await t("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,a,i]),c=!0)}catch(r){n({component:"checkUserRights",message:r.message,user:e})}return!!l&&!!l[0]&&!!c}},39831:(e,r,s)=>{s(81630);let t=s(72835);e.exports=async function({request:e,databaseSlug:r,user:s,query:n}){try{let a=s.id,o=null;if(!n?.delegated)return{dbUserId:a};let i=n.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let s=t({encryptedString:e.cookies[c]});if(!s)throw Error("Invalid Token");if((o=JSON.parse(s)).databaseSlug===r)return{dbUserId:a=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:a}}catch(e){return null}}},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function i(e,r,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=t}}},64122:(e,r,s)=>{let t=s(51348),n=s(21339),a=s(44900);async function o({dbContext:e,paradigm:r,dbFullName:s,tableName:o,identifierColumnName:i,identifierValue:l,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!s||!!s.match(/^datasquirel$/)),d=c?a:u?t:n,_=`DELETE FROM ${o} WHERE \`${i}\`=?`;return u?await d(_,[l]):await d({paradigm:r,queryString:_,database:s,queryValues:[l]})}catch(e){return null}}e.exports=o},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=1658,e.ids=[1658],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},43390:(e,r,s)=>{s.r(r),s.d(r,{config:()=>m,default:()=>g,routeModule:()=>y});var t={};s.r(t),s.d(t,{default:()=>D});var n=s(89947),a=s(2706),o=s(96762),i=s(64122),l=s.n(i),c=s(73677),u=s.n(c),d=s(39831),_=s.n(d),p=s(48225),S=s.n(p),E=s(6420),f=s.n(E);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let s=await f()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,tableName:n,entryId:a,dbSlug:o,dbId:i,delegated:c}=e.body;try{let c=await _()({databaseSlug:o,request:e,user:s,query:e.query});if(!await u()({user:s,confirmedDelegetedUser:c,database:o,table:n,dbId:i,priviledgeRegex:/Delete Entries/i}))return r.json({success:!1,msg:"Unauthorized"});await l()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:t,tableName:n,identifierColumnName:"id",identifierValue:a}),r.json({success:!0})}catch(e){S()({component:"/api/deleteTableEntry/main-catch-error",message:e.message,user:s}),r.json({success:!1,msg:"Deletion Failed!"})}}let g=(0,o.M)(t,"default"),m=(0,o.M)(t,"config"),y=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteTableEntry",pathname:"/api/deleteTableEntry",bundlePath:"",filename:""},userland:t})},73677:(e,r,s)=>{let t=s(51348),n=s(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:s,table:a,priviledgeRegex:o,dbId:i}){let l,c;try{r?.delegated?(l=await t("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,s,a]),c=l[0]?.priviledge?.match(o)):(l=await t("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,a,i]),c=!0)}catch(r){n({component:"checkUserRights",message:r.message,user:e})}return!!l&&!!l[0]&&!!c}},39831:(e,r,s)=>{s(81630);let t=s(72835);e.exports=async function({request:e,databaseSlug:r,user:s,query:n}){try{let a=s.id,o=null;if(!n?.delegated)return{dbUserId:a};let i=n.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let s=t({encryptedString:e.cookies[c]});if(!s)throw Error("Invalid Token");if((o=JSON.parse(s)).databaseSlug===r)return{dbUserId:a=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:a}}catch(e){return null}}},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function i(e,r,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},64122:(e,r,s)=>{let t=s(51348),n=s(21339),a=s(44900);async function o({dbContext:e,paradigm:r,dbFullName:s,tableName:o,identifierColumnName:i,identifierValue:l,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!s||!!s.match(/^datasquirel$/)),d=c?a:u?t:n,_=`DELETE FROM ${o} WHERE \`${i}\`=?`;return u?await d(_,[l]):await d({paradigm:r,queryString:_,database:s,queryValues:[l]})}catch(e){return null}}e.exports=o},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/deleteUser.js b/dsql-app/.local_dist/server/pages/api/deleteUser.js index cfcb136..a4ced0f 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteUser.js +++ b/dsql-app/.local_dist/server/pages/api/deleteUser.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2735,e.ids=[2735],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},21734:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>R});var i=t(89947),n=t(2706),a=t(96762),o=t(51348),l=t.n(o),u=t(83743),c=t.n(u),d=t(48225),E=t.n(d),_=t(6420),p=t.n(_);let S=t(29021),f=t(33873);async function R(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});"production".match(/prod/i);try{await l()(`DELETE FROM users WHERE id='${t.id}'`),await l()(`DELETE FROM user_users WHERE invited_user_id='${t.id}' OR user_id='${t.id}'`),await l()(`DELETE FROM delegated_user_tables WHERE delegated_user_id='${t.id}' OR root_user_id='${t.id}'`),await l()(`DELETE FROM user_databases WHERE user_id='${t.id}'`),await l()(`DELETE FROM user_database_tables WHERE user_id='${t.id}'`),await l()(`DELETE FROM user_media WHERE user_id='${t.id}'`),await l()(`DELETE FROM delegated_users WHERE user_id='${t.id}' OR delegated_user_id='${t.id}'`),await l()(`DELETE FROM unsubscribes WHERE user_id='${t.id}'`),await l()(`DELETE FROM notifications WHERE user_id='${t.id}'`),await l()(`DELETE FROM api_keys WHERE user_id='${t.id}'`),await l()(`DELETE FROM invitations WHERE inviting_user_id='${t.id}' OR invited_user_email='${t.email}'`);let e=await l()("SELECT * FROM mariadb_users WHERE user_id = ?",[t.id]);for(let r=0;r{let s=t(29021);e.exports=function({rootFolderPath:e}){try{return function e(r){try{let t=s.readdirSync(r);for(let i=0;i",e.message),!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),i=t(72835),n=t(29021),a=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:u}=a();if(!e.cookies?.[l]?.match(/./))return null;let c=i({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let E=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!E)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${E}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),{keyCookieName:n,csrfCookieName:a+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:n}){let a=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||n.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2735,e.ids=[2735],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},21734:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>R});var i=t(89947),n=t(2706),a=t(96762),o=t(51348),u=t.n(o),l=t(83743),c=t.n(l),d=t(48225),E=t.n(d),_=t(6420),p=t.n(_);let S=t(29021),f=t(33873);async function R(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});"production".match(/prod/i);try{await u()(`DELETE FROM users WHERE id='${t.id}'`),await u()(`DELETE FROM user_users WHERE invited_user_id='${t.id}' OR user_id='${t.id}'`),await u()(`DELETE FROM delegated_user_tables WHERE delegated_user_id='${t.id}' OR root_user_id='${t.id}'`),await u()(`DELETE FROM user_databases WHERE user_id='${t.id}'`),await u()(`DELETE FROM user_database_tables WHERE user_id='${t.id}'`),await u()(`DELETE FROM user_media WHERE user_id='${t.id}'`),await u()(`DELETE FROM delegated_users WHERE user_id='${t.id}' OR delegated_user_id='${t.id}'`),await u()(`DELETE FROM unsubscribes WHERE user_id='${t.id}'`),await u()(`DELETE FROM notifications WHERE user_id='${t.id}'`),await u()(`DELETE FROM api_keys WHERE user_id='${t.id}'`),await u()(`DELETE FROM invitations WHERE inviting_user_id='${t.id}' OR invited_user_email='${t.email}'`);let e=await u()("SELECT * FROM mariadb_users WHERE user_id = ?",[t.id]);for(let r=0;r{let s=t(29021);e.exports=function({rootFolderPath:e}){try{return function e(r){try{let t=s.readdirSync(r);for(let i=0;i",e.message),!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),i=t(72835),n=t(29021),a=t(31341);async function o(e,r,t,o){let{keyCookieName:u,csrfCookieName:l}=a();if(!e.cookies?.[u]?.match(/./))return null;let c=i({encryptedString:e.cookies[u]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let E=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!E)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${E}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),{keyCookieName:a,csrfCookieName:o,oneTimeCodeName:u+=i}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:n}){let a=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||n.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} @@ -8,9 +8,9 @@ URL: ${n.url}`),n?.body&&(i+=` Request Body: ${JSON.stringify(n.body,null,4)}`),o&&(i+=` IP: ${o}`),i+=` Date: ${a.toDateString()} -========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let l=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",i),s.appendFileSync("./.tmp/error.log",` +========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let u=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",i),s.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:i}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",s(a,o,l),n.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),i=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:i()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=21734);module.exports=t})(); \ No newline at end of file +${u}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:i}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=i("aes-192-cbc",s(a,o,u),n.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),i=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:i()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=21734);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/deleteUserDatabase.js b/dsql-app/.local_dist/server/pages/api/deleteUserDatabase.js index 59b7d19..791af0a 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteUserDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/deleteUserDatabase.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3e3,e.ids=[3e3],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},47389:(e,r,t)=>{t.r(r),t.d(r,{config:()=>D,default:()=>E,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>m});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(48225),u=t.n(c),d=t(6420),p=t.n(d),_=t(51926),f=t.n(_);let S=t(29021);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s,db_slug:n,db_full_name:a}=e.body;if(!a.match(`user_${t.id}_`))throw Error("Database doesn't belong to user");await f()(`DROP DATABASE \`${a}\``),await l()("DELETE FROM user_databases WHERE id = ?",[s]),await l()("DELETE FROM user_users WHERE user_id = ? AND `database` = ?",[t.id,n]);try{let e;let s=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,n=JSON.parse(S.readFileSync(s,"utf8")),o=n.filter((r,t)=>{if(r.dbFullName===a)return e=t,!0});if(o[0].childDatabase){let e=n.filter(e=>e.dbFullName===o[0].childDatabaseDbFullName)[0],r=e.childrenDatabases?.findIndex(e=>e.dbFullName===o[0].childDatabaseDbFullName);e.childrenDatabases&&"number"==typeof r&&e.childrenDatabases.splice(r,1)}n.splice(e,1),S.writeFileSync(`${s}`,JSON.stringify(n),"utf8"),r.json({success:!0})}catch(e){u()({component:"/api/deleteUserDatabase/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"File Updates Failed"})}}let E=(0,o.M)(s,"default"),D=(0,o.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteUserDatabase",pathname:"/api/deleteUserDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},51926:(e,r,t)=>{let s=t(29021),n=t(48225),a=t(45356);e.exports=async function(e){let r;"production".match(/dev/)&&s.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{r=await a(e)}catch(e){n({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return r||null}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=3e3,e.ids=[3e3],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},47389:(e,r,t)=>{t.r(r),t.d(r,{config:()=>D,default:()=>m,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>E});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(48225),u=t.n(c),d=t(6420),_=t.n(d),p=t(51926),f=t.n(p);let S=t(29021);async function E(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s,db_slug:n,db_full_name:a}=e.body;if(!a.match(`user_${t.id}_`))throw Error("Database doesn't belong to user");await f()(`DROP DATABASE \`${a}\``),await l()("DELETE FROM user_databases WHERE id = ?",[s]),await l()("DELETE FROM user_users WHERE user_id = ? AND `database` = ?",[t.id,n]);try{let e;let s=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,n=JSON.parse(S.readFileSync(s,"utf8")),o=n.filter((r,t)=>{if(r.dbFullName===a)return e=t,!0});if(o[0].childDatabase){let e=n.filter(e=>e.dbFullName===o[0].childDatabaseDbFullName)[0],r=e.childrenDatabases?.findIndex(e=>e.dbFullName===o[0].childDatabaseDbFullName);e.childrenDatabases&&"number"==typeof r&&e.childrenDatabases.splice(r,1)}n.splice(e,1),S.writeFileSync(`${s}`,JSON.stringify(n),"utf8"),r.json({success:!0})}catch(e){u()({component:"/api/deleteUserDatabase/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"File Updates Failed"})}}let m=(0,o.M)(s,"default"),D=(0,o.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/deleteUserDatabase",pathname:"/api/deleteUserDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},51926:(e,r,t)=>{let s=t(29021),n=t(48225),a=t(45356);e.exports=async function(e){let r;"production".match(/dev/)&&s.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{r=await a(e)}catch(e){n({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return r||null}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/deleteUserMedia.js b/dsql-app/.local_dist/server/pages/api/deleteUserMedia.js index 39c1208..bdb0917 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteUserMedia.js +++ b/dsql-app/.local_dist/server/pages/api/deleteUserMedia.js @@ -1,6 +1,6 @@ -"use strict";(()=>{var e={};e.id=8105,e.ids=[8105],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},71405:(e,r,t)=>{t.r(r),t.d(r,{config:()=>v,default:()=>g,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>D});var n=t(89947),o=t(2706),a=t(96762),i=t(33873),c=t.n(i),l=t(48225),u=t.n(l),_=t(6420),d=t.n(_),S=t(48227),p=t.n(S),f=t(64122),m=t.n(f);let E=t(29021);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body,{media_name:n,media_url:o,media_thumbnail_url:a,media_path:i,media_thumbnail_path:l,folder:_}=s;"production".match(/production/);try{let e=s?.private==1;if(!process.env.DSQL_STATIC_SERVER_DIR)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let n=p()({isPrivate:e,user:t,folder:s.folder?s.folder+"/":"",video:!!s.media_type?.match(/video/i)});if(!n)throw Error("Couldn't grab paths!");let{fileRootPath:i,urlRootPath:l,relativePath:u}=n;_?.match(/./);let d=o.match(/[^\/]+$/)[0],S=a.match(/[^\/]+$/)[0],f=c().normalize(i+d),D=c().normalize(i+S);E.unlinkSync(f);try{E.unlinkSync(D)}catch(e){}await m()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"id",identifierValue:s.id}),r.json({success:!0})}catch(e){console.log("ERROR in deleting user media =>",e.message),u()({component:"/api/deleteUserMedia/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!"})}}let g=(0,a.M)(s,"default"),v=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteUserMedia",pathname:"/api/deleteUserMedia",bundlePath:"",filename:""},userland:s})},48227:(e,r,t)=>{let s=t(29021),n=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:o,pathOnly:a}){"production".match(/production/);let i=r?.id||r?.user_id,c=process.env.DSQL_STATIC_SERVER_DIR;if(!c)return console.log("Static File ENV not Found!"),null;let l=e?`@/${o?"videos":"media"}/${t?t+"/":""}`:o?`/videos/user-videos/user-${i}/${t?t+"/":""}`:`/images/user-images/user-${i}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${i}/media/${t?t+"/":""}`:n.join(c,l);return s.existsSync(u)||a||s.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${l}`,relativePath:l}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),o=t(44900);async function a({dbContext:e,paradigm:r,dbFullName:t,tableName:a,identifierColumnName:i,identifierValue:c,useLocal:l}){try{let u=!!l||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),_=l?o:u?s:n,d=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await _(d,[c]):await _({paradigm:r,queryString:d,database:t,queryValues:[c]})}catch(e){return null}}e.exports=a},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8105,e.ids=[8105],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},71405:(e,r,s)=>{s.r(r),s.d(r,{config:()=>v,default:()=>g,routeModule:()=>y});var t={};s.r(t),s.d(t,{default:()=>D});var n=s(89947),o=s(2706),a=s(96762),i=s(33873),c=s.n(i),l=s(48225),u=s.n(l),_=s(6420),d=s.n(_),S=s(48227),p=s.n(S),f=s(64122),E=s.n(f);let m=s(29021);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let s=await d()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let t=e.body,{media_name:n,media_url:o,media_thumbnail_url:a,media_path:i,media_thumbnail_path:l,folder:_}=t;"production".match(/production/);try{let e=t?.private==1;if(!process.env.DSQL_STATIC_SERVER_DIR)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let n=p()({isPrivate:e,userId:s.id,folder:t.folder?t.folder+"/":"",video:!!t.media_type?.match(/video/i)});if(!n)throw Error("Couldn't grab paths!");let{fileRootPath:i,urlRootPath:l,relativePath:u}=n;_?.match(/./);let d=o.match(/[^\/]+$/)[0],S=a.match(/[^\/]+$/)[0],f=c().normalize(i+d),D=c().normalize(i+S);m.unlinkSync(f);try{m.unlinkSync(D)}catch(e){}await E()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"id",identifierValue:t.id}),r.json({success:!0})}catch(e){console.log("ERROR in deleting user media =>",e.message),u()({component:"/api/deleteUserMedia/main-catch-error",message:e.message,user:s}),r.json({success:!1,msg:"Database Files could not be written!"})}}let g=(0,a.M)(t,"default"),v=(0,a.M)(t,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/deleteUserMedia",pathname:"/api/deleteUserMedia",bundlePath:"",filename:""},userland:t})},48227:(e,r,s)=>{let t=s(29021),n=s(33873);e.exports=function({isPrivate:e,userId:r,folder:s,video:o,pathOnly:a}){"production".match(/production/);let i=process.env.DSQL_STATIC_SERVER_DIR;if(!i)return console.log("Static File ENV not Found!"),null;let c=e?`@/${o?"videos":"media"}/${s?s+"/":""}`:o?`/videos/user-videos/user-${r}/${s?s+"/":""}`:`/images/user-images/user-${r}/${s?s+"/":""}`,l=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${s?s+"/":""}`:n.join(i,c);return t.existsSync(l)||a||t.mkdirSync(l,{recursive:!0}),{fileRootPath:l,urlRootPath:e?`@/media/${s?s+"/":""}`:`${process.env.DSQL_STATIC_HOST}${c}`,relativePath:c}}},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),o=s(29021),a=s(31341);async function i(e,r,s,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:c+=n}}},64122:(e,r,s)=>{let t=s(51348),n=s(21339),o=s(44900);async function a({dbContext:e,paradigm:r,dbFullName:s,tableName:a,identifierColumnName:i,identifierValue:c,useLocal:l}){try{let u=!!l||!e?.match(/dsql.user/i)&&(!s||!!s.match(/^datasquirel$/)),_=l?o:u?t:n,d=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await _(d,[c]):await _({paradigm:r,queryString:d,database:s,queryValues:[c]})}catch(e){return null}}e.exports=a},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],s=o.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} -Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` +Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} User Email: ${e?.email}`),o?.url&&(n+=` @@ -8,9 +8,9 @@ URL: ${o.url}`),o?.body&&(n+=` Request Body: ${JSON.stringify(o.body,null,4)}`),i&&(n+=` IP: ${i}`),n+=` Date: ${a.toDateString()} -========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let c=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",n),s.appendFileSync("./.tmp/error.log",` +========================================`,t.existsSync("./.tmp/error.log")||t.writeFileSync("./.tmp/error.log","","utf-8");let c=t.readFileSync("./.tmp/error.log","utf-8");t.writeFileSync("./.tmp/error.log",n),t.appendFileSync("./.tmp/error.log",` -${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),c(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),i&&Array.isArray(i)&&i[0]?a.query(t,i).then(_).catch(d):a.query(t).then(_).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=71405);module.exports=t})(); \ No newline at end of file +${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(a,i,c),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),o=s(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),c(JSON.parse(JSON.stringify(e)))}function d(e){a.end(),c({error:e.message,queryStringGenerated:s,queryValuesGenerated:i,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),i&&Array.isArray(i)&&i[0]?a.query(s,i).then(_).catch(d):a.query(s).then(_).catch(d)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function o(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=71405);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/deleteUserTable.js b/dsql-app/.local_dist/server/pages/api/deleteUserTable.js index 23a857e..e274cb2 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteUserTable.js +++ b/dsql-app/.local_dist/server/pages/api/deleteUserTable.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=5757,e.ids=[5757],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},77379:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>D,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>m});var a=t(89947),n=t(2706),l=t(96762),o=t(57638),i=t.n(o),c=t(48225),u=t.n(c),d=t(6420),_=t.n(d),p=t(51348),S=t.n(p);let f=t(29021);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body,{id:a,user_id:n,table_name:l,table_slug:o,table_description:c}=s.table,{db_full_name:d}=s.database;await i()({database:d,queryString:`DROP TABLE \`${o}\``});let p=a?[a]:[o,t.id,s.database.id];await S()(a?"DELETE FROM user_database_tables WHERE id=?":"DELETE FROM user_database_tables WHERE table_slug=? AND user_id=? AND db_id=?",p);try{let e;let s=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,a=JSON.parse(f.readFileSync(s,"utf8")),n=a.filter((e,r)=>{if(e.dbFullName===d)return!0}),l=n[0].tables.filter((r,t)=>{if(r?.tableName===o)return e=t,!0});if(l[0].childTable){let e;let r=a.filter(e=>e.dbFullName===l[0].childTableDbFullName)[0].tables.filter(e=>{if(e.tableName===l[0].childTableName)return!0})[0];r.childrenTables?.filter((r,t)=>{r.tableName===o&&(e=t)}),"number"==typeof e&&r.childrenTables?.splice(e,1)}if(n[0].tables.splice(e,1),n[0].childrenDatabases)for(let e=0;ee.dbFullName===r.dbFullName)[0];e.tables=n[0].tables,await S()("DELETE FROM user_database_tables WHERE table_slug=? AND user_id=? AND db_slug=?",[o,t.id,e.dbSlug])}catch(e){u()({component:"/api/deleteUserTable/lines-125-128",message:e.message,user:t})}}f.writeFileSync(`${s}`,JSON.stringify(a),"utf8"),r.json({success:!0})}catch(e){u()({component:"/api/deleteUserTable/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"File Updates Failed"})}}let D=(0,l.M)(s,"default"),E=(0,l.M)(s,"config"),g=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/deleteUserTable",pathname:"/api/deleteUserTable",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),l=t(31341);async function o(e,r,t,o){let{keyCookieName:i,csrfCookieName:c}=l();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:n,csrfCookieName:l+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let l=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=5757,e.ids=[5757],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},77379:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>D,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>m});var a=t(89947),n=t(2706),l=t(96762),o=t(57638),i=t.n(o),c=t(48225),u=t.n(c),d=t(6420),_=t.n(d),p=t(51348),S=t.n(p);let f=t(29021);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body,{id:a,user_id:n,table_name:l,table_slug:o,table_description:c}=s.table,{db_full_name:d}=s.database;await i()({database:d,queryString:`DROP TABLE \`${o}\``});let p=a?[a]:[o,t.id,s.database.id];await S()(a?"DELETE FROM user_database_tables WHERE id=?":"DELETE FROM user_database_tables WHERE table_slug=? AND user_id=? AND db_id=?",p);try{let e;let s=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,a=JSON.parse(f.readFileSync(s,"utf8")),n=a.filter((e,r)=>{if(e.dbFullName===d)return!0}),l=n[0].tables.filter((r,t)=>{if(r?.tableName===o)return e=t,!0});if(l[0].childTable){let e;let r=a.filter(e=>e.dbFullName===l[0].childTableDbFullName)[0].tables.filter(e=>{if(e.tableName===l[0].childTableName)return!0})[0];r.childrenTables?.filter((r,t)=>{r.tableName===o&&(e=t)}),"number"==typeof e&&r.childrenTables?.splice(e,1)}if(n[0].tables.splice(e,1),n[0].childrenDatabases)for(let e=0;ee.dbFullName===r.dbFullName)[0];e.tables=n[0].tables,await S()("DELETE FROM user_database_tables WHERE table_slug=? AND user_id=? AND db_slug=?",[o,t.id,e.dbSlug])}catch(e){u()({component:"/api/deleteUserTable/lines-125-128",message:e.message,user:t})}}f.writeFileSync(`${s}`,JSON.stringify(a),"utf8"),r.json({success:!0})}catch(e){u()({component:"/api/deleteUserTable/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"File Updates Failed"})}}let D=(0,l.M)(s,"default"),E=(0,l.M)(s,"config"),g=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/deleteUserTable",pathname:"/api/deleteUserTable",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),l=t(31341);async function o(e,r,t,o){let{keyCookieName:i,csrfCookieName:c}=l();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=r;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:l,csrfCookieName:o,oneTimeCodeName:i+=a}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let l=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/deleteUserUser.js b/dsql-app/.local_dist/server/pages/api/deleteUserUser.js index 84a1088..5bfc76d 100644 --- a/dsql-app/.local_dist/server/pages/api/deleteUserUser.js +++ b/dsql-app/.local_dist/server/pages/api/deleteUserUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3462,e.ids=[3462],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},83246:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body,{user_type:n,user_id:i,email:o,invited_user_id:a}=s;await u()("DELETE FROM user_users WHERE id=?",[s.id]),n?.match(/admin/i)&&(await u()("DELETE FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[t.id,o]),await u()("DELETE FROM delegated_user_tables WHERE delegated_user_id=? AND root_user_id=?",[a,t.id])),r.json({success:!0,msg:"User Deleted!"})}t(29021);let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/deleteUserUser",pathname:"/api/deleteUserUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=83246);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3462,e.ids=[3462],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},83246:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>d,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body,{user_type:n,user_id:i,email:o,invited_user_id:a}=s;await u()("DELETE FROM user_users WHERE id=?",[s.id]),n?.match(/admin/i)&&(await u()("DELETE FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[t.id,o]),await u()("DELETE FROM delegated_user_tables WHERE delegated_user_id=? AND root_user_id=?",[a,t.id])),r.json({success:!0,msg:"User Deleted!"})}t(29021);let d=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/deleteUserUser",pathname:"/api/deleteUserUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),i&&(u+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=83246);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/downloadDatabaseSchema.js b/dsql-app/.local_dist/server/pages/api/downloadDatabaseSchema.js index 0a50b66..f25235e 100644 --- a/dsql-app/.local_dist/server/pages/api/downloadDatabaseSchema.js +++ b/dsql-app/.local_dist/server/pages/api/downloadDatabaseSchema.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7317,e.ids=[7317],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},3535:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762);t(17029);var a=t(6420),l=t.n(a);let c=t(29021),u=t(33873);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbName:s}=e.query;try{let e=u.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${t.id}/main.json`);if(!c.existsSync(e))return r.end();let n=JSON.parse(c.readFileSync(e,"utf-8")).find(e=>e.dbFullName==s);if(!n)throw Error("Database not found!");let o=u.resolve(process.cwd(),"./.tmp/_tmp.json");c.writeFileSync(o,JSON.stringify(n),"utf-8");let i=c.createReadStream(o);i.pipe(r),i.on("close",()=>{c.unlinkSync(o)})}catch(e){return console.log(e),r.end()}}let d=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/downloadDatabaseSchema",pathname:"/api/downloadDatabaseSchema",bundlePath:"",filename:""},userland:s})},17029:(e,r,t)=>{let s=t(29021),n=t(21820),{execSync:o}=t(79646),i=t(48225),{ServerResponse:a}=t(81630);e.exports=async function({dbName:e,user:r,res:t}){let a=n.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let i={cwd:process.cwd()},l=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/export.sql`;n.platform().match(/win/i)&&(i.shell="bash.exe");let c=`${a} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${e} > ${l}`;console.log(`exportDb.js exe => ${c}`),o(c,i),t.setHeader("Content-Type","application/zip"),t.setHeader("Content-Disposition","attachment; filename=export.sql"),s.createReadStream(l).pipe(t)}catch(e){i({component:"/functions/backend/exportDb/lines-30-46",message:e.message,user:r})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7317,e.ids=[7317],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},3535:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762);t(17029);var a=t(6420),l=t.n(a);let c=t(29021),u=t(33873);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbName:s}=e.query;try{let e=u.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${t.id}/main.json`);if(!c.existsSync(e))return r.end();let n=JSON.parse(c.readFileSync(e,"utf-8")).find(e=>e.dbFullName==s);if(!n)throw Error("Database not found!");let o=u.resolve(process.cwd(),"./.tmp/_tmp.json");c.writeFileSync(o,JSON.stringify(n),"utf-8");let i=c.createReadStream(o);i.pipe(r),i.on("close",()=>{c.unlinkSync(o)})}catch(e){return console.log(e),r.end()}}let d=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/downloadDatabaseSchema",pathname:"/api/downloadDatabaseSchema",bundlePath:"",filename:""},userland:s})},17029:(e,r,t)=>{let s=t(29021),n=t(21820),{execSync:o}=t(79646),i=t(48225),{ServerResponse:a}=t(81630);e.exports=async function({dbName:e,user:r,res:t}){let a=n.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let i={cwd:process.cwd()},l=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/export.sql`;n.platform().match(/win/i)&&(i.shell="bash.exe");let c=`${a} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${e} > ${l}`;console.log(`exportDb.js exe => ${c}`),o(c,i),t.setHeader("Content-Type","application/zip"),t.setHeader("Content-Disposition","attachment; filename=export.sql"),s.createReadStream(l).pipe(t)}catch(e){i({component:"/functions/backend/exportDb/lines-30-46",message:e.message,user:r})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/exportDatabase.js b/dsql-app/.local_dist/server/pages/api/exportDatabase.js index 64ac282..f32b5f8 100644 --- a/dsql-app/.local_dist/server/pages/api/exportDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/exportDatabase.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7402,e.ids=[7402],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},46897:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>_,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),a=t(17029),l=t.n(a),c=t(6420),u=t.n(c);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbName:s}=e.query;await l()({dbName:s?.toString()||"",res:r,user:t})}let _=(0,i.M)(s,"default"),d=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/exportDatabase",pathname:"/api/exportDatabase",bundlePath:"",filename:""},userland:s})},17029:(e,r,t)=>{let s=t(29021),n=t(21820),{execSync:o}=t(79646),i=t(48225),{ServerResponse:a}=t(81630);e.exports=async function({dbName:e,user:r,res:t}){let a=n.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let i={cwd:process.cwd()},l=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/export.sql`;n.platform().match(/win/i)&&(i.shell="bash.exe");let c=`${a} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${e} > ${l}`;console.log(`exportDb.js exe => ${c}`),o(c,i),t.setHeader("Content-Type","application/zip"),t.setHeader("Content-Disposition","attachment; filename=export.sql"),s.createReadStream(l).pipe(t)}catch(e){i({component:"/functions/backend/exportDb/lines-30-46",message:e.message,user:r})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7402,e.ids=[7402],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},46897:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>_,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),a=t(17029),l=t.n(a),c=t(6420),u=t.n(c);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbName:s}=e.query;await l()({dbName:s?.toString()||"",res:r,user:t})}let _=(0,i.M)(s,"default"),d=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/exportDatabase",pathname:"/api/exportDatabase",bundlePath:"",filename:""},userland:s})},17029:(e,r,t)=>{let s=t(29021),n=t(21820),{execSync:o}=t(79646),i=t(48225),{ServerResponse:a}=t(81630);e.exports=async function({dbName:e,user:r,res:t}){let a=n.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{let i={cwd:process.cwd()},l=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/export.sql`;n.platform().match(/win/i)&&(i.shell="bash.exe");let c=`${a} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${e} > ${l}`;console.log(`exportDb.js exe => ${c}`),o(c,i),t.setHeader("Content-Type","application/zip"),t.setHeader("Content-Disposition","attachment; filename=export.sql"),s.createReadStream(l).pipe(t)}catch(e){i({component:"/functions/backend/exportDb/lines-30-46",message:e.message,user:r})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let i=new Date,a=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/exportTableData.js b/dsql-app/.local_dist/server/pages/api/exportTableData.js index fbbaed0..08b1a6c 100644 --- a/dsql-app/.local_dist/server/pages/api/exportTableData.js +++ b/dsql-app/.local_dist/server/pages/api/exportTableData.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=4727,e.ids=[4727],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},724:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>p,routeModule:()=>m});var s={};t.r(s),t.d(s,{config:()=>c,default:()=>d});var a=t(89947),n=t(2706),i=t(96762),o=t(6420),l=t.n(o),u=t(27444);let c={api:{responseLimit:"1mb",bodyParser:{sizeLimit:"200mb"}}};async function d(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{paradigm:s,dbName:a,tableName:n,payload:i}=e.body;try{let e=await (0,u.A)({dbName:a,paradigm:s,payload:i,tableName:n,userId:t.id,payloadType:"base64"});if(!e)return r.json({success:!1,msg:"Operation Failed!"});r.json({success:!0,msg:"Success!",data:e?.tableData})}catch(e){r.json({success:!1,msg:e.message})}}let p=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),m=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/exportTableData",pathname:"/api/exportTableData",bundlePath:"",filename:""},userland:s})},27444:(e,r,t)=>{t.d(r,{A:()=>o});var s=t(47670),a=t.n(s);let n=t(48225),i=t(51348);async function o({paradigm:e,userId:r,dbName:t,tableName:s,payload:o,payloadType:l}){let u={};try{let n=`${process.env.DSQL_USER_DB_PREFIX}${r}_${t.replace(/ /g,"")}`;switch(e){case"export":let c=await i(`SELECT * FROM \`${n}\`.\`${s}\``);u.tableData=c;break;case"import":let d="base64"==l?Buffer.from(o,"base64").toString():o,p="object"===l?o:JSON.parse(d);for(let e=0;e{t(81630);let s=t(51348),a=t(72835),n=t(29021),i=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:u}=i();if(!e.cookies?.[l]?.match(/./))return null;let c=a({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:n,csrfCookieName:i+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let i=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=4727,e.ids=[4727],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},724:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>p,routeModule:()=>f});var s={};t.r(s),t.d(s,{config:()=>c,default:()=>d});var a=t(89947),n=t(2706),i=t(96762),o=t(6420),l=t.n(o),u=t(27444);let c={api:{responseLimit:"1mb",bodyParser:{sizeLimit:"200mb"}}};async function d(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{paradigm:s,dbName:a,tableName:n,payload:i}=e.body;try{let e=await (0,u.A)({dbName:a,paradigm:s,payload:i,tableName:n,userId:t.id,payloadType:"base64"});if(!e)return r.json({success:!1,msg:"Operation Failed!"});r.json({success:!0,msg:"Success!",data:e?.tableData})}catch(e){r.json({success:!1,msg:e.message})}}let p=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),f=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/exportTableData",pathname:"/api/exportTableData",bundlePath:"",filename:""},userland:s})},27444:(e,r,t)=>{t.d(r,{A:()=>o});var s=t(47670),a=t.n(s);let n=t(48225),i=t(51348);async function o({paradigm:e,userId:r,dbName:t,tableName:s,payload:o,payloadType:l}){let u={};try{let n=`${process.env.DSQL_USER_DB_PREFIX}${r}_${t.replace(/ /g,"")}`;switch(e){case"export":let c=await i(`SELECT * FROM \`${n}\`.\`${s}\``);u.tableData=c;break;case"import":let d="base64"==l?Buffer.from(o,"base64").toString():o,p="object"===l?o:JSON.parse(d);for(let e=0;e{t(81630);let s=t(51348),a=t(72835),n=t(29021),i=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:u}=i();if(!e.cookies?.[l]?.match(/./))return null;let c=a({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=a}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let i=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/fetch-entries-basic.js b/dsql-app/.local_dist/server/pages/api/fetch-entries-basic.js index 520f97b..59367c4 100644 --- a/dsql-app/.local_dist/server/pages/api/fetch-entries-basic.js +++ b/dsql-app/.local_dist/server/pages/api/fetch-entries-basic.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3319,e.ids=[3319],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},62229:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>S,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>p});var a=t(89947),n=t(2706),o=t(96762),l=t(57638),i=t.n(l);let c=t(73677),u=t(39831),d=t(48225),_=t(6420);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _(e,r,!0);if(!t)return r.json({success:!1,msg:"User Auth Failed"});let{tableName:s,dbSlug:a,dbId:n,isTitle:o,isSlug:l,isFullName:p,defaultField:S}=e.body;try{let d=await u({databaseSlug:a,request:e,user:t,query:e.query});if(!await c({user:t,confirmedDelegetedUser:d,database:a,table:s,dbId:n,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let _=d?.rootUserId?`datasquirel_user_${d.rootUserId}_${a}`:`datasquirel_user_${t.id}_${a}`,f=`SELECT id${o?",title":l?",slug":p?",CONCAT(first_name, ' ', last_name) AS full_name":S?","+S:""} FROM ${s}`,g=await i()({database:_,queryString:f});r.json({success:!0,entries:g})}catch(e){d({component:"/api/addTableEntry/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let S=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),g=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/fetch-entries-basic",pathname:"/api/fetch-entries-basic",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:n,priviledgeRegex:o,dbId:l}){let i,c;try{r?.delegated?(i=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,n]),c=i[0]?.priviledge?.match(o)):(i=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,l]),c=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!i&&!!i[0]&&!!c}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,l=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=3319,e.ids=[3319],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},62229:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>S,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>p});var a=t(89947),n=t(2706),o=t(96762),l=t(57638),i=t.n(l);let c=t(73677),u=t(39831),d=t(48225),_=t(6420);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _(e,r,!0);if(!t)return r.json({success:!1,msg:"User Auth Failed"});let{tableName:s,dbSlug:a,dbId:n,isTitle:o,isSlug:l,isFullName:p,defaultField:S}=e.body;try{let d=await u({databaseSlug:a,request:e,user:t,query:e.query});if(!await c({user:t,confirmedDelegetedUser:d,database:a,table:s,dbId:n,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let _=d?.rootUserId?`datasquirel_user_${d.rootUserId}_${a}`:`datasquirel_user_${t.id}_${a}`,f=`SELECT id${o?",title":l?",slug":p?",CONCAT(first_name, ' ', last_name) AS full_name":S?","+S:""} FROM ${s}`,g=await i()({database:_,queryString:f});r.json({success:!0,entries:g})}catch(e){d({component:"/api/addTableEntry/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let S=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),g=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/fetch-entries-basic",pathname:"/api/fetch-entries-basic",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:n,priviledgeRegex:o,dbId:l}){let i,c;try{r?.delegated?(i=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,n]),c=i[0]?.priviledge?.match(o)):(i=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,l]),c=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!i&&!!i[0]&&!!c}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:l,oneTimeCodeName:i+=a}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,l=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/get-authorized-databases.js b/dsql-app/.local_dist/server/pages/api/get-authorized-databases.js index 474a2b3..8ae92c0 100644 --- a/dsql-app/.local_dist/server/pages/api/get-authorized-databases.js +++ b/dsql-app/.local_dist/server/pages/api/get-authorized-databases.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=3040,e.ids=[3040],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},0:(e,r,t)=>{t.r(r),t.d(r,{config:()=>h,default:()=>m,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>g});var n=t(89947),o=t(2706),a=t(96762),i=t(2258),l=t(48225),u=t.n(l),c=t(6420),d=t.n(c),p=t(27825),_=t.n(p),f=t(51348),S=t.n(f);t(29021),t(33873);let{execSync:E}=t(79646);async function g(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.dbUserId;e.query.delegated;try{if(!s)throw Error("No Root user Id Found!");let e=await S()("SELECT * FROM datasquirel.delegated_user_tables WHERE delegated_user_id=? AND root_user_id=?",[String(t.id),String(s)]),n=(0,i.default)({userId:String(s)});if(!n)throw Error("Root user schema not found!");let o=[];e.forEach(e=>{let r=o.findIndex(r=>r.dbSlug===e.database),t=n.find(r=>r.dbSlug===e.database);if(t){let s=o[r]?o[r]:{...t,tables:[]},n=_().cloneDeep(t.tables).find(r=>r.tableName===e.table);n&&o[r]?o[r]={...s,tables:[...o[r].tables,n]}:n&&!o[r]&&o.push({...t,tables:[n]})}}),r.json({success:!0,payload:o})}catch(e){console.log("ERROR:",e.message),u()({component:"/api/get-authorized-databases",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}let m=(0,a.M)(s,"default"),h=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/get-authorized-databases",pathname:"/api/get-authorized-databases",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=a();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},2258:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});let s=t(48225),n=t(29021),o=t(33873);function a({userId:e}){try{let r=o.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(n.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=3040,e.ids=[3040],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},0:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>h,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>g});var n=t(89947),o=t(2706),a=t(96762),i=t(2258),l=t.n(i),u=t(48225),c=t.n(u),d=t(6420),_=t.n(d),p=t(27825),f=t.n(p),S=t(51348),E=t.n(S);t(29021),t(33873);let{execSync:m}=t(79646);async function g(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.dbUserId;e.query.delegated;try{if(!s)throw Error("No Root user Id Found!");let e=await E()("SELECT * FROM datasquirel.delegated_user_tables WHERE delegated_user_id=? AND root_user_id=?",[String(t.id),String(s)]),n=l()({userId:String(s)});if(!n)throw Error("Root user schema not found!");let o=[];e.forEach(e=>{let r=o.findIndex(r=>r.dbSlug===e.database),t=n.find(r=>r.dbSlug===e.database);if(t){let s=o[r]?o[r]:{...t,tables:[]},n=f().cloneDeep(t.tables).find(r=>r.tableName===e.table);n&&o[r]?o[r]={...s,tables:[...o[r].tables,n]}:n&&!o[r]&&o.push({...t,tables:[n]})}}),r.json({success:!0,payload:o})}catch(e){console.log("ERROR:",e.message),c()({component:"/api/get-authorized-databases",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}let h=(0,a.M)(s,"default"),y=(0,a.M)(s,"config"),D=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/get-authorized-databases",pathname:"/api/get-authorized-databases",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=a();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:l+=n}}},2258:(e,r,t)=>{let s=t(48225),n=t(29021),o=t(33873);e.exports=function({userId:e}){try{let r=o.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(n.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/getDatabaseTables.js b/dsql-app/.local_dist/server/pages/api/getDatabaseTables.js index 7379282..a7b15c4 100644 --- a/dsql-app/.local_dist/server/pages/api/getDatabaseTables.js +++ b/dsql-app/.local_dist/server/pages/api/getDatabaseTables.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=245,e.ids=[245],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34029:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>f,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),a=t(2706),o=t(96762),i=t(6420),l=t.n(i),u=t(48225),c=t.n(u),d=t(51348),_=t.n(d);async function p(e,r){if("GET"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.dbSlug,n=e.query.dbOwnerId,a=e.query.delegatedUserId;try{let e=await _()("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[n,s]);if(!e||!e[0])return r.json({success:!1,msg:"Database not found"});let t=await _()("SELECT table_name,table_slug FROM user_database_tables WHERE user_id=? AND db_id=?",[n,e[0].id]),o=await _()("SELECT `database`,`table` FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[n,a]);r.json({success:!0,tables:t,accessed_tables:o})}catch(e){c()({component:"/api/getDatabaseTables/main-catch-error",message:e.message,user:t}),r.json({success:!1})}}t(29021);let f=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getDatabaseTables",pathname:"/api/getDatabaseTables",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=o();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=245,e.ids=[245],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34029:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>f,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),a=t(2706),o=t(96762),i=t(6420),l=t.n(i),u=t(48225),c=t.n(u),d=t(51348),_=t.n(d);async function p(e,r){if("GET"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.dbSlug,n=e.query.dbOwnerId,a=e.query.delegatedUserId;try{let e=await _()("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[n,s]);if(!e||!e[0])return r.json({success:!1,msg:"Database not found"});let t=await _()("SELECT table_name,table_slug FROM user_database_tables WHERE user_id=? AND db_id=?",[n,e[0].id]),o=await _()("SELECT `database`,`table` FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[n,a]);r.json({success:!0,tables:t,accessed_tables:o})}catch(e){c()({component:"/api/getDatabaseTables/main-catch-error",message:e.message,user:t}),r.json({success:!1})}}t(29021);let f=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getDatabaseTables",pathname:"/api/getDatabaseTables",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=o();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/getDelegatedDatabaseToken.js b/dsql-app/.local_dist/server/pages/api/getDelegatedDatabaseToken.js index 069f0f5..3b9fd62 100644 --- a/dsql-app/.local_dist/server/pages/api/getDelegatedDatabaseToken.js +++ b/dsql-app/.local_dist/server/pages/api/getDelegatedDatabaseToken.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8282,e.ids=[8282],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},94057:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>f,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(20503),u=t.n(c),d=t(48225),_=t.n(d),p=t(6420),E=t.n(p);async function S(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await E()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.rootUserId,n=e.body.priviledges,a=e.body.database;try{let e=await l()("SELECT * FROM user_users WHERE user_id=? AND invited_user_id=? AND MATCH(database_access) AGAINST(?)",[s,t.id,a]);if(!e||!e[0])throw Error(`user with id ${t.id} has no access to ${a} database belonging to user ${s}`);let o=(await l()("SELECT * FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=?",[s,t.id,a])).map(e=>e.table),i=await l()("SELECT * FROM users WHERE id=?",[s]),c={rootUserId:s,rootUserName:`${i[0].first_name} ${i[0].last_name}`,rootUserEmail:i[0].email,rootUserImage:i[0].image_thumbnail,delegatedUserId:t.id,databaseFullName:`datasquirel_user_${s}_${a}`,databaseSlug:a,allowedTables:o,priviledges:n,dateCreated:Date.now()},d=u()({data:JSON.stringify(c)}),_=`${process.env.DSQL_USER_DB_PREFIX}${c.rootUserId}_${a}`,p=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${_}`;r.setHeader("Set-Cookie",[`${p}=${d};path=/`]),r.json({success:!0,msg:"Processed Successfully"})}catch(e){return console.log("ERROR:",e.message),_()({component:"/api/getDelegatedDatabaseToken/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Unauthorized"})}}let f=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),m=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getDelegatedDatabaseToken",pathname:"/api/getDelegatedDatabaseToken",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8282,e.ids=[8282],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},94057:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>f,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(20503),u=t.n(c),d=t(48225),_=t.n(d),p=t(6420),E=t.n(p);async function S(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await E()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.rootUserId,n=e.body.priviledges,a=e.body.database;try{let e=await l()("SELECT * FROM user_users WHERE user_id=? AND invited_user_id=? AND MATCH(database_access) AGAINST(?)",[s,t.id,a]);if(!e||!e[0])throw Error(`user with id ${t.id} has no access to ${a} database belonging to user ${s}`);let o=(await l()("SELECT * FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=?",[s,t.id,a])).map(e=>e.table),i=await l()("SELECT * FROM users WHERE id=?",[s]),c={rootUserId:s,rootUserName:`${i[0].first_name} ${i[0].last_name}`,rootUserEmail:i[0].email,rootUserImage:i[0].image_thumbnail,delegatedUserId:t.id,databaseFullName:`datasquirel_user_${s}_${a}`,databaseSlug:a,allowedTables:o,priviledges:n,dateCreated:Date.now()},d=u()({data:JSON.stringify(c)}),_=`${process.env.DSQL_USER_DB_PREFIX}${c.rootUserId}_${a}`,p=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${_}`;r.setHeader("Set-Cookie",[`${p}=${d};path=/`]),r.json({success:!0,msg:"Processed Successfully"})}catch(e){return console.log("ERROR:",e.message),_()({component:"/api/getDelegatedDatabaseToken/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Unauthorized"})}}let f=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),m=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getDelegatedDatabaseToken",pathname:"/api/getDelegatedDatabaseToken",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/getDelegatedDatabases.js b/dsql-app/.local_dist/server/pages/api/getDelegatedDatabases.js index 38733c2..6d83d69 100644 --- a/dsql-app/.local_dist/server/pages/api/getDelegatedDatabases.js +++ b/dsql-app/.local_dist/server/pages/api/getDelegatedDatabases.js @@ -1,8 +1,8 @@ -"use strict";(()=>{var e={};e.id=7258,e.ids=[7258],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,s)=>{Object.defineProperty(s,"M",{enumerable:!0,get:function(){return function e(s,r){return r in s?s[r]:"then"in s&&"function"==typeof s.then?s.then(s=>e(s,r)):"function"==typeof s&&"default"===r?s:void 0}}})},1199:(e,s,r)=>{r.r(s),r.d(s,{config:()=>p,default:()=>d,routeModule:()=>f});var t={};r.r(t),r.d(t,{default:()=>c});var n=r(89947),i=r(2706),a=r(96762),u=r(51348),o=r.n(u),_=r(6420),l=r.n(_);async function c(e,s){if("GET"!==e.method)return s.json({msg:"Failed!"});let r=await l()(e,s);if(!r)return s.json({success:!1,msg:"Unauthorized"});let t=await o()(` +"use strict";(()=>{var e={};e.id=7258,e.ids=[7258],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,s)=>{Object.defineProperty(s,"M",{enumerable:!0,get:function(){return function e(s,r){return r in s?s[r]:"then"in s&&"function"==typeof s.then?s.then(s=>e(s,r)):"function"==typeof s&&"default"===r?s:void 0}}})},1199:(e,s,r)=>{r.r(s),r.d(s,{config:()=>p,default:()=>d,routeModule:()=>f});var t={};r.r(t),r.d(t,{default:()=>c});var n=r(89947),i=r(2706),a=r(96762),u=r(51348),_=r.n(u),o=r(6420),l=r.n(o);async function c(e,s){if("GET"!==e.method)return s.json({msg:"Failed!"});let r=await l()(e,s);if(!r)return s.json({success:!1,msg:"Unauthorized"});let t=await _()(` SELECT user_users.user_id,user_users.database_access,user_users.user_id,user_users.user_priviledge,users.first_name,users.last_name,users.email,users.image_thumbnail FROM user_users JOIN users ON user_users.user_id=users.id WHERE user_users.invited_user_id='${r.id}' - `),n=[];if(t&&t[0])for(let e=0;e`db_slug='${e}'`).join(" OR ")}) AND user_id=${i}`);for(let e=0;e{r(81630);let t=r(51348),n=r(72835),i=r(29021),a=r(31341);async function u(e,s,r,u){let{keyCookieName:o,csrfCookieName:_}=a();if(!e.cookies?.[o]?.match(/./))return null;let l=n({encryptedString:e.cookies[o]});if(!l)return null;let c=JSON.parse(l);if(!c.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${d}/${c.csrf_k}`))return null;if(0==c.verification_status&&!r){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=u},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=s;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=r;let a=s;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:i,csrfCookieName:a+=t}}},72835:(e,s,r)=>{let{scryptSync:t,createDecipheriv:n}=r(55511),{Buffer:i}=r(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=s||process.env.DSQL_ENCRYPTION_PASSWORD,u=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let _=n("aes-192-cbc",t(a,u,o),i.alloc(16,0));try{let s=_.update(e,"hex","utf8");return s+=_.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},51348:(e,s,r)=>{let t=r(9973),n=r(21580),i=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let s=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,s,r)=>{let t=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let s=`${e}/ca-cert.pem`;if(!t.existsSync(s)){console.log(`${s} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,s)=>{var r;Object.defineProperty(s,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,s,r)=>{e.exports=r(75600)}};var s=require("../../webpack-api-runtime.js");s.C(e);var r=s(s.s=1199);module.exports=r})(); \ No newline at end of file + `),n=[];if(t&&t[0])for(let e=0;e`db_slug='${e}'`).join(" OR ")}) AND user_id=${i}`);for(let e=0;e{r(81630);let t=r(51348),n=r(72835),i=r(29021),a=r(31341);async function u(e,s,r,u){let{keyCookieName:_,csrfCookieName:o}=a();if(!e.cookies?.[_]?.match(/./))return null;let l=n({encryptedString:e.cookies[_]});if(!l)return null;let c=JSON.parse(l);if(!c.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${d}/${c.csrf_k}`))return null;if(0==c.verification_status&&!r){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&s.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=u},31341:e=>{e.exports=function(e){let s=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=s;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=r;let u=s;e?.userId&&(u+=`user_${e.userId}_`),i&&(u+=`${i}_`),u+=t;let _=s;return e?.userId&&(_+=`user_${e.userId}_`),i&&(_+=`${i}_`),{keyCookieName:a,csrfCookieName:u,oneTimeCodeName:_+=n}}},72835:(e,s,r)=>{let{scryptSync:t,createDecipheriv:n}=r(55511),{Buffer:i}=r(79428);e.exports=({encryptedString:e,encryptionKey:s,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=s||process.env.DSQL_ENCRYPTION_PASSWORD,u=r||process.env.DSQL_ENCRYPTION_SALT,_=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=n("aes-192-cbc",t(a,u,_),i.alloc(16,0));try{let s=o.update(e,"hex","utf8");return s+=o.final("utf8")}catch(s){return console.log("Error in decrypting =>",s.message),e}}},51348:(e,s,r)=>{let t=r(9973),n=r(21580),i=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let s=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,s,r)=>{let t=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let s=`${e}/ca-cert.pem`;if(!t.existsSync(s)){console.log(`${s} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,s)=>{var r;Object.defineProperty(s,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,s,r)=>{e.exports=r(75600)}};var s=require("../../webpack-api-runtime.js");s.C(e);var r=s(s.s=1199);module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/getDiskUsage.js b/dsql-app/.local_dist/server/pages/api/getDiskUsage.js index e92f6fd..14a2468 100644 --- a/dsql-app/.local_dist/server/pages/api/getDiskUsage.js +++ b/dsql-app/.local_dist/server/pages/api/getDiskUsage.js @@ -1,10 +1,10 @@ -"use strict";(()=>{var e={};e.id=2139,e.ids=[2139],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},12155:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>E,routeModule:()=>h});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),c=t.n(a),l=t(48225),u=t.n(l),d=t(6420),p=t.n(d);let _=t(29021),S=t(33873),{execSync:m}=t(79646);async function f(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{"production".match(/production/);let e=(await c()(` +"use strict";(()=>{var e={};e.id=2139,e.ids=[2139],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},12155:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>f,routeModule:()=>h});var s={};t.r(s),t.d(s,{default:()=>E});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),c=t.n(a),l=t(48225),u=t.n(l),_=t(6420),d=t.n(_);let p=t(29021),S=t(33873),{execSync:m}=t(79646);async function E(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{"production".match(/production/);let e=(await c()(` SELECT table_schema, SUM((data_length+index_length)/1024/1024) AS "mb" from information_schema.tables where table_schema like ? group by table_schema - `,[`datasquirel_user_${t.id}%`])).reduce((e,r,t)=>e?.mb?e.mb+r.mb:e+r.mb,0),n=0,i=process.env.DSQL_STATIC_SERVER_DIR;if(!i)throw console.log("Static File ENV not Found!"),Error("No Static Path!");i||_.existsSync(i)||_.mkdirSync(i,{recursive:!0});let o=S.join(i,`images/user-images/user-${t.id}`);_.existsSync(o)||_.mkdirSync(o,{recursive:!0});let a=S.join(i,`images/user-images/user-${t.id}`),l=S.join(i,`videos/user-videos/user-${t.id}`);async function s(e){try{let r=_.readdirSync(e);for(let t=0;t ${e} DELETED FROM DATABASE`)}}}catch(e){console.log("ERROR in getDiskUsage API route =>",e.message),u()({component:"/api/getDiskUsage/lines-93-101",message:e.message})}}_.existsSync(l)||_.mkdirSync(l,{recursive:!0}),await s(a),await s(l);let d=n+e;r.json({success:!0,total:d})}catch(e){u()({component:"/api/getDiskUsage/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Disk Usage Calculation Error!"})}}let E=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),h=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/getDiskUsage",pathname:"/api/getDiskUsage",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== + `,[`datasquirel_user_${t.id}%`])).reduce((e,r,t)=>e?.mb?e.mb+r.mb:e+r.mb,0),n=0,i=process.env.DSQL_STATIC_SERVER_DIR;if(!i)throw console.log("Static File ENV not Found!"),Error("No Static Path!");i||p.existsSync(i)||p.mkdirSync(i,{recursive:!0});let o=S.join(i,`images/user-images/user-${t.id}`);p.existsSync(o)||p.mkdirSync(o,{recursive:!0});let a=S.join(i,`images/user-images/user-${t.id}`),l=S.join(i,`videos/user-videos/user-${t.id}`);async function s(e){try{let r=p.readdirSync(e);for(let t=0;t ${e} DELETED FROM DATABASE`)}}}catch(e){console.log("ERROR in getDiskUsage API route =>",e.message),u()({component:"/api/getDiskUsage/lines-93-101",message:e.message})}}p.existsSync(l)||p.mkdirSync(l,{recursive:!0}),await s(a),await s(l);let _=n+e;r.json({success:!0,total:_})}catch(e){u()({component:"/api/getDiskUsage/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Disk Usage Calculation Error!"})}}let f=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),h=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/getDiskUsage",pathname:"/api/getDiskUsage",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),i&&(c+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:c+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/getUserDatabaseTables.js b/dsql-app/.local_dist/server/pages/api/getUserDatabaseTables.js index e5038a9..29916d2 100644 --- a/dsql-app/.local_dist/server/pages/api/getUserDatabaseTables.js +++ b/dsql-app/.local_dist/server/pages/api/getUserDatabaseTables.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2312,e.ids=[2312],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34132:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);t(29021),t(33873);let{execSync:_}=t(79646);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT id, table_name, table_slug FROM user_database_tables WHERE user_id='${t.id}' AND db_id='${e.query.dbId}'`);r.json({success:!0,tables:s})}let d=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/getUserDatabaseTables",pathname:"/api/getUserDatabaseTables",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,a,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=34132);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2312,e.ids=[2312],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34132:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>p,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),o=t(2706),i=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);t(29021),t(33873);let{execSync:_}=t(79646);async function d(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT id, table_name, table_slug FROM user_database_tables WHERE user_id='${t.id}' AND db_id='${e.query.dbId}'`);r.json({success:!0,tables:s})}let p=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/getUserDatabaseTables",pathname:"/api/getUserDatabaseTables",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,a,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=34132);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/getUserDatabases.js b/dsql-app/.local_dist/server/pages/api/getUserDatabases.js index 94bc8e9..5d1b349 100644 --- a/dsql-app/.local_dist/server/pages/api/getUserDatabases.js +++ b/dsql-app/.local_dist/server/pages/api/getUserDatabases.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2,e.ids=[2],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},31829:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),i=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);t(29021),t(33873);let{execSync:_}=t(79646);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT id,db_name,db_slug,db_full_name FROM user_databases WHERE user_id='${t.id}'`);r.json({success:!0,databases:s})}let d=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/getUserDatabases",pathname:"/api/getUserDatabases",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,a,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=31829);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2,e.ids=[2],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},31829:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>p,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),o=t(2706),i=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);t(29021),t(33873);let{execSync:_}=t(79646);async function d(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT id,db_name,db_slug,db_full_name FROM user_databases WHERE user_id='${t.id}'`);r.json({success:!0,databases:s})}let p=(0,i.M)(s,"default"),f=(0,i.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/getUserDatabases",pathname:"/api/getUserDatabases",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,a,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=31829);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/getUserMedia.js b/dsql-app/.local_dist/server/pages/api/getUserMedia.js index cb657bc..6210e65 100644 --- a/dsql-app/.local_dist/server/pages/api/getUserMedia.js +++ b/dsql-app/.local_dist/server/pages/api/getUserMedia.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7664,e.ids=[7664],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},77148:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT * FROM user_media WHERE user_id=${t.id} ORDER BY id DESC`);r.json({media:s})}let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/getUserMedia",pathname:"/api/getUserMedia",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=77148);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7664,e.ids=[7664],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},77148:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(51348),u=t.n(a),c=t(6420),l=t.n(c);async function _(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=await u()(`SELECT * FROM user_media WHERE user_id=${t.id} ORDER BY id DESC`);r.json({media:s})}let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/getUserMedia",pathname:"/api/getUserMedia",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),i&&(u+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:u+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,u),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=77148);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/getUserSchemaData.js b/dsql-app/.local_dist/server/pages/api/getUserSchemaData.js index e4d9256..d207610 100644 --- a/dsql-app/.local_dist/server/pages/api/getUserSchemaData.js +++ b/dsql-app/.local_dist/server/pages/api/getUserSchemaData.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2221,e.ids=[2221],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},58301:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>_,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),a=t(2706),o=t(96762);t(39831);var i=t(48225),l=t.n(i),c=t(6420),u=t.n(c);let d=t(29021);async function p(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,s=JSON.parse(d.readFileSync(e,"utf8"));r.json({success:!0,schemaData:s})}catch(e){l()({component:"/api/getUserSchemaData/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Couldn't read schema data"})}}let _=(0,o.M)(s,"default"),S=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getUserSchemaData",pathname:"/api/getUserSchemaData",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:n}){try{let a=t.id,o=null;if(!n?.delegated)return{dbUserId:a};let i=n.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:a=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:a}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2221,e.ids=[2221],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},58301:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>p,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762);t(39831);var i=t(48225),l=t.n(i),c=t(6420),u=t.n(c);let d=t(29021);async function _(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,s=JSON.parse(d.readFileSync(e,"utf8"));r.json({success:!0,schemaData:s})}catch(e){l()({component:"/api/getUserSchemaData/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Couldn't read schema data"})}}let p=(0,o.M)(s,"default"),S=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/getUserSchemaData",pathname:"/api/getUserSchemaData",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:n}){try{let a=t.id,o=null;if(!n?.delegated)return{dbUserId:a};let i=n.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:a=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:a}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/importDatabase.js b/dsql-app/.local_dist/server/pages/api/importDatabase.js index d15b2a3..6a4fd3a 100644 --- a/dsql-app/.local_dist/server/pages/api/importDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/importDatabase.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8675,e.ids=[8675],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},75588:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>g,routeModule:()=>y});var a={};r.r(a),r.d(a,{default:()=>S});var s=r(89947),l=r(2706),n=r(96762),i=r(72350),o=r.n(i),u=r(48225),c=r.n(u),d=r(6420),p=r.n(d);let m=r(29021),f=r(21820),{execSync:_}=r(79646);async function S(e,t){if("POST"!==e.method)return t.json({msg:"Failed!"});let r=await p()(e,t,!0);if(!r)return t.json({success:!1,msg:"Unauthorized"});let{database:a,fileBase64:s}=e.body;a?.db_full_name?.match(/datasquirel_user_.*/)||t.json({success:!1,msg:"Unauthorized"});try{let e=`user-${r.id}-temp-sql`,l=f.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysql.exe'":"mysql";m.writeFileSync(`./.tmp/${e}.sql`,s,"base64");let n={cwd:process.cwd()};f.platform().match(/win/i)&&(n.shell="bash.exe"),_(`${l} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${a.db_full_name} < .tmp/${e}.sql`,n);let i=await o()({database:a,userId:r.id});t.json({success:!!i})}catch(e){console.log(e),c()({component:"/api/importDatabase/catch-error",message:e.message,user:r}),t.json({success:!1,msg:"Import Failed!"})}}let g=(0,n.M)(a,"default"),h=(0,n.M)(a,"config"),y=new s.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/importDatabase",pathname:"/api/importDatabase",bundlePath:"",filename:""},userland:a})},72350:(e,t,r)=>{let a=r(57638),{default:s}=r(2258),{default:l}=r(78634),n=r(47670),i=r(24256);e.exports=async function({userId:e,database:t}){try{if(!e){console.log("No user Id provided");return}let r=s({userId:e});if(!r)throw Error("User schema data not found!");let o=r.filter(e=>e.dbFullName===t.db_full_name)[0],u=await a({database:t.db_full_name,queryString:"SHOW TABLES"});if(!u)throw Error("No Existing Tables");for(let r=0;re.Field===a)[0],u=c.indexes?.filter(e=>e.indexName==r);u&&u[0]?u[0].indexTableFields?.push({value:a,dataType:o.Type.toUpperCase()}):(i.indexTableFields=[{value:a,dataType:o.Type.toUpperCase()}],c.indexes?.push(i))}o.tables.push(c)}return l({schemaData:r,userId:e}),!0}catch(e){return console.log(e),!1}}},6420:(e,t,r)=>{r(81630);let a=r(51348),s=r(72835),l=r(29021),n=r(31341);async function i(e,t,r,i){let{keyCookieName:o,csrfCookieName:u}=n();if(!e.cookies?.[o]?.match(/./))return null;let c=s({encryptedString:e.cookies[o]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!l.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await a(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=t;e?.userId&&(l+=`user_${e.userId}_`),s&&(l+=`${s}_`),l+=r;let n=t;return e?.userId&&(n+=`user_${e.userId}_`),s&&(n+=`${s}_`),{keyCookieName:l,csrfCookieName:n+=a}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},2258:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let a=r(48225),s=r(29021),l=r(33873);function n({userId:e}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(t,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},6061:(e,t,r)=>{let a=r(72835),s=r(30003);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let l=0;l",t.message),e}}},48225:(e,t,r)=>{let a=r(29021),{IncomingMessage:s}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:s,req:l}){let n=new Date,i=(()=>{if(!l)return null;try{let e=l.headers["x-forwarded-for"],t=l.headers["x-real-ip"],r=l.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=r||a||t||l.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8675,e.ids=[8675],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},75588:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>g,routeModule:()=>y});var a={};r.r(a),r.d(a,{default:()=>S});var s=r(89947),l=r(2706),n=r(96762),i=r(72350),o=r.n(i),u=r(48225),c=r.n(u),d=r(6420),p=r.n(d);let m=r(29021),_=r(21820),{execSync:f}=r(79646);async function S(e,t){if("POST"!==e.method)return t.json({msg:"Failed!"});let r=await p()(e,t,!0);if(!r)return t.json({success:!1,msg:"Unauthorized"});let{database:a,fileBase64:s}=e.body;a?.db_full_name?.match(/datasquirel_user_.*/)||t.json({success:!1,msg:"Unauthorized"});try{let e=`user-${r.id}-temp-sql`,l=_.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysql.exe'":"mysql";m.writeFileSync(`./.tmp/${e}.sql`,s,"base64");let n={cwd:process.cwd()};_.platform().match(/win/i)&&(n.shell="bash.exe"),f(`${l} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${a.db_full_name} < .tmp/${e}.sql`,n);let i=await o()({database:a,userId:r.id});t.json({success:!!i})}catch(e){console.log(e),c()({component:"/api/importDatabase/catch-error",message:e.message,user:r}),t.json({success:!1,msg:"Import Failed!"})}}let g=(0,n.M)(a,"default"),h=(0,n.M)(a,"config"),y=new s.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/importDatabase",pathname:"/api/importDatabase",bundlePath:"",filename:""},userland:a})},72350:(e,t,r)=>{let a=r(57638),{default:s}=r(2258),{default:l}=r(78634),n=r(47670),i=r(24256);e.exports=async function({userId:e,database:t}){try{if(!e){console.log("No user Id provided");return}let r=s({userId:e});if(!r)throw Error("User schema data not found!");let o=r.filter(e=>e.dbFullName===t.db_full_name)[0],u=await a({database:t.db_full_name,queryString:"SHOW TABLES"});if(!u)throw Error("No Existing Tables");for(let r=0;re.Field===a)[0],u=c.indexes?.filter(e=>e.indexName==r);u&&u[0]?u[0].indexTableFields?.push({value:a,dataType:o.Type.toUpperCase()}):(i.indexTableFields=[{value:a,dataType:o.Type.toUpperCase()}],c.indexes?.push(i))}o.tables.push(c)}return l({schemaData:r,userId:e}),!0}catch(e){return console.log(e),!1}}},6420:(e,t,r)=>{r(81630);let a=r(51348),s=r(72835),l=r(29021),n=r(31341);async function i(e,t,r,i){let{keyCookieName:o,csrfCookieName:u}=n();if(!e.cookies?.[o]?.match(/./))return null;let c=s({encryptedString:e.cookies[o]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!l.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await a(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",l=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=t;e?.userId&&(n+=`user_${e.userId}_`),l&&(n+=`${l}_`),n+=r;let i=t;e?.userId&&(i+=`user_${e.userId}_`),l&&(i+=`${l}_`),i+=a;let o=t;return e?.userId&&(o+=`user_${e.userId}_`),l&&(o+=`${l}_`),{keyCookieName:n,csrfCookieName:i,oneTimeCodeName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},2258:(e,t,r)=>{let a=r(48225),s=r(29021),l=r(33873);e.exports=function({userId:e}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(t,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},6061:(e,t,r)=>{let a=r(72835),s=r(30003);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let l=0;l",t.message),e}}},48225:(e,t,r)=>{let a=r(29021),{IncomingMessage:s}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:s,req:l}){let n=new Date,i=(()=>{if(!l)return null;try{let e=l.headers["x-forwarded-for"],t=l.headers["x-real-ip"],r=l.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=r||a||t||l.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${n.toDateString()} -${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},78634:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let a=r(48225),s=r(29021),l=r(33873);function n({userId:e,schemaData:t}){try{let r=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return s.writeFileSync(r,JSON.stringify(t),"utf8"),!0}catch(e){return a({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}},57638:(e,t,r)=>{r(29021);let a=r(6061),s=r(48225),l=r(51348),n=r(21339),i=r(44900);e.exports=async function({queryString:e,queryValuesArray:t,database:r,tableSchema:o,useLocal:u}){let c;let d=!!u||!!r?.match(/^datasquirel$/),p=u?i:d?l:n;try{c=e&&t&&Array.isArray(t)&&t[0]?d?await p(e,t):await p({paradigm:"Full Access",database:r,queryString:e,queryValues:t}):d?await p(e):await p({paradigm:"Full Access",database:r,queryString:e})}catch(e){s({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&o)try{let e=c;return await a({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",r,e),s({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},72835:(e,t,r)=>{let{scryptSync:a,createDecipheriv:s}=r(55511),{Buffer:l}=r(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=s("aes-192-cbc",a(n,i,o),l.alloc(16,0));try{let t=u.update(e,"hex","utf8");return t+=u.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},24256:e=>{e.exports=function(e){return e?e.split("-").filter(e=>""!==e).map(e=>e.substr(0,1).toUpperCase()+e.substr(1).toLowerCase()).join(" "):null}}};var t=require("../../webpack-api-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[4050],()=>r(75588));module.exports=a})(); \ No newline at end of file +${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},78634:(e,t,r)=>{let a=r(48225),s=r(29021),l=r(33873);e.exports=function({userId:e,schemaData:t}){try{let r=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return s.writeFileSync(r,JSON.stringify(t),"utf8"),!0}catch(e){return a({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}},57638:(e,t,r)=>{r(29021);let a=r(6061),s=r(48225),l=r(51348),n=r(21339),i=r(44900);e.exports=async function({queryString:e,queryValuesArray:t,database:r,tableSchema:o,useLocal:u}){let c;let d=!!u||!!r?.match(/^datasquirel$/),p=u?i:d?l:n;try{c=e&&t&&Array.isArray(t)&&t[0]?d?await p(e,t):await p({paradigm:"Full Access",database:r,queryString:e,queryValues:t}):d?await p(e):await p({paradigm:"Full Access",database:r,queryString:e})}catch(e){s({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&o)try{let e=c;return await a({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",r,e),s({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},72835:(e,t,r)=>{let{scryptSync:a,createDecipheriv:s}=r(55511),{Buffer:l}=r(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=r||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=s("aes-192-cbc",a(n,i,o),l.alloc(16,0));try{let t=u.update(e,"hex","utf8");return t+=u.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},24256:e=>{e.exports=function(e){return e?e.split("-").filter(e=>""!==e).map(e=>e.substr(0,1).toUpperCase()+e.substr(1).toLowerCase()).join(" "):null}}};var t=require("../../webpack-api-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[4050],()=>r(75588));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/importDatabaseSchema.js b/dsql-app/.local_dist/server/pages/api/importDatabaseSchema.js index 311e1b2..6ba1dd6 100644 --- a/dsql-app/.local_dist/server/pages/api/importDatabaseSchema.js +++ b/dsql-app/.local_dist/server/pages/api/importDatabaseSchema.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3382,e.ids=[3382],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},56807:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>E,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>m});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),u=t.n(i),c=t(6420),l=t.n(c),_=t(19261),p=t.n(_);let d=t(29021),f=t(33873);t(21820);let{execSync:S}=t(79646);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{database:s,fileBase64:n}=e.body;s?.db_full_name?.match(/datasquirel_user_.*/)||r.json({success:!1,msg:"Unauthorized"});try{let e=Buffer.from(n,"base64").toString("utf-8"),a=JSON.parse(e),o=f.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${t.id}/main.json`);if(!d.existsSync(o))return r.end();let i=JSON.parse(d.readFileSync(o,"utf-8")),u=i.find(e=>e.dbFullName==s.db_full_name);if(!u)throw Error("Database not found!");u.tables=a.tables,d.writeFileSync(o,JSON.stringify(i),"utf-8"),await p()({userId:t.id,targetDatabase:s.db_full_name}),r.json({success:!0})}catch(e){console.log("JSON import ERROR =>",e.message),u()({component:"/api/importDatabase/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Import Failed!"})}}let E=(0,o.M)(s,"default"),P=(0,o.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/importDatabaseSchema",pathname:"/api/importDatabaseSchema",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(56807));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3382,e.ids=[3382],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},56807:(e,r,t)=>{t.r(r),t.d(r,{config:()=>D,default:()=>E,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>m});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),u=t.n(i),c=t(6420),l=t.n(c),_=t(19261),d=t.n(_);let p=t(29021),f=t(33873);t(21820);let{execSync:S}=t(79646);async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{database:s,fileBase64:n}=e.body;s?.db_full_name?.match(/datasquirel_user_.*/)||r.json({success:!1,msg:"Unauthorized"});try{let e=Buffer.from(n,"base64").toString("utf-8"),a=JSON.parse(e),o=f.resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${t.id}/main.json`);if(!p.existsSync(o))return r.end();let i=JSON.parse(p.readFileSync(o,"utf-8")),u=i.find(e=>e.dbFullName==s.db_full_name);if(!u)throw Error("Database not found!");u.tables=a.tables,p.writeFileSync(o,JSON.stringify(i),"utf-8"),await d()({userId:t.id,targetDatabase:s.db_full_name}),r.json({success:!0})}catch(e){console.log("JSON import ERROR =>",e.message),u()({component:"/api/importDatabase/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Import Failed!"})}}let E=(0,o.M)(s,"default"),D=(0,o.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/importDatabaseSchema",pathname:"/api/importDatabaseSchema",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:u,csrfCookieName:c}=o();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),a&&(u+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:u+=n}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(56807));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/infiniteScroll.js b/dsql-app/.local_dist/server/pages/api/infiniteScroll.js index 158ccd8..4dc08e3 100644 --- a/dsql-app/.local_dist/server/pages/api/infiniteScroll.js +++ b/dsql-app/.local_dist/server/pages/api/infiniteScroll.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8932,e.ids=[8932],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},22790:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>m,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>f});var a=t(89947),n=t(2706),o=t(96762),l=t(6420),c=t.n(l),i=t(48225),u=t.n(i);t(27825);var d=t(39831),_=t.n(d),p=t(57638),S=t.n(p);async function f(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await c()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body;try{let a=await _()({databaseSlug:s.dbName,request:e,user:t,query:e.query}),n=a?a?.rootUserId?a.rootUserId:a.dbUserId:null;if(!n)throw Error("User not Found!");let o=`datasquirel_user_${n}_${s.dbName}`,l=s.tableName,c=s.page,i=20*c,u=`SELECT * FROM ${l}`,d=[];s.search&&s.searchField&&(u+=` WHERE LOWER(\`${s.searchField.toLowerCase().replace(/ /g,"_")}\`) LIKE ?`,d.push(`%${s.search.toLowerCase()}%`)),u+=` ORDER BY id DESC LIMIT 20 OFFSET ${i}`;let p=await S()({database:o,queryString:u,queryValuesArray:d,tableSchema:s.tableSchema}),f={success:!0,data:p,page:Number(c)+1};r.json(f)}catch(e){u()({component:"/api/infiniteScroll/catch-error",message:e.message,user:t}),r.json({success:!1,data:null})}}t(29021);let m=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),g=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/infiniteScroll",pathname:"/api/infiniteScroll",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,c=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,i=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${c}`;try{if(!e.cookies?.[i])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[i]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:c,csrfCookieName:i}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=a({encryptedString:e.cookies[c]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,l=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8932,e.ids=[8932],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},22790:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>E,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>f});var a=t(89947),n=t(2706),o=t(96762),l=t(6420),c=t.n(l),i=t(48225),u=t.n(i);t(27825);var d=t(39831),_=t.n(d),p=t(57638),S=t.n(p);async function f(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await c()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body;try{let a=await _()({databaseSlug:s.dbName,request:e,user:t,query:e.query}),n=a?a?.rootUserId?a.rootUserId:a.dbUserId:null;if(!n)throw Error("User not Found!");let o=`datasquirel_user_${n}_${s.dbName}`,l=s.tableName,c=s.page,i=20*c,u=`SELECT * FROM ${l}`,d=[];s.search&&s.searchField&&(u+=` WHERE LOWER(\`${s.searchField.toLowerCase().replace(/ /g,"_")}\`) LIKE ?`,d.push(`%${s.search.toLowerCase()}%`)),u+=` ORDER BY id DESC LIMIT 20 OFFSET ${i}`;let p=await S()({database:o,queryString:u,queryValuesArray:d,tableSchema:s.tableSchema}),f={success:!0,data:p,page:Number(c)+1};r.json(f)}catch(e){u()({component:"/api/infiniteScroll/catch-error",message:e.message,user:t}),r.json({success:!1,data:null})}}t(29021);let E=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),D=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/infiniteScroll",pathname:"/api/infiniteScroll",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,c=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,i=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${c}`;try{if(!e.cookies?.[i])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[i]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:c,csrfCookieName:i}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=a({encryptedString:e.cookies[c]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),n&&(c+=`${n}_`),{keyCookieName:o,csrfCookieName:l,oneTimeCodeName:c+=a}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,l=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/loginUser.js b/dsql-app/.local_dist/server/pages/api/loginUser.js index 858e44a..d98f027 100644 --- a/dsql-app/.local_dist/server/pages/api/loginUser.js +++ b/dsql-app/.local_dist/server/pages/api/loginUser.js @@ -1,7 +1,7 @@ -"use strict";(()=>{var e={};e.id=3303,e.ids=[3303],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},95122:(e,r,t)=>{t.r(r),t.d(r,{config:()=>b,default:()=>D,routeModule:()=>R});var s={};t.r(s),t.d(s,{default:()=>A});var i=t(89947),a=t(2706),n=t(96762),o=t(51348),l=t.n(o),u=t(44767),d=t.n(u),_=t(48225),m=t.n(_),c=t(59474),p=t.n(c),g=t(91766),f=t.n(g),S=t(31341),E=t.n(S),h=t(14533),y=t.n(h);let L=t(29021),v=t(20503);async function A(e,r){if("POST"===e.method){let t=e.body,s=t.email,i=t.password,a=t.query;if(s.match(/ /))return r.json({user:null,msg:"Invalid Email"});try{let t=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!t)throw Error("loginUser error: process.env.DSQL_USER_LOGIN_KEYS_PATH not present");L.existsSync(t)||L.mkdirSync(t,{recursive:!0});let n=e.headers["x-real-ip"]||e.headers["x-forwarded-for"]||e.connection.remoteAddress,o=process.env.DSQL_HOST||"https://datasquirel.com",u=y()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:i});if(i?.match(/ /)||s?.match(/ /))return r.json({msg:"Failed!",user:null});let _=await l()("SELECT * FROM users WHERE email=? OR username=?",[s,s]);if(!_||!_[0])return r.json({msg:"No user found",user:null});let m=!1;if(_&&_[0]&&(m=u===_[0].password),!m)return await f()(),p()({to:process.env.DSQL_CONTACT_EMAIL,subject:`Failed Login from ${s}`,html:`

${s} tried to login with a wrong password

${s} attempted a login on ${o} from ${n} with a wrong password.

`}),r.json({msg:"Wrong Password, Wrong Social Media Credentials",user:null});let c=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),g={id:_[0].id,stripe_id:_[0].stripe_id||"",first_name:_[0].first_name,last_name:_[0].last_name,username:_[0].username,email:_[0].email,social_id:_[0].social_id,image:_[0].image,image_thumbnail:_[0].image_thumbnail,verification_status:_[0].verification_status,social_login:_[0].social_login,social_platform:_[0].social_platform,csrf_k:c,logged_in_status:!0,date:Date.now()},S=v({data:JSON.stringify(g)}),{keyCookieName:h,csrfCookieName:A}=E()();r.setHeader("Set-Cookie",[`${h}=${S};samesite=strict;path=/;HttpOnly=true;Secure=true`,`${A}=${c};samesite=strict;path=/;HttpOnly=true`]),L.appendFile("./.tmp/userLoginLogs.log",`${_[0].first_name} ${_[0].last_name} Logged in from ${_[0].social_login?_[0].social_platform:"Regular Email Login"} at ${Date()} +"use strict";(()=>{var e={};e.id=3303,e.ids=[3303],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},95122:(e,r,t)=>{t.r(r),t.d(r,{config:()=>O,default:()=>D,routeModule:()=>$});var s={};t.r(s),t.d(s,{default:()=>A});var i=t(89947),a=t(2706),n=t(96762),o=t(51348),l=t.n(o),u=t(44767),d=t.n(u),_=t(48225),m=t.n(_),c=t(59474),p=t.n(c),g=t(91766),f=t.n(g),E=t(31341),S=t.n(E),h=t(14533),L=t.n(h);let v=t(29021),y=t(20503);async function A(e,r){if("POST"===e.method){let t=e.body,s=t.email,i=t.password,a=t.query;if(s.match(/ /))return r.json({user:null,msg:"Invalid Email"});try{let t=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!t)throw Error("loginUser error: process.env.DSQL_USER_LOGIN_KEYS_PATH not present");v.existsSync(t)||v.mkdirSync(t,{recursive:!0});let n=e.headers["x-real-ip"]||e.headers["x-forwarded-for"]||e.connection.remoteAddress,o=process.env.DSQL_HOST||"https://datasquirel.com",u=L()({encryptionKey:process.env.DSQL_ENCRYPTION_PASSWORD||"",password:i});if(i?.match(/ /)||s?.match(/ /))return r.json({msg:"Failed!",user:null});let _=await l()("SELECT * FROM users WHERE email=? OR username=?",[s,s]);if(!_||!_[0])return r.json({msg:"No user found",user:null});let m=!1;if(_&&_[0]&&(m=u===_[0].password),!m)return await f()(),p()({to:process.env.DSQL_CONTACT_EMAIL,subject:`Failed Login from ${s}`,html:`

${s} tried to login with a wrong password

${s} attempted a login on ${o} from ${n} with a wrong password.

`}),r.json({msg:"Wrong Password, Wrong Social Media Credentials",user:null});let c=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),g={id:_[0].id,stripe_id:_[0].stripe_id||"",first_name:_[0].first_name,last_name:_[0].last_name,username:_[0].username,email:_[0].email,social_id:_[0].social_id,image:_[0].image,image_thumbnail:_[0].image_thumbnail,verification_status:_[0].verification_status,social_login:_[0].social_login,social_platform:_[0].social_platform,csrf_k:c,logged_in_status:!0,date:Date.now()},E=y({data:JSON.stringify(g)}),{keyCookieName:h,csrfCookieName:A}=S()();r.setHeader("Set-Cookie",[`${h}=${E};samesite=strict;path=/;HttpOnly=true;Secure=true`,`${A}=${c};samesite=strict;path=/;HttpOnly=true`]),v.appendFile("./.tmp/userLoginLogs.log",`${_[0].first_name} ${_[0].last_name} Logged in from ${_[0].social_login?_[0].social_platform:"Regular Email Login"} at ${Date()} -`,"utf8",e=>{e&&console.log("Loging log write error")}),L.writeFileSync(`${t}/${c}`,JSON.stringify(g)),a?.invite&&d()({query:a,user:{...g,phone:_[0].phone}}),await f()(),p()({to:process.env.DSQL_CONTACT_EMAIL,subject:`${s} Logged in successfully`,html:`

${s} successfully logged in

${s} successfully logged in on ${o} from ${n} on ${Date().substring(0,16)}.

`}),r.json({msg:"User Found",user:{auth:!0,userid:_[0].id,csrf_k:c,stripe_id:_[0].stripe_id||""},userPayload:g})}catch(e){console.log("Login Error =>",e.message),m()({component:"/api/loginUser/main-catch-error",message:e.message,user:{email:s}})}}else r.json({msg:"Oops ..."})}let D=(0,n.M)(s,"default"),b=(0,n.M)(s,"config"),R=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/loginUser",pathname:"/api/loginUser",bundlePath:"",filename:""},userland:s})},91766:e=>{e.exports=async function(e){return await new Promise((r,t)=>{setTimeout(()=>{r(!0)},e||1e3)}),!0}},44767:(e,r,t)=>{let s=t(48225),i=t(51348),a=t(47670),n=t(44900);e.exports=async function({query:e,user:r,useLocal:t}){try{let s=t?n:i,{invite:o,database_access:l,priviledge:u,email:d}=e,_=[o,d],m=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",_);if(!m||!m[0])throw Error("No Invitation Found");let c=[o],p=await s("SELECT first_name,last_name,email FROM users WHERE id=?",c);if(p?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[o,r.id,d]);if(e?.[0])console.log("User already added");else{a({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:o,invited_user_id:r.id,database_access:l,first_name:r.first_name,last_name:r.last_name,phone:r.phone,email:r.email,username:r.username,user_type:"admin",user_priviledge:u,image:r.image,image_thumbnail:r.image_thumbnail},useLocal:t});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[o,d]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[o,r.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=t;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),{keyCookieName:a,csrfCookieName:n+=s}}},59474:(e,r,t)=>{let s=t(29021),i=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:r,text:t,html:a,alias:n}){let o;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let l=(n?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let u=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,a||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${l}>`,s.sender=l,n&&(s["replyTo "]=l),s.to=e,s.subject=r,s.text=t,s.html=u,o=await i.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return o}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:a}){let n=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||a.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +`,"utf8",e=>{e&&console.log("Loging log write error")}),v.writeFileSync(`${t}/${c}`,JSON.stringify(g)),a?.invite&&d()({query:a,user:{...g,phone:_[0].phone}}),await f()(),p()({to:process.env.DSQL_CONTACT_EMAIL,subject:`${s} Logged in successfully`,html:`

${s} successfully logged in

${s} successfully logged in on ${o} from ${n} on ${Date().substring(0,16)}.

`}),r.json({msg:"User Found",user:{auth:!0,userid:_[0].id,csrf_k:c,stripe_id:_[0].stripe_id||""},userPayload:g})}catch(e){console.log("Login Error =>",e.message),m()({component:"/api/loginUser/main-catch-error",message:e.message,user:{email:s}})}}else r.json({msg:"Oops ..."})}let D=(0,n.M)(s,"default"),O=(0,n.M)(s,"config"),$=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/loginUser",pathname:"/api/loginUser",bundlePath:"",filename:""},userland:s})},91766:e=>{e.exports=async function(e){return await new Promise((r,t)=>{setTimeout(()=>{r(!0)},e||1e3)}),!0}},44767:(e,r,t)=>{let s=t(48225),i=t(51348),a=t(47670),n=t(44900);e.exports=async function({query:e,user:r,useLocal:t}){try{let s=t?n:i,{invite:o,database_access:l,priviledge:u,email:d}=e,_=[o,d],m=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",_);if(!m||!m[0])throw Error("No Invitation Found");let c=[o],p=await s("SELECT first_name,last_name,email FROM users WHERE id=?",c);if(p?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[o,r.id,d]);if(e?.[0])console.log("User already added");else{a({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:o,invited_user_id:r.id,database_access:l,first_name:r.first_name,last_name:r.last_name,phone:r.phone,email:r.email,username:r.username,user_type:"admin",user_priviledge:u,image:r.image,image_thumbnail:r.image_thumbnail},useLocal:t});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[o,d]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[o,r.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:n,csrfCookieName:o,oneTimeCodeName:l+=i}}},59474:(e,r,t)=>{let s=t(29021),i=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:r,text:t,html:a,alias:n}){let o;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let l=(n?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let u=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,a||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${l}>`,s.sender=l,n&&(s["replyTo "]=l),s.to=e,s.subject=r,s.text=t,s.html=u,o=await i.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return o}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:a}){let n=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||s||r||a.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/logoutUser.js b/dsql-app/.local_dist/server/pages/api/logoutUser.js index df68f1c..bafcf4b 100644 --- a/dsql-app/.local_dist/server/pages/api/logoutUser.js +++ b/dsql-app/.local_dist/server/pages/api/logoutUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=528,e.ids=[528],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},22380:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>l,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>c});var n=t(89947),o=t(2706),i=t(96762);t(6420);var a=t(31341),u=t.n(a);async function c(e,r){if("GET"!==e.method)return r.json({msg:"Logout Error"});{let{keyCookieName:e,csrfCookieName:t}=u()();r.setHeader("Set-Cookie",[`${e}=null;max-age=0`,`${t}=null;max-age=0`]),r.json({msg:"Logged Out"})}}t(29021);let l=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/logoutUser",pathname:"/api/logoutUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,a,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=22380);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=528,e.ids=[528],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},22380:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>l,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>c});var n=t(89947),o=t(2706),i=t(96762);t(6420);var u=t(31341),a=t.n(u);async function c(e,r){if("GET"!==e.method)return r.json({msg:"Logout Error"});{let{keyCookieName:e,csrfCookieName:t}=a()();r.setHeader("Set-Cookie",[`${e}=null;max-age=0`,`${t}=null;max-age=0`]),r.json({msg:"Logged Out"})}}t(29021);let l=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/logoutUser",pathname:"/api/logoutUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function u(e,r,t,u){let{keyCookieName:a,csrfCookieName:c}=i();if(!e.cookies?.[a]?.match(/./))return null;let l=n({encryptedString:e.cookies[a]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=u},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let u=r;e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),u+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:i,csrfCookieName:u,oneTimeCodeName:a+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,u=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!u?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(i,u,a),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=22380);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/media/addPrivateMedia.js b/dsql-app/.local_dist/server/pages/api/media/addPrivateMedia.js index 63b99bb..95ce05e 100644 --- a/dsql-app/.local_dist/server/pages/api/media/addPrivateMedia.js +++ b/dsql-app/.local_dist/server/pages/api/media/addPrivateMedia.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2678,e.ids=[2678],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},10304:(e,r,s)=>{s.r(r),s.d(r,{config:()=>f,default:()=>m,routeModule:()=>E});var t={};s.r(t),s.d(t,{default:()=>S});var i=s(89947),n=s(2706),a=s(96762),o=s(51348),c=s.n(o),u=s(6420),l=s.n(u),d=s(33873),_=s.n(d);let p=s(29021);async function S(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});let s=await l()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let t=e.body;if(t.media_url?.match(/\.\./)||t.folder?.match(/\.\./)||t.id?.toString()?.match(/\.\./))return r.json({success:!1,msg:"Error!",error:"Invalid url"});try{let e=t?.private==1,i=e?t?.media_path?.replace(/\@\/media/i,"")||t?.media_url.replace(/\@\/media/i,""):t?.media_path?.match(/\/user-images\/user-.*/)||t?.media_url?.match(/\/user-images\/user-.*/),n=t.folder?`/${t.folder}`:"",a=process.env.DSQL_STATIC_SERVER_DIR;if(!a)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let o=_().join(a,"images"),u=`${process.env.DSQL_STATIC_HOST}/images/user-images/user-${s.id}`,l=`/images/user-images/user-${s.id}`,d=(e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/media`:o)+i,S=e?`${o}/user-images/user-${s.id}`:`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/media`;if(!p.existsSync(S))try{p.mkdirSync(S,{recursive:!0})}catch(e){console.log("LINE 88 error:",e.message)}n&&n.split("/").reduce((e,r)=>{let s=e?.match(/./)?`${e}/${r}`:S;return p.existsSync(s)||p.mkdirSync(s,{recursive:!0}),s},"");let m=d?.match(/[^\/]+$/)?.[0];if(!m)throw Error("No File Name Detected!");let f=m.split(".")[0],E=m.split(".")[1],v=e?`${u}${n?n+"/":"/"}${m}`:`@/media${n?n+"/":"/"}${m}`,h=e?`${l}${n?n+"/":"/"}${m}`:`@/media${n?n+"/":"/"}${m}`,$=S+n+"/"+m;p.copyFileSync(d,$),p.unlinkSync(d);let P=f+"_thumbnail."+E,g=d.replace(m,P),D=e?`${u}${n?n+"/":"/"}${P}`:`@/media${n?n+"/":"/"}${P}`,A=e?`${l}${n?n+"/":"/"}${P}`:`@/media${n?n+"/":"/"}${P}`;try{p.copyFileSync(g,S+n+"/"+P),p.unlinkSync(g)}catch(e){}await c()("UPDATE user_media SET private = ?, media_url= ?, media_thumbnail_url= ?, media_path = ?, media_thumbnail_path = ? WHERE id = ?",[e?0:1,v,D,h,A,t.id]),r.json({success:!0,msg:"Success!"})}catch(e){console.log(e.message),r.json({success:!1,msg:"Error!",error:e})}}let m=(0,a.M)(t,"default"),f=(0,a.M)(t,"config"),E=new i.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/media/addPrivateMedia",pathname:"/api/media/addPrivateMedia",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),i=s(72835),n=s(29021),a=s(31341);async function o(e,r,s,o){let{keyCookieName:c,csrfCookieName:u}=a();if(!e.cookies?.[c]?.match(/./))return null;let l=i({encryptedString:e.cookies[c]});if(!l)return null;let d=JSON.parse(l);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),i&&(n+=`${i}_`),n+=s;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),{keyCookieName:n,csrfCookieName:a+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:i}=s(55511),{Buffer:n}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",t(a,o,c),n.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),i=s(21580),n=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:i()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=10304);module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2678,e.ids=[2678],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},10304:(e,r,s)=>{s.r(r),s.d(r,{config:()=>E,default:()=>m,routeModule:()=>f});var t={};s.r(t),s.d(t,{default:()=>S});var i=s(89947),n=s(2706),a=s(96762),o=s(51348),c=s.n(o),u=s(6420),l=s.n(u),d=s(33873),_=s.n(d);let p=s(29021);async function S(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});let s=await l()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let t=e.body;if(t.media_url?.match(/\.\./)||t.folder?.match(/\.\./)||t.id?.toString()?.match(/\.\./))return r.json({success:!1,msg:"Error!",error:"Invalid url"});try{let e=t?.private==1,i=e?t?.media_path?.replace(/\@\/media/i,"")||t?.media_url.replace(/\@\/media/i,""):t?.media_path?.match(/\/user-images\/user-.*/)||t?.media_url?.match(/\/user-images\/user-.*/),n=t.folder?`/${t.folder}`:"",a=process.env.DSQL_STATIC_SERVER_DIR;if(!a)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let o=_().join(a,"images"),u=`${process.env.DSQL_STATIC_HOST}/images/user-images/user-${s.id}`,l=`/images/user-images/user-${s.id}`,d=(e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/media`:o)+i,S=e?`${o}/user-images/user-${s.id}`:`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/media`;if(!p.existsSync(S))try{p.mkdirSync(S,{recursive:!0})}catch(e){console.log("LINE 88 error:",e.message)}n&&n.split("/").reduce((e,r)=>{let s=e?.match(/./)?`${e}/${r}`:S;return p.existsSync(s)||p.mkdirSync(s,{recursive:!0}),s},"");let m=d?.match(/[^\/]+$/)?.[0];if(!m)throw Error("No File Name Detected!");let E=m.split(".")[0],f=m.split(".")[1],v=e?`${u}${n?n+"/":"/"}${m}`:`@/media${n?n+"/":"/"}${m}`,$=e?`${l}${n?n+"/":"/"}${m}`:`@/media${n?n+"/":"/"}${m}`,h=S+n+"/"+m;p.copyFileSync(d,h),p.unlinkSync(d);let D=E+"_thumbnail."+f,P=d.replace(m,D),g=e?`${u}${n?n+"/":"/"}${D}`:`@/media${n?n+"/":"/"}${D}`,A=e?`${l}${n?n+"/":"/"}${D}`:`@/media${n?n+"/":"/"}${D}`;try{p.copyFileSync(P,S+n+"/"+D),p.unlinkSync(P)}catch(e){}await c()("UPDATE user_media SET private = ?, media_url= ?, media_thumbnail_url= ?, media_path = ?, media_thumbnail_path = ? WHERE id = ?",[e?0:1,v,g,$,A,t.id]),r.json({success:!0,msg:"Success!"})}catch(e){console.log(e.message),r.json({success:!1,msg:"Error!",error:e})}}let m=(0,a.M)(t,"default"),E=(0,a.M)(t,"config"),f=new i.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/media/addPrivateMedia",pathname:"/api/media/addPrivateMedia",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),i=s(72835),n=s(29021),a=s(31341);async function o(e,r,s,o){let{keyCookieName:c,csrfCookieName:u}=a();if(!e.cookies?.[c]?.match(/./))return null;let l=i({encryptedString:e.cookies[c]});if(!l)return null;let d=JSON.parse(l);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),n&&(c+=`${n}_`),{keyCookieName:a,csrfCookieName:o,oneTimeCodeName:c+=i}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:i}=s(55511),{Buffer:n}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",t(a,o,c),n.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),i=s(21580),n=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:i()}});async function a(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=r(r.s=10304);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/media/getPrivateMedia.js b/dsql-app/.local_dist/server/pages/api/media/getPrivateMedia.js index cf90e05..d0c15ee 100644 --- a/dsql-app/.local_dist/server/pages/api/media/getPrivateMedia.js +++ b/dsql-app/.local_dist/server/pages/api/media/getPrivateMedia.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2127,e.ids=[2127],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},97243:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>_,routeModule:()=>d});var s={};t.r(s),t.d(s,{default:()=>l});var n=t(89947),o=t(2706),i=t(96762),a=t(6420),c=t.n(a);let u=t(29021);async function l(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});let t=await c()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{let s=JSON.parse(e.body).path.replace(/ /g,"").replace(/\.\./g,"");if(s?.match(/\.\./))return r.json({success:!1,msg:"Error!",error:"Invalid url"});let n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id.toString().replace(/\//g,"")}`,o=s.replace(/\@/,n);u.createReadStream(o).pipe(r)}catch(e){console.log("ERROR in getPrivateMedia api route:",e.message),r.json({success:!1,msg:"Error!",error:e})}}let _=(0,i.M)(s,"default"),p=(0,i.M)(s,"config"),d=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/media/getPrivateMedia",pathname:"/api/media/getPrivateMedia",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=97243);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2127,e.ids=[2127],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},97243:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>_,routeModule:()=>d});var s={};t.r(s),t.d(s,{default:()=>l});var n=t(89947),o=t(2706),i=t(96762),a=t(6420),c=t.n(a);let u=t(29021);async function l(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});let t=await c()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});try{let s=JSON.parse(e.body).path.replace(/ /g,"").replace(/\.\./g,"");if(s?.match(/\.\./))return r.json({success:!1,msg:"Error!",error:"Invalid url"});let n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id.toString().replace(/\//g,"")}`,o=s.replace(/\@/,n);u.createReadStream(o).pipe(r)}catch(e){console.log("ERROR in getPrivateMedia api route:",e.message),r.json({success:!1,msg:"Error!",error:e})}}let _=(0,i.M)(s,"default"),p=(0,i.M)(s,"config"),d=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/media/getPrivateMedia",pathname:"/api/media/getPrivateMedia",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:i,csrfCookieName:a,oneTimeCodeName:c+=n}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=97243);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/purgeDb.js b/dsql-app/.local_dist/server/pages/api/purgeDb.js index cc54c08..9f23c7f 100644 --- a/dsql-app/.local_dist/server/pages/api/purgeDb.js +++ b/dsql-app/.local_dist/server/pages/api/purgeDb.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3338,e.ids=[3338],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},97447:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>E,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),o=t(2706),i=t(96762),c=t(29021),a=t.n(c),l=t(51348),u=t.n(l),_=t(6420),p=t.n(_),d=t(33873),f=t.n(d);async function S(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await p()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{paradigm:t,payload:s}=e.body;try{console.log("Deleting media =>",s.id);let e=s.media_url,t=process.env.DSQL_STATIC_SERVER_DIR,n=process.env.DSQL_STATIC_HOST;if(!t){console.log("No Static Root Path"),r.json({success:!1,msg:"No Static Root Path"});return}let o=e.replace(n,""),i=f().join(t,o),c=a().existsSync(i);if(console.log("relativePath",o),console.log("STATIC_ROOT",t),console.log("STATIC_HOST",n),console.log("filePath",i),console.log("fileExist",c),c){r.json({success:!1});return}}catch(e){console.log("File verification Error =>",e.message),console.log("File Truly doesn't exist, cotinuing ...")}"user_media"===t&&await u()(`DELETE FROM user_media WHERE id='${s.id}'`),r.json({success:!0})}let E=(0,i.M)(s,"default"),P=(0,i.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/purgeDb",pathname:"/api/purgeDb",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function c(e,r,t,c){let{keyCookieName:a,csrfCookieName:l}=i();if(!e.cookies?.[a]?.match(/./))return null;let u=n({encryptedString:e.cookies[a]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(i,c,a),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=97447);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3338,e.ids=[3338],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},97447:(e,r,s)=>{s.r(r),s.d(r,{config:()=>v,default:()=>E,routeModule:()=>D});var t={};s.r(t),s.d(t,{default:()=>f});var n=s(89947),o=s(2706),i=s(96762),c=s(29021),a=s.n(c),l=s(51348),u=s.n(l),_=s(6420),d=s.n(_),p=s(33873),S=s.n(p);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await d()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{paradigm:s,payload:t}=e.body;try{console.log("Deleting media =>",t.id);let e=t.media_url,s=process.env.DSQL_STATIC_SERVER_DIR,n=process.env.DSQL_STATIC_HOST;if(!s){console.log("No Static Root Path"),r.json({success:!1,msg:"No Static Root Path"});return}let o=e.replace(n,""),i=S().join(s,o),c=a().existsSync(i);if(console.log("relativePath",o),console.log("STATIC_ROOT",s),console.log("STATIC_HOST",n),console.log("filePath",i),console.log("fileExist",c),c){r.json({success:!1});return}}catch(e){console.log("File verification Error =>",e.message),console.log("File Truly doesn't exist, cotinuing ...")}"user_media"===s&&await u()(`DELETE FROM user_media WHERE id='${t.id}'`),r.json({success:!0})}let E=(0,i.M)(t,"default"),v=(0,i.M)(t,"config"),D=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/purgeDb",pathname:"/api/purgeDb",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),o=s(29021),i=s(31341);async function c(e,r,s,c){let{keyCookieName:a,csrfCookieName:l}=i();if(!e.cookies?.[a]?.match(/./))return null;let u=n({encryptedString:e.cookies[a]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),{keyCookieName:i,csrfCookieName:c,oneTimeCodeName:a+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,a=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(i,c,a),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=97447);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-file.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-file.js index 36fa844..0a8cb01 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-file.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-file.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2562,e.ids=[2562],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},82453:(e,r,t)=>{t.r(r),t.d(r,{config:()=>x,default:()=>$,routeModule:()=>R});var i={};t.r(i),t.d(i,{config:()=>E,default:()=>v});var s=t(89947),a=t(2706),n=t(96762),l=t(33873),o=t.n(l),u=t(47670),d=t.n(u),c=t(64122),m=t.n(c),p=t(48227),f=t.n(p),g=t(48225),_=t.n(g),S=t(77619),y=t.n(S);let h=t(29021),E={api:{bodyParser:{sizeLimit:"50mb"}}};async function v(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let i=y()({key:t,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:s,full_access:a}=i;if(!a)return r.json({success:!1,msg:"Unauthorized"});let{fileData:n,fileName:l,mimeType:u,folder:c,isPrivate:p}=e.body,g=process.env.DSQL_STATIC_SERVER_DIR;if(!g)throw console.log("Static File ENV not Found!"),Error("No Static Path!");if(c){let e=o().join(g,`images/user-images/user-${s}/${c?.toString().replace(/\.\./g,"")}`);h.existsSync(e)||h.mkdirSync(e,{recursive:!0})}let _=f()({folder:c,isPrivate:p,user:i});if(!_)throw Error("Couldn't Grab Image URLs");let{fileRootPath:S,urlRootPath:E}=_,v=u?.match(/csv/i)?".csv":u?.match(/pdf/i)?".pdf":u?.match(/xlsx/)?".xlsx":u?.match(/json/i)?".json":".txt",$=E+l+v;h.writeFileSync(S+l+v,n,"base64"),await m()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"media_url",identifierValue:$}),await d()({dbFullName:"datasquirel",tableName:"user_media",data:{user_id:s,media_name:l,media_url:$,media_thumbnail_url:$,folder:c||"",media_type:"file",private:p?"1":null}}),r.json({success:!0,payload:{urlPath:$}})}catch(t){console.log("File write error:",t),_()({component:"/api/query/add-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Add File Error!",error:t.message})}}let $=(0,n.M)(i,"default"),x=(0,n.M)(i,"config"),R=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/add-file",pathname:"/api/query/[user_id]/add-file",bundlePath:"",filename:""},userland:i})},48227:(e,r,t)=>{let i=t(29021),s=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:a,pathOnly:n}){"production".match(/production/);let l=r?.id||r?.user_id,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),null;let u=e?`@/${a?"videos":"media"}/${t?t+"/":""}`:a?`/videos/user-videos/user-${l}/${t?t+"/":""}`:`/images/user-images/user-${l}/${t?t+"/":""}`,d=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${l}/media/${t?t+"/":""}`:s.join(o,u);return i.existsSync(d)||n||i.mkdirSync(d,{recursive:!0}),{fileRootPath:d,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${u}`,relativePath:u}}},77619:(e,r,t)=>{let i=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let n=process.env.DSQL_API_KEYS_PATH;if(!n)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=s({encryptedString:e}),o=JSON.parse(l||""),u=i.existsSync(`${n}/${o.sign}`);if(String(o.user_id)!==String(a)||!u)return null;if(!o.target_database)return o;if(!r&&o.target_database)return null;let d=o.target_database?.split(",").includes(String(r));if(d&&!o.target_table)return o;if(d&&!t&&o.target_table)return null;if(o.target_table?.split(",").includes(String(t)))return o;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},64122:(e,r,t)=>{let i=t(51348),s=t(21339),a=t(44900);async function n({dbContext:e,paradigm:r,dbFullName:t,tableName:n,identifierColumnName:l,identifierValue:o,useLocal:u}){try{let d=!!u||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),c=u?a:d?i:s,m=`DELETE FROM ${n} WHERE \`${l}\`=?`;return d?await c(m,[o]):await c({paradigm:r,queryString:m,database:t,queryValues:[o]})}catch(e){return null}}e.exports=n},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||i||r||a.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2562,e.ids=[2562],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},82453:(e,r,t)=>{t.r(r),t.d(r,{config:()=>$,default:()=>R,routeModule:()=>x});var i={};t.r(i),t.d(i,{config:()=>E,default:()=>v});var s=t(89947),a=t(2706),n=t(96762),l=t(33873),o=t.n(l),u=t(47670),d=t.n(u),c=t(64122),m=t.n(c),p=t(48227),g=t.n(p),f=t(48225),_=t.n(f),S=t(77619),y=t.n(S);let h=t(29021),E={api:{bodyParser:{sizeLimit:"50mb"}}};async function v(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let i=y()({key:t,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:s,full_access:a}=i;if(!a)return r.json({success:!1,msg:"Unauthorized"});let{fileData:n,fileName:l,mimeType:u,folder:c,isPrivate:p}=e.body,f=process.env.DSQL_STATIC_SERVER_DIR;if(!f)throw console.log("Static File ENV not Found!"),Error("No Static Path!");if(c){let e=o().join(f,`images/user-images/user-${s}/${c?.toString().replace(/\.\./g,"")}`);h.existsSync(e)||h.mkdirSync(e,{recursive:!0})}let _=g()({folder:c,isPrivate:p,userId:i.user_id});if(!_)throw Error("Couldn't Grab Image URLs");let{fileRootPath:S,urlRootPath:E}=_,v=u?.match(/csv/i)?".csv":u?.match(/pdf/i)?".pdf":u?.match(/xlsx/)?".xlsx":u?.match(/json/i)?".json":".txt",R=E+l+v;h.writeFileSync(S+l+v,n,"base64"),await m()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"media_url",identifierValue:R}),await d()({dbFullName:"datasquirel",tableName:"user_media",data:{user_id:s,media_name:l,media_url:R,media_thumbnail_url:R,folder:c||"",media_type:"file",private:p?"1":null}}),r.json({success:!0,payload:{urlPath:R}})}catch(t){console.log("File write error:",t),_()({component:"/api/query/add-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Add File Error!",error:t.message})}}let R=(0,n.M)(i,"default"),$=(0,n.M)(i,"config"),x=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/add-file",pathname:"/api/query/[user_id]/add-file",bundlePath:"",filename:""},userland:i})},48227:(e,r,t)=>{let i=t(29021),s=t(33873);e.exports=function({isPrivate:e,userId:r,folder:t,video:a,pathOnly:n}){"production".match(/production/);let l=process.env.DSQL_STATIC_SERVER_DIR;if(!l)return console.log("Static File ENV not Found!"),null;let o=e?`@/${a?"videos":"media"}/${t?t+"/":""}`:a?`/videos/user-videos/user-${r}/${t?t+"/":""}`:`/images/user-images/user-${r}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${t?t+"/":""}`:s.join(l,o);return i.existsSync(u)||n||i.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${o}`,relativePath:o}}},77619:(e,r,t)=>{let i=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:n})=>{if(!e||!a)return null;try{let l=process.env.DSQL_API_KEYS_PATH;if(!l)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=s({encryptedString:e}),u=JSON.parse(o||""),d=i.existsSync(`${l}/${u.sign}`);if(String(u.user_id)!==String(a)||!d)return null;if(!u.target_database||n)return u;if(!r&&u.target_database)return null;let c=u.target_database?.split(",").includes(String(r));if(c&&!u.target_table)return u;if(c&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},64122:(e,r,t)=>{let i=t(51348),s=t(21339),a=t(44900);async function n({dbContext:e,paradigm:r,dbFullName:t,tableName:n,identifierColumnName:l,identifierValue:o,useLocal:u}){try{let d=!!u||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),c=u?a:d?i:s,m=`DELETE FROM ${n} WHERE \`${l}\`=?`;return d?await c(m,[o]):await c({paradigm:r,queryString:m,database:t,queryValues:[o]})}catch(e){return null}}e.exports=n},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:a}){let n=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||i||r||a.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-image.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-image.js index 22fa819..f4f2035 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-image.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/add-image.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=5319,e.ids=[5319],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},19582:(e,r,t)=>{t.r(r),t.d(r,{config:()=>b,default:()=>$,routeModule:()=>R});var i={};t.r(i),t.d(i,{config:()=>E,default:()=>v});var a=t(89947),s=t(2706),n=t(96762),o=t(33873),l=t.n(o),u=t(47670),d=t.n(u),c=t(64122),m=t.n(c),p=t(10701),g=t.n(p),f=t(48225),_=t.n(f),h=t(77619),S=t.n(h);let y=t(29021),E={api:{bodyParser:{sizeLimit:"50mb"}}};async function v(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)throw Error("No Authorization Found!");let i=S()({key:t,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:a,full_access:s}=i;if(!s)return r.json({success:!1,msg:"Unauthorized"});let{imageData:n,imageName:o,mimeType:u,thumbnailSize:c,folder:p,isPrivate:f}=e.body,_=process.env.DSQL_STATIC_SERVER_DIR;if(!_)throw console.log("Static File ENV not Found!"),Error("No Static Path!");if(p){let e=l().join(_,`images/user-images/user-${a}/${p}`);y.existsSync(e)||y.mkdirSync(e,{recursive:!0})}let h=u?.match(/jpeg/i)?"jpeg":u?.match(/png/i)?"png":u?.match(/webp/i)?"webp":u?.match(/svg/i)?"svg":"jpg",E=await g()({imageName:o,imageSourceBase64:n,user:{id:a},mimeType:h,thumbnailSize:c,folder:p,isPrivate:f});if(!E)throw Error("Write Image Failed in add-media API route");let{urlPath:v,urlThumbnailPath:$}=E;await m()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"media_url",identifierValue:v}),await d()({dbFullName:"datasquirel",tableName:"user_media",data:{user_id:a,media_name:o,media_url:v,media_thumbnail_url:$,folder:p||""}}),r.json({success:!0,payload:{urlPath:v,urlThumbnailPath:$}})}catch(t){_()({component:"/api/query/add-image/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Add Image Error!",error:t.message})}}let $=(0,n.M)(i,"default"),b=(0,n.M)(i,"config"),R=new a.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/query/[user_id]/add-image",pathname:"/api/query/[user_id]/add-image",bundlePath:"",filename:""},userland:i})},10701:(e,r,t)=>{let i=t(9288),a=t(48225),s=t(48227);e.exports=async function({imageSourceBase64:e,imageName:r,user:t,mimeType:n,thumbnailSize:o,folder:l,isPrivate:u}){try{let a=Buffer.from(e,"base64"),d=o?parseInt(o.toString()):400,c=i(a),m=i(a),p=s({isPrivate:u,user:t,folder:l});if(!p)return null;let{fileRootPath:g,urlRootPath:f,relativePath:_}=p,{width:h,height:S,format:y}=await c.metadata(),E=n||y;h&&S&&h>1800&&c.resize(1800,Math.round(1800/h*S),{fit:"cover"}),c.toFormat(E,{quality:80}),await c.metadata();let v=`${r}.${E}`;if(await c.toFile(g+v),h&&S&&h>d){let e=d/h;m.resize(d,Math.round(S*e),{fit:"cover"})}else h&&S&&m.resize(150,Math.round(150/h*S),{fit:"cover"});m.toFormat(E,{quality:80});let $=`${r}_thumbnail.${E}`;return await m.toFile(g+$),{urlPath:f+v,urlThumbnailPath:f+$,urlRelativePath:_+v,urlThumbnailRelativePath:_+$}}catch(e){return console.log("Write Image to Disk error =>",e.message),a({component:"functions/backend/fsWriteImageToDiskFromBase64",message:e.message}),null}}},48227:(e,r,t)=>{let i=t(29021),a=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:s,pathOnly:n}){"production".match(/production/);let o=r?.id||r?.user_id,l=process.env.DSQL_STATIC_SERVER_DIR;if(!l)return console.log("Static File ENV not Found!"),null;let u=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${o}/${t?t+"/":""}`:`/images/user-images/user-${o}/${t?t+"/":""}`,d=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}/media/${t?t+"/":""}`:a.join(l,u);return i.existsSync(d)||n||i.mkdirSync(d,{recursive:!0}),{fileRootPath:d,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${u}`,relativePath:u}}},77619:(e,r,t)=>{let i=t(29021),a=t(72835);e.exports=({key:e,database:r,table:t,user_id:s})=>{if(!e||!s)return null;try{let n=process.env.DSQL_API_KEYS_PATH;if(!n)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=a({encryptedString:e}),l=JSON.parse(o||""),u=i.existsSync(`${n}/${l.sign}`);if(String(l.user_id)!==String(s)||!u)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let d=l.target_database?.split(",").includes(String(r));if(d&&!l.target_table)return l;if(d&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},64122:(e,r,t)=>{let i=t(51348),a=t(21339),s=t(44900);async function n({dbContext:e,paradigm:r,dbFullName:t,tableName:n,identifierColumnName:o,identifierValue:l,useLocal:u}){try{let d=!!u||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),c=u?s:d?i:a,m=`DELETE FROM ${n} WHERE \`${o}\`=?`;return d?await c(m,[l]):await c({paradigm:r,queryString:m,database:t,queryValues:[l]})}catch(e){return null}}e.exports=n},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:s}){let n=new Date,o=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||i||r||s.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=5319,e.ids=[5319],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},19582:(e,r,t)=>{t.r(r),t.d(r,{config:()=>R,default:()=>$,routeModule:()=>b});var a={};t.r(a),t.d(a,{config:()=>E,default:()=>v});var i=t(89947),s=t(2706),n=t(96762),o=t(33873),l=t.n(o),u=t(47670),d=t.n(u),c=t(64122),m=t.n(c),p=t(10701),g=t.n(p),f=t(48225),h=t.n(f),S=t(77619),_=t.n(S);let y=t(29021),E={api:{bodyParser:{sizeLimit:"50mb"}}};async function v(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)throw Error("No Authorization Found!");let a=_()({key:t,user_id:String(e.query.user_id),media:!0});if(!a?.user_id)throw Error(a?.error||"Api Credentials invalid!");let{user_id:i,full_access:s}=a;if(!s)return r.json({success:!1,msg:"Unauthorized"});let{imageData:n,imageName:o,mimeType:u,thumbnailSize:c,folder:p,isPrivate:f}=e.body,h=process.env.DSQL_STATIC_SERVER_DIR;if(!h)throw console.log("Static File ENV not Found!"),Error("No Static Path!");if(p){let e=l().join(h,`images/user-images/user-${i}/${p}`);y.existsSync(e)||y.mkdirSync(e,{recursive:!0})}let S=u?.match(/jpeg/i)?"jpeg":u?.match(/png/i)?"png":u?.match(/webp/i)?"webp":u?.match(/svg/i)?"svg":"jpg",E=await g()({imageName:o.replace(/ /g,"-").replace(/\.{1,}|\//g,""),imageSourceBase64:n,userId:i,mimeType:S,thumbnailSize:c,folder:p,isPrivate:f});if(!E)throw Error("Write Image Failed in add-media API route");let{urlPath:v,urlThumbnailPath:$}=E;await m()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"media_url",identifierValue:v}),await d()({dbFullName:"datasquirel",tableName:"user_media",data:{user_id:i,media_name:o,media_url:v,media_thumbnail_url:$,folder:p||""}}),r.json({success:!0,payload:{urlPath:v,urlThumbnailPath:$}})}catch(t){h()({component:"/api/query/add-image/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Add Image Error!",error:t.message})}}let $=(0,n.M)(a,"default"),R=(0,n.M)(a,"config"),b=new i.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/query/[user_id]/add-image",pathname:"/api/query/[user_id]/add-image",bundlePath:"",filename:""},userland:a})},10701:(e,r,t)=>{let a=t(9288),i=t(48225),s=t(48227);e.exports=async function({imageSourceBase64:e,imageName:r,userId:t,mimeType:n,thumbnailSize:o,folder:l,isPrivate:u}){try{let i=Buffer.from(e,"base64"),d=o?parseInt(o.toString()):400,c=a(i),m=a(i),p=s({isPrivate:u,userId:t,folder:l});if(!p)return null;let{fileRootPath:g,urlRootPath:f,relativePath:h}=p,{width:S,height:_,format:y}=await c.metadata(),E=n||y;S&&_&&S>1800&&c.resize(1800,Math.round(1800/S*_),{fit:"cover"}),c.toFormat(E,{quality:80}),await c.metadata();let v=`${r}.${E}`;if(await c.toFile(g+v),S&&_&&S>d){let e=d/S;m.resize(d,Math.round(_*e),{fit:"cover"})}else S&&_&&m.resize(150,Math.round(150/S*_),{fit:"cover"});m.toFormat(E,{quality:80});let $=`${r}_thumbnail.${E}`;return await m.toFile(g+$),{urlPath:f+v,urlThumbnailPath:f+$,urlRelativePath:h+v,urlThumbnailRelativePath:h+$}}catch(e){return console.log("Write Image to Disk error =>",e.message),i({component:"functions/backend/fsWriteImageToDiskFromBase64",message:e.message}),null}}},48227:(e,r,t)=>{let a=t(29021),i=t(33873);e.exports=function({isPrivate:e,userId:r,folder:t,video:s,pathOnly:n}){"production".match(/production/);let o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),null;let l=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${r}/${t?t+"/":""}`:`/images/user-images/user-${r}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${t?t+"/":""}`:i.join(o,l);return a.existsSync(u)||n||a.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${l}`,relativePath:l}}},77619:(e,r,t)=>{let a=t(29021),i=t(72835);e.exports=({key:e,database:r,table:t,user_id:s,media:n})=>{if(!e||!s)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=i({encryptedString:e}),u=JSON.parse(l||""),d=a.existsSync(`${o}/${u.sign}`);if(String(u.user_id)!==String(s)||!d)return null;if(!u.target_database||n)return u;if(!r&&u.target_database)return null;let c=u.target_database?.split(",").includes(String(r));if(c&&!u.target_table)return u;if(c&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},64122:(e,r,t)=>{let a=t(51348),i=t(21339),s=t(44900);async function n({dbContext:e,paradigm:r,dbFullName:t,tableName:n,identifierColumnName:o,identifierValue:l,useLocal:u}){try{let d=!!u||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),c=u?s:d?a:i,m=`DELETE FROM ${n} WHERE \`${o}\`=?`;return d?await c(m,[l]):await c({paradigm:r,queryString:m,database:t,queryValues:[l]})}catch(e){return null}}e.exports=n},48225:(e,r,t)=>{let a=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let n=new Date,o=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||a||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== Error Message: ${r} -Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` +Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),s?.url&&(a+=` -URL: ${s.url}`),s?.body&&(a+=` -Request Body: ${JSON.stringify(s.body,null,4)}`),o&&(a+=` -IP: ${o}`),a+=` +User Email: ${e?.email}`),s?.url&&(i+=` +URL: ${s.url}`),s?.body&&(i+=` +Request Body: ${JSON.stringify(s.body,null,4)}`),o&&(i+=` +IP: ${o}`),i+=` Date: ${n.toDateString()} -========================================`,i.existsSync("./.tmp/error.log")||i.writeFileSync("./.tmp/error.log","","utf-8");let l=i.readFileSync("./.tmp/error.log","utf-8");i.writeFileSync("./.tmp/error.log",a),i.appendFileSync("./.tmp/error.log",` +========================================`,a.existsSync("./.tmp/error.log")||a.writeFileSync("./.tmp/error.log","","utf-8");let l=a.readFileSync("./.tmp/error.log","utf-8");a.writeFileSync("./.tmp/error.log",i),a.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:i,createDecipheriv:a}=t(55511),{Buffer:s}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=a("aes-192-cbc",i(n,o,l),s.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),i=r.X(0,[4050],()=>t(19582));module.exports=i})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:a,createDecipheriv:i}=t(55511),{Buffer:s}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let n=r||process.env.DSQL_ENCRYPTION_PASSWORD,o=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!n?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",a(n,o,l),s.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[4050],()=>t(19582));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/delete-file.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/delete-file.js index 9917e9a..a4e2bf2 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/delete-file.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/delete-file.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7918,e.ids=[7918],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},50145:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>D,routeModule:()=>y});var s={};t.r(s),t.d(s,{config:()=>g,default:()=>m});var n=t(89947),o=t(2706),a=t(96762),i=t(51348),c=t.n(i),l=t(64122),u=t.n(l),p=t(48225),d=t.n(p),S=t(77619),_=t.n(S);let f=t(29021),g={api:{bodyParser:{sizeLimit:"50mb"}}};async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=_()({key:t,user_id:String(e.query.user_id)});if(!s?.user_id)throw Error("Api Credentials invalid!");let{user_id:n,full_access:o}=s;if(!o)return r.json({success:!1,msg:"Unauthorized"});let{url:a}=e.body,i=await c()("SELECT * FROM user_media WHERE media_url = ?",[a]);if(!i?.length)return r.json({success:!1,msg:"Media not found!"});let{id:l,folder:p,media_url:d,media_thumbnail_url:S,media_type:g}=i[0],m=process.env.DSQL_STATIC_SERVER_DIR;if(!m)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let D=e=>!e||e?.match(/\.\./)?"":e?.match(/^\@/)?e.replace(/@\/media\//,`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${n}/media/`):e.replace(process.env.DSQL_STATIC_HOST||"",m),E=D(d),y=D(S);if(!E?.match(/./))return r.json({success:!1,msg:"Invalid path!"});try{f.unlinkSync(E),f.unlinkSync(y),await u()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"id",identifierValue:l}),r.json({success:!0,payload:{url:a}})}catch(e){console.log("File delete error:",e.message),r.json({success:!1,payload:{url:a},error:e.message})}}catch(t){console.log("File write error:",t),d()({component:"/api/query/delete-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Delete File Error!",error:t.message})}}let D=(0,a.M)(s,"default"),E=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/query/[user_id]/delete-file",pathname:"/api/query/[user_id]/delete-file",bundlePath:"",filename:""},userland:s})},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:o})=>{if(!e||!o)return null;try{let a=process.env.DSQL_API_KEYS_PATH;if(!a)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),c=JSON.parse(i||""),l=s.existsSync(`${a}/${c.sign}`);if(String(c.user_id)!==String(o)||!l)return null;if(!c.target_database)return c;if(!r&&c.target_database)return null;let u=c.target_database?.split(",").includes(String(r));if(u&&!c.target_table)return c;if(u&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),o=t(44900);async function a({dbContext:e,paradigm:r,dbFullName:t,tableName:a,identifierColumnName:i,identifierValue:c,useLocal:l}){try{let u=!!l||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),p=l?o:u?s:n,d=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await p(d,[c]):await p({paradigm:r,queryString:d,database:t,queryValues:[c]})}catch(e){return null}}e.exports=a},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7918,e.ids=[7918],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},50145:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>D,routeModule:()=>y});var s={};t.r(s),t.d(s,{config:()=>f,default:()=>m});var n=t(89947),o=t(2706),a=t(96762),i=t(51348),c=t.n(i),l=t(64122),u=t.n(l),p=t(48225),d=t.n(p),S=t(77619),_=t.n(S);let g=t(29021),f={api:{bodyParser:{sizeLimit:"50mb"}}};async function m(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=_()({key:t,user_id:String(e.query.user_id)});if(!s?.user_id)throw Error("Api Credentials invalid!");let{user_id:n,full_access:o}=s;if(!o)return r.json({success:!1,msg:"Unauthorized"});let{url:a}=e.body,i=await c()("SELECT * FROM user_media WHERE media_url = ?",[a]);if(!i?.length)return r.json({success:!1,msg:"Media not found!"});let{id:l,folder:p,media_url:d,media_thumbnail_url:S,media_type:f}=i[0],m=process.env.DSQL_STATIC_SERVER_DIR;if(!m)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let D=e=>!e||e?.match(/\.\./)?"":e?.match(/^\@/)?e.replace(/@\/media\//,`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${n}/media/`):e.replace(process.env.DSQL_STATIC_HOST||"",m),E=D(d),y=D(S);if(!E?.match(/./))return r.json({success:!1,msg:"Invalid path!"});try{g.unlinkSync(E),g.unlinkSync(y),await u()({dbFullName:"datasquirel",tableName:"user_media",identifierColumnName:"id",identifierValue:l}),r.json({success:!0,payload:{url:a}})}catch(e){console.log("File delete error:",e.message),r.json({success:!1,payload:{url:a},error:e.message})}}catch(t){console.log("File write error:",t),d()({component:"/api/query/delete-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Delete File Error!",error:t.message})}}let D=(0,a.M)(s,"default"),E=(0,a.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/query/[user_id]/delete-file",pathname:"/api/query/[user_id]/delete-file",bundlePath:"",filename:""},userland:s})},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:o,media:a})=>{if(!e||!o)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let c=n({encryptedString:e}),l=JSON.parse(c||""),u=s.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(o)||!u)return null;if(!l.target_database||a)return l;if(!r&&l.target_database)return null;let p=l.target_database?.split(",").includes(String(r));if(p&&!l.target_table)return l;if(p&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),o=t(44900);async function a({dbContext:e,paradigm:r,dbFullName:t,tableName:a,identifierColumnName:i,identifierValue:c,useLocal:l}){try{let u=!!l||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),p=l?o:u?s:n,d=`DELETE FROM ${a} WHERE \`${i}\`=?`;return u?await p(d,[c]):await p({paradigm:r,queryString:d,database:t,queryValues:[c]})}catch(e){return null}}e.exports=a},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:o}){let a=new Date,i=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||o.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-private-file.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-private-file.js index b127253..70052f5 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-private-file.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-private-file.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=5287,e.ids=[5287],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},48069:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>E,routeModule:()=>y});var i={};t.r(i),t.d(i,{config:()=>S,default:()=>_});var n=t(89947),s=t(2706),o=t(96762),a=t(33873),l=t.n(a),u=t(48227),c=t.n(u),d=t(48225),p=t.n(d),f=t(77619),g=t.n(f);let m=t(29021),S={api:{bodyParser:{sizeLimit:"100mb"}}};async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let i=g()({key:t,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:n,full_access:s}=i;if(!s)return r.json({success:!1,msg:"Unauthorized"});let{folder:o,fileName:a,downloadType:u}=e.body,d=c()({folder:o,isPrivate:!0,user:i});if(!d)throw Error("Couldn't Grab Image URLs");let{fileRootPath:p}=d,f=l().join(p,a);if(u?.match(/raw/i)){let e=m.readFileSync(f,"utf-8");return r.json({success:!0,data:e})}if(u?.match(/base64/i)){let e=m.readFileSync(f,"base64");return r.json({success:!0,data:e})}m.createReadStream(f).pipe(r)}catch(t){console.log("Get Private File Error:",t),p()({component:"/api/query/get-private-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Get Private File Error!",error:t.message})}}let E=(0,o.M)(i,"default"),P=(0,o.M)(i,"config"),y=new n.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/query/[user_id]/get-private-file",pathname:"/api/query/[user_id]/get-private-file",bundlePath:"",filename:""},userland:i})},48227:(e,r,t)=>{let i=t(29021),n=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:s,pathOnly:o}){"production".match(/production/);let a=r?.id||r?.user_id,l=process.env.DSQL_STATIC_SERVER_DIR;if(!l)return console.log("Static File ENV not Found!"),null;let u=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${a}/${t?t+"/":""}`:`/images/user-images/user-${a}/${t?t+"/":""}`,c=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${a}/media/${t?t+"/":""}`:n.join(l,u);return i.existsSync(c)||o||i.mkdirSync(c,{recursive:!0}),{fileRootPath:c,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${u}`,relativePath:u}}},77619:(e,r,t)=>{let i=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:s})=>{if(!e||!s)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let a=n({encryptedString:e}),l=JSON.parse(a||""),u=i.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(s)||!u)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let c=l.target_database?.split(",").includes(String(r));if(c&&!l.target_table)return l;if(c&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:s}){let o=new Date,a=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||i||r||s.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=5287,e.ids=[5287],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},48069:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>E,routeModule:()=>y});var i={};t.r(i),t.d(i,{config:()=>S,default:()=>_});var n=t(89947),s=t(2706),o=t(96762),a=t(33873),l=t.n(a),u=t(48227),c=t.n(u),d=t(48225),p=t.n(d),f=t(77619),g=t.n(f);let m=t(29021),S={api:{bodyParser:{sizeLimit:"100mb"}}};async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let i=g()({key:t,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:n,full_access:s}=i;if(!s)return r.json({success:!1,msg:"Unauthorized"});let{folder:o,fileName:a,downloadType:u}=e.body,d=c()({folder:o,isPrivate:!0,userId:i.user_id});if(!d)throw Error("Couldn't Grab Image URLs");let{fileRootPath:p}=d,f=l().join(p,a);if(u?.match(/raw/i)){let e=m.readFileSync(f,"utf-8");return r.json({success:!0,data:e})}if(u?.match(/base64/i)){let e=m.readFileSync(f,"base64");return r.json({success:!0,data:e})}m.createReadStream(f).pipe(r)}catch(t){console.log("Get Private File Error:",t),p()({component:"/api/query/get-private-file/main-catch-error",message:t.message,req:e}),r.json({success:!1,msg:"Get Private File Error!",error:t.message})}}let E=(0,o.M)(i,"default"),P=(0,o.M)(i,"config"),y=new n.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/query/[user_id]/get-private-file",pathname:"/api/query/[user_id]/get-private-file",bundlePath:"",filename:""},userland:i})},48227:(e,r,t)=>{let i=t(29021),n=t(33873);e.exports=function({isPrivate:e,userId:r,folder:t,video:s,pathOnly:o}){"production".match(/production/);let a=process.env.DSQL_STATIC_SERVER_DIR;if(!a)return console.log("Static File ENV not Found!"),null;let l=e?`@/${s?"videos":"media"}/${t?t+"/":""}`:s?`/videos/user-videos/user-${r}/${t?t+"/":""}`:`/images/user-images/user-${r}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${t?t+"/":""}`:n.join(a,l);return i.existsSync(u)||o||i.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${l}`,relativePath:l}}},77619:(e,r,t)=>{let i=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:s,media:o})=>{if(!e||!s)return null;try{let a=process.env.DSQL_API_KEYS_PATH;if(!a)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=n({encryptedString:e}),u=JSON.parse(l||""),c=i.existsSync(`${a}/${u.sign}`);if(String(u.user_id)!==String(s)||!c)return null;if(!u.target_database||o)return u;if(!r&&u.target_database)return null;let d=u.target_database?.split(",").includes(String(r));if(d&&!u.target_table)return u;if(d&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},48225:(e,r,t)=>{let i=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:s}){let o=new Date,a=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],i=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||i||r||s.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-schema.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-schema.js index fecd954..c8bdb64 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-schema.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/get-schema.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=6562,e.ids=[6562],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},3267:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>g,routeModule:()=>_});var n={};t.r(n),t.d(n,{default:()=>f});var s=t(89947),a=t(2706),i=t(96762),o=t(48225),l=t.n(o),u=t(77619),c=t.n(u);let d=t(29021),p=t(33873);async function f(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});console.log("Getting DB schema");try{let{database:t,table:n,field:s}=e.query,a=e.headers.authorization;if(!a)return r.json({success:!1,msg:"Unauthorized"});let i=c()({key:a,database:t,table:n,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:o,full_access:u}=i;if(!u)return r.json({success:!1,msg:"Unauthorized"});try{let e=t&&"string"==typeof t?`datasquirel_user_${o}_${t?.toLowerCase().replace(/[^a-z0-9\_]/g,"")}`:null,a=p.join(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${o.toString().replace(/\//g,"")}`,"main.json"),i=JSON.parse(d.readFileSync(a,"utf8")),l=e?i.find(r=>r.dbFullName==e):null;if(n&&t&&l?.tables?.[0]){let e=l.tables.find(e=>e.tableName==n);if(s&&e?.fields?.[0]){let t=e.fields.find(e=>e.fieldName===s);return r.json({success:!!t,payload:t})}if(s&&!e?.fields?.[0])throw Error("Target Table Not Found!");return r.json({success:!!e,payload:e})}if(n&&!l?.tables?.[0])throw Error("Target Database Not Found!");t?r.json({success:!!l,payload:l}):r.json({success:!0,payload:i})}catch(e){l()({component:"/api/query/get-schema/lines-132-142",message:e.message}),r.json({success:!1,payload:null,error:e.message})}}catch(t){l()({component:"/api/query/get-schema/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"Wrong Credentials"})}}let g=(0,i.M)(n,"default"),m=(0,i.M)(n,"config"),_=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/get-schema",pathname:"/api/query/[user_id]/get-schema",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=s({encryptedString:e}),l=JSON.parse(o||""),u=n.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(a)||!u)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let c=l.target_database?.split(",").includes(String(r));if(c&&!l.target_table)return l;if(c&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:a}){let i=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||n||r||a.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=6562,e.ids=[6562],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},3267:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>f,routeModule:()=>_});var n={};t.r(n),t.d(n,{default:()=>g});var s=t(89947),a=t(2706),i=t(96762),o=t(48225),l=t.n(o),u=t(77619),c=t.n(u);let d=t(29021),p=t(33873);async function g(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});console.log("Getting DB schema");try{let{database:t,table:n,field:s}=e.query,a=e.headers.authorization;if(!a)return r.json({success:!1,msg:"Unauthorized"});let i=c()({key:a,database:t,table:n,user_id:String(e.query.user_id)});if(!i?.user_id)throw Error("Api Credentials invalid!");let{user_id:o,full_access:u}=i;if(!u)return r.json({success:!1,msg:"Unauthorized"});try{let e=t&&"string"==typeof t?`datasquirel_user_${o}_${t?.toLowerCase().replace(/[^a-z0-9\_]/g,"")}`:null,a=p.join(String(process.env.DSQL_USER_DB_SCHEMA_PATH),`user-${o.toString().replace(/\//g,"")}`,"main.json"),i=JSON.parse(d.readFileSync(a,"utf8")),l=e?i.find(r=>r.dbFullName==e):null;if(n&&t&&l?.tables?.[0]){let e=l.tables.find(e=>e.tableName==n);if(s&&e?.fields?.[0]){let t=e.fields.find(e=>e.fieldName===s);return r.json({success:!!t,payload:t})}if(s&&!e?.fields?.[0])throw Error("Target Table Not Found!");return r.json({success:!!e,payload:e})}if(n&&!l?.tables?.[0])throw Error("Target Database Not Found!");t?r.json({success:!!l,payload:l}):r.json({success:!0,payload:i})}catch(e){l()({component:"/api/query/get-schema/lines-132-142",message:e.message}),r.json({success:!1,payload:null,error:e.message})}}catch(t){l()({component:"/api/query/get-schema/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"Wrong Credentials"})}}let f=(0,i.M)(n,"default"),m=(0,i.M)(n,"config"),_=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/get-schema",pathname:"/api/query/[user_id]/get-schema",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:i})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=s({encryptedString:e}),u=JSON.parse(l||""),c=n.existsSync(`${o}/${u.sign}`);if(String(u.user_id)!==String(a)||!c)return null;if(!u.target_database||i)return u;if(!r&&u.target_database)return null;let d=u.target_database?.split(",").includes(String(r));if(d&&!u.target_table)return u;if(d&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:a}){let i=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||n||r||a.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/query/[user_id]/update-schema-from-single-database.js b/dsql-app/.local_dist/server/pages/api/query/[user_id]/update-schema-from-single-database.js index db667c6..a3b3f54 100644 --- a/dsql-app/.local_dist/server/pages/api/query/[user_id]/update-schema-from-single-database.js +++ b/dsql-app/.local_dist/server/pages/api/query/[user_id]/update-schema-from-single-database.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4133,e.ids=[4133],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},87854:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>m,routeModule:()=>_});var n={};t.r(n),t.d(n,{default:()=>g});var s=t(89947),a=t(2706),i=t(96762),u=t(48225),l=t.n(u),o=t(77619),d=t.n(o),c=t(19261),p=t.n(c);let f=t(29021);async function g(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let n=d()({key:t,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");let{user_id:s,full_access:a}=n;if(!a)return r.json({success:!1,msg:"Unauthorized"});let i=e.query.schema,u=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.toString().replace(/\//g,"")}/main.json`,l=JSON.parse(f.readFileSync(u,"utf8")),o=l.findIndex(e=>e.dbFullName==i?.dbFullName);if(i?.dbFullName&&l.find(e=>e.dbFullName==i.dbFullName),o<0)return r.json({success:!1,payload:null});l[o]=i,f.writeFileSync(u,JSON.stringify(l,null,4),"utf8"),await p()({userId:s.toString().replace(/\/| /g,""),targetDatabase:l[o].dbFullName}),r.json({success:!0,payload:"Success!"})}catch(t){l()({component:"/api/query/update-schema-from-single-database/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"Something went wrong"})}}let m=(0,i.M)(n,"default"),S=(0,i.M)(n,"config"),_=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/update-schema-from-single-database",pathname:"/api/query/[user_id]/update-schema-from-single-database",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let u=s({encryptedString:e}),l=JSON.parse(u||""),o=n.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(a)||!o)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let d=l.target_database?.split(",").includes(String(r));if(d&&!l.target_table)return l;if(d&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},21580:(e,r,t)=>{let n=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!n.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:n.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[2451],()=>t(87854));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4133,e.ids=[4133],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},87854:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>m,routeModule:()=>_});var n={};t.r(n),t.d(n,{default:()=>g});var s=t(89947),a=t(2706),i=t(96762),u=t(48225),l=t.n(u),o=t(77619),d=t.n(o),c=t(19261),p=t.n(c);let f=t(29021);async function g(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization;if(!t)return r.json({success:!1,msg:"Unauthorized"});let n=d()({key:t,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");let{user_id:s,full_access:a}=n;if(!a)return r.json({success:!1,msg:"Unauthorized"});let i=e.query.schema,u=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.toString().replace(/\//g,"")}/main.json`,l=JSON.parse(f.readFileSync(u,"utf8")),o=l.findIndex(e=>e.dbFullName==i?.dbFullName);if(i?.dbFullName&&l.find(e=>e.dbFullName==i.dbFullName),o<0)return r.json({success:!1,payload:null});l[o]=i,f.writeFileSync(u,JSON.stringify(l,null,4),"utf8"),await p()({userId:s.toString().replace(/\/| /g,""),targetDatabase:l[o].dbFullName}),r.json({success:!0,payload:"Success!"})}catch(t){l()({component:"/api/query/update-schema-from-single-database/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"Something went wrong"})}}let m=(0,i.M)(n,"default"),S=(0,i.M)(n,"config"),_=new s.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/query/[user_id]/update-schema-from-single-database",pathname:"/api/query/[user_id]/update-schema-from-single-database",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:i})=>{if(!e||!a)return null;try{let u=process.env.DSQL_API_KEYS_PATH;if(!u)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=s({encryptedString:e}),o=JSON.parse(l||""),d=n.existsSync(`${u}/${o.sign}`);if(String(o.user_id)!==String(a)||!d)return null;if(!o.target_database||i)return o;if(!r&&o.target_database)return null;let c=o.target_database?.split(",").includes(String(r));if(c&&!o.target_table)return o;if(c&&!t&&o.target_table)return null;if(o.target_table?.split(",").includes(String(t)))return o;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},21580:(e,r,t)=>{let n=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!n.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:n.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[2451],()=>t(87854));module.exports=n})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/queryEntriesSearchTerm.js b/dsql-app/.local_dist/server/pages/api/queryEntriesSearchTerm.js index 5553d57..795c44a 100644 --- a/dsql-app/.local_dist/server/pages/api/queryEntriesSearchTerm.js +++ b/dsql-app/.local_dist/server/pages/api/queryEntriesSearchTerm.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2101,e.ids=[2101],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},57164:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>S,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),a=t(2706),o=t(96762),c=t(48225),i=t.n(c),l=t(6420),u=t.n(l),p=t(57638),_=t.n(p);async function d(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.table,n=e.query.db,a=e.query.field,o=String(e.query.term),c=e.query.operator;try{let e=`SELECT * FROM \`${s}\` WHERE LOWER(\`${a}\`) ${c?.toString()?.match(/equal/i)?"=":" LIKE "}? ORDER BY id DESC LIMIT 20`,t=[c?.toString()?.match(/equal/i)?o.toLowerCase():"%"+o.toLowerCase()+"%"],i=await _()({database:n?.toString()?.replace(/[^a-z0-9_]/g,""),queryString:e,queryValuesArray:t}),l=await _()({database:n?.toString()?.replace(/[^a-z0-9_]/g,""),queryString:e.replace(/\*/,"COUNT(id) AS count").replace(/ ORDER BY .*/,""),queryValuesArray:t});r.json({success:!0,result:i,count:l?.[0]?.count})}catch(e){i()({component:"/api/queryEntriesSearchTerm/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Failed!"})}}let S=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),m=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/queryEntriesSearchTerm",pathname:"/api/queryEntriesSearchTerm",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2101,e.ids=[2101],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},57164:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>S,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>d});var n=t(89947),a=t(2706),o=t(96762),c=t(48225),i=t.n(c),l=t(6420),u=t.n(l),_=t(57638),p=t.n(_);async function d(e,r){if("GET"!==e.method)return r.json({msg:"Failed!"});let t=await u()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.query.table,n=e.query.db,a=e.query.field,o=String(e.query.term),c=e.query.operator;try{let e=`SELECT * FROM \`${s}\` WHERE LOWER(\`${a}\`) ${c?.toString()?.match(/equal/i)?"=":" LIKE "}? ORDER BY id DESC LIMIT 20`,t=[c?.toString()?.match(/equal/i)?o.toLowerCase():"%"+o.toLowerCase()+"%"],i=await p()({database:n?.toString()?.replace(/[^a-z0-9_]/g,""),queryString:e,queryValuesArray:t}),l=await p()({database:n?.toString()?.replace(/[^a-z0-9_]/g,""),queryString:e.replace(/\*/,"COUNT(id) AS count").replace(/ ORDER BY .*/,""),queryValuesArray:t});r.json({success:!0,result:i,count:l?.[0]?.count})}catch(e){i()({component:"/api/queryEntriesSearchTerm/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Failed!"})}}let S=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),m=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/queryEntriesSearchTerm",pathname:"/api/queryEntriesSearchTerm",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:o,csrfCookieName:c,oneTimeCodeName:i+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let p=!!l||!!t?.match(/^datasquirel$/),_=l?c:p?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await _(e,r):await _({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):p?await _(e):await _({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(p).catch(_):o.query(t).then(p).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=57164);module.exports=t})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let _=!!l||!!t?.match(/^datasquirel$/),p=l?c:_?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?_?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):_?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(_).catch(p):o.query(t).then(_).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=57164);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/reAuthenticateUser.js b/dsql-app/.local_dist/server/pages/api/reAuthenticateUser.js index cb57fee..e6b946b 100644 --- a/dsql-app/.local_dist/server/pages/api/reAuthenticateUser.js +++ b/dsql-app/.local_dist/server/pages/api/reAuthenticateUser.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2998,e.ids=[2998],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},96499:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>p,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),l=t.n(a),c=t(56129),u=t.n(c);async function _(e,r){"POST"!==e.method&&r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t){console.log("No user Found"),r.redirect(307,"/logout");return}let s=await u()({userId:t.id,res:r,csrf:t.csrf_k}),n={status:!!s,csrf:s?.csrf_k,user:s};r.json(n)}let p=(0,o.M)(s,"default"),d=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/reAuthenticateUser",pathname:"/api/reAuthenticateUser",bundlePath:"",filename:""},userland:s})},56129:(e,r,t)=>{let s=t(29021),n=t(48225),{ServerResponse:i}=t(81630),o=t(51348),a=t(20503),l=t(31341);e.exports=async function({userId:e,res:r,csrf:t}){try{let n=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!n)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;let i=await o("SELECT * FROM users WHERE id=?",[e]);s.unlinkSync(`${n}/${t}`);let c=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),u={id:i[0].id,stripe_id:i[0].stripe_id||"",first_name:i[0].first_name,last_name:i[0].last_name,email:i[0].email,social_id:i[0].social_id,image:i[0].image,image_thumbnail:i[0].image_thumbnail,verification_status:i[0].verification_status,social_login:i[0].social_login,social_platform:i[0].social_platform,csrf_k:c,logged_in_status:!0,date:Date.now()},_=a({data:JSON.stringify(u)});s.writeFileSync(`${n}/${c}`,JSON.stringify(u));let{keyCookieName:p,csrfCookieName:d}=l();return r.setHeader("Set-Cookie",[`${p}=${_};samesite=strict;path=/;HttpOnly=true;Secure=true`,`${d}=${c};samesite=strict;path=/;HttpOnly=true;Secure=true`,"user_refresh=1"]),u}catch(r){return n({component:"reAuthUser",message:r.message,user:{id:e}}),null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2998,e.ids=[2998],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},96499:(e,r,t)=>{t.r(r),t.d(r,{config:()=>p,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),l=t.n(a),c=t(56129),u=t.n(c);async function _(e,r){"POST"!==e.method&&r.json({msg:"Failed!"});let t=await l()(e,r,!0);if(!t){console.log("No user Found"),r.redirect(307,"/logout");return}let s=await u()({userId:t.id,res:r,csrf:t.csrf_k}),n={status:!!s,csrf:s?.csrf_k,user:s};r.json(n)}let d=(0,o.M)(s,"default"),p=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/reAuthenticateUser",pathname:"/api/reAuthenticateUser",bundlePath:"",filename:""},userland:s})},56129:(e,r,t)=>{let s=t(29021),n=t(48225),{ServerResponse:i}=t(81630),o=t(51348),a=t(20503),l=t(31341);e.exports=async function({userId:e,res:r,csrf:t}){try{let n=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!n)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;let i=await o("SELECT * FROM users WHERE id=?",[e]);s.unlinkSync(`${n}/${t}`);let c=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),u={id:i[0].id,stripe_id:i[0].stripe_id||"",first_name:i[0].first_name,last_name:i[0].last_name,email:i[0].email,social_id:i[0].social_id,image:i[0].image,image_thumbnail:i[0].image_thumbnail,verification_status:i[0].verification_status,social_login:i[0].social_login,social_platform:i[0].social_platform,csrf_k:c,logged_in_status:!0,date:Date.now()},_=a({data:JSON.stringify(u)});s.writeFileSync(`${n}/${c}`,JSON.stringify(u));let{keyCookieName:d,csrfCookieName:p}=l();return r.setHeader("Set-Cookie",[`${d}=${_};samesite=strict;path=/;HttpOnly=true;Secure=true`,`${p}=${c};samesite=strict;path=/;HttpOnly=true;Secure=true`,"user_refresh=1"]),u}catch(r){return n({component:"reAuthUser",message:r.message,user:{id:e}}),null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/refreshEntry.js b/dsql-app/.local_dist/server/pages/api/refreshEntry.js index 7fa5a67..a0dca2e 100644 --- a/dsql-app/.local_dist/server/pages/api/refreshEntry.js +++ b/dsql-app/.local_dist/server/pages/api/refreshEntry.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2896,e.ids=[2896],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},57237:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),a=t(2706),o=t(96762),c=t(57638),i=t.n(c),l=t(48225),u=t.n(l),d=t(6420),p=t.n(d),_=t(72835),S=t.n(_);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{table:s,db:n,id:a}=e.body,o=e.body.schema;try{let e=`SELECT * FROM \`${s}\` WHERE id=?`,t=[a?.toString()||""],c=await i()({database:n?.toString()||"",queryString:e,queryValuesArray:t});if(!c||!c[0])return r.json({success:!1,msg:"Entry not found"});let l=JSON.parse(o||"{}");try{for(let e=0;e",e.message)}r.json({success:!0,entry:c[0]})}catch(e){u()({component:"/api/refreshEntry/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Deletion Failed!"})}}let m=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),D=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/refreshEntry",pathname:"/api/refreshEntry",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2896,e.ids=[2896],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},57237:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>m,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>f});var n=t(89947),a=t(2706),o=t(96762),c=t(57638),i=t.n(c),l=t(48225),u=t.n(l),d=t(6420),_=t.n(d),p=t(72835),S=t.n(p);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{table:s,db:n,id:a}=e.body,o=e.body.schema;try{let e=`SELECT * FROM \`${s}\` WHERE id=?`,t=[a?.toString()||""],c=await i()({database:n?.toString()||"",queryString:e,queryValuesArray:t});if(!c||!c[0])return r.json({success:!1,msg:"Entry not found"});let l=JSON.parse(o||"{}");try{for(let e=0;e",e.message)}r.json({success:!0,entry:c[0]})}catch(e){u()({component:"/api/refreshEntry/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Deletion Failed!"})}}let m=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),D=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/refreshEntry",pathname:"/api/refreshEntry",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:o,csrfCookieName:c,oneTimeCodeName:i+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let d=!!l||!!t?.match(/^datasquirel$/),p=l?c:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=57237);module.exports=t})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),c=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:l}){let u;let d=!!l||!!t?.match(/^datasquirel$/),_=l?c:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await _(e,r):await _({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await _(e):await _({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(t,c).then(d).catch(_):o.query(t).then(d).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=57237);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/renameMedia.js b/dsql-app/.local_dist/server/pages/api/renameMedia.js index 4b0f5c8..e70da49 100644 --- a/dsql-app/.local_dist/server/pages/api/renameMedia.js +++ b/dsql-app/.local_dist/server/pages/api/renameMedia.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8103,e.ids=[8103],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},17499:(e,r,t)=>{t.r(r),t.d(r,{config:()=>$,default:()=>g,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>h});var n=t(89947),a=t(2706),i=t(96762),o=t(6420),l=t.n(o),c=t(48225),u=t.n(c),d=t(51348),_=t.n(d);t(33873);var p=t(48227),m=t.n(p),S=t(27825),f=t.n(S);let E=t(29021);async function h(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.mediaObject,n=e.body.newName,a=e.body.newThumbnailName,i=e.body.replace;try{"production".match(/production/);let e=s.media_url.match(/\..{3,4}$/)[0],o=s?.private==1;if(!process.env.DSQL_STATIC_SERVER_DIR)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let l=m()({isPrivate:o,user:t,folder:s.folder?s.folder+"/":"",video:!!s.media_type?.match(/video/i)});if(!l)throw Error("Couldn't grab paths!");let{fileRootPath:c,urlRootPath:u,relativePath:d}=l,p=`${c}${s.media_name}${e}`,S=`${c}${n}${e}`,h=`${c}${s.media_name}_thumbnail${e}`,g=`${c}${n}_thumbnail${e}`,$=new RegExp(f().escapeRegExp(`${s.media_name}`)),v=s.media_url.replace($,n),y=s.media_url.replace($,n+"_thumbnail"),P=s.media_path?s.media_path.replace($,n):`${d}${n}`,D=s.media_thumbnail_path?s.media_thumbnail_path.replace($,n):`${d}${a}`;if(E.existsSync(S)&&!i)return r.json({success:!1,msg:"File already exists"});E.renameSync(p,S);try{E.renameSync(h,g)}catch(e){}await _()("UPDATE user_media SET media_name = ?, media_url = ?, media_thumbnail_url = ?, media_path = ?, media_thumbnail_path = ? WHERE id = ?",[n,v,y,P,D,s.id]),r.json({success:!0})}catch(e){console.log("Error in renaming media =>",e.message),u()({component:"/api/renameMedia/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Renaming failed. Please try again."})}}let g=(0,i.M)(s,"default"),$=(0,i.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/renameMedia",pathname:"/api/renameMedia",bundlePath:"",filename:""},userland:s})},48227:(e,r,t)=>{let s=t(29021),n=t(33873);e.exports=function({isPrivate:e,user:r,folder:t,video:a,pathOnly:i}){"production".match(/production/);let o=r?.id||r?.user_id,l=process.env.DSQL_STATIC_SERVER_DIR;if(!l)return console.log("Static File ENV not Found!"),null;let c=e?`@/${a?"videos":"media"}/${t?t+"/":""}`:a?`/videos/user-videos/user-${o}/${t?t+"/":""}`:`/images/user-images/user-${o}/${t?t+"/":""}`,u=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}/media/${t?t+"/":""}`:n.join(l,c);return s.existsSync(u)||i||s.mkdirSync(u,{recursive:!0}),{fileRootPath:u,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${c}`,relativePath:c}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),i=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:a,csrfCookieName:i+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let i=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8103,e.ids=[8103],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},17499:(e,r,t)=>{t.r(r),t.d(r,{config:()=>$,default:()=>g,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>h});var n=t(89947),a=t(2706),i=t(96762),o=t(6420),l=t.n(o),c=t(48225),u=t.n(c),d=t(51348),_=t.n(d);t(33873);var p=t(48227),m=t.n(p),S=t(27825),f=t.n(S);let E=t(29021);async function h(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.mediaObject,n=e.body.newName,a=e.body.newThumbnailName,i=e.body.replace;try{"production".match(/production/);let e=s.media_url.match(/\..{3,4}$/)[0],o=s?.private==1;if(!process.env.DSQL_STATIC_SERVER_DIR)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let l=m()({isPrivate:o,userId:t.id,folder:s.folder?s.folder+"/":"",video:!!s.media_type?.match(/video/i)});if(!l)throw Error("Couldn't grab paths!");let{fileRootPath:c,urlRootPath:u,relativePath:d}=l,p=`${c}${s.media_name}${e}`,S=`${c}${n}${e}`,h=`${c}${s.media_name}_thumbnail${e}`,g=`${c}${n}_thumbnail${e}`,$=new RegExp(f().escapeRegExp(`${s.media_name}`)),v=s.media_url.replace($,n),y=s.media_url.replace($,n+"_thumbnail"),D=s.media_path?s.media_path.replace($,n):`${d}${n}`,P=s.media_thumbnail_path?s.media_thumbnail_path.replace($,n):`${d}${a}`;if(E.existsSync(S)&&!i)return r.json({success:!1,msg:"File already exists"});E.renameSync(p,S);try{E.renameSync(h,g)}catch(e){}await _()("UPDATE user_media SET media_name = ?, media_url = ?, media_thumbnail_url = ?, media_path = ?, media_thumbnail_path = ? WHERE id = ?",[n,v,y,D,P,s.id]),r.json({success:!0})}catch(e){console.log("Error in renaming media =>",e.message),u()({component:"/api/renameMedia/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Renaming failed. Please try again."})}}let g=(0,i.M)(s,"default"),$=(0,i.M)(s,"config"),v=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/renameMedia",pathname:"/api/renameMedia",bundlePath:"",filename:""},userland:s})},48227:(e,r,t)=>{let s=t(29021),n=t(33873);e.exports=function({isPrivate:e,userId:r,folder:t,video:a,pathOnly:i}){"production".match(/production/);let o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)return console.log("Static File ENV not Found!"),null;let l=e?`@/${a?"videos":"media"}/${t?t+"/":""}`:a?`/videos/user-videos/user-${r}/${t?t+"/":""}`:`/images/user-images/user-${r}/${t?t+"/":""}`,c=e?`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r}/media/${t?t+"/":""}`:n.join(o,l);return s.existsSync(c)||i||s.mkdirSync(c,{recursive:!0}),{fileRootPath:c,urlRootPath:e?`@/media/${t?t+"/":""}`:`${process.env.DSQL_STATIC_HOST}${l}`,relativePath:l}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),i=t(31341);async function o(e,r,t,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=t;let o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let i=new Date,o=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/resetDelegatedDatabaseToken.js b/dsql-app/.local_dist/server/pages/api/resetDelegatedDatabaseToken.js index 63b7dd1..70d420d 100644 --- a/dsql-app/.local_dist/server/pages/api/resetDelegatedDatabaseToken.js +++ b/dsql-app/.local_dist/server/pages/api/resetDelegatedDatabaseToken.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9659,e.ids=[9659],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},55961:(e,r,t)=>{t.r(r),t.d(r,{config:()=>_,default:()=>l,routeModule:()=>p});var s={};t.r(s),t.d(s,{default:()=>u});var n=t(89947),o=t(2706),i=t(96762),a=t(6420),c=t.n(a);async function u(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await c()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{userId:t,dbSlug:s}=e.body,n=`${process.env.DSQL_USER_DB_PREFIX}${t}_${s}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;r.setHeader("Set-Cookie",[`${o}=null;path=/;max-age=0`]),r.json({success:!0,msg:"Processed Successfully"})}let l=(0,i.M)(s,"default"),_=(0,i.M)(s,"config"),p=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/resetDelegatedDatabaseToken",pathname:"/api/resetDelegatedDatabaseToken",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),i=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:u}=i();if(!e.cookies?.[c]?.match(/./))return null;let l=n({encryptedString:e.cookies[c]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:i+=s}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(i,a,c),o.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=55961);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9659,e.ids=[9659],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},55961:(e,r,s)=>{s.r(r),s.d(r,{config:()=>_,default:()=>l,routeModule:()=>d});var t={};s.r(t),s.d(t,{default:()=>c});var n=s(89947),o=s(2706),a=s(96762),i=s(6420),u=s.n(i);async function c(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{userId:s,dbSlug:t}=e.body,n=`${process.env.DSQL_USER_DB_PREFIX}${s}_${t}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;r.setHeader("Set-Cookie",[`${o}=null;path=/;max-age=0`]),r.json({success:!0,msg:"Processed Successfully"})}let l=(0,a.M)(t,"default"),_=(0,a.M)(t,"config"),d=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/resetDelegatedDatabaseToken",pathname:"/api/resetDelegatedDatabaseToken",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),o=s(29021),a=s(31341);async function i(e,r,s,i){let{keyCookieName:u,csrfCookieName:c}=a();if(!e.cookies?.[u]?.match(/./))return null;let l=n({encryptedString:e.cookies[u]});if(!l)return null;let _=JSON.parse(l);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),o&&(u+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:u+=n}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",t(a,i,u),o.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),o=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=55961);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/runUserDbQuery.js b/dsql-app/.local_dist/server/pages/api/runUserDbQuery.js index 15685bc..8ee67f3 100644 --- a/dsql-app/.local_dist/server/pages/api/runUserDbQuery.js +++ b/dsql-app/.local_dist/server/pages/api/runUserDbQuery.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8563,e.ids=[8563],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},83469:(e,r,s)=>{s.r(r),s.d(r,{config:()=>f,default:()=>S,routeModule:()=>D});var t={};s.r(t),s.d(t,{default:()=>d});var n=s(89947),a=s(2706),o=s(96762),c=s(6420),i=s.n(c),l=s(48225),u=s.n(l),_=s(57638),p=s.n(_);async function d(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let s=await i()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{database:t,query:n,tables:a}=e.body;try{let e=await p()({database:`datasquirel_user_${s.id}_${t}`,queryString:n});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){u()({component:"/api/runUserDbQuery/main-catch-error",message:e.message,user:s}),r.json({success:!1})}}s(29021);let S=(0,o.M)(t,"default"),f=(0,o.M)(t,"config"),D=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/runUserDbQuery",pathname:"/api/runUserDbQuery",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function c(e,r,s,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=t}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8563,e.ids=[8563],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},83469:(e,r,s)=>{s.r(r),s.d(r,{config:()=>f,default:()=>S,routeModule:()=>D});var t={};s.r(t),s.d(t,{default:()=>p});var n=s(89947),a=s(2706),o=s(96762),c=s(6420),i=s.n(c),l=s(48225),u=s.n(l),_=s(57638),d=s.n(_);async function p(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let s=await i()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{database:t,query:n,tables:a}=e.body;try{let e=await d()({database:`datasquirel_user_${s.id}_${t}`,queryString:n});if(!e)return r.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){u()({component:"/api/runUserDbQuery/main-catch-error",message:e.message,user:s}),r.json({success:!1})}}s(29021);let S=(0,o.M)(t,"default"),f=(0,o.M)(t,"config"),D=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/runUserDbQuery",pathname:"/api/runUserDbQuery",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),n=s(72835),a=s(29021),o=s(31341);async function c(e,r,s,c){let{keyCookieName:i,csrfCookieName:l}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${d}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let c=r;e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),c+=t;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:o,csrfCookieName:c,oneTimeCodeName:i+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,s)=>{let t=s(72835),n=s(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let s=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,s)=>{let t=s(29021),{IncomingMessage:n}=s(81630);e.exports=async function({user:e,message:r,component:s,noMail:n,req:a}){let o=new Date,c=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],s=a.headers["cf-connecting-ip"],t=Array.isArray(e)?e[0]:e?.split(",")[0],n=s||t||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${s}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),a=s(51348),o=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:i,useLocal:l}){let u;let _=!!l||!!s?.match(/^datasquirel$/),p=l?c:_?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?_?await p(e,r):await p({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):_?await p(e):await p({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await t({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),a=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),a=s(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),i({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(s,c).then(_).catch(p):o.query(s).then(_).catch(p)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function a(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=83469);module.exports=s})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,s)=>{s(29021);let t=s(6061),n=s(48225),a=s(51348),o=s(21339),c=s(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:s,tableSchema:i,useLocal:l}){let u;let _=!!l||!!s?.match(/^datasquirel$/),d=l?c:_?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?_?await d(e,r):await d({paradigm:"Full Access",database:s,queryString:e,queryValues:r}):_?await d(e):await d({paradigm:"Full Access",database:s,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await t({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",s,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=s||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",t(o,c,i),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,s)=>{let t=s(9973),n=s(21580),a=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,s)=>{let t=s(29021);s(33873);let n=s(9973),a=s(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:s,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),i({error:e.message,queryStringGenerated:s,queryValuesGenerated:c,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),c&&Array.isArray(c)&&c[0]?o.query(s,c).then(_).catch(d):o.query(s).then(_).catch(d)}catch(e){t.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,s)=>{let t=s(9973),n=s(21580);async function a(...e){let r=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let s=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(s))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=r(r.s=83469);module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/sendEmailVerificationLink.js b/dsql-app/.local_dist/server/pages/api/sendEmailVerificationLink.js index 4be20df..6acee78 100644 --- a/dsql-app/.local_dist/server/pages/api/sendEmailVerificationLink.js +++ b/dsql-app/.local_dist/server/pages/api/sendEmailVerificationLink.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7714,e.ids=[7714],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},11074:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>d,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),c=t.n(a);let l=t(29021),u=t(59474),_=t(20503);async function p(e,r){if("GET"===e.method){let t=await c()(e,r);if(!t)return r.redirect(307,"/logout");let s=_({data:JSON.stringify({id:t.id,email:t.email,dateCode:Date.now()})}),n=process.env.DSQL_HOST;if(!await u({to:t.email,subject:"Verify Email Address",text:"Please click the link to verify your email address",html:l.readFileSync("./email/send-email-verification-link.html","utf8").replace(/{{host}}/,n||"").replace(/{{token}}/,s||"")}))return r.json({success:!1});r.json({success:!0})}}let d=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/sendEmailVerificationLink",pathname:"/api/sendEmailVerificationLink",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},59474:(e,r,t)=>{let s=t(29021),n=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:r,text:t,html:i,alias:o}){let a;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let c=(o?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let l=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${c}>`,s.sender=c,o&&(s["replyTo "]=c),s.to=e,s.subject=r,s.text=t,s.html=l,a=await n.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return a}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,a,c),i.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(o,a,c),i.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=11074);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7714,e.ids=[7714],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},11074:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>d,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),c=t.n(a);let l=t(29021),u=t(59474),_=t(20503);async function p(e,r){if("GET"===e.method){let t=await c()(e,r);if(!t)return r.redirect(307,"/logout");let s=_({data:JSON.stringify({id:t.id,email:t.email,dateCode:Date.now()})}),n=process.env.DSQL_HOST;if(!await u({to:t.email,subject:"Verify Email Address",text:"Please click the link to verify your email address",html:l.readFileSync("./email/send-email-verification-link.html","utf8").replace(/{{host}}/,n||"").replace(/{{token}}/,s||"")}))return r.json({success:!1});r.json({success:!0})}}let d=(0,o.M)(s,"default"),S=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/sendEmailVerificationLink",pathname:"/api/sendEmailVerificationLink",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:c,csrfCookieName:l}=o();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),i&&(c+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:c+=n}}},59474:(e,r,t)=>{let s=t(29021),n=t(21572).createTransport({host:process.env.DSQL_MAIL_HOST,port:465,secure:!0,auth:{user:process.env.DSQL_MAIL_EMAIL,pass:process.env.DSQL_MAIL_PASSWORD}});e.exports=async function({to:e,subject:r,text:t,html:i,alias:o}){let a;if(!process.env.DSQL_MAIL_HOST||!process.env.DSQL_MAIL_EMAIL||!process.env.DSQL_MAIL_PASSWORD)return null;let c=(o?.match(/support/i),process.env.DSQL_MAIL_EMAIL);if(!s.existsSync("./email/index.html"))return;let l=s.readFileSync("./email/index.html","utf8").replace(/{{email_body}}/,i||"").replace(/{{issue_date}}/,Date().substring(0,24));try{let s={};s.from=`"Datasquirel" <${c}>`,s.sender=c,o&&(s["replyTo "]=c),s.to=e,s.subject=r,s.text=t,s.html=l,a=await n.sendMail(s)}catch(e){console.log("ERROR in handleNodemailer Function =>",e.message)}return a}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,a,c),i.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(o,a,c),i.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=11074);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/sql-users/delete.js b/dsql-app/.local_dist/server/pages/api/sql-users/delete.js index c84f45c..0bbb025 100644 --- a/dsql-app/.local_dist/server/pages/api/sql-users/delete.js +++ b/dsql-app/.local_dist/server/pages/api/sql-users/delete.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=536,e.ids=[536],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},36968:(e,r,t)=>{t.r(r),t.d(r,{config:()=>S,default:()=>f,routeModule:()=>E});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),l=t.n(a),c=t(48225),u=t.n(c);t(27825);var d=t(51348),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s}=e.body;try{let e=await p()("SELECT * FROM mariadb_users WHERE id = ? AND user_id = ?",[s,t.id]),n=e?.[0];if(!n?.id)throw Error("Active User couldn't be verified");if(String(n.primary)?.match(/1/))throw Error("Cannot Delete Primary User");let i=`dsql_user_${t.id}`,o=n.host;await p()("DELETE FROM mariadb_users WHERE user_id = ? AND id = ?",[t.id,n.id]),await p()(`DROP USER '${i}'@'${o}'`),r.json({success:!0})}catch(e){u()({component:"/api/acceptUserInvitation/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Error in adding SQL user =>"+e.message,err:e.message})}}t(29021);let f=(0,o.M)(s,"default"),S=(0,o.M)(s,"config"),E=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/sql-users/delete",pathname:"/api/sql-users/delete",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:i,csrfCookieName:o+=s}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=536,e.ids=[536],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},36968:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>f,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),i=t(2706),o=t(96762),a=t(6420),l=t.n(a),u=t(48225),c=t.n(u);t(27825);var d=t(51348),_=t.n(d);async function p(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await l()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s}=e.body;try{let e=await _()("SELECT * FROM mariadb_users WHERE id = ? AND user_id = ?",[s,t.id]),n=e?.[0];if(!n?.id)throw Error("Active User couldn't be verified");if(String(n.primary)?.match(/1/))throw Error("Cannot Delete Primary User");let i=`dsql_user_${t.id}`,o=n.host;await _()("DELETE FROM mariadb_users WHERE user_id = ? AND id = ?",[t.id,n.id]),await _()(`DROP USER '${i}'@'${o}'`),r.json({success:!0})}catch(e){c()({component:"/api/acceptUserInvitation/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Error in adding SQL user =>"+e.message,err:e.message})}}t(29021);let f=(0,o.M)(s,"default"),E=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/sql-users/delete",pathname:"/api/sql-users/delete",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),i=t(29021),o=t(31341);async function a(e,r,t,a){let{keyCookieName:l,csrfCookieName:u}=o();if(!e.cookies?.[l]?.match(/./))return null;let c=n({encryptedString:e.cookies[l]});if(!c)return null;let d=JSON.parse(c);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!i.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=a},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=t;let a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:o,csrfCookieName:a,oneTimeCodeName:l+=n}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,a,l),i.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=36968);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=n("aes-192-cbc",s(o,a,l),i.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await i.query(...e);return await i.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=36968);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/sync-table-data.js b/dsql-app/.local_dist/server/pages/api/sync-table-data.js index 7754350..fba2f6a 100644 --- a/dsql-app/.local_dist/server/pages/api/sync-table-data.js +++ b/dsql-app/.local_dist/server/pages/api/sync-table-data.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=538,e.ids=[538],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},41848:(e,r,t)=>{t.r(r),t.d(r,{config:()=>h,default:()=>$,routeModule:()=>N});var a={};t.r(a),t.d(a,{default:()=>g});var s=t(89947),l=t(2706),o=t(96762),n=t(48225),i=t.n(n),d=t(6420),u=t.n(d),c=t(27825),p=t.n(c),m=t(51348),_=t.n(m),f=t(27444);t(81630),t(48225);let b=t(51348);async function E({tbls:e,user:r,query:t}){let a;if(!t?.delegated)return{isPriviledged:!0,rootUserId:r.id};try{for(let t=0;te.dbFullName==i),c=n.find(e=>e.dbFullName==d),m=u?.tables.find(e=>e.tableName==l.table),b=c?.tables.find(e=>e.tableName==s.table);if(!m||!b)throw Error("Operation Failed! Tables Schemas not present.");if(!p().isEqual(b.fields,m.fields))throw Error("Tables incompatible");switch(a){case"Push":let g=await _()(`SELECT * FROM ${d}.${s.table}`),$=await (0,f.A)({dbName:l.db,paradigm:"import",payload:g,tableName:l.table,userId:o.rootUserId,payloadType:"object"});return await y({dbName:l.db,tableName:l.table,data:g,userId:o.rootUserId}),r.json({success:!0,payload:$});case"Pull":let h=await _()(`SELECT * FROM ${i}.${l.table}`),N=await (0,f.A)({dbName:s.db,paradigm:"import",payload:h,tableName:s.table,userId:o.rootUserId,payloadType:"object"});return await y({dbName:s.db,tableName:s.table,data:h,userId:o.rootUserId}),r.json({success:!0,payload:N})}r.json({success:!1})}catch(e){console.log(e.message),i()({component:"/api/sync-table-data",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}async function y({dbName:e,tableName:r,data:t,userId:a}){let s=`${process.env.DSQL_USER_DB_PREFIX}${a}_${e.replace(/ /g,"")}`,l=t.map(e=>e.id),o=`DELETE FROM ${s}.${r}`;l?.[0]&&(o+=` WHERE id NOT IN (${l.join(",")})`),await _()(o)}let $=(0,o.M)(a,"default"),h=(0,o.M)(a,"config"),N=new s.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/sync-table-data",pathname:"/api/sync-table-data",bundlePath:"",filename:""},userland:a})},27444:(e,r,t)=>{t.d(r,{A:()=>n});var a=t(47670),s=t.n(a);let l=t(48225),o=t(51348);async function n({paradigm:e,userId:r,dbName:t,tableName:a,payload:n,payloadType:i}){let d={};try{let l=`${process.env.DSQL_USER_DB_PREFIX}${r}_${t.replace(/ /g,"")}`;switch(e){case"export":let u=await o(`SELECT * FROM \`${l}\`.\`${a}\``);d.tableData=u;break;case"import":let c="base64"==i?Buffer.from(n,"base64").toString():n,p="object"===i?n:JSON.parse(c);for(let e=0;e{t(81630);let a=t(51348),s=t(72835),l=t(29021),o=t(31341);async function n(e,r,t,n){let{keyCookieName:i,csrfCookieName:d}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=s({encryptedString:e.cookies[i]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!l.existsSync(`${p}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=r;e?.userId&&(l+=`user_${e.userId}_`),s&&(l+=`${s}_`),l+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),s&&(o+=`${s}_`),{keyCookieName:l,csrfCookieName:o+=a}}},2258:(e,r,t)=>{t.r(r),t.d(r,{default:()=>o});let a=t(48225),s=t(29021),l=t(33873);function o({userId:e}){try{let r=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(r,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},48225:(e,r,t)=>{let a=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:l}){let o=new Date,n=(()=>{if(!l)return null;try{let e=l.headers["x-forwarded-for"],r=l.headers["x-real-ip"],t=l.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||a||r||l.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=538,e.ids=[538],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},41848:(e,r,t)=>{t.r(r),t.d(r,{config:()=>N,default:()=>h,routeModule:()=>I});var a={};t.r(a),t.d(a,{default:()=>y});var s=t(89947),o=t(2706),l=t(96762),n=t(48225),i=t.n(n),d=t(6420),u=t.n(d),c=t(27825),p=t.n(c),_=t(51348),m=t.n(_),b=t(27444);t(81630),t(48225);let f=t(51348);async function E({tbls:e,user:r,query:t}){let a;if(!t?.delegated)return{isPriviledged:!0,rootUserId:r.id};try{for(let t=0;te.dbFullName==i),c=n.find(e=>e.dbFullName==d),_=u?.tables.find(e=>e.tableName==o.table),f=c?.tables.find(e=>e.tableName==s.table);if(!_||!f)throw Error("Operation Failed! Tables Schemas not present.");if(!p().isEqual(f.fields,_.fields))throw Error("Tables incompatible");switch(a){case"Push":let S=await m()(`SELECT * FROM ${d}.${s.table}`),y=await (0,b.A)({dbName:o.db,paradigm:"import",payload:S,tableName:o.table,userId:l.rootUserId,payloadType:"object"});return await $({dbName:o.db,tableName:o.table,data:S,userId:l.rootUserId}),r.json({success:!0,payload:y});case"Pull":let h=await m()(`SELECT * FROM ${i}.${o.table}`),N=await (0,b.A)({dbName:s.db,paradigm:"import",payload:h,tableName:s.table,userId:l.rootUserId,payloadType:"object"});return await $({dbName:s.db,tableName:s.table,data:h,userId:l.rootUserId}),r.json({success:!0,payload:N})}r.json({success:!1})}catch(e){console.log(e.message),i()({component:"/api/sync-table-data",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}async function $({dbName:e,tableName:r,data:t,userId:a}){let s=`${process.env.DSQL_USER_DB_PREFIX}${a}_${e.replace(/ /g,"")}`,o=t.map(e=>e.id),l=`DELETE FROM ${s}.${r}`;o?.[0]&&(l+=` WHERE id NOT IN (${o.join(",")})`),await m()(l)}let h=(0,l.M)(a,"default"),N=(0,l.M)(a,"config"),I=new s.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/sync-table-data",pathname:"/api/sync-table-data",bundlePath:"",filename:""},userland:a})},27444:(e,r,t)=>{t.d(r,{A:()=>n});var a=t(47670),s=t.n(a);let o=t(48225),l=t(51348);async function n({paradigm:e,userId:r,dbName:t,tableName:a,payload:n,payloadType:i}){let d={};try{let o=`${process.env.DSQL_USER_DB_PREFIX}${r}_${t.replace(/ /g,"")}`;switch(e){case"export":let u=await l(`SELECT * FROM \`${o}\`.\`${a}\``);d.tableData=u;break;case"import":let c="base64"==i?Buffer.from(n,"base64").toString():n,p="object"===i?n:JSON.parse(c);for(let e=0;e{t(81630);let a=t(51348),s=t(72835),o=t(29021),l=t(31341);async function n(e,r,t,n){let{keyCookieName:i,csrfCookieName:d}=l();if(!e.cookies?.[i]?.match(/./))return null;let u=s({encryptedString:e.cookies[i]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await a(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",a=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",s=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=r;e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),l+=t;let n=r;e?.userId&&(n+=`user_${e.userId}_`),o&&(n+=`${o}_`),n+=a;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:l,csrfCookieName:n,oneTimeCodeName:i+=s}}},2258:(e,r,t)=>{let a=t(48225),s=t(29021),o=t(33873);e.exports=function({userId:e}){try{let r=o.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(s.readFileSync(r,"utf-8"))}catch(e){return a({component:"grabUserSchemaData",message:e.message}),null}}},48225:(e,r,t)=>{let a=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:o}){let l=new Date,n=(()=>{if(!o)return null;try{let e=o.headers["x-forwarded-for"],r=o.headers["x-real-ip"],t=o.headers["cf-connecting-ip"],a=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||a||r||o.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),l?.url&&(s+=` -URL: ${l.url}`),l?.body&&(s+=` -Request Body: ${JSON.stringify(l.body,null,4)}`),n&&(s+=` +User Email: ${e?.email}`),o?.url&&(s+=` +URL: ${o.url}`),o?.body&&(s+=` +Request Body: ${JSON.stringify(o.body,null,4)}`),n&&(s+=` IP: ${n}`),s+=` -Date: ${o.toDateString()} +Date: ${l.toDateString()} ========================================`,a.existsSync("./.tmp/error.log")||a.writeFileSync("./.tmp/error.log","","utf-8");let i=a.readFileSync("./.tmp/error.log","utf-8");a.writeFileSync("./.tmp/error.log",s),a.appendFileSync("./.tmp/error.log",` -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:a,createDecipheriv:s}=t(55511),{Buffer:l}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,n=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!n?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=s("aes-192-cbc",a(o,n,i),l.alloc(16,0));try{let r=d.update(e,"hex","utf8");return r+=d.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[4050],()=>t(41848));module.exports=a})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:a,createDecipheriv:s}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let l=r||process.env.DSQL_ENCRYPTION_PASSWORD,n=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!l?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!n?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let d=s("aes-192-cbc",a(l,n,i),o.alloc(16,0));try{let r=d.update(e,"hex","utf8");return r+=d.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[4050],()=>t(41848));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateAdminUserAccess.js b/dsql-app/.local_dist/server/pages/api/updateAdminUserAccess.js index 891f135..de54b9b 100644 --- a/dsql-app/.local_dist/server/pages/api/updateAdminUserAccess.js +++ b/dsql-app/.local_dist/server/pages/api/updateAdminUserAccess.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=294,e.ids=[294],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},98397:(e,r,s)=>{s.r(r),s.d(r,{config:()=>S,default:()=>E,routeModule:()=>v});var t={};s.r(t),s.d(t,{default:()=>f});var i=s(89947),a=s(2706),l=s(96762),n=s(51348),o=s.n(n),u=s(6420),d=s.n(u),c=s(47670),_=s.n(c);s(29021),s(33873);let{execSync:p}=s(79646);async function f(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let s=await d()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{userObject:t,database_access:i,user_priviledge:a,db_tables:l,inv_user_id:n}=e.body,u=await o()("UPDATE user_users SET database_access = ? ,user_priviledge = ? WHERE user_id = ? AND email = ?",[i,a,s.id,t.email]),c=l.split("|");await o()(`DELETE FROM delegated_user_tables WHERE root_user_id='${s.id}' AND delegated_user_id='${n}'`);for(let e=0;e{s(81630);let t=s(51348),i=s(72835),a=s(29021),l=s(31341);async function n(e,r,s,n){let{keyCookieName:o,csrfCookieName:u}=l();if(!e.cookies?.[o]?.match(/./))return null;let d=i({encryptedString:e.cookies[o]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:a,csrfCookieName:l+=t}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:i}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let l=r||process.env.DSQL_ENCRYPTION_PASSWORD,n=s||process.env.DSQL_ENCRYPTION_SALT,o=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!l?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!n?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",t(l,n,o),a.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4050],()=>s(98397));module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=294,e.ids=[294],e.modules={27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},98397:(e,r,s)=>{s.r(r),s.d(r,{config:()=>S,default:()=>f,routeModule:()=>m});var t={};s.r(t),s.d(t,{default:()=>E});var i=s(89947),a=s(2706),l=s(96762),n=s(51348),u=s.n(n),o=s(6420),d=s.n(o),_=s(47670),c=s.n(_);s(29021),s(33873);let{execSync:p}=s(79646);async function E(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let s=await d()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let{userObject:t,database_access:i,user_priviledge:a,db_tables:l,inv_user_id:n}=e.body,o=await u()("UPDATE user_users SET database_access = ? ,user_priviledge = ? WHERE user_id = ? AND email = ?",[i,a,s.id,t.email]),_=l.split("|");await u()(`DELETE FROM delegated_user_tables WHERE root_user_id='${s.id}' AND delegated_user_id='${n}'`);for(let e=0;e<_.length;e++){let[r,t]=_[e].split("-");await c()({dbFullName:"datasquirel",tableName:"delegated_user_tables",data:{delegated_user_id:n,root_user_id:s.id,database:r,table:t,priviledge:a}})}r.json({success:!!o?.affectedRows})}let f=(0,l.M)(t,"default"),S=(0,l.M)(t,"config"),m=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/updateAdminUserAccess",pathname:"/api/updateAdminUserAccess",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),i=s(72835),a=s(29021),l=s(31341);async function n(e,r,s,n){let{keyCookieName:u,csrfCookieName:o}=l();if(!e.cookies?.[u]?.match(/./))return null;let d=i({encryptedString:e.cookies[u]});if(!d)return null;let _=JSON.parse(d);if(!_.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let c=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!c)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${c}/${_.csrf_k}`))return null;if(0==_.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=n},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",i=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),l=r;e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),l+=s;let n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),a&&(u+=`${a}_`),{keyCookieName:l,csrfCookieName:n,oneTimeCodeName:u+=i}}},72835:(e,r,s)=>{let{scryptSync:t,createDecipheriv:i}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let l=r||process.env.DSQL_ENCRYPTION_PASSWORD,n=s||process.env.DSQL_ENCRYPTION_SALT,u=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!l?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!n?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let o=i("aes-192-cbc",t(l,n,u),a.alloc(16,0));try{let r=o.update(e,"hex","utf8");return r+=o.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}}};var r=require("../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4050],()=>s(98397));module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateClonedTableForeignKeys.js b/dsql-app/.local_dist/server/pages/api/updateClonedTableForeignKeys.js index f7e4168..11cdca7 100644 --- a/dsql-app/.local_dist/server/pages/api/updateClonedTableForeignKeys.js +++ b/dsql-app/.local_dist/server/pages/api/updateClonedTableForeignKeys.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3133,e.ids=[3133],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},47095:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>v});var s={};t.r(s),t.d(s,{default:()=>E});var a=t(89947),o=t(2706),n=t(96762),i=t(39831),l=t.n(i),u=t(48225),d=t.n(u),c=t(6420),p=t.n(c),_=t(19261),S=t.n(_);let f=t(29021);t(33873);let{execSync:b}=t(79646);async function E(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await p()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{tableData:s}=e.body,a=e.body.database,o=e.body.dbSlug;e.body.delegated;let n=a.replace(/[^a-z\_0-9]/g,"");try{let i=await l()({request:e,user:t,databaseSlug:o,query:e.query}),u=i?.rootUserId?i.rootUserId:t.id,d=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${u}/main.json`,c=JSON.parse(f.readFileSync(d,"utf-8")),p=c.findIndex(e=>e.dbFullName===a),_=c[p].tables.findIndex(e=>e.childTable&&e.childTableDbFullName===s.childTableDbFullName&&e.childTableName===s.childTableName&&e.tableName===s.tableName);c[p].tables[_]=s,f.writeFileSync(`${d}`,JSON.stringify(c),"utf8"),await S()({userId:u,targetDatabase:n}),r.json({success:!0})}catch(e){console.log(e.message),d()({component:"/api/addApiKey/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Foreign Key update Failed."})}}let m=(0,n.M)(s,"default"),g=(0,n.M)(s,"config"),v=new a.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateClonedTableForeignKeys",pathname:"/api/updateClonedTableForeignKeys",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let o=t.id,n=null;if(!a?.delegated)return{dbUserId:o};let i=a.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,u=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[u])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[u]});if(!t)throw Error("Invalid Token");if((n=JSON.parse(t)).databaseSlug===r)return{dbUserId:o=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:o}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),o=t(29021),n=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=n();if(!e.cookies?.[l]?.match(/./))return null;let d=a({encryptedString:e.cookies[l]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),{keyCookieName:o,csrfCookieName:n+=s}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function n(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(47095));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3133,e.ids=[3133],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},47095:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>D});var s={};t.r(s),t.d(s,{default:()=>b});var a=t(89947),o=t(2706),n=t(96762),i=t(39831),l=t.n(i),u=t(48225),d=t.n(u),c=t(6420),_=t.n(c),p=t(19261),S=t.n(p);let f=t(29021);t(33873);let{execSync:E}=t(79646);async function b(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{tableData:s}=e.body,a=e.body.database,o=e.body.dbSlug;e.body.delegated;let n=a.replace(/[^a-z\_0-9]/g,"");try{let i=await l()({request:e,user:t,databaseSlug:o,query:e.query}),u=i?.rootUserId?i.rootUserId:t.id,d=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${u}/main.json`,c=JSON.parse(f.readFileSync(d,"utf-8")),_=c.findIndex(e=>e.dbFullName===a),p=c[_].tables.findIndex(e=>e.childTable&&e.childTableDbFullName===s.childTableDbFullName&&e.childTableName===s.childTableName&&e.tableName===s.tableName);c[_].tables[p]=s,f.writeFileSync(`${d}`,JSON.stringify(c),"utf8"),await S()({userId:u,targetDatabase:n}),r.json({success:!0})}catch(e){console.log(e.message),d()({component:"/api/addApiKey/catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Foreign Key update Failed."})}}let m=(0,n.M)(s,"default"),g=(0,n.M)(s,"config"),D=new a.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateClonedTableForeignKeys",pathname:"/api/updateClonedTableForeignKeys",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let o=t.id,n=null;if(!a?.delegated)return{dbUserId:o};let i=a.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,u=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[u])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[u]});if(!t)throw Error("Invalid Token");if((n=JSON.parse(t)).databaseSlug===r)return{dbUserId:o=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:o}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),o=t(29021),n=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:u}=n();if(!e.cookies?.[l]?.match(/./))return null;let d=a({encryptedString:e.cookies[l]});if(!d)return null;let c=JSON.parse(d);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),o&&(n+=`${o}_`),n+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),{keyCookieName:n,csrfCookieName:i,oneTimeCodeName:l+=a}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function n(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(47095));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateDbSchemaDataForUser.js b/dsql-app/.local_dist/server/pages/api/updateDbSchemaDataForUser.js index 876660e..3cdb74a 100644 --- a/dsql-app/.local_dist/server/pages/api/updateDbSchemaDataForUser.js +++ b/dsql-app/.local_dist/server/pages/api/updateDbSchemaDataForUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=861,e.ids=[861],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},23249:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>N,routeModule:()=>A});var s={};t.r(s),t.d(s,{default:()=>I});var a=t(89947),o=t(2706),n=t(96762),l=t(51348),i=t.n(l),d=t(39831),u=t.n(d),c=t(48225),f=t.n(c),p=t(6420),_=t.n(p),b=t(2258),m=t(29021),S=t.n(m),E=t(27825),h=t.n(E),D=t(19261),g=t.n(D);t(29021),t(33873);let{execSync:v}=t(79646);async function I(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await _()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.schema,a=e.body.database,o=e.body.table;e.body.delegated;try{let n;let l=await u()({request:e,user:t,databaseSlug:a,query:e.query}),d=l?.rootUserId?l.rootUserId:t.id,c=`datasquirel_user_${d}_${a}`.replace(/[^a-z\_0-9]/g,"");if(l?.delegated){let e=await i()("SELECT * FROM user_users WHERE invited_user_id=? AND user_id=? AND user_priviledge LIKE '%Edit Tables%'",[t.id,l.rootUserId]);e&&e[0]&&(n=!0)}else n=!0;if(!n)return r.json({success:!1,msg:"Unauthorized"});let f=(0,b.default)({userId:d});if(!f)throw Error("Database schema not found!");if(!function({dbSchemaData:e,delegatedUser:r,dbFullName:t,schema:s,table:a,userId:o}){let n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}/main.json`;try{if(!e)throw Error("Database schema not found!");let o=h().cloneDeep(e),l=o.find(e=>e.dbFullName==t);if(!l)throw Error("Old Database schema not found!");let i=o.findIndex(e=>e.dbFullName==t);if(i<0)throw Error("Target Database index not found!");let d=s.find(e=>e.dbFullName===t);if(!d)throw Error("New Database schema not found!");if(r?.delegated&&(r.priviledges?.match(/create.?table/i),!r.priviledges?.match(/edit.?table/i)))throw Error("Unauthorized!");let u=d.tables.find(e=>e.tableName==a.tableName);if(!u)throw Error("Table schema not found!");let c=l.tables.findIndex(e=>e.tableName==a.tableName);u&&(o[i].tables[c]=u);let f=l?.childrenDatabases;f?.forEach(e=>{let r=o.findIndex(r=>r.dbFullName===e.dbFullName);o[r]&&l&&(o[r].tables=l.tables.map(e=>{let r=h().cloneDeep(e);return delete r.childrenTables,r}))});let p=o?.[i]?.tables?.[c]?.childrenTables;return p&&p.forEach(e=>{let r=o.findIndex(r=>r.dbFullName==e.dbNameFull),t=o[r]?.tables?.findIndex(r=>r.tableName===e.tableName);o[r]?.tables[t]&&(o[r].tables[t].fields=h().cloneDeep(u.fields),o[r].tables[t].indexes=h().cloneDeep(u.indexes))}),S().writeFileSync(`${n}`,JSON.stringify(o),"utf8"),!0}catch(e){return console.log("updateSchemaData.js ERROR: ",e.message),!1}}({dbFullName:c,dbSchemaData:f,delegatedUser:l,schema:s,table:o,userId:d}))throw Error("Update Failed!");return await g()({userId:d,targetDatabase:c}),r.json({success:!0})}catch(e){console.log("updateDbSchemaDataForUser ERROR:",e.message),f()({component:"/api/updateDbSchemaDataForUser/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}let N=(0,n.M)(s,"default"),P=(0,n.M)(s,"config"),A=new a.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateDbSchemaDataForUser",pathname:"/api/updateDbSchemaDataForUser",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let o=t.id,n=null;if(!a?.delegated)return{dbUserId:o};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,d=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[d])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[d]});if(!t)throw Error("Invalid Token");if((n=JSON.parse(t)).databaseSlug===r)return{dbUserId:o=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:o}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),o=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:i,csrfCookieName:d}=n();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let f=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!f)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${f}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let n=r;return e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),{keyCookieName:o,csrfCookieName:n+=s}}},2258:(e,r,t)=>{t.r(r),t.d(r,{default:()=>n});let s=t(48225),a=t(29021),o=t(33873);function n({userId:e}){try{let r=o.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(a.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function n(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(23249));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=861,e.ids=[861],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},23249:(e,r,t)=>{t.r(r),t.d(r,{config:()=>P,default:()=>A,routeModule:()=>O});var s={};t.r(s),t.d(s,{default:()=>N});var a=t(89947),o=t(2706),n=t(96762),l=t(51348),i=t.n(l),d=t(39831),u=t.n(d),c=t(48225),_=t.n(c),p=t(6420),f=t.n(p),m=t(2258),b=t.n(m),S=t(29021),E=t.n(S),D=t(27825),h=t.n(D),g=t(19261),I=t.n(g);t(29021),t(33873);let{execSync:v}=t(79646);async function N(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await f()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let s=e.body.schema,a=e.body.database,o=e.body.table;e.body.delegated;try{let n;let l=await u()({request:e,user:t,databaseSlug:a,query:e.query}),d=l?.rootUserId?l.rootUserId:t.id,c=`datasquirel_user_${d}_${a}`.replace(/[^a-z\_0-9]/g,"");if(l?.delegated){let e=await i()("SELECT * FROM user_users WHERE invited_user_id=? AND user_id=? AND user_priviledge LIKE '%Edit Tables%'",[t.id,l.rootUserId]);e&&e[0]&&(n=!0)}else n=!0;if(!n)return r.json({success:!1,msg:"Unauthorized"});let _=b()({userId:d});if(!_)throw Error("Database schema not found!");if(!function({dbSchemaData:e,delegatedUser:r,dbFullName:t,schema:s,table:a,userId:o}){let n=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${o}/main.json`;try{if(!e)throw Error("Database schema not found!");let o=h().cloneDeep(e),l=o.find(e=>e.dbFullName==t);if(!l)throw Error("Old Database schema not found!");let i=o.findIndex(e=>e.dbFullName==t);if(i<0)throw Error("Target Database index not found!");let d=s.find(e=>e.dbFullName===t);if(!d)throw Error("New Database schema not found!");if(r?.delegated&&(r.priviledges?.match(/create.?table/i),!r.priviledges?.match(/edit.?table/i)))throw Error("Unauthorized!");let u=d.tables.find(e=>e.tableName==a.tableName);if(!u)throw Error("Table schema not found!");let c=l.tables.findIndex(e=>e.tableName==a.tableName);u&&(o[i].tables[c]=u);let _=l?.childrenDatabases;_?.forEach(e=>{let r=o.findIndex(r=>r.dbFullName===e.dbFullName);o[r]&&l&&(o[r].tables=l.tables.map(e=>{let r=h().cloneDeep(e);return delete r.childrenTables,r}))});let p=o?.[i]?.tables?.[c]?.childrenTables;return p&&p.forEach(e=>{let r=o.findIndex(r=>r.dbFullName==e.dbNameFull),t=o[r]?.tables?.findIndex(r=>r.tableName===e.tableName);o[r]?.tables[t]&&(o[r].tables[t].fields=h().cloneDeep(u.fields),o[r].tables[t].indexes=h().cloneDeep(u.indexes))}),E().writeFileSync(`${n}`,JSON.stringify(o),"utf8"),!0}catch(e){return console.log("updateSchemaData.js ERROR: ",e.message),!1}}({dbFullName:c,dbSchemaData:_,delegatedUser:l,schema:s,table:o,userId:d}))throw Error("Update Failed!");return await I()({userId:d,targetDatabase:c}),r.json({success:!0})}catch(e){console.log("updateDbSchemaDataForUser ERROR:",e.message),_()({component:"/api/updateDbSchemaDataForUser/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:e.message})}}let A=(0,n.M)(s,"default"),P=(0,n.M)(s,"config"),O=new a.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateDbSchemaDataForUser",pathname:"/api/updateDbSchemaDataForUser",bundlePath:"",filename:""},userland:s})},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let o=t.id,n=null;if(!a?.delegated)return{dbUserId:o};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${r}`,d=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[d])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[d]});if(!t)throw Error("Invalid Token");if((n=JSON.parse(t)).databaseSlug===r)return{dbUserId:o=n.rootUserId,rootUserId:n.rootUserId,rootUserName:n.rootUserName,rootUserEmail:n.rootUserEmail,rootUserImage:n.rootUserImage,databaseFullName:n.databaseFullName,databaseSlug:n.databaseSlug,allowedTables:n.allowedTables,priviledges:n.priviledges,database:n.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:o}}catch(e){return null}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),o=t(29021),n=t(31341);async function l(e,r,t,l){let{keyCookieName:i,csrfCookieName:d}=n();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let c=JSON.parse(u);if(!c.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${c.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${c.csrf_k}`))return null;if(0==c.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${c.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return c?.date&&Date.now()-c.date>6048e5?null:c}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),o&&(n+=`${o}_`),n+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),o&&(l+=`${o}_`),l+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:n,csrfCookieName:l,oneTimeCodeName:i+=a}}},2258:(e,r,t)=>{let s=t(48225),a=t(29021),o=t(33873);e.exports=function({userId:e}){try{let r=o.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(a.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function n(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[2451],()=>t(23249));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateDbUser.js b/dsql-app/.local_dist/server/pages/api/updateDbUser.js index d6acf1d..07d6a89 100644 --- a/dsql-app/.local_dist/server/pages/api/updateDbUser.js +++ b/dsql-app/.local_dist/server/pages/api/updateDbUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3683,e.ids=[3683],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},96016:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>_,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),a=t(96762),c=t(33364),i=t.n(c),l=t(6420),u=t.n(l);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,payload:s}=e.body,n=(()=>{let e=Object.keys(s),r={};return e.forEach(e=>{!e?.match(/user_type|priviledge|database_access|databases?|confirm/)&&(e?.match(/databases|confirm/)||(r[e]=s[e]))}),r})(),o=await i()({dbFullName:t,tableName:"users",identifierColumnName:"id",identifierValue:s.id,data:{...n},dbContext:"Dsql User",paradigm:"Full Access"});r.json({success:!!o?.affectedRows,msg:o?.affectedRows?"User Updated":o})}let _=(0,a.M)(s,"default"),d=(0,a.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateDbUser",pathname:"/api/updateDbUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:p,identifierColumnName:_,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:D}){if(!u||!Object.keys(u).length)return null;let E=!!D||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=D?i:E?o:a,h=Object.keys(u),m=[],v=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;a?.richText&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),m.push(`\`${r}\`=?`),"number"==typeof t?v.push(String(t)):v.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}m.push(`date_updated='${Date()}'`),m.push(`date_updated_code='${Date.now()}'`);let L=`UPDATE ${l} SET ${m.join(",")} WHERE \`${_}\`=?`;return v.push(d),E?await g(L,v):await g({paradigm:r,database:t,queryString:L,queryValues:v})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(p).catch(_):a.query(t).then(p).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=96016);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3683,e.ids=[3683],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},96016:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>p,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),o=t(2706),a=t(96762),c=t(33364),i=t.n(c),l=t(6420),u=t.n(l);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{dbFullName:t,payload:s}=e.body,n=(()=>{let e=Object.keys(s),r={};return e.forEach(e=>{!e?.match(/user_type|priviledge|database_access|databases?|confirm/)&&(e?.match(/databases|confirm/)||(r[e]=s[e]))}),r})(),o=await i()({dbFullName:t,tableName:"users",identifierColumnName:"id",identifierValue:s.id,data:{...n},dbContext:"Dsql User",paradigm:"Full Access"});r.json({success:!!o?.affectedRows,msg:o?.affectedRows?"User Updated":o})}let p=(0,a.M)(s,"default"),d=(0,a.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateDbUser",pathname:"/api/updateDbUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:a,csrfCookieName:c,oneTimeCodeName:i+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:_,identifierColumnName:p,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:E}){if(!u||!Object.keys(u).length)return null;let D=!!E||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=E?i:D?o:a,h=Object.keys(u),m=[],v=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;let i=/<[^>]+>/g;(a?.richText||String(t).match(i))&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),m.push(`\`${r}\`=?`),"number"==typeof t?v.push(String(t)):v.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}m.push(`date_updated='${Date()}'`),m.push(`date_updated_code='${Date.now()}'`);let L=`UPDATE ${l} SET ${m.join(",")} WHERE \`${p}\`=?`;return v.push(d),D?await g(L,v):await g({paradigm:r,database:t,queryString:L,queryValues:v})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(_).catch(p):a.query(t).then(_).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=96016);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateTableEntry.js b/dsql-app/.local_dist/server/pages/api/updateTableEntry.js index 17b16d3..510a2de 100644 --- a/dsql-app/.local_dist/server/pages/api/updateTableEntry.js +++ b/dsql-app/.local_dist/server/pages/api/updateTableEntry.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=1132,e.ids=[1132],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},82595:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>h,routeModule:()=>N});var s={};t.r(s),t.d(s,{default:()=>D});var a=t(89947),n=t(2706),o=t(96762),i=t(96771),l=t.n(i),c=t(73677),u=t.n(c),d=t(39831),p=t.n(d),_=t(48225),S=t.n(_),g=t(6420),E=t.n(g),f=t(33364),m=t.n(f);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await E()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbSlug:s,tableName:a,payload:n,entryId:o,tableSchema:i,delegated:c,dbId:d}=e.body;delete n.id,delete n.uuid,delete n.date_created,delete n.date_created_code,delete n.date_created_timestamp,delete n.date_updated,delete n.date_updated_code,delete n.date_updated_timestamp;try{let c=await p()({databaseSlug:s,request:e,user:t,query:e.query}),_=c?.rootUserId?`datasquirel_user_${c.rootUserId}_${s}`:`datasquirel_user_${t.id}_${s}`;if(!await u()({user:t,confirmedDelegetedUser:c,database:s,table:a,dbId:d,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let S=await m()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:_,tableName:a,identifierColumnName:"id",identifierValue:o,data:n,tableSchema:i});if(S?.error)throw Error(S.error);if(!S)throw Error("No result returned!");await l()({dbName:_,entryId:o,entryOrder:n.order,tableName:a,tableSchema:i}),r.json({success:!0,payload:S})}catch(e){S()({component:"/api/updateTableEntry/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let h=(0,o.M)(s,"default"),y=(0,o.M)(s,"config"),N=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/updateTableEntry",pathname:"/api/updateTableEntry",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:n,priviledgeRegex:o,dbId:i}){let l,c;try{r?.delegated?(l=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,n]),c=l[0]?.priviledge?.match(o)):(l=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,i]),c=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!l&&!!l[0]&&!!c}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let i=a.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},96771:(e,r,t)=>{let s=t(21339);e.exports=async function({dbName:e,entryId:r,entryOrder:t,tableName:a,tableSchema:n}){try{if(n.fields.find(e=>!!e.fieldName?.match(/^order$/i))&&t){let n=await s({database:e,paradigm:"Full Access",queryString:`SELECT * FROM ${a} WHERE \`order\` = '${t}' AND id != ?`,queryValues:[String(r)]});if(!n?.[0])throw Error("No Existing Order");await s({database:e,paradigm:"Full Access",queryString:`UPDATE ${a} SET \`order\` = \`order\` + 1 WHERE \`order\` >= ${t} AND id != ?`,queryValues:[String(r)]})}return!0}catch(e){return!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:o+=s}}},33364:(e,r,t)=>{let s=t(72583),a=t(16570),n=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:S,encryptionSalt:g,useLocal:E}){if(!u||!Object.keys(u).length)return null;let f=!!E||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),m=E?l:f?n:o,D=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===r):null,o=n&&n[0]?n[0]:null;if(null==t||void 0==t)continue;o?.richText&&(t=s(t,a)),o?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:g})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),h.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let N=`UPDATE ${c} SET ${h.join(",")} WHERE \`${p}\`=?`;return y.push(_),f?await m(N,y):await m({paradigm:r,database:t,queryString:N,queryValues:y})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=1132,e.ids=[1132],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},82595:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>h,routeModule:()=>N});var s={};t.r(s),t.d(s,{default:()=>D});var a=t(89947),n=t(2706),o=t(96762),i=t(96771),l=t.n(i),c=t(73677),u=t.n(c),d=t(39831),_=t.n(d),p=t(48225),S=t.n(p),E=t(6420),g=t.n(E),f=t(33364),m=t.n(f);async function D(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await g()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{dbSlug:s,tableName:a,payload:n,entryId:o,tableSchema:i,delegated:c,dbId:d}=e.body;delete n.id,delete n.uuid,delete n.date_created,delete n.date_created_code,delete n.date_created_timestamp,delete n.date_updated,delete n.date_updated_code,delete n.date_updated_timestamp;try{let c=await _()({databaseSlug:s,request:e,user:t,query:e.query}),p=c?.rootUserId?`datasquirel_user_${c.rootUserId}_${s}`:`datasquirel_user_${t.id}_${s}`;if(!await u()({user:t,confirmedDelegetedUser:c,database:s,table:a,dbId:d,priviledgeRegex:/Update Entries/i}))return r.json({success:!1,msg:"Unauthorized"});let S=await m()({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:p,tableName:a,identifierColumnName:"id",identifierValue:o,data:n,tableSchema:i});if(S?.error)throw Error(S.error);if(!S)throw Error("No result returned!");await l()({dbName:p,entryId:o,entryOrder:n.order,tableName:a,tableSchema:i}),r.json({success:!0,payload:S})}catch(e){S()({component:"/api/updateTableEntry/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!",err:e.message})}}let h=(0,o.M)(s,"default"),y=(0,o.M)(s,"config"),N=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/updateTableEntry",pathname:"/api/updateTableEntry",bundlePath:"",filename:""},userland:s})},73677:(e,r,t)=>{let s=t(51348),a=t(48225);e.exports=async function({user:e,confirmedDelegetedUser:r,database:t,table:n,priviledgeRegex:o,dbId:i}){let l,c;try{r?.delegated?(l=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[r.rootUserId,e.id,t,n]),c=l[0]?.priviledge?.match(o)):(l=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,i]),c=!0)}catch(r){a({component:"checkUserRights",message:r.message,user:e})}return!!l&&!!l[0]&&!!c}},39831:(e,r,t)=>{t(81630);let s=t(72835);e.exports=async function({request:e,databaseSlug:r,user:t,query:a}){try{let n=t.id,o=null;if(!a?.delegated)return{dbUserId:n};let i=a.dbUserId,l=`${process.env.DSQL_USER_DB_PREFIX}${i}_${r}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${l}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[c]});if(!t)throw Error("Invalid Token");if((o=JSON.parse(t)).databaseSlug===r)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},96771:(e,r,t)=>{let s=t(21339);e.exports=async function({dbName:e,entryId:r,entryOrder:t,tableName:a,tableSchema:n}){try{if(n.fields.find(e=>!!e.fieldName?.match(/^order$/i))&&t){let n=await s({database:e,paradigm:"Full Access",queryString:`SELECT * FROM ${a} WHERE \`order\` = '${t}' AND id != ?`,queryValues:[String(r)]});if(!n?.[0])throw Error("No Existing Order");await s({database:e,paradigm:"Full Access",queryString:`UPDATE ${a} SET \`order\` = \`order\` + 1 WHERE \`order\` >= ${t} AND id != ?`,queryValues:[String(r)]})}return!0}catch(e){return!1}}},6420:(e,r,t)=>{t(81630);let s=t(51348),a=t(72835),n=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=a}}},33364:(e,r,t)=>{let s=t(72583),a=t(16570),n=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:d,identifierColumnName:_,identifierValue:p,encryptionKey:S,encryptionSalt:E,useLocal:g}){if(!u||!Object.keys(u).length)return null;let f=!!g||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),m=g?l:f?n:o,D=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===r):null,o=n&&n[0]?n[0]:null;if(null==t||void 0==t)continue;let l=/<[^>]+>/g;(o?.richText||String(t).match(l))&&(t=s(t,a)),o?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:E})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),h.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let N=`UPDATE ${c} SET ${h.join(",")} WHERE \`${_}\`=?`;return y.push(p),f?await m(N,y):await m({paradigm:r,database:t,queryString:N,queryValues:y})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:a}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=a("aes-192-cbc",s(o,i,l),n.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:a}=t(55511),{Buffer:n}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=a("aes-192-cbc",s(o,i,l),n.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function o(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let a=t(9973),n=t(21580),o=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:n()}}):a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:n()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),a=t(21580);async function n(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=82595);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:a}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=a("aes-192-cbc",s(o,i,l),n.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:a}=t(55511),{Buffer:n}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=a("aes-192-cbc",s(o,i,l),n.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function o(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let a=t(9973),n=t(21580),o=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:n()}}):a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:n()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(_):o.query(t).then(d).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),a=t(21580);async function n(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=82595);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateUser.js b/dsql-app/.local_dist/server/pages/api/updateUser.js index f7f0520..4af2f17 100644 --- a/dsql-app/.local_dist/server/pages/api/updateUser.js +++ b/dsql-app/.local_dist/server/pages/api/updateUser.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8925,e.ids=[8925],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},34229:e=>{e.exports=require("node-fetch")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},43359:(e,r,t)=>{t.r(r),t.d(r,{config:()=>v,default:()=>y,routeModule:()=>L});var s={};t.r(s),t.d(s,{default:()=>D});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(17662),u=t.n(c),p=t(48225),d=t.n(p),_=t(6420),S=t.n(_),f=t(33873),m=t.n(f),g=t(79646),E=t(33364),h=t.n(E);async function D(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await S()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{first_name:s,last_name:n,image:a}=e.body;try{let e=(await l()(`SELECT image FROM users WHERE id='${t.id}'`))[0].image===a,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let i=m().join(o,`images/user-images/user-${t.id}/user-${t.id}-profile.jpg`),c=m().join(o,`images/user-images/user-${t.id}/user-${t.id}-profile-thumbnail.jpg`);e||(await u()({imageSourceUrl:"string"==typeof a?a:a.imageBase64,imageWritePath:i,sourceType:"string"==typeof a?"url":"base64"}),await u()({imageSourceUrl:"string"==typeof a?a:a.imageBase64,imageWritePath:c,maxSize:250,sourceType:"string"==typeof a?"url":"base64"}),(0,g.execSync)(`chmod 644 ${i} ${c}`));let p=i.replace(o,process.env.DSQL_STATIC_HOST||""),d=c.replace(o,process.env.DSQL_STATIC_HOST||"");await h()({dbFullName:"datasquirel",tableName:"users",identifierColumnName:"id",identifierValue:t.id,data:{first_name:s,last_name:n,image:p,image_thumbnail:d}}),await h()({dbFullName:"datasquirel",tableName:"user_users",identifierColumnName:"invited_user_id",identifierValue:t.id,data:{first_name:s,last_name:n,image:p,image_thumbnail:d}}),r.json({user:!0})}catch(e){d()({component:"/api/updateUser/main-catch-error",message:e.message,user:t}),r.json({user:null})}}let y=(0,o.M)(s,"default"),v=(0,o.M)(s,"config"),L=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/updateUser",pathname:"/api/updateUser",bundlePath:"",filename:""},userland:s})},17662:(e,r,t)=>{let s=t(34229),n=t(9288),a=t(48225);e.exports=async function({imageSourceUrl:e,imageWritePath:r,maxSize:t,sourceType:o}){try{async function i(){let r;if(o?.match("url")){if(e.match(/^http/i)){let t=await s(e,{});r=await t.buffer()}else r=`./public${e}`}else o?.match("base64")&&(r=Buffer.from(e,"base64"));return r}let a=await i(),l=t||650,c=n(a),{width:u,height:p,format:d}=await c.metadata();if(u&&p&&u>l){let e=l/u;c.resize(l,Math.round(p*e),{fit:"cover"})}d&&c.toFormat(d,{quality:80}),await c.toFile(r)}catch(e){a({component:"functions/backend/fsWriteImageToDisk",message:e.message})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=t;let o=r;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),a=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:p,identifierColumnName:d,identifierValue:_,encryptionKey:S,encryptionSalt:f,useLocal:m}){if(!u||!Object.keys(u).length)return null;let g=!!m||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),E=m?l:g?a:o,h=Object.keys(u),D=[],y=[];for(let e=0;ee.fieldName===r):null,o=a&&a[0]?a[0]:null;if(null==t||void 0==t)continue;o?.richText&&(t=s(t,n)),o?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),D.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}D.push(`date_updated='${Date()}'`),D.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${c} SET ${D.join(",")} WHERE \`${d}\`=?`;return y.push(_),g?await E(v,y):await E({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8925,e.ids=[8925],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},34229:e=>{e.exports=require("node-fetch")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},9288:e=>{e.exports=require("sharp")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},43359:(e,r,t)=>{t.r(r),t.d(r,{config:()=>v,default:()=>y,routeModule:()=>L});var s={};t.r(s),t.d(s,{default:()=>D});var n=t(89947),a=t(2706),o=t(96762),i=t(51348),l=t.n(i),c=t(17662),u=t.n(c),p=t(48225),_=t.n(p),d=t(6420),S=t.n(d),f=t(33873),m=t.n(f),g=t(79646),E=t(33364),h=t.n(E);async function D(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let t=await S()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{first_name:s,last_name:n,image:a}=e.body;try{let e=(await l()(`SELECT image FROM users WHERE id='${t.id}'`))[0].image===a,o=process.env.DSQL_STATIC_SERVER_DIR;if(!o)throw console.log("Static File ENV not Found!"),Error("No Static Path!");let i=m().join(o,`images/user-images/user-${t.id}/user-${t.id}-profile.jpg`),c=m().join(o,`images/user-images/user-${t.id}/user-${t.id}-profile-thumbnail.jpg`);e||(await u()({imageSourceUrl:"string"==typeof a?a:a.imageBase64,imageWritePath:i,sourceType:"string"==typeof a?"url":"base64"}),await u()({imageSourceUrl:"string"==typeof a?a:a.imageBase64,imageWritePath:c,maxSize:250,sourceType:"string"==typeof a?"url":"base64"}),(0,g.execSync)(`chmod 644 ${i} ${c}`));let p=i.replace(o,process.env.DSQL_STATIC_HOST||""),_=c.replace(o,process.env.DSQL_STATIC_HOST||"");await h()({dbFullName:"datasquirel",tableName:"users",identifierColumnName:"id",identifierValue:t.id,data:{first_name:s,last_name:n,image:p,image_thumbnail:_}}),await h()({dbFullName:"datasquirel",tableName:"user_users",identifierColumnName:"invited_user_id",identifierValue:t.id,data:{first_name:s,last_name:n,image:p,image_thumbnail:_}}),r.json({user:!0})}catch(e){_()({component:"/api/updateUser/main-catch-error",message:e.message,user:t}),r.json({user:null})}}let y=(0,o.M)(s,"default"),v=(0,o.M)(s,"config"),L=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/updateUser",pathname:"/api/updateUser",bundlePath:"",filename:""},userland:s})},17662:(e,r,t)=>{let s=t(34229),n=t(9288),a=t(48225);e.exports=async function({imageSourceUrl:e,imageWritePath:r,maxSize:t,sourceType:o}){try{async function i(){let r;if(o?.match("url")){if(e.match(/^http/i)){let t=await s(e,{});r=await t.buffer()}else r=`./public${e}`}else o?.match("base64")&&(r=Buffer.from(e,"base64"));return r}let a=await i(),l=t||650,c=n(a),{width:u,height:p,format:_}=await c.metadata();if(u&&p&&u>l){let e=l/u;c.resize(l,Math.round(p*e),{fit:"cover"})}_&&c.toFormat(_,{quality:80}),await c.toFile(r)}catch(e){a({component:"functions/backend/fsWriteImageToDisk",message:e.message})}}},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function i(e,r,t,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=r;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),a=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:p,identifierColumnName:_,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:m}){if(!u||!Object.keys(u).length)return null;let g=!!m||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),E=m?l:g?a:o,h=Object.keys(u),D=[],y=[];for(let e=0;ee.fieldName===r):null,o=a&&a[0]?a[0]:null;if(null==t||void 0==t)continue;let l=/<[^>]+>/g;(o?.richText||String(t).match(l))&&(t=s(t,n)),o?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),D.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}D.push(`date_updated='${Date()}'`),D.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${c} SET ${D.join(",")} WHERE \`${_}\`=?`;return y.push(d),g?await E(v,y):await E({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(p).catch(d):o.query(t).then(p).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=43359);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(p).catch(_):o.query(t).then(p).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=43359);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateUserDatabase.js b/dsql-app/.local_dist/server/pages/api/updateUserDatabase.js index cb89835..a999c93 100644 --- a/dsql-app/.local_dist/server/pages/api/updateUserDatabase.js +++ b/dsql-app/.local_dist/server/pages/api/updateUserDatabase.js @@ -1,6 +1,6 @@ -"use strict";(()=>{var e={};e.id=7214,e.ids=[7214],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},29750:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>E,routeModule:()=>y});var s={};r.r(s),r.d(s,{default:()=>g});var n=r(89947),a=r(2706),o=r(96762),l=r(33364),i=r.n(l),c=r(48225),u=r.n(c),p=r(6420),d=r.n(p),_=r(57638),S=r.n(_);let m=r(29021),f=r(21820);r(33873);let{execSync:D}=r(79646);async function g(e,t){if("POST"!==e.method)return t.json({msg:"Failed!"});let r=await d()(e,t,!0);if(!r)return t.json({success:!1,msg:"Unauthorized"});let{id:s,db_name:n,db_slug:a,db_description:o,db_image:l,db_full_name:c,active_clone:p,active_clone_parent_db:_}=e.body;c?.match(/datasquirel_user_.*/)||t.json({success:!1,msg:"Unauthorized"});let g=`datasquirel_user_${r.id}_${a}`;if(await i()({dbFullName:"datasquirel",tableName:"user_databases",identifierColumnName:"id",identifierValue:s,data:{db_name:n,db_slug:a,db_description:o,db_image:l,db_full_name:g}}),c&&c!==g){console.log("Renaming Database");let e=f.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysql.exe'":"mysql",t=f.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{await S()({queryString:`CREATE DATABASE \`${g}\` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin`,database:c});let r={cwd:process.cwd()};f.platform().match(/win/i)&&(r.shell="bash.exe");let s=`${t} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${c} > tmpDbFile.sql`;console.log(`updateUserDatabase.js exe => ${s}`),D(s,r),D(`${e} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${g} < tmpDbFile.sql`,r),await S()({queryString:`DROP DATABASE \`${c}\``,database:c})}catch(e){u()({component:"/api/updateUserDatabase/lines-88-111",message:e.message,user:r})}}try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${r.id}/main.json`,s=JSON.parse(m.readFileSync(e,"utf8")),i=s.filter(e=>e.dbFullName===c);if(i[0].dbName=n,i[0].dbFullName=g,i[0].dbDescription=o,i[0].dbImage=l,i[0].dbSlug=a,p){let e=s.filter(e=>e.dbFullName===i[0].childDatabaseDbFullName)[0],t=e.childrenDatabases?.find(e=>e.dbFullName===c);t&&(t.dbFullName=g)}m.writeFileSync(`${e}`,JSON.stringify(s),"utf8"),t.json({success:!0})}catch(e){u()({component:"/api/updateUserDatabase/main-catch-error",message:e.message,user:r}),t.json({success:!1,msg:"Database Files could not be written!"})}}let E=(0,o.M)(s,"default"),h=(0,o.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/updateUserDatabase",pathname:"/api/updateUserDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,t,r)=>{r(81630);let s=r(51348),n=r(72835),a=r(29021),o=r(31341);async function l(e,t,r,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=l},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=r;let o=t;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},33364:(e,t,r)=>{let s=r(72583),n=r(16570),a=r(51348),o=r(21339),l=r(20503),i=r(44900);async function c({dbContext:e,paradigm:t,dbFullName:r,tableName:c,data:u,tableSchema:p,identifierColumnName:d,identifierValue:_,encryptionKey:S,encryptionSalt:m,useLocal:f}){if(!u||!Object.keys(u).length)return null;let D=!!f||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),g=f?i:D?a:o,E=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===t):null,o=a&&a[0]?a[0]:null;if(null==r||void 0==r)continue;o?.richText&&(r=s(r,n)),o?.encrypted&&(r=l({data:r,encryptionKey:S,encryptionSalt:m})),"object"==typeof r&&(r=JSON.stringify(r)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),h.push(`\`${t}\`=?`),"number"==typeof r?y.push(String(r)):y.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${c} SET ${h.join(",")} WHERE \`${d}\`=?`;return y.push(_),D?await g(b,y):await g({paradigm:t,database:r,queryString:b,queryValues:y})}e.exports=c},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},6061:(e,t,r)=>{let s=r(72835),n=r(30003);e.exports=async function({unparsedResults:e,tableSchema:t}){let r=[];try{for(let a=0;a",t.message),e}}},48225:(e,t,r)=>{let s=r(29021),{IncomingMessage:n}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:n,req:a}){let o=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],t=a.headers["x-real-ip"],r=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=r||s||t||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== -Error Message: ${t} -Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` +"use strict";(()=>{var e={};e.id=7214,e.ids=[7214],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},21820:e=>{e.exports=require("os")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},29750:(e,r,t)=>{t.r(r),t.d(r,{config:()=>h,default:()=>E,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>g});var n=t(89947),a=t(2706),o=t(96762),l=t(33364),i=t.n(l),c=t(48225),u=t.n(c),p=t(6420),d=t.n(p),_=t(57638),S=t.n(_);let m=t(29021),f=t(21820);t(33873);let{execSync:D}=t(79646);async function g(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});let t=await d()(e,r,!0);if(!t)return r.json({success:!1,msg:"Unauthorized"});let{id:s,db_name:n,db_slug:a,db_description:o,db_image:l,db_full_name:c,active_clone:p,active_clone_parent_db:_}=e.body;c?.match(/datasquirel_user_.*/)||r.json({success:!1,msg:"Unauthorized"});let g=`datasquirel_user_${t.id}_${a}`;if(await i()({dbFullName:"datasquirel",tableName:"user_databases",identifierColumnName:"id",identifierValue:s,data:{db_name:n,db_slug:a,db_description:o,db_image:l,db_full_name:g}}),c&&c!==g){console.log("Renaming Database");let e=f.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysql.exe'":"mysql",r=f.platform().match(/win/i)?"'C:\\Program Files\\MySQL\\MySQL Server 8.0\\bin\\mysqldump.exe'":"mysqldump";try{await S()({queryString:`CREATE DATABASE \`${g}\` CHARACTER SET utf8mb4 COLLATE utf8mb4_bin`,database:c});let t={cwd:process.cwd()};f.platform().match(/win/i)&&(t.shell="bash.exe");let s=`${r} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${c} > tmpDbFile.sql`;console.log(`updateUserDatabase.js exe => ${s}`),D(s,t),D(`${e} -u ${process.env.DSQL_DB_USERNAME} -h ${process.env.DSQL_DB_HOST} -p${process.env.DSQL_DB_PASSWORD} ${g} < tmpDbFile.sql`,t),await S()({queryString:`DROP DATABASE \`${c}\``,database:c})}catch(e){u()({component:"/api/updateUserDatabase/lines-88-111",message:e.message,user:t})}}try{let e=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${t.id}/main.json`,s=JSON.parse(m.readFileSync(e,"utf8")),i=s.filter(e=>e.dbFullName===c);if(i[0].dbName=n,i[0].dbFullName=g,i[0].dbDescription=o,i[0].dbImage=l,i[0].dbSlug=a,p){let e=s.filter(e=>e.dbFullName===i[0].childDatabaseDbFullName)[0],r=e.childrenDatabases?.find(e=>e.dbFullName===c);r&&(r.dbFullName=g)}m.writeFileSync(`${e}`,JSON.stringify(s),"utf8"),r.json({success:!0})}catch(e){u()({component:"/api/updateUserDatabase/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Database Files could not be written!"})}}let E=(0,o.M)(s,"default"),h=(0,o.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/updateUserDatabase",pathname:"/api/updateUserDatabase",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),a=t(29021),o=t(31341);async function l(e,r,t,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=l},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let l=r;e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),l+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:o,csrfCookieName:l,oneTimeCodeName:i+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),a=t(51348),o=t(21339),l=t(20503),i=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:p,identifierColumnName:d,identifierValue:_,encryptionKey:S,encryptionSalt:m,useLocal:f}){if(!u||!Object.keys(u).length)return null;let D=!!f||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=f?i:D?a:o,E=Object.keys(u),h=[],y=[];for(let e=0;ee.fieldName===r):null,o=a&&a[0]?a[0]:null;if(null==t||void 0==t)continue;let i=/<[^>]+>/g;(o?.richText||String(t).match(i))&&(t=s(t,n)),o?.encrypted&&(t=l({data:t,encryptionKey:S,encryptionSalt:m})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),h.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}h.push(`date_updated='${Date()}'`),h.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${c} SET ${h.join(",")} WHERE \`${d}\`=?`;return y.push(_),D?await g(b,y):await g({paradigm:r,database:t,queryString:b,queryValues:y})}e.exports=c},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,l=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +Error Message: ${r} +Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} User Email: ${e?.email}`),a?.url&&(n+=` @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,t,r)=>{r(29021);let s=r(6061),n=r(48225),a=r(51348),o=r(21339),l=r(44900);e.exports=async function({queryString:e,queryValuesArray:t,database:r,tableSchema:i,useLocal:c}){let u;let p=!!c||!!r?.match(/^datasquirel$/),d=c?l:p?a:o;try{u=e&&t&&Array.isArray(t)&&t[0]?p?await d(e,t):await d({paradigm:"Full Access",database:r,queryString:e,queryValues:t}):p?await d(e):await d({paradigm:"Full Access",database:r,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",r,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,t,r)=>{let{scryptSync:s,createDecipheriv:n}=r(55511),{Buffer:a}=r(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,l=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,l,i),a.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},20503:(e,t,r)=>{let{scryptSync:s,createCipheriv:n}=r(55511),{Buffer:a}=r(79428);e.exports=({data:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,l=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",s(o,l,i),a.alloc(16,0));try{let t=c.update(e,"utf8","hex");return t+=c.final("hex")}catch(t){return console.log("Error in encrypting =>",t.message),e}}},51348:(e,t,r)=>{let s=r(9973),n=r(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,t,r)=>{let s=r(29021);r(33873);let n=r(9973),a=r(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:l}){try{return new Promise((i,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),i({error:e.message,queryStringGenerated:r,queryValuesGenerated:l,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:a()}}),l&&Array.isArray(l)&&l[0]?o.query(r,l).then(p).catch(d):o.query(r).then(p).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,t,r)=>{let s=r(9973),n=r(21580);async function a(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,t,r)=>{let s=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!s.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,t,r)=>{e.exports=r(75600)}};var t=require("../../webpack-api-runtime.js");t.C(e);var r=t(t.s=29750);module.exports=r})(); \ No newline at end of file +${i}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),l=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:i,useLocal:c}){let u;let p=!!c||!!t?.match(/^datasquirel$/),d=c?l:p?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await d(e,r):await d({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):p?await d(e):await d({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&i)try{let e=u;return await s({unparsedResults:e,tableSchema:i})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,l,i),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,l=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=n("aes-192-cbc",s(o,l,i),a.alloc(16,0));try{let r=c.update(e,"utf8","hex");return r+=c.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:l}){try{return new Promise((i,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:l,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),l&&Array.isArray(l)&&l[0]?o.query(t,l).then(p).catch(d):o.query(t).then(p).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=29750);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateUserTable.js b/dsql-app/.local_dist/server/pages/api/updateUserTable.js index dc07bf2..941da1c 100644 --- a/dsql-app/.local_dist/server/pages/api/updateUserTable.js +++ b/dsql-app/.local_dist/server/pages/api/updateUserTable.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4371,e.ids=[4371],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},56363:(e,t,r)=>{r.r(t),r.d(t,{config:()=>A,default:()=>v,routeModule:()=>L});var s={};r.r(s),r.d(s,{default:()=>y});var a=r(89947),n=r(2706),o=r(96762),l=r(51348),i=r.n(l),c=r(73677),u=r.n(c),d=r(39831),_=r.n(d),p=r(48225),S=r.n(p),f=r(6420),g=r.n(f),E=r(33364),D=r.n(E),m=r(19261),b=r.n(m);let h=r(29021);r(33873);let{execSync:N}=r(79646);async function y(e,t){if("POST"!==e.method)return t.json({msg:"Failed!"});let r=await g()(e,t,!0);if(!r)return t.json({success:!1,msg:"Unauthorized"});let{dbFullName:s,dbSlug:a,dbId:n,tableNameOld:o,payload:l,delegated:c}=e.body,{tableName:d,tableFullName:p,tableDescription:f}=l;if(!d?.match(/./)||d.match(/[^a-zA-Z0-9-_]/))return t.json({success:!1,msg:"Bad Input"});try{let l=await _()({databaseSlug:a,request:e,user:r,query:e.query});if(!await u()({user:r,confirmedDelegetedUser:l,database:a,table:o,dbId:n,priviledgeRegex:/Edit Table/i}))return console.log("User Unauthorized"),t.json({success:!1,msg:"Unauthorized"});let g=l?.rootUserId?l.rootUserId:r.id,E=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${g}/main.json`,m=JSON.parse(h.readFileSync(E,"utf8")),N=m.filter(e=>e.dbFullName===s)[0].tables.filter((e,t)=>{if(e.tableName===o)return!0});if(N&&N[0])N[0].tableName=d,N[0].tableNameOld=o,N[0].tableFullName=p,f&&(N[0].tableDescription=f),N[0].childrenTables&&N[0].childrenTables.forEach(e=>{try{m.filter(t=>t.dbFullName===e.dbNameFull)[0].tables.filter(t=>{if(t.tableName===e.tableName)return!0})[0].childTableName=d}catch(e){S()({component:"/api/updateUserTable/lines-131-138",message:e.message,user:r})}});else throw Error("Table Does not exist");h.writeFileSync(`${E}`,JSON.stringify(m),"utf8"),await D()({dbFullName:"datasquirel",tableName:"user_database_tables",identifierColumnName:"table_slug",identifierValue:o,data:{table_name:p,table_slug:d,table_description:f}}),c&&l&&await i()("UPDATE delegated_user_tables SET `table`=? WHERE delegated_user_id=? AND root_user_id=? AND `table`=? AND `database`=?",[d,r.id,l.rootUserId,o,a]);let y=s.replace(/[^a-z\_0-9]/g,"");await b()({userId:g,targetDatabase:y}),t.json({success:!0})}catch(e){S()({component:"/api/updateUserTable/main-catch-error",message:e.message,user:r}),t.json({success:!1,msg:"Database Files could not be written!"})}}let v=(0,o.M)(s,"default"),A=(0,o.M)(s,"config"),L=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/updateUserTable",pathname:"/api/updateUserTable",bundlePath:"",filename:""},userland:s})},73677:(e,t,r)=>{let s=r(51348),a=r(48225);e.exports=async function({user:e,confirmedDelegetedUser:t,database:r,table:n,priviledgeRegex:o,dbId:l}){let i,c;try{t?.delegated?(i=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[t.rootUserId,e.id,r,n]),c=i[0]?.priviledge?.match(o)):(i=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,l]),c=!0)}catch(t){a({component:"checkUserRights",message:t.message,user:e})}return!!i&&!!i[0]&&!!c}},39831:(e,t,r)=>{r(81630);let s=r(72835);e.exports=async function({request:e,databaseSlug:t,user:r,query:a}){try{let n=r.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${t}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let r=s({encryptedString:e.cookies[c]});if(!r)throw Error("Invalid Token");if((o=JSON.parse(r)).databaseSlug===t)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,t,r)=>{r(81630);let s=r(51348),a=r(72835),n=r(29021),o=r(31341);async function l(e,t,r,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=t;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=r;let o=t;return e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),{keyCookieName:n,csrfCookieName:o+=s}}},33364:(e,t,r)=>{let s=r(72583),a=r(16570),n=r(51348),o=r(21339),l=r(20503),i=r(44900);async function c({dbContext:e,paradigm:t,dbFullName:r,tableName:c,data:u,tableSchema:d,identifierColumnName:_,identifierValue:p,encryptionKey:S,encryptionSalt:f,useLocal:g}){if(!u||!Object.keys(u).length)return null;let E=!!g||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),D=g?i:E?n:o,m=Object.keys(u),b=[],h=[];for(let e=0;ee.fieldName===t):null,o=n&&n[0]?n[0]:null;if(null==r||void 0==r)continue;o?.richText&&(r=s(r,a)),o?.encrypted&&(r=l({data:r,encryptionKey:S,encryptionSalt:f})),"object"==typeof r&&(r=JSON.stringify(r)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),b.push(`\`${t}\`=?`),"number"==typeof r?h.push(String(r)):h.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}b.push(`date_updated='${Date()}'`),b.push(`date_updated_code='${Date.now()}'`);let N=`UPDATE ${c} SET ${b.join(",")} WHERE \`${_}\`=?`;return h.push(p),E?await D(N,h):await D({paradigm:t,database:r,queryString:N,queryValues:h})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,t,r)=>{let{scryptSync:s,createCipheriv:a}=r(55511),{Buffer:n}=r(79428);e.exports=({data:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,l=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=a("aes-192-cbc",s(o,l,i),n.alloc(16,0));try{let t=c.update(e,"utf8","hex");return t+=c.final("hex")}catch(t){return console.log("Error in encrypting =>",t.message),e}}},51348:(e,t,r)=>{let s=r(9973),a=r(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function o(...e){try{let t=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,t,r)=>{let s=r(29021);r(33873);let a=r(9973),n=r(21580),o=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:l}){try{return new Promise((i,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),i({error:e.message,queryStringGenerated:r,queryValuesGenerated:l,sql:e.sql})}o=u?a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),l&&Array.isArray(l)&&l[0]?o.query(r,l).then(d).catch(_):o.query(r).then(d).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,t,r)=>{let s=r(9973),a=r(21580);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},21580:(e,t,r)=>{let s=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!s.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,t,r)=>{e.exports=r(75600)}};var t=require("../../webpack-api-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[2451],()=>r(56363));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4371,e.ids=[4371],e.modules={60818:e=>{e.exports=require("dotenv")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},56363:(e,t,r)=>{r.r(t),r.d(t,{config:()=>A,default:()=>v,routeModule:()=>L});var s={};r.r(s),r.d(s,{default:()=>y});var a=r(89947),n=r(2706),o=r(96762),l=r(51348),i=r.n(l),c=r(73677),u=r.n(c),d=r(39831),_=r.n(d),p=r(48225),S=r.n(p),f=r(6420),g=r.n(f),E=r(33364),D=r.n(E),m=r(19261),b=r.n(m);let h=r(29021);r(33873);let{execSync:N}=r(79646);async function y(e,t){if("POST"!==e.method)return t.json({msg:"Failed!"});let r=await g()(e,t,!0);if(!r)return t.json({success:!1,msg:"Unauthorized"});let{dbFullName:s,dbSlug:a,dbId:n,tableNameOld:o,payload:l,delegated:c}=e.body,{tableName:d,tableFullName:p,tableDescription:f}=l;if(!d?.match(/./)||d.match(/[^a-zA-Z0-9-_]/))return t.json({success:!1,msg:"Bad Input"});try{let l=await _()({databaseSlug:a,request:e,user:r,query:e.query});if(!await u()({user:r,confirmedDelegetedUser:l,database:a,table:o,dbId:n,priviledgeRegex:/Edit Table/i}))return console.log("User Unauthorized"),t.json({success:!1,msg:"Unauthorized"});let g=l?.rootUserId?l.rootUserId:r.id,E=`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${g}/main.json`,m=JSON.parse(h.readFileSync(E,"utf8")),N=m.filter(e=>e.dbFullName===s)[0].tables.filter((e,t)=>{if(e.tableName===o)return!0});if(N&&N[0])N[0].tableName=d,N[0].tableNameOld=o,N[0].tableFullName=p,f&&(N[0].tableDescription=f),N[0].childrenTables&&N[0].childrenTables.forEach(e=>{try{m.filter(t=>t.dbFullName===e.dbNameFull)[0].tables.filter(t=>{if(t.tableName===e.tableName)return!0})[0].childTableName=d}catch(e){S()({component:"/api/updateUserTable/lines-131-138",message:e.message,user:r})}});else throw Error("Table Does not exist");h.writeFileSync(`${E}`,JSON.stringify(m),"utf8"),await D()({dbFullName:"datasquirel",tableName:"user_database_tables",identifierColumnName:"table_slug",identifierValue:o,data:{table_name:p,table_slug:d,table_description:f}}),c&&l&&await i()("UPDATE delegated_user_tables SET `table`=? WHERE delegated_user_id=? AND root_user_id=? AND `table`=? AND `database`=?",[d,r.id,l.rootUserId,o,a]);let y=s.replace(/[^a-z\_0-9]/g,"");await b()({userId:g,targetDatabase:y}),t.json({success:!0})}catch(e){S()({component:"/api/updateUserTable/main-catch-error",message:e.message,user:r}),t.json({success:!1,msg:"Database Files could not be written!"})}}let v=(0,o.M)(s,"default"),A=(0,o.M)(s,"config"),L=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/updateUserTable",pathname:"/api/updateUserTable",bundlePath:"",filename:""},userland:s})},73677:(e,t,r)=>{let s=r(51348),a=r(48225);e.exports=async function({user:e,confirmedDelegetedUser:t,database:r,table:n,priviledgeRegex:o,dbId:l}){let i,c;try{t?.delegated?(i=await s("SELECT priviledge FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=? AND `database`=? AND `table`=?",[t.rootUserId,e.id,r,n]),c=i[0]?.priviledge?.match(o)):(i=await s("SELECT table_slug FROM user_database_tables WHERE user_id=? AND table_slug=? AND db_id=?",[e.id,n,l]),c=!0)}catch(t){a({component:"checkUserRights",message:t.message,user:e})}return!!i&&!!i[0]&&!!c}},39831:(e,t,r)=>{r(81630);let s=r(72835);e.exports=async function({request:e,databaseSlug:t,user:r,query:a}){try{let n=r.id,o=null;if(!a?.delegated)return{dbUserId:n};let l=a.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${l}_${t}`,c=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[c])throw Error("Cookie not present");let r=s({encryptedString:e.cookies[c]});if(!r)throw Error("Invalid Token");if((o=JSON.parse(r)).databaseSlug===t)return{dbUserId:n=o.rootUserId,rootUserId:o.rootUserId,rootUserName:o.rootUserName,rootUserEmail:o.rootUserEmail,rootUserImage:o.rootUserImage,databaseFullName:o.databaseFullName,databaseSlug:o.databaseSlug,allowedTables:o.allowedTables,priviledges:o.priviledges,database:o.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:n}}catch(e){return null}}},6420:(e,t,r)=>{r(81630);let s=r(51348),a=r(72835),n=r(29021),o=r(31341);async function l(e,t,r,l){let{keyCookieName:i,csrfCookieName:c}=o();if(!e.cookies?.[i]?.match(/./))return null;let u=a({encryptedString:e.cookies[i]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=l},31341:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=t;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=r;let l=t;e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),l+=s;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:o,csrfCookieName:l,oneTimeCodeName:i+=a}}},33364:(e,t,r)=>{let s=r(72583),a=r(16570),n=r(51348),o=r(21339),l=r(20503),i=r(44900);async function c({dbContext:e,paradigm:t,dbFullName:r,tableName:c,data:u,tableSchema:d,identifierColumnName:_,identifierValue:p,encryptionKey:S,encryptionSalt:f,useLocal:g}){if(!u||!Object.keys(u).length)return null;let E=!!g||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),D=g?i:E?n:o,m=Object.keys(u),b=[],h=[];for(let e=0;ee.fieldName===t):null,o=n&&n[0]?n[0]:null;if(null==r||void 0==r)continue;let i=/<[^>]+>/g;(o?.richText||String(r).match(i))&&(r=s(r,a)),o?.encrypted&&(r=l({data:r,encryptionKey:S,encryptionSalt:f})),"object"==typeof r&&(r=JSON.stringify(r)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),b.push(`\`${t}\`=?`),"number"==typeof r?h.push(String(r)):h.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}b.push(`date_updated='${Date()}'`),b.push(`date_updated_code='${Date.now()}'`);let N=`UPDATE ${c} SET ${b.join(",")} WHERE \`${_}\`=?`;return h.push(p),E?await D(N,h):await D({paradigm:t,database:r,queryString:N,queryValues:h})}e.exports=c},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},20503:(e,t,r)=>{let{scryptSync:s,createCipheriv:a}=r(55511),{Buffer:n}=r(79428);e.exports=({data:e,encryptionKey:t,encryptionSalt:r})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,l=r||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!l?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let c=a("aes-192-cbc",s(o,l,i),n.alloc(16,0));try{let t=c.update(e,"utf8","hex");return t+=c.final("hex")}catch(t){return console.log("Error in encrypting =>",t.message),e}}},51348:(e,t,r)=>{let s=r(9973),a=r(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function o(...e){try{let t=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,t,r)=>{let s=r(29021);r(33873);let a=r(9973),n=r(21580),o=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:t,queryString:r,queryValues:l}){try{return new Promise((i,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){o.end(),i({error:e.message,queryStringGenerated:r,queryValuesGenerated:l,sql:e.sql})}o=u?a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:t,ssl:n()}}):a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:t,ssl:n()}}),l&&Array.isArray(l)&&l[0]?o.query(r,l).then(d).catch(_):o.query(r).then(d).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,t,r)=>{let s=r(9973),a=r(21580);async function n(...e){let t=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let r=await t.query(...e);return await t.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},21580:(e,t,r)=>{let s=r(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!s.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,t)=>{var r;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(r||(r={}))},89947:(e,t,r)=>{e.exports=r(75600)}};var t=require("../../webpack-api-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[2451],()=>r(56363));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/updateUserUser.js b/dsql-app/.local_dist/server/pages/api/updateUserUser.js index b863671..53e5a39 100644 --- a/dsql-app/.local_dist/server/pages/api/updateUserUser.js +++ b/dsql-app/.local_dist/server/pages/api/updateUserUser.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2500,e.ids=[2500],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},66162:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>_,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),o=t(2706),a=t(96762),c=t(33364),i=t.n(c),l=t(6420),u=t.n(l);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{user_type:t}=e.body,s=(()=>{let r=Object.keys(e.body),s={};return r.forEach(r=>{!(t?.match(/database/)&&r?.match(/user_type|priviledge|database_access|databases?|confirm/))&&(r?.match(/databases|confirm/)||(s[r]=e.body[r]))}),s})(),n=await i()({dbFullName:"datasquirel",tableName:"user_users",identifierColumnName:"id",identifierValue:e.body.id,data:{...s}});r.json({success:!!n?.affectedRows,msg:n?.affectedRows?"User Updated":n})}let _=(0,a.M)(s,"default"),d=(0,a.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateUserUser",pathname:"/api/updateUserUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${_}/${p.csrf_k}`))return null;if(0==p.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let a=r;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=s}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:p,identifierColumnName:_,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:E}){if(!u||!Object.keys(u).length)return null;let D=!!E||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=E?i:D?o:a,h=Object.keys(u),m=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;a?.richText&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),m.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}m.push(`date_updated='${Date()}'`),m.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${l} SET ${m.join(",")} WHERE \`${_}\`=?`;return y.push(d),D?await g(v,y):await g({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function _(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(p).catch(_):a.query(t).then(p).catch(_)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=66162);module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2500,e.ids=[2500],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},66162:(e,r,t)=>{t.r(r),t.d(r,{config:()=>d,default:()=>p,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),o=t(2706),a=t(96762),c=t(33364),i=t.n(c),l=t(6420),u=t.n(l);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});if(!await u()(e,r,!0))return r.json({success:!1,msg:"Unauthorized"});let{user_type:t}=e.body,s=(()=>{let r=Object.keys(e.body),s={};return r.forEach(r=>{!(t?.match(/database/)&&r?.match(/user_type|priviledge|database_access|databases?|confirm/))&&(r?.match(/databases|confirm/)||(s[r]=e.body[r]))}),s})(),n=await i()({dbFullName:"datasquirel",tableName:"user_users",identifierColumnName:"id",identifierValue:e.body.id,data:{...s}});r.json({success:!!n?.affectedRows,msg:n?.affectedRows?"User Updated":n})}let p=(0,a.M)(s,"default"),d=(0,a.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:o.A.PAGES_API,page:"/api/updateUserUser",pathname:"/api/updateUserUser",bundlePath:"",filename:""},userland:s})},6420:(e,r,t)=>{t(81630);let s=t(51348),n=t(72835),o=t(29021),a=t(31341);async function c(e,r,t,c){let{keyCookieName:i,csrfCookieName:l}=a();if(!e.cookies?.[i]?.match(/./))return null;let u=n({encryptedString:e.cookies[i]});if(!u)return null;let _=JSON.parse(u);if(!_.csrf_k||t&&!e.headers["x-csrf-auth"]?.match(RegExp(`${_.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(t&&!o.existsSync(`${p}/${_.csrf_k}`))return null;if(0==_.verification_status&&!t){let e=await s(`SELECT verification_status FROM users WHERE id='${_.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return _?.date&&Date.now()-_.date>6048e5?null:_}e.exports=c},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=r;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=t;let c=r;e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),c+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),{keyCookieName:a,csrfCookieName:c,oneTimeCodeName:i+=n}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),o=t(51348),a=t(21339),c=t(20503),i=t(44900);async function l({dbContext:e,paradigm:r,dbFullName:t,tableName:l,data:u,tableSchema:_,identifierColumnName:p,identifierValue:d,encryptionKey:S,encryptionSalt:f,useLocal:E}){if(!u||!Object.keys(u).length)return null;let D=!!E||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),g=E?i:D?o:a,h=Object.keys(u),m=[],y=[];for(let e=0;ee.fieldName===r):null,a=o&&o[0]?o[0]:null;if(null==t||void 0==t)continue;let i=/<[^>]+>/g;(a?.richText||String(t).match(i))&&(t=s(t,n)),a?.encrypted&&(t=c({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),a?.pattern&&!new RegExp(a.pattern,a.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),m.push(`\`${r}\`=?`),"number"==typeof t?y.push(String(t)):y.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}m.push(`date_updated='${Date()}'`),m.push(`date_updated_code='${Date.now()}'`);let v=`UPDATE ${l} SET ${m.join(",")} WHERE \`${p}\`=?`;return y.push(d),D?await g(v,y):await g({paradigm:r,database:t,queryString:v,queryValues:y})}e.exports=l},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:o}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let a=r||process.env.DSQL_ENCRYPTION_PASSWORD,c=t||process.env.DSQL_ENCRYPTION_SALT,i=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!c?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(a,c,i),o.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),o=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let r=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),o=t(21580),a=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:o()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:c}){try{return new Promise((i,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function _(e){a.end(),i(JSON.parse(JSON.stringify(e)))}function p(e){a.end(),i({error:e.message,queryStringGenerated:t,queryValuesGenerated:c,sql:e.sql})}a=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:o()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:o()}}),c&&Array.isArray(c)&&c[0]?a.query(t,c).then(_).catch(p):a.query(t).then(_).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),i({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function o(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=o},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../webpack-api-runtime.js");r.C(e);var t=r(r.s=66162);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user-schema/replace-database-schema.js b/dsql-app/.local_dist/server/pages/api/user-schema/replace-database-schema.js index b477430..cdaf2a4 100644 --- a/dsql-app/.local_dist/server/pages/api/user-schema/replace-database-schema.js +++ b/dsql-app/.local_dist/server/pages/api/user-schema/replace-database-schema.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4105,e.ids=[4105],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},46127:(e,r,s)=>{s.r(r),s.d(r,{config:()=>v,default:()=>m,routeModule:()=>D});var t={};s.r(t),s.d(t,{default:()=>b});var a=s(89947),n=s(2706),i=s(96762),o=s(6420),u=s.n(o),c=s(48225),l=s.n(c);s(27825);var d=s(51348),_=s.n(d),p=s(33873),f=s.n(p);s(79646);var S=s(19261),E=s.n(S);let h=s(29021);async function b(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let s=await u()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let t=e.body.schema,a=e.body.dbId;try{let e=await _()("SELECT * FROM user_databases WHERE user_id = ? AND id = ?",[s.id,a]);if(!e?.[0])throw Error("Invalid Database");let n=e[0],i=f().resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/main.json`),o=JSON.parse(h.readFileSync(i,"utf-8")),u=o.find(e=>e.dbFullName==n.db_full_name);if(!u)throw Error("This Database doesn't exist");if(u.tables=t.tables,u.childrenDatabases)for(let e=0;ee.dbFullName===r);if(!s||!s.tables){u.childrenDatabases?.splice(e,1);continue}s.tables=t.tables}h.writeFileSync(`${i}`,JSON.stringify(o),"utf8"),await E()({userId:s.id,targetDatabase:n.db_full_name}),r.json({success:!0})}catch(t){l()({component:"/api/acceptUserInvitation/catch-error",message:t.message,user:s,req:e}),r.json({success:!1})}}let m=(0,i.M)(t,"default"),v=(0,i.M)(t,"config"),D=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/user-schema/replace-database-schema",pathname:"/api/user-schema/replace-database-schema",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),a=s(72835),n=s(29021),i=s(31341);async function o(e,r,s,o){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=a({encryptedString:e.cookies[u]});if(!l)return null;let d=JSON.parse(l);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=r;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=s;let i=r;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:n,csrfCookieName:i+=t}}},51348:(e,r,s)=>{let t=s(9973),a=s(21580),n=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function i(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[2451],()=>s(46127));module.exports=t})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4105,e.ids=[4105],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,s){return s in r?r[s]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,s)):"function"==typeof r&&"default"===s?r:void 0}}})},46127:(e,r,s)=>{s.r(r),s.d(r,{config:()=>D,default:()=>v,routeModule:()=>b});var t={};s.r(t),s.d(t,{default:()=>h});var a=s(89947),n=s(2706),i=s(96762),o=s(6420),u=s.n(o),c=s(48225),l=s.n(c);s(27825);var d=s(51348),_=s.n(d),p=s(33873),f=s.n(p);s(79646);var S=s(19261),E=s.n(S);let m=s(29021);async function h(e,r){if("POST"!==e.method)return r.json({user:null,msg:"Registration Failed!"});let s=await u()(e,r,!0);if(!s)return r.json({success:!1,msg:"Unauthorized"});let t=e.body.schema,a=e.body.dbId;try{let e=await _()("SELECT * FROM user_databases WHERE user_id = ? AND id = ?",[s.id,a]);if(!e?.[0])throw Error("Invalid Database");let n=e[0],i=f().resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${s.id}/main.json`),o=JSON.parse(m.readFileSync(i,"utf-8")),u=o.find(e=>e.dbFullName==n.db_full_name);if(!u)throw Error("This Database doesn't exist");if(u.tables=t.tables,u.childrenDatabases)for(let e=0;ee.dbFullName===r);if(!s||!s.tables){u.childrenDatabases?.splice(e,1);continue}s.tables=t.tables}m.writeFileSync(`${i}`,JSON.stringify(o),"utf8"),await E()({userId:s.id,targetDatabase:n.db_full_name}),r.json({success:!0})}catch(t){l()({component:"/api/acceptUserInvitation/catch-error",message:t.message,user:s,req:e}),r.json({success:!1})}}let v=(0,i.M)(t,"default"),D=(0,i.M)(t,"config"),b=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/user-schema/replace-database-schema",pathname:"/api/user-schema/replace-database-schema",bundlePath:"",filename:""},userland:t})},6420:(e,r,s)=>{s(81630);let t=s(51348),a=s(72835),n=s(29021),i=s(31341);async function o(e,r,s,o){let{keyCookieName:u,csrfCookieName:c}=i();if(!e.cookies?.[u]?.match(/./))return null;let l=a({encryptedString:e.cookies[u]});if(!l)return null;let d=JSON.parse(l);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let _=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!_)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${_}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await t(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&r.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",t=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=r;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let o=r;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=t;let u=r;return e?.userId&&(u+=`user_${e.userId}_`),n&&(u+=`${n}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:u+=a}}},51348:(e,r,s)=>{let t=s(9973),a=s(21580),n=t({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function i(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},21580:(e,r,s)=>{let t=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!t.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:t.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var s;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},89947:(e,r,s)=>{e.exports=s(75600)}};var r=require("../../../webpack-api-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[2451],()=>s(46127));module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/add-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/add-user.js index 146487b..c81ebb8 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/add-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/add-user.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=8864,e.ids=[8864],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},48942:(e,a,t)=>{t.r(a),t.d(a,{config:()=>g,default:()=>f,routeModule:()=>T});var s={};t.r(s),t.d(s,{default:()=>p});var r=t(89947),l=t(2706),n=t(96762),i=t(48225),u=t.n(i),d=t(77619),o=t.n(d),m=t(25788),c=t.n(m);async function p(e,a){if("POST"!==e.method)return a.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{payload:s,database:r,encryptionKey:l}=e.body,n=o()({key:t,database:r,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");if((!n.full_access||!n.sign)&&!s?.password){a.json({success:!1,msg:"Password is required to create an account"});return}let i=`datasquirel_user_${n.user_id}_${r}`,u=await c()({encryptionKey:l,database:i,payload:s,userId:n.user_id});a.json(u)}catch(t){u()({component:"/api/user/add-user/main-catch-error",message:t.message,user:{},req:e}),a.json({success:!1,msg:"API Error",error:t.message})}}let f=(0,n.M)(s,"default"),g=(0,n.M)(s,"config"),T=new r.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/user/[user_id]/add-user",pathname:"/api/user/[user_id]/add-user",bundlePath:"",filename:""},userland:s})},25788:(e,a,t)=>{let s=t(63026),r=t(47670),l=t(70402),n=t(57638),i=t(14533);e.exports=async function({encryptionKey:e,payload:a,database:t,userId:u,useLocal:d}){let o=u||process.env.DSQL_API_USER_ID,m=e||process.env.DSQL_ENCRYPTION_PASSWORD;if(!m)return{success:!1,msg:"No encryption key provided",payload:null};if(!m?.match(/.{8,}/))return{success:!1,msg:"Encryption key must be at least 8 characters long",payload:null};let c=i({encryptionKey:m,password:String(a.password)});a.password=c;let p="SHOW COLUMNS FROM users",f=await n({queryString:p,database:t,useLocal:d});if(f?.[0]||(await s({userId:Number(o),database:t,useLocal:d,payload:a}),f=await n({queryString:p,database:t,useLocal:d})),!f?.[0])return{success:!1,msg:"Could not create users table"};let g=f.map(e=>e.Field);for(let e=0;e{t(29021),t(33873);let{execSync:s}=t(79646),r=t(48225),l=t(51348),{default:n}=t(2258),{default:i}=t(78634),u=t(47670),d=t(19261),o=t(44900),m=t(18801);e.exports=async function({userId:e,database:a,useLocal:t,payload:s}){try{let r=m({payload:s});if(!r)throw Error("Couldn't Get User Preset!");let c=n({userId:e});if(!c)throw Error("User schema data not found!");let p=c.find(e=>e.dbFullName===a);if(!p)throw Error("Couldn't Find Target Database!");let f=p?.tables.findIndex(e=>"users"===e.tableName);"number"==typeof f&&f>0?p.tables[f]=r:p.tables.push(r),i({schemaData:c,userId:e});let g=t?await o("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[e,a]):await l("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[e,a]);return g?.[0]&&await u({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:e,db_id:g[0].id,db_slug:p.dbSlug,table_name:"Users",table_slug:"users"},useLocal:t}),await d({userId:e,targetDatabase:a}),"Done!"}catch(a){return console.log(`addUsersTableToDb.js ERROR: ${a.message}`),r({component:"addUsersTableToDb",message:a.message,user:{id:e}}),a.message}}},77619:(e,a,t)=>{let s=t(29021),r=t(72835);e.exports=({key:e,database:a,table:t,user_id:l})=>{if(!e||!l)return null;try{let n=process.env.DSQL_API_KEYS_PATH;if(!n)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=r({encryptedString:e}),u=JSON.parse(i||""),d=s.existsSync(`${n}/${u.sign}`);if(String(u.user_id)!==String(l)||!d)return null;if(!u.target_database)return u;if(!a&&u.target_database)return null;let o=u.target_database?.split(",").includes(String(a));if(o&&!u.target_table)return u;if(o&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},18801:(e,a,t)=>{let s=t(85288),r=t(48225);e.exports=function(e){try{let a=t(8693),r=t(95610),l=e?.payload?s({data:e?.payload,excludeData:r,excludeFields:a.fields}):[];console.log("supplementalFields",l);let n=[...a.fields,...l];console.log("allFields",n);let i=[...r.slice(0,2),...n,...r.slice(2)];return a.fields=[...i],a}catch(e){return console.log(`grabNewUsersTableSchema.js ERROR: ${e.message}`),r({component:"grabNewUsersTableSchema",message:e.message}),null}}},85288:(e,a,t)=>{let s=t(48225);e.exports=function({data:e,fields:a,excludeData:r,excludeFields:l}){try{t(81648),t(57539);let s=[],n=[];return e&&Object.keys(e)?.[0]&&(n=Object.keys(e)),a&&(n=[...n,...a],n=[...new Set(n)]),(n=n.filter(e=>!r||!Object.keys(r).includes(e)).filter(e=>!l||!l.find(a=>a.fieldName==e))).forEach(a=>{let t=e?e[a]:null;if("string"==typeof t){let e={fieldName:a,dataType:t.length>255?"TEXT":"VARCHAR(255)"};t.match(/<[^>]+>/g)&&(e.richText=!0),s.push(e)}else"number"==typeof t?s.push({fieldName:a,dataType:"INT"}):s.push({fieldName:a,dataType:"VARCHAR(255)"})}),s}catch(e){return console.log(`grabSchemaFieldsFromData.js ERROR: ${e.message}`),s({component:"grabSchemaFieldsFromData.js",message:e.message}),[]}}},2258:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n});let s=t(48225),r=t(29021),l=t(33873);function n({userId:e}){try{let a=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(a,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},6061:(e,a,t)=>{let s=t(72835),r=t(30003);e.exports=async function({unparsedResults:e,tableSchema:a}){let t=[];try{for(let l=0;l",a.message),e}}},78634:(e,a,t)=>{t.r(a),t.d(a,{default:()=>n});let s=t(48225),r=t(29021),l=t(33873);function n({userId:e,schemaData:a}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return r.writeFileSync(t,JSON.stringify(a),"utf8"),!0}catch(e){return s({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}},70402:(e,a,t)=>{let s=t(48225),{default:r}=t(2258),{default:l}=t(78634),n=t(19261),i=t(85288);e.exports=async function({userId:e,database:a,newFields:t,newPayload:u}){try{let s=r({userId:e});if(!s)throw Error("User schema data not found!");let d=s.findIndex(e=>e.dbFullName===a);if(d<0)throw Error("Couldn't Find Target Database!");let o=s[d]?.tables.findIndex(e=>"users"===e.tableName),m=s[d].tables[o];if(!m?.fields?.[0])throw Error("Users Table Not Found!");let c=i({fields:t,data:u}),p=m.fields.findIndex(e=>"date_created"===e.fieldName);return m.fields.splice(p>=0?p:0,0,...c),l({schemaData:s,userId:e}),await n({userId:e,targetDatabase:a}),"Done!"}catch(a){return console.log(`addUsersTableToDb.js ERROR: ${a.message}`),s({component:"addUsersTableToDb",message:a.message,user:{id:e}}),a.message}}},57638:(e,a,t)=>{t(29021);let s=t(6061),r=t(48225),l=t(51348),n=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:a,database:t,tableSchema:u,useLocal:d}){let o;let m=!!d||!!t?.match(/^datasquirel$/),c=d?i:m?l:n;try{o=e&&a&&Array.isArray(a)&&a[0]?m?await c(e,a):await c({paradigm:"Full Access",database:t,queryString:e,queryValues:a}):m?await c(e):await c({paradigm:"Full Access",database:t,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(o&&u)try{let e=o;return await s({unparsedResults:e,tableSchema:u})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(o)return o;else return null}},14533:(e,a,t)=>{let{createHmac:s}=t(55511);e.exports=function({password:e,encryptionKey:a}){let t=a||process.env.DSQL_ENCRYPTION_PASSWORD;if(!t?.match(/.{8,}/))throw Error("Encryption key is invalid");let r=s("sha512",t);return r.update(e),r.digest("base64")}},57539:e=>{e.exports=JSON.parse('[{"title":"VARCHAR","name":"VARCHAR","value":"0-255","argument":true,"description":"Varchar is simply letters and numbers within the range 0 - 255","maxValue":255},{"title":"TINYINT","name":"TINYINT","value":"0-100","description":"TINYINT means Integers: 0 to 100","maxValue":127},{"title":"SMALLINT","name":"SMALLINT","value":"0-255","description":"SMALLINT means Integers: 0 to 240933","maxValue":32767},{"title":"MEDIUMINT","name":"MEDIUMINT","value":"0-255","description":"MEDIUMINT means Integers: 0 to 1245568545560","maxValue":8388607},{"title":"INT","name":"INT","value":"0-255","description":"INT means Integers: 0 to 12560","maxValue":2147483647},{"title":"BIGINT","name":"BIGINT","value":"0-255","description":"BIGINT means Integers: 0 to 1245569056767568545560","maxValue":2e+63},{"title":"TINYTEXT","name":"TINYTEXT","value":"0-255","description":"Text with 255 max characters","maxValue":127},{"title":"TEXT","name":"TEXT","value":"0-100","description":"MEDIUMTEXT is just text with max length 16,777,215","maxValue":127},{"title":"MEDIUMTEXT","name":"MEDIUMTEXT","value":"0-255","description":"MEDIUMTEXT is just text with max length 16,777,215","maxValue":127},{"title":"LONGTEXT","name":"LONGTEXT","value":"0-255","description":"LONGTEXT is just text with max length 4,294,967,295","maxValue":127},{"title":"UUID","name":"UUID","valueLiteral":"UUID()","description":"A Unique ID"}]')},81648:e=>{e.exports=JSON.parse('{"fieldName":"string","dataType":"BIGINT","nullValue":true,"primaryKey":true,"autoIncrement":true,"defaultValue":"CURRENT_TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP","notNullValue":true,"foreignKey":{"foreignKeyName":"Name","destinationTableName":"Table Name","destinationTableColumnName":"Column Name","cascadeDelete":true,"cascadeUpdate":true},"onUpdate":"CURRENT_TIMESTAMP","onUpdateLiteral":"CURRENT_TIMESTAMP","onDelete":"CURRENT_TIMESTAMP","onDeleteLiteral":"CURRENT_TIMESTAMP","encrypted":false}')},8693:e=>{e.exports=JSON.parse('{"tableName":"users","tableFullName":"Users","fields":[{"fieldName":"first_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"last_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"email","dataType":"VARCHAR(200)","notNullValue":true},{"fieldName":"phone","dataType":"VARCHAR(50)"},{"fieldName":"user_type","dataType":"VARCHAR(20)","defaultValue":"default"},{"fieldName":"username","dataType":"VARCHAR(100)","nullValue":true},{"fieldName":"password","dataType":"TEXT"},{"fieldName":"image","dataType":"VARCHAR(250)","defaultValue":"/images/user-preset.png"},{"fieldName":"image_thumbnail","dataType":"VARCHAR(250)","defaultValue":"/images/user-preset-thumbnail.png"},{"fieldName":"address","dataType":"VARCHAR(255)"},{"fieldName":"city","dataType":"VARCHAR(50)"},{"fieldName":"state","dataType":"VARCHAR(50)"},{"fieldName":"country","dataType":"VARCHAR(50)"},{"fieldName":"zip_code","dataType":"VARCHAR(50)"},{"fieldName":"social_login","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"social_platform","dataType":"VARCHAR(50)","nullValue":true},{"fieldName":"social_id","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"more_user_data","dataType":"BIGINT","defaultValue":"0"},{"fieldName":"verification_status","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"temp_login_code","dataType":"VARCHAR(50)","nullValue":true}]}')}};var a=require("../../../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(48942));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=8864,e.ids=[8864],e.modules={60818:e=>{e.exports=require("dotenv")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},79646:e=>{e.exports=require("child_process")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},48942:(e,a,t)=>{t.r(a),t.d(a,{config:()=>T,default:()=>f,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>p});var r=t(89947),l=t(2706),n=t(96762),i=t(48225),u=t.n(i),d=t(77619),o=t.n(d),m=t(25788),c=t.n(m);async function p(e,a){if("POST"!==e.method)return a.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{payload:s,database:r,encryptionKey:l}=e.body,n=o()({key:t,database:r,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");if((!n.full_access||!n.sign)&&!s?.password){a.json({success:!1,msg:"Password is required to create an account"});return}let i=`datasquirel_user_${n.user_id}_${r}`,u=await c()({encryptionKey:l,database:i,payload:s,userId:n.user_id});a.json(u)}catch(t){u()({component:"/api/user/add-user/main-catch-error",message:t.message,user:{},req:e}),a.json({success:!1,msg:"API Error",error:t.message})}}let f=(0,n.M)(s,"default"),T=(0,n.M)(s,"config"),g=new r.PagesAPIRouteModule({definition:{kind:l.A.PAGES_API,page:"/api/user/[user_id]/add-user",pathname:"/api/user/[user_id]/add-user",bundlePath:"",filename:""},userland:s})},25788:(e,a,t)=>{let s=t(63026),r=t(47670),l=t(70402),n=t(57638),i=t(14533);e.exports=async function({encryptionKey:e,payload:a,database:t,userId:u,useLocal:d}){let o=u||process.env.DSQL_API_USER_ID,m=e||process.env.DSQL_ENCRYPTION_PASSWORD;if(!m)return{success:!1,msg:"No encryption key provided",payload:null};if(!m?.match(/.{8,}/))return{success:!1,msg:"Encryption key must be at least 8 characters long",payload:null};let c=i({encryptionKey:m,password:String(a.password)});a.password=c;let p="SHOW COLUMNS FROM users",f=await n({queryString:p,database:t,useLocal:d});if(f?.[0]||(await s({userId:Number(o),database:t,useLocal:d,payload:a}),f=await n({queryString:p,database:t,useLocal:d})),!f?.[0])return{success:!1,msg:"Could not create users table"};let T=f.map(e=>e.Field);for(let e=0;e{t(29021),t(33873);let{execSync:s}=t(79646),r=t(48225),l=t(51348),{default:n}=t(2258),{default:i}=t(78634),u=t(47670),d=t(19261),o=t(44900),m=t(18801);e.exports=async function({userId:e,database:a,useLocal:t,payload:s}){try{let r=m({payload:s});if(!r)throw Error("Couldn't Get User Preset!");let c=n({userId:e});if(!c)throw Error("User schema data not found!");let p=c.find(e=>e.dbFullName===a);if(!p)throw Error("Couldn't Find Target Database!");let f=p?.tables.findIndex(e=>"users"===e.tableName);"number"==typeof f&&f>0?p.tables[f]=r:p.tables.push(r),i({schemaData:c,userId:e});let T=t?await o("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[e,a]):await l("SELECT id FROM user_databases WHERE user_id=? AND db_slug=?",[e,a]);return T?.[0]&&await u({dbFullName:"datasquirel",tableName:"user_database_tables",data:{user_id:e,db_id:T[0].id,db_slug:p.dbSlug,table_name:"Users",table_slug:"users"},useLocal:t}),await d({userId:e,targetDatabase:a}),"Done!"}catch(a){return console.log(`addUsersTableToDb.js ERROR: ${a.message}`),r({component:"addUsersTableToDb",message:a.message,user:{id:e}}),a.message}}},77619:(e,a,t)=>{let s=t(29021),r=t(72835);e.exports=({key:e,database:a,table:t,user_id:l,media:n})=>{if(!e||!l)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let u=r({encryptedString:e}),d=JSON.parse(u||""),o=s.existsSync(`${i}/${d.sign}`);if(String(d.user_id)!==String(l)||!o)return null;if(!d.target_database||n)return d;if(!a&&d.target_database)return null;let m=d.target_database?.split(",").includes(String(a));if(m&&!d.target_table)return d;if(m&&!t&&d.target_table)return null;if(d.target_table?.split(",").includes(String(t)))return d;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},18801:(e,a,t)=>{let s=t(85288),r=t(48225);e.exports=function(e){try{let a=t(8693),r=t(95610),l=e?.payload?s({data:e?.payload,excludeData:r,excludeFields:a.fields}):[];console.log("supplementalFields",l);let n=[...a.fields,...l];console.log("allFields",n);let i=[...r.slice(0,2),...n,...r.slice(2)];return a.fields=[...i],a}catch(e){return console.log(`grabNewUsersTableSchema.js ERROR: ${e.message}`),r({component:"grabNewUsersTableSchema",message:e.message}),null}}},85288:(e,a,t)=>{let s=t(48225);e.exports=function({data:e,fields:a,excludeData:r,excludeFields:l}){try{t(81648),t(57539);let s=[],n=[];return e&&Object.keys(e)?.[0]&&(n=Object.keys(e)),a&&(n=[...n,...a],n=[...new Set(n)]),(n=n.filter(e=>!r||!Object.keys(r).includes(e)).filter(e=>!l||!l.find(a=>a.fieldName==e))).forEach(a=>{let t=e?e[a]:null;if("string"==typeof t){let e={fieldName:a,dataType:t.length>255?"TEXT":"VARCHAR(255)"};t.match(/<[^>]+>/g)&&(e.richText=!0),s.push(e)}else"number"==typeof t?s.push({fieldName:a,dataType:"INT"}):s.push({fieldName:a,dataType:"VARCHAR(255)"})}),s}catch(e){return console.log(`grabSchemaFieldsFromData.js ERROR: ${e.message}`),s({component:"grabSchemaFieldsFromData.js",message:e.message}),[]}}},2258:(e,a,t)=>{let s=t(48225),r=t(29021),l=t(33873);e.exports=function({userId:e}){try{let a=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(r.readFileSync(a,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},6061:(e,a,t)=>{let s=t(72835),r=t(30003);e.exports=async function({unparsedResults:e,tableSchema:a}){let t=[];try{for(let l=0;l",a.message),e}}},78634:(e,a,t)=>{let s=t(48225),r=t(29021),l=t(33873);e.exports=function({userId:e,schemaData:a}){try{let t=l.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return r.writeFileSync(t,JSON.stringify(a),"utf8"),!0}catch(e){return s({component:"/functions/backend/setUserSchemaData",message:e.message}),!1}}},70402:(e,a,t)=>{let s=t(48225),{default:r}=t(2258),{default:l}=t(78634),n=t(19261),i=t(85288);e.exports=async function({userId:e,database:a,newFields:t,newPayload:u}){try{let s=r({userId:e});if(!s)throw Error("User schema data not found!");let d=s.findIndex(e=>e.dbFullName===a);if(d<0)throw Error("Couldn't Find Target Database!");let o=s[d]?.tables.findIndex(e=>"users"===e.tableName),m=s[d].tables[o];if(!m?.fields?.[0])throw Error("Users Table Not Found!");let c=i({fields:t,data:u}),p=m.fields.findIndex(e=>"date_created"===e.fieldName);return m.fields.splice(p>=0?p:0,0,...c),l({schemaData:s,userId:e}),await n({userId:e,targetDatabase:a}),"Done!"}catch(a){return console.log(`addUsersTableToDb.js ERROR: ${a.message}`),s({component:"addUsersTableToDb",message:a.message,user:{id:e}}),a.message}}},57638:(e,a,t)=>{t(29021);let s=t(6061),r=t(48225),l=t(51348),n=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:a,database:t,tableSchema:u,useLocal:d}){let o;let m=!!d||!!t?.match(/^datasquirel$/),c=d?i:m?l:n;try{o=e&&a&&Array.isArray(a)&&a[0]?m?await c(e,a):await c({paradigm:"Full Access",database:t,queryString:e,queryValues:a}):m?await c(e):await c({paradigm:"Full Access",database:t,queryString:e})}catch(e){r({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(o&&u)try{let e=o;return await s({unparsedResults:e,tableSchema:u})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),r({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(o)return o;else return null}},14533:(e,a,t)=>{let{createHmac:s}=t(55511);e.exports=function({password:e,encryptionKey:a}){let t=a||process.env.DSQL_ENCRYPTION_PASSWORD;if(!t?.match(/.{8,}/))throw Error("Encryption key is invalid");let r=s("sha512",t);return r.update(e),r.digest("base64")}},57539:e=>{e.exports=JSON.parse('[{"title":"VARCHAR","name":"VARCHAR","value":"0-255","argument":true,"description":"Varchar is simply letters and numbers within the range 0 - 255","maxValue":255},{"title":"TINYINT","name":"TINYINT","value":"0-100","description":"TINYINT means Integers: 0 to 100","maxValue":127},{"title":"SMALLINT","name":"SMALLINT","value":"0-255","description":"SMALLINT means Integers: 0 to 240933","maxValue":32767},{"title":"MEDIUMINT","name":"MEDIUMINT","value":"0-255","description":"MEDIUMINT means Integers: 0 to 1245568545560","maxValue":8388607},{"title":"INT","name":"INT","value":"0-255","description":"INT means Integers: 0 to 12560","maxValue":2147483647},{"title":"BIGINT","name":"BIGINT","value":"0-255","description":"BIGINT means Integers: 0 to 1245569056767568545560","maxValue":2e+63},{"title":"TINYTEXT","name":"TINYTEXT","value":"0-255","description":"Text with 255 max characters","maxValue":127},{"title":"TEXT","name":"TEXT","value":"0-100","description":"MEDIUMTEXT is just text with max length 16,777,215","maxValue":127},{"title":"MEDIUMTEXT","name":"MEDIUMTEXT","value":"0-255","description":"MEDIUMTEXT is just text with max length 16,777,215","maxValue":127},{"title":"LONGTEXT","name":"LONGTEXT","value":"0-255","description":"LONGTEXT is just text with max length 4,294,967,295","maxValue":127},{"title":"UUID","name":"UUID","valueLiteral":"UUID()","description":"A Unique ID"}]')},81648:e=>{e.exports=JSON.parse('{"fieldName":"string","dataType":"BIGINT","nullValue":true,"primaryKey":true,"autoIncrement":true,"defaultValue":"CURRENT_TIMESTAMP","defaultValueLiteral":"CURRENT_TIMESTAMP","notNullValue":true,"foreignKey":{"foreignKeyName":"Name","destinationTableName":"Table Name","destinationTableColumnName":"Column Name","cascadeDelete":true,"cascadeUpdate":true},"onUpdate":"CURRENT_TIMESTAMP","onUpdateLiteral":"CURRENT_TIMESTAMP","onDelete":"CURRENT_TIMESTAMP","onDeleteLiteral":"CURRENT_TIMESTAMP","encrypted":false}')},8693:e=>{e.exports=JSON.parse('{"tableName":"users","tableFullName":"Users","fields":[{"fieldName":"first_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"last_name","dataType":"VARCHAR(100)","notNullValue":true},{"fieldName":"email","dataType":"VARCHAR(200)","notNullValue":true},{"fieldName":"phone","dataType":"VARCHAR(50)"},{"fieldName":"user_type","dataType":"VARCHAR(20)","defaultValue":"default"},{"fieldName":"username","dataType":"VARCHAR(100)","nullValue":true},{"fieldName":"password","dataType":"TEXT"},{"fieldName":"image","dataType":"VARCHAR(250)"},{"fieldName":"image_thumbnail","dataType":"VARCHAR(250)"},{"fieldName":"address","dataType":"VARCHAR(255)"},{"fieldName":"city","dataType":"VARCHAR(50)"},{"fieldName":"state","dataType":"VARCHAR(50)"},{"fieldName":"country","dataType":"VARCHAR(50)"},{"fieldName":"zip_code","dataType":"VARCHAR(50)"},{"fieldName":"social_login","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"social_platform","dataType":"VARCHAR(50)","nullValue":true},{"fieldName":"social_id","dataType":"VARCHAR(250)","nullValue":true},{"fieldName":"more_user_data","dataType":"BIGINT","defaultValue":"0"},{"fieldName":"verification_status","dataType":"TINYINT","defaultValue":"0"},{"fieldName":"temp_login_code","dataType":"VARCHAR(50)","nullValue":true}]}')}};var a=require("../../../../webpack-api-runtime.js");a.C(e);var t=e=>a(a.s=e),s=a.X(0,[4050,2451],()=>t(48942));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/delete-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/delete-user.js index 0bf863b..21c0600 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/delete-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/delete-user.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8078,e.ids=[8078],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},21611:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>S,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(42249),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{deletedUserId:s,database:n}=e.body,a=u()({key:t,database:n?.db_slug,user_id:String(e.query.user_id)});if(!a?.user_id)throw Error("Api Credentials invalid!");if(!a.full_access||!a.sign)return r.json({success:!1,msg:"Unauthorized"});let o=`datasquirel_user_${a.user_id}_${n}`,i=await p()({dbFullName:o,deletedUserId:s});r.json(i)}catch(t){l()({component:"/api/user/delete-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Wrong Credentials"})}}let S=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/delete-user",pathname:"/api/user/[user_id]/delete-user",bundlePath:"",filename:""},userland:s})},42249:(e,r,t)=>{let s=t(64122),n=t(57638);e.exports=async function({dbFullName:e,deletedUserId:r,useLocal:t}){let a=await n({queryString:"SELECT * FROM users WHERE id = ?",queryValuesArray:[r],database:e,useLocal:t});return a?.[0]?{success:!0,result:await s({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:"users",identifierColumnName:"id",identifierValue:r,useLocal:t})}:{success:!1,msg:"User not found"}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),l=JSON.parse(i||""),c=s.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(a)||!c)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let u=l.target_database?.split(",").includes(String(r));if(u&&!l.target_table)return l;if(u&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),a=t(44900);async function o({dbContext:e,paradigm:r,dbFullName:t,tableName:o,identifierColumnName:i,identifierValue:l,useLocal:c}){try{let u=!!c||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),d=c?a:u?s:n,p=`DELETE FROM ${o} WHERE \`${i}\`=?`;return u?await d(p,[l]):await d({paradigm:r,queryString:p,database:t,queryValues:[l]})}catch(e){return null}}e.exports=o},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8078,e.ids=[8078],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},21611:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>S,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),c=t.n(i),l=t(77619),u=t.n(l),d=t(42249),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{deletedUserId:s,database:n}=e.body,a=u()({key:t,database:n?.db_slug,user_id:String(e.query.user_id)});if(!a?.user_id)throw Error("Api Credentials invalid!");if(!a.full_access||!a.sign)return r.json({success:!1,msg:"Unauthorized"});let o=`datasquirel_user_${a.user_id}_${n}`,i=await p()({dbFullName:o,deletedUserId:s});r.json(i)}catch(t){c()({component:"/api/user/delete-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Wrong Credentials"})}}let S=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/delete-user",pathname:"/api/user/[user_id]/delete-user",bundlePath:"",filename:""},userland:s})},42249:(e,r,t)=>{let s=t(64122),n=t(57638);e.exports=async function({dbFullName:e,deletedUserId:r,useLocal:t}){let a=await n({queryString:"SELECT * FROM users WHERE id = ?",queryValuesArray:[r],database:e,useLocal:t});return a?.[0]?{success:!0,result:await s({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:e,tableName:"users",identifierColumnName:"id",identifierValue:r,useLocal:t})}:{success:!1,msg:"User not found"}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:o})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let c=n({encryptedString:e}),l=JSON.parse(c||""),u=s.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(a)||!u)return null;if(!l.target_database||o)return l;if(!r&&l.target_database)return null;let d=l.target_database?.split(",").includes(String(r));if(d&&!l.target_table)return l;if(d&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},64122:(e,r,t)=>{let s=t(51348),n=t(21339),a=t(44900);async function o({dbContext:e,paradigm:r,dbFullName:t,tableName:o,identifierColumnName:i,identifierValue:c,useLocal:l}){try{let u=!!l||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),d=l?a:u?s:n,p=`DELETE FROM ${o} WHERE \`${i}\`=?`;return u?await d(p,[c]):await d({paradigm:r,queryString:p,database:t,queryValues:[c]})}catch(e){return null}}e.exports=o},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -8,9 +8,9 @@ URL: ${a.url}`),a?.body&&(n+=` Request Body: ${JSON.stringify(a.body,null,4)}`),i&&(n+=` IP: ${i}`),n+=` Date: ${o.toDateString()} -========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let l=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",n),s.appendFileSync("./.tmp/error.log",` +========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let c=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",n),s.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:l,useLocal:c}){let u;let d=!!c||!!t?.match(/^datasquirel$/),p=c?i:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await s({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=21611);module.exports=t})(); \ No newline at end of file +${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:c,useLocal:l}){let u;let d=!!l||!!t?.match(/^datasquirel$/),p=l?i:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&c)try{let e=u;return await s({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,i,c),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),c(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=21611);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/get-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/get-user.js index a9096c8..aa95feb 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/get-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/get-user.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=795,e.ids=[795],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},40132:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>S,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),c=t.n(i);t(57638);var l=t(77619),u=t.n(l),p=t(17550),d=t.n(p);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization,{userId:s,database:n}=e.body,a=u()({key:t,database:n,user_id:String(e.query.user_id)});if(!a?.user_id)throw Error("Api Credentials invalid!");if(!a.full_access||!a.sign)return r.json({success:!1,msg:"Unauthorized"});let o=e.body.fields.map(e=>e.replace(/[^a-z\_]/g,"")),i=`datasquirel_user_${a.user_id}_${n}`,c=await d()({dbFullName:i,userId:s,fields:o});r.json(c)}catch(t){c()({component:"/api/user/get-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"User fetch Error"})}}let S=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/get-user",pathname:"/api/user/[user_id]/get-user",bundlePath:"",filename:""},userland:s})},17550:(e,r,t)=>{let s=t(57638);e.exports=async function({fields:e,dbFullName:r,userId:t,useLocal:n}){let a=`SELECT ${e.join(",")} FROM users WHERE id=?`,o=t||process.env.DSQL_API_USER_ID,i=await s({queryString:a,queryValuesArray:[o],database:r.replace(/[^a-z0-9_]/g,""),useLocal:n});return i&&i[0]?{success:!0,payload:i[0]}:{success:!1,payload:null}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),c=JSON.parse(i||""),l=s.existsSync(`${o}/${c.sign}`);if(String(c.user_id)!==String(a)||!l)return null;if(!c.target_database)return c;if(!r&&c.target_database)return null;let u=c.target_database?.split(",").includes(String(r));if(u&&!c.target_table)return c;if(u&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=795,e.ids=[795],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},40132:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>S,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),c=t.n(i);t(57638);var l=t(77619),u=t.n(l),p=t(17550),d=t.n(p);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let t=e.headers.authorization,{userId:s,database:n}=e.body,a=u()({key:t,database:n,user_id:String(e.query.user_id)});if(!a?.user_id)throw Error("Api Credentials invalid!");if(!a.full_access||!a.sign)return r.json({success:!1,msg:"Unauthorized"});let o=e.body.fields.map(e=>e.replace(/[^a-z\_]/g,"")),i=`datasquirel_user_${a.user_id}_${n}`,c=await d()({dbFullName:i,userId:s,fields:o});r.json(c)}catch(t){c()({component:"/api/user/get-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"User fetch Error"})}}let S=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/get-user",pathname:"/api/user/[user_id]/get-user",bundlePath:"",filename:""},userland:s})},17550:(e,r,t)=>{let s=t(57638);e.exports=async function({fields:e,dbFullName:r,userId:t,useLocal:n}){let a=`SELECT ${e.join(",")} FROM users WHERE id=?`,o=t||process.env.DSQL_API_USER_ID,i=await s({queryString:a,queryValuesArray:[o],database:r.replace(/[^a-z0-9_]/g,""),useLocal:n});return i&&i[0]?{success:!0,payload:i[0]}:{success:!1,payload:null}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:o})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let c=n({encryptedString:e}),l=JSON.parse(c||""),u=s.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(a)||!u)return null;if(!l.target_database||o)return l;if(!r&&l.target_database)return null;let p=l.target_database?.split(",").includes(String(r));if(p&&!l.target_table)return l;if(p&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/github-login.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/github-login.js index eec6609..89151a3 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/github-login.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/github-login.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7110,e.ids=[7110],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},72403:(e,t,r)=>{r.r(t),r.d(t,{config:()=>m,default:()=>h,routeModule:()=>f});var s={};r.r(s),r.d(s,{default:()=>d});var i=r(89947),a=r(2706),n=r(96762),o=r(48225),l=r.n(o),u=r(77619),c=r.n(u),p=r(16465),g=r.n(p);async function d(e,t){if("POST"!==e.method)return t.json({success:!1,msg:"Failed!"});try{let{code:r,email:s,clientId:i,clientSecret:a,database:n,additionalFields:o}=e.body,l=e.headers.authorization||"",u=c()({key:l,database:n,user_id:String(e.query.user_id)});if(!u?.user_id)throw Error("Api Credentials invalid!");if(!u.full_access||!u.sign)return t.json({success:!1,msg:"Unauthorized"});let p=`datasquirel_user_${u.user_id}_${n}`,d=await g()({additionalFields:o,clientId:i,clientSecret:a,code:r,database:p,email:s,res:t,userId:u.user_id});t.json(d)}catch(r){console.log("ERROR in 'github-auth' API route =>",r.message),l()({component:"/api/social-login/github-auth/catch-error",message:r.message,req:e}),t.json({success:!1,msg:"Failed!"})}}let h=(0,n.M)(s,"default"),m=(0,n.M)(s,"config"),f=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/github-login",pathname:"/api/user/[user_id]/github-login",bundlePath:"",filename:""},userland:s})},67684:(e,t,r)=>{let s=r(51348),i=r(83634);e.exports=async function({code:e,clientId:t,clientSecret:r}){let a;try{let n=await i({method:"POST",hostname:"github.com",path:`/login/oauth/access_token?client_id=${t}&client_secret=${r}&code=${e}`,headers:{Accept:"application/json","User-Agent":"*"},scheme:"https"}),o=JSON.parse(n);if(!o?.access_token)return a;let l=await i({method:"GET",hostname:"api.github.com",path:"/user",headers:{Authorization:`Bearer ${o.access_token}`,"User-Agent":"*"},scheme:"https"});if(a=JSON.parse(l),!a?.email&&a){let e=await s(`SELECT email FROM users WHERE social_login='1' AND social_platform='github' AND social_id='${a.id}'`);e&&e[0]&&(a.email=e[0].email)}}catch(e){console.log("ERROR in githubLogin.js backend function =>",e.message)}return a}},16465:(e,t,r)=>{let s=r(14385),i=r(67684),a=r(19691);e.exports=async function({code:e,clientId:t,clientSecret:r,database:n,additionalFields:o,res:l,email:u,userId:c}){if(!e||!t||!r||!n)return{success:!1,msg:"Missing query params"};if("string"!=typeof e||"string"!=typeof t||"string"!=typeof r||"string"!=typeof n)return{success:!1,msg:"Wrong Parameters"};let p=await i({code:e,clientId:t,clientSecret:r});if(!p)return{success:!1,msg:"No github user returned"};let g=p.name||p.id||p.login,d=p.name||p.login,h=d?.match(/ /)?d?.split(" "):d?.match(/\-/)?d?.split("-"):[d],m={email:p.email,first_name:a(h[0]),last_name:a(h[1]),social_id:g,social_platform:"github",image:p.avatar_url,image_thumbnail:p.avatar_url,username:"github-user-"+g};return{...await s({database:n,email:p.email,payload:m,social_platform:"github",social_id:g,supEmail:u,additionalFields:o})}}},77619:(e,t,r)=>{let s=r(29021),i=r(72835);e.exports=({key:e,database:t,table:r,user_id:a})=>{if(!e||!a)return null;try{let n=process.env.DSQL_API_KEYS_PATH;if(!n)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let o=i({encryptedString:e}),l=JSON.parse(o||""),u=s.existsSync(`${n}/${l.sign}`);if(String(l.user_id)!==String(a)||!u)return null;if(!l.target_database)return l;if(!t&&l.target_database)return null;let c=l.target_database?.split(",").includes(String(t));if(c&&!l.target_table)return l;if(c&&!r&&l.target_table)return null;if(l.target_table?.split(",").includes(String(r)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},83634:(e,t,r)=>{let s=r(55591),i=r(81630),{URL:a}=r(79551);e.exports=function({url:e,method:t,hostname:r,path:n,headers:o,body:l,port:u,scheme:c}){let p=l?JSON.stringify(l):null,g=e?new a(e):null,d={method:t||"GET",hostname:g?g.hostname:r,port:c?.match(/https/i)?443:g?g.protocol?.match(/https/i)?443:g.port:u?Number(u):80,headers:{}};return n&&(d.path=n),o&&(d.headers=o),l&&(d.headers["Content-Type"]="application/json",d.headers["Content-Length"]=p?Buffer.from(p).length:void 0),new Promise((e,t)=>{let r=(c?.match(/https/i)?s:g?.protocol?.match(/https/i)?s:i).request(d,r=>{var s="";r.on("data",function(e){s+=e}),r.on("end",function(){e(s)}),r.on("error",e=>{console.log("HTTP response error =>",e.message),t(`HTTP response error =>, ${e.message}`)}),r.on("close",()=>{console.log("HTTP(S) Response Closed Successfully")})});l&&r.write(p),r.on("error",e=>{console.log("HTTPS request ERROR =>",e.message),t(`HTTP request error =>, ${e.message}`)}),r.end()})}},19691:e=>{e.exports=function(e){if(!e?.match(/./))return"";if(e?.match(/ /))return e;if(!e)return null;{let t=e.split(""),r=[];for(let e=0;et(t.s=e),s=t.X(0,[4050,4385],()=>r(72403));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7110,e.ids=[7110],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},33873:e=>{e.exports=require("path")},79551:e=>{e.exports=require("url")},72403:(e,t,r)=>{r.r(t),r.d(t,{config:()=>m,default:()=>h,routeModule:()=>f});var s={};r.r(s),r.d(s,{default:()=>d});var i=r(89947),a=r(2706),n=r(96762),o=r(48225),l=r.n(o),u=r(77619),c=r.n(u),p=r(16465),g=r.n(p);async function d(e,t){if("POST"!==e.method)return t.json({success:!1,msg:"Failed!"});try{let{code:r,email:s,clientId:i,clientSecret:a,database:n,additionalFields:o}=e.body,l=e.headers.authorization||"",u=c()({key:l,database:n,user_id:String(e.query.user_id)});if(!u?.user_id)throw Error("Api Credentials invalid!");if(!u.full_access||!u.sign)return t.json({success:!1,msg:"Unauthorized"});let p=`datasquirel_user_${u.user_id}_${n}`,d=await g()({additionalFields:o,clientId:i,clientSecret:a,code:r,database:p,email:s,res:t,userId:u.user_id});t.json(d)}catch(r){console.log("ERROR in 'github-auth' API route =>",r.message),l()({component:"/api/social-login/github-auth/catch-error",message:r.message,req:e}),t.json({success:!1,msg:"Failed!"})}}let h=(0,n.M)(s,"default"),m=(0,n.M)(s,"config"),f=new i.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/github-login",pathname:"/api/user/[user_id]/github-login",bundlePath:"",filename:""},userland:s})},67684:(e,t,r)=>{let s=r(51348),i=r(83634);e.exports=async function({code:e,clientId:t,clientSecret:r}){let a;try{let n=await i({method:"POST",hostname:"github.com",path:`/login/oauth/access_token?client_id=${t}&client_secret=${r}&code=${e}`,headers:{Accept:"application/json","User-Agent":"*"},scheme:"https"}),o=JSON.parse(n);if(!o?.access_token)return a;let l=await i({method:"GET",hostname:"api.github.com",path:"/user",headers:{Authorization:`Bearer ${o.access_token}`,"User-Agent":"*"},scheme:"https"});if(a=JSON.parse(l),!a?.email&&a){let e=await s(`SELECT email FROM users WHERE social_login='1' AND social_platform='github' AND social_id='${a.id}'`);e&&e[0]&&(a.email=e[0].email)}}catch(e){console.log("ERROR in githubLogin.js backend function =>",e.message)}return a}},16465:(e,t,r)=>{let s=r(14385),i=r(67684),a=r(19691);e.exports=async function({code:e,clientId:t,clientSecret:r,database:n,additionalFields:o,res:l,email:u,userId:c}){if(!e||!t||!r||!n)return{success:!1,msg:"Missing query params"};if("string"!=typeof e||"string"!=typeof t||"string"!=typeof r||"string"!=typeof n)return{success:!1,msg:"Wrong Parameters"};let p=await i({code:e,clientId:t,clientSecret:r});if(!p)return{success:!1,msg:"No github user returned"};let g=p.name||p.id||p.login,d=p.name||p.login,h=d?.match(/ /)?d?.split(" "):d?.match(/\-/)?d?.split("-"):[d],m={email:p.email,first_name:a(h[0]),last_name:a(h[1]),social_id:g,social_platform:"github",image:p.avatar_url,image_thumbnail:p.avatar_url,username:"github-user-"+g};return{...await s({database:n,email:p.email,payload:m,social_platform:"github",social_id:g,supEmail:u,additionalFields:o})}}},77619:(e,t,r)=>{let s=r(29021),i=r(72835);e.exports=({key:e,database:t,table:r,user_id:a,media:n})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=i({encryptedString:e}),u=JSON.parse(l||""),c=s.existsSync(`${o}/${u.sign}`);if(String(u.user_id)!==String(a)||!c)return null;if(!u.target_database||n)return u;if(!t&&u.target_database)return null;let p=u.target_database?.split(",").includes(String(t));if(p&&!u.target_table)return u;if(p&&!r&&u.target_table)return null;if(u.target_table?.split(",").includes(String(r)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},83634:(e,t,r)=>{let s=r(55591),i=r(81630),{URL:a}=r(79551);e.exports=function({url:e,method:t,hostname:r,path:n,headers:o,body:l,port:u,scheme:c}){let p=l?JSON.stringify(l):null,g=e?new a(e):null,d={method:t||"GET",hostname:g?g.hostname:r,port:c?.match(/https/i)?443:g?g.protocol?.match(/https/i)?443:g.port:u?Number(u):80,headers:{}};return n&&(d.path=n),o&&(d.headers=o),l&&(d.headers["Content-Type"]="application/json",d.headers["Content-Length"]=p?Buffer.from(p).length:void 0),new Promise((e,t)=>{let r=(c?.match(/https/i)?s:g?.protocol?.match(/https/i)?s:i).request(d,r=>{var s="";r.on("data",function(e){s+=e}),r.on("end",function(){e(s)}),r.on("error",e=>{console.log("HTTP response error =>",e.message),t(`HTTP response error =>, ${e.message}`)}),r.on("close",()=>{console.log("HTTP(S) Response Closed Successfully")})});l&&r.write(p),r.on("error",e=>{console.log("HTTPS request ERROR =>",e.message),t(`HTTP request error =>, ${e.message}`)}),r.end()})}},19691:e=>{e.exports=function(e){if(!e?.match(/./))return"";if(e?.match(/ /))return e;if(!e)return null;{let t=e.split(""),r=[];for(let e=0;et(t.s=e),s=t.X(0,[4050,4385],()=>r(72403));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/google-login.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/google-login.js index c9c404f..604317a 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/google-login.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/google-login.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5770,e.ids=[5770],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},33873:e=>{e.exports=require("path")},56891:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>f,routeModule:()=>_});var s={};t.r(s),t.d(s,{default:()=>p});var a=t(89947),i=t(2706),o=t(96762),n=t(48225),u=t.n(n),l=t(77619),g=t.n(l),d=t(2853),c=t.n(d);async function p(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});try{let{token:t,database:s,additionalFields:a}=e.body,i=e.headers.authorization,o=g()({key:i,database:s,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let n=`datasquirel_user_${o.user_id}_${s}`,u=await c()({database:n,token:t,additionalFields:a});r.json(u)}catch(t){u()({component:"/api/user/google-login/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Error: "+t.message})}}let f=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),_=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/user/[user_id]/google-login",pathname:"/api/user/[user_id]/google-login",bundlePath:"",filename:""},userland:s})},2853:(e,r,t)=>{let s=t(55591),a=t(14385),i=t(27836);e.exports=async function({token:e,database:r,additionalFields:t}){try{let o=await new Promise((r,t)=>{s.request({method:"GET",hostname:"www.googleapis.com",path:"/oauth2/v3/userinfo",headers:{Authorization:`Bearer ${e}`}},e=>{let t="";e.on("data",e=>{t+=e}),e.on("end",()=>{r(i.parse(t))})}).end()});if(!o?.email_verified)throw Error("No Google User.");if(!r||"string"!=typeof r||r?.match(/ /))return{success:!1,user:void 0,msg:"Please provide a database slug(database name in lowercase with no spaces)"};let{given_name:n,family_name:u,email:l,sub:g,picture:d}=o,c={email:l,first_name:n,last_name:u,social_id:g,social_platform:"google",image:d,image_thumbnail:d,username:`google-user-${g}`};return{...await a({database:r,email:l||"",payload:c,social_platform:"google",social_id:g,additionalFields:t})}}catch(e){return console.log(`apo-google-login.js ERROR: ${e.message}`),{success:!1,user:void 0,msg:e.message}}}},77619:(e,r,t)=>{let s=t(29021),a=t(72835);e.exports=({key:e,database:r,table:t,user_id:i})=>{if(!e||!i)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let n=a({encryptedString:e}),u=JSON.parse(n||""),l=s.existsSync(`${o}/${u.sign}`);if(String(u.user_id)!==String(i)||!l)return null;if(!u.target_database)return u;if(!r&&u.target_database)return null;let g=u.target_database?.split(",").includes(String(r));if(g&&!u.target_table)return u;if(g&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},27836:e=>{e.exports={parse:function(e,r){if(e){if("object"==typeof e)return e;if("string"==typeof e)try{return JSON.parse(e,r)}catch(e){return}}},stringify:function(e,r,t){try{return JSON.stringify(e,r,t)}catch(e){return}}}}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4050,4385],()=>t(56891));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5770,e.ids=[5770],e.modules={47795:e=>{e.exports=require("generate-password")},27825:e=>{e.exports=require("lodash")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},55591:e=>{e.exports=require("https")},33873:e=>{e.exports=require("path")},56891:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>f,routeModule:()=>_});var s={};t.r(s),t.d(s,{default:()=>c});var a=t(89947),i=t(2706),o=t(96762),n=t(48225),u=t.n(n),l=t(77619),d=t.n(l),g=t(2853),p=t.n(g);async function c(e,r){if("POST"!==e.method)return r.json({success:!1,msg:"Failed!"});try{let{token:t,database:s,additionalFields:a}=e.body,i=e.headers.authorization,o=d()({key:i,database:s,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let n=`datasquirel_user_${o.user_id}_${s}`,u=await p()({database:n,token:t,additionalFields:a});r.json(u)}catch(t){u()({component:"/api/user/google-login/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Error: "+t.message})}}let f=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),_=new a.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/user/[user_id]/google-login",pathname:"/api/user/[user_id]/google-login",bundlePath:"",filename:""},userland:s})},2853:(e,r,t)=>{let s=t(55591),a=t(14385),i=t(27836);e.exports=async function({token:e,database:r,additionalFields:t}){try{let o=await new Promise((r,t)=>{s.request({method:"GET",hostname:"www.googleapis.com",path:"/oauth2/v3/userinfo",headers:{Authorization:`Bearer ${e}`}},e=>{let t="";e.on("data",e=>{t+=e}),e.on("end",()=>{r(i.parse(t))})}).end()});if(!o?.email_verified)throw Error("No Google User.");if(!r||"string"!=typeof r||r?.match(/ /))return{success:!1,payload:void 0,msg:"Please provide a database slug(database name in lowercase with no spaces)"};let{given_name:n,family_name:u,email:l,sub:d,picture:g}=o,p={email:l,first_name:n,last_name:u,social_id:d,social_platform:"google",image:g,image_thumbnail:g,username:`google-user-${d}`};return{...await a({database:r,email:l||"",payload:p,social_platform:"google",social_id:d,additionalFields:t})}}catch(e){return console.log(`apo-google-login.js ERROR: ${e.message}`),{success:!1,payload:void 0,msg:e.message}}}},77619:(e,r,t)=>{let s=t(29021),a=t(72835);e.exports=({key:e,database:r,table:t,user_id:i,media:o})=>{if(!e||!i)return null;try{let n=process.env.DSQL_API_KEYS_PATH;if(!n)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let u=a({encryptedString:e}),l=JSON.parse(u||""),d=s.existsSync(`${n}/${l.sign}`);if(String(l.user_id)!==String(i)||!d)return null;if(!l.target_database||o)return l;if(!r&&l.target_database)return null;let g=l.target_database?.split(",").includes(String(r));if(g&&!l.target_table)return l;if(g&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},27836:e=>{e.exports={parse:function(e,r){if(e){if("object"==typeof e)return e;if("string"==typeof e)try{return JSON.parse(e,r)}catch(e){return}}},stringify:function(e,r,t){try{return JSON.stringify(e,r,t)}catch(e){return}}}}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4050,4385],()=>t(56891));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/grab-google-user-from-token.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/grab-google-user-from-token.js index 5a9c5be..5bfd9c9 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/grab-google-user-from-token.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/grab-google-user-from-token.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=2738,e.ids=[2738],e.modules={76154:e=>{e.exports=require("google-auth-library")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},41620:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>p,routeModule:()=>m});var n={};t.r(n),t.d(n,{default:()=>g});var i=t(89947),s=t(2706),o=t(96762),a=t(48225),l=t.n(a),u=t(77619),c=t.n(u);let{OAuth2Client:d}=t(76154);async function g(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,n=c()({key:t,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");if(!n.full_access||!n.sign)return r.json({success:!1,payload:null,msg:"Unauthorized"});let{token:i,clientId:s}=e.body,o=new d(s),a=await o.verifyIdToken({idToken:i,audience:s});if(!a?.getPayload()?.email_verified)return r.json({success:!1,payload:null,msg:"User not verified!"});let l=a.getPayload();r.json({success:!0,payload:l})}catch(t){l()({component:"/api/user/grab-google-user-from-token/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"User fetch Error"})}}let p=(0,o.M)(n,"default"),f=(0,o.M)(n,"config"),m=new i.PagesAPIRouteModule({definition:{kind:s.A.PAGES_API,page:"/api/user/[user_id]/grab-google-user-from-token",pathname:"/api/user/[user_id]/grab-google-user-from-token",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),i=t(72835);e.exports=({key:e,database:r,table:t,user_id:s})=>{if(!e||!s)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let a=i({encryptedString:e}),l=JSON.parse(a||""),u=n.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(s)||!u)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let c=l.target_database?.split(",").includes(String(r));if(c&&!l.target_table)return l;if(c&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:i}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:i,req:s}){let o=new Date,a=(()=>{if(!s)return null;try{let e=s.headers["x-forwarded-for"],r=s.headers["x-real-ip"],t=s.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],i=t||n||r||s.socket.remoteAddress;if(!i)return null;return String(i)}catch(e){return null}})();try{let i=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2738,e.ids=[2738],e.modules={76154:e=>{e.exports=require("google-auth-library")},75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},41620:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>p,routeModule:()=>m});var n={};t.r(n),t.d(n,{default:()=>g});var s=t(89947),i=t(2706),o=t(96762),a=t(48225),l=t.n(a),u=t(77619),c=t.n(u);let{OAuth2Client:d}=t(76154);async function g(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,n=c()({key:t,user_id:String(e.query.user_id)});if(!n?.user_id)throw Error("Api Credentials invalid!");if(!n.full_access||!n.sign)return r.json({success:!1,payload:null,msg:"Unauthorized"});let{token:s,clientId:i}=e.body,o=new d(i),a=await o.verifyIdToken({idToken:s,audience:i});if(!a?.getPayload()?.email_verified)return r.json({success:!1,payload:null,msg:"User not verified!"});let l=a.getPayload();r.json({success:!0,payload:l})}catch(t){l()({component:"/api/user/grab-google-user-from-token/main-catch-error",message:t.message,req:e}),r.json({success:!1,payload:null,msg:"User fetch Error"})}}let p=(0,o.M)(n,"default"),f=(0,o.M)(n,"config"),m=new s.PagesAPIRouteModule({definition:{kind:i.A.PAGES_API,page:"/api/user/[user_id]/grab-google-user-from-token",pathname:"/api/user/[user_id]/grab-google-user-from-token",bundlePath:"",filename:""},userland:n})},77619:(e,r,t)=>{let n=t(29021),s=t(72835);e.exports=({key:e,database:r,table:t,user_id:i,media:o})=>{if(!e||!i)return null;try{let a=process.env.DSQL_API_KEYS_PATH;if(!a)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=s({encryptedString:e}),u=JSON.parse(l||""),c=n.existsSync(`${a}/${u.sign}`);if(String(u.user_id)!==String(i)||!c)return null;if(!u.target_database||o)return u;if(!r&&u.target_database)return null;let d=u.target_database?.split(",").includes(String(r));if(d&&!u.target_table)return u;if(d&&!t&&u.target_table)return null;if(u.target_table?.split(",").includes(String(t)))return u;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},48225:(e,r,t)=>{let n=t(29021),{IncomingMessage:s}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:s,req:i}){let o=new Date,a=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],r=i.headers["x-real-ip"],t=i.headers["cf-connecting-ip"],n=Array.isArray(e)?e[0]:e?.split(",")[0],s=t||n||r||i.socket.remoteAddress;if(!s)return null;return String(s)}catch(e){return null}})();try{let s=`🚀 SERVER ERROR =========================== Error Message: ${r} -Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(i+=` +Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(s+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),s?.url&&(i+=` -URL: ${s.url}`),s?.body&&(i+=` -Request Body: ${JSON.stringify(s.body,null,4)}`),a&&(i+=` -IP: ${a}`),i+=` +User Email: ${e?.email}`),i?.url&&(s+=` +URL: ${i.url}`),i?.body&&(s+=` +Request Body: ${JSON.stringify(i.body,null,4)}`),a&&(s+=` +IP: ${a}`),s+=` Date: ${o.toDateString()} -========================================`,n.existsSync("./.tmp/error.log")||n.writeFileSync("./.tmp/error.log","","utf-8");let l=n.readFileSync("./.tmp/error.log","utf-8");n.writeFileSync("./.tmp/error.log",i),n.appendFileSync("./.tmp/error.log",` +========================================`,n.existsSync("./.tmp/error.log")||n.writeFileSync("./.tmp/error.log","","utf-8");let l=n.readFileSync("./.tmp/error.log","utf-8");n.writeFileSync("./.tmp/error.log",s),n.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:n,createDecipheriv:i}=t(55511),{Buffer:s}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=i("aes-192-cbc",n(o,a,l),s.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=41620);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},72835:(e,r,t)=>{let{scryptSync:n,createDecipheriv:s}=t(55511),{Buffer:i}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,a=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!a?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let u=s("aes-192-cbc",n(o,a,l),i.alloc(16,0));try{let r=u.update(e,"hex","utf8");return r+=u.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=41620);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/login-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/login-user.js index 9d0ec79..00501cf 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/login-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/login-user.js @@ -1,16 +1,16 @@ -"use strict";(()=>{var e={};e.id=2726,e.ids=[2726],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},81725:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(81681),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{encryptionKey:t,payload:s,database:n,additionalFields:a,email_login:o,email_login_code:i,email_login_field:l,token:c,skipPassword:d}=e.body,_=e.headers.authorization,m=u()({key:_,database:n,user_id:String(e.query.user_id)});if(!m?.user_id)throw Error("Api Credentials invalid!");if(!m.full_access||!m.sign)return r.json({success:!1,msg:"Unauthorized"});let g=s.email,f=s.username,S=s.password,y=`datasquirel_user_${m.user_id}_${n}`,D=await p()({database:y,email:g,username:f,password:S,skipPassword:d,encryptionKey:t,additionalFields:a,email_login:o,email_login_code:i,email_login_field:l,token:c});r.json(D)}catch(t){l()({component:"/api/user/login-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Login Failed"})}}let m=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/login-user",pathname:"/api/user/[user_id]/login-user",bundlePath:"",filename:""},userland:s})},81681:(e,r,t)=>{let s=t(57638),n=t(14533);e.exports=async function({encryptionKey:e,email:r,username:t,password:a,database:o,additionalFields:i,email_login:l,email_login_code:c,email_login_field:u,token:d,skipPassword:p,social:_,useLocal:m}){if(r?.match(/ /)||t&&t?.match(/ /)||a&&a?.match(/ /))return{success:!1,msg:"Invalid Email/Password format"};let g=a?n({encryptionKey:e,password:a}):null,f=await s({queryString:"SELECT * FROM users WHERE email = ? OR username = ?",queryValuesArray:[r,t],database:o.replace(/[^a-z0-9_]/g,""),useLocal:m});if((!f||!f[0])&&!_)return{success:!1,payload:null,msg:"No user found"};let S=!1;if(f?.[0]&&!l&&p)S=!0;else if(f?.[0]&&!l)S=g===f[0].password;else if(f&&f[0]&&l&&c&&u){let e=f[0][u];if(!e)throw Error("No code Found!");let[r,t]=e.split("-");if(Date.now()-Number(t)>9e5)throw Error("Code Expired");S=r===c}if(!S)return{success:!1,msg:"Wrong password, no social login validity",payload:null};S&&l&&await s({queryString:`UPDATE users SET ${u} = ? WHERE email = ? OR username = ?`,queryValuesArray:["",r,t],database:o.replace(/[^a-z0-9_]/g,""),useLocal:m});let y=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),D={id:f[0].id,first_name:f[0].first_name,last_name:f[0].last_name,username:f[0].username,email:f[0].email,phone:f[0].phone,social_id:f[0].social_id,image:f[0].image,image_thumbnail:f[0].image_thumbnail,verification_status:f[0].verification_status,social_login:f[0].social_login,social_platform:f[0].social_platform,csrf_k:y,more_data:f[0].more_user_data,logged_in_status:!0,date:Date.now()},E={success:!0,msg:"Login Successful",payload:D,userId:f[0].id,csrf:y};return i&&Array.isArray(i)&&i.length>0&&i.forEach(e=>{D[e]=f[0][e]}),E}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),l=JSON.parse(i||""),c=s.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(a)||!c)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let u=l.target_database?.split(",").includes(String(r));if(u&&!l.target_table)return l;if(u&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2726,e.ids=[2726],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},81725:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>m,routeModule:()=>f});var s={};t.r(s),t.d(s,{default:()=>_});var a=t(89947),n=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(81681),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{encryptionKey:t,payload:s,database:a,additionalFields:n,email_login:o,email_login_code:i,email_login_field:l,token:c,skipPassword:d}=e.body,_=e.headers.authorization,m=u()({key:_,database:a,user_id:String(e.query.user_id)});if(!m?.user_id)throw Error("Api Credentials invalid!");if(!m.full_access||!m.sign)return r.json({success:!1,msg:"Unauthorized"});let g=s.email,f=s.username,S=s.password,y=`datasquirel_user_${m.user_id}_${a}`,D=await p()({database:y,email:g,username:f,password:S,skipPassword:d,encryptionKey:t,additionalFields:n,email_login:o,email_login_code:i,email_login_field:l,token:c});r.json(D)}catch(t){l()({component:"/api/user/login-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Login Failed"})}}let m=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),f=new a.PagesAPIRouteModule({definition:{kind:n.A.PAGES_API,page:"/api/user/[user_id]/login-user",pathname:"/api/user/[user_id]/login-user",bundlePath:"",filename:""},userland:s})},81681:(e,r,t)=>{let s=t(57638),a=t(14533);e.exports=async function({encryptionKey:e,email:r,username:t,password:n,database:o,additionalFields:i,email_login:l,email_login_code:c,email_login_field:u,token:d,skipPassword:p,social:_,useLocal:m}){if(r?.match(/ /)||t&&t?.match(/ /)||n&&n?.match(/ /))return{success:!1,msg:"Invalid Email/Password format"};let g=n?a({encryptionKey:e,password:n}):null,f=await s({queryString:"SELECT * FROM users WHERE email = ? OR username = ?",queryValuesArray:[r,t],database:o.replace(/[^a-z0-9_]/g,""),useLocal:m});if((!f||!f[0])&&!_)return{success:!1,payload:null,msg:"No user found"};let S=!1;if(f?.[0]&&!l&&p)S=!0;else if(f?.[0]&&!l)S=g===f[0].password;else if(f&&f[0]&&l&&c&&u){let e=f[0][u];if(!e)throw Error("No code Found!");let[r,t]=e.split("-");if(Date.now()-Number(t)>9e5)throw Error("Code Expired");S=r===c}if(!S)return{success:!1,msg:"Wrong password, no social login validity",payload:null};S&&l&&await s({queryString:`UPDATE users SET ${u} = '' WHERE email = ? OR username = ?`,queryValuesArray:[r,t],database:o.replace(/[^a-z0-9_]/g,""),useLocal:m});let y=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),D={id:f[0].id,first_name:f[0].first_name,last_name:f[0].last_name,username:f[0].username,email:f[0].email,phone:f[0].phone,social_id:f[0].social_id,image:f[0].image,image_thumbnail:f[0].image_thumbnail,verification_status:f[0].verification_status,social_login:f[0].social_login,social_platform:f[0].social_platform,csrf_k:y,more_data:f[0].more_user_data,logged_in_status:!0,date:Date.now()},E={success:!0,msg:"Login Successful",payload:D,userId:f[0].id,csrf:y};return i&&Array.isArray(i)&&i.length>0&&i.forEach(e=>{D[e]=f[0][e]}),E}},77619:(e,r,t)=>{let s=t(29021),a=t(72835);e.exports=({key:e,database:r,table:t,user_id:n,media:o})=>{if(!e||!n)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=a({encryptedString:e}),c=JSON.parse(l||""),u=s.existsSync(`${i}/${c.sign}`);if(String(c.user_id)!==String(n)||!u)return null;if(!c.target_database||o)return c;if(!r&&c.target_database)return null;let d=c.target_database?.split(",").includes(String(r));if(d&&!c.target_table)return c;if(d&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),a=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let n=0;n",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:a}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:a,req:n}){let o=new Date,i=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],r=n.headers["x-real-ip"],t=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=t||s||r||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${r} -Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` +Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} User Name: ${e?.first_name} ${e?.last_name} -User Email: ${e?.email}`),a?.url&&(n+=` -URL: ${a.url}`),a?.body&&(n+=` -Request Body: ${JSON.stringify(a.body,null,4)}`),i&&(n+=` -IP: ${i}`),n+=` +User Email: ${e?.email}`),n?.url&&(a+=` +URL: ${n.url}`),n?.body&&(a+=` +Request Body: ${JSON.stringify(n.body,null,4)}`),i&&(a+=` +IP: ${i}`),a+=` Date: ${o.toDateString()} -========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let l=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",n),s.appendFileSync("./.tmp/error.log",` +========================================`,s.existsSync("./.tmp/error.log")||s.writeFileSync("./.tmp/error.log","","utf-8");let l=s.readFileSync("./.tmp/error.log","utf-8");s.writeFileSync("./.tmp/error.log",a),s.appendFileSync("./.tmp/error.log",` -${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:l,useLocal:c}){let u;let d=!!c||!!t?.match(/^datasquirel$/),p=c?i:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await s({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",s(o,i,l),a.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,t)=>{let{createHmac:s}=t(55511);e.exports=function({password:e,encryptionKey:r}){let t=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!t?.match(/.{8,}/))throw Error("Encryption key is invalid");let n=s("sha512",t);return n.update(e),n.digest("base64")}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=81725);module.exports=t})(); \ No newline at end of file +${l}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),a=t(48225),n=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:l,useLocal:c}){let u;let d=!!c||!!t?.match(/^datasquirel$/),p=c?i:d?n:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){a({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&l)try{let e=u;return await s({unparsedResults:e,tableSchema:l})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),a({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:a}=t(55511),{Buffer:n}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=a("aes-192-cbc",s(o,i,l),n.alloc(16,0));try{let r=c.update(e,"hex","utf8");return r+=c.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},14533:(e,r,t)=>{let{createHmac:s}=t(55511);e.exports=function({password:e,encryptionKey:r}){let t=r||process.env.DSQL_ENCRYPTION_PASSWORD;if(!t?.match(/.{8,}/))throw Error("Encryption key is invalid");let a=s("sha512",t);return a.update(e),a.digest("base64")}},51348:(e,r,t)=>{let s=t(9973),a=t(21580),n=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function o(...e){try{let r=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let a=t(9973),n=t(21580),o=a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:n()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((l,c)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),l(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),l({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:n()}}):a({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:n()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),l({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),a=t(21580);async function n(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=81725);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/reauth-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/reauth-user.js index 3a4f04b..210b000 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/reauth-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/reauth-user.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=4458,e.ids=[4458],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},62553:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>g,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(29477),_=t.n(d);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{existingUser:t,database:s,additionalFields:n}=e.body,a=e.headers.authorization,o=u()({key:a,database:s,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let i=`datasquirel_user_${o.user_id}_${s}`.replace(/[^a-z0-9_]/g,""),l=await _()({database:i,existingUser:t,additionalFields:n});r.json(l)}catch(t){l()({component:"/api/user/reauth-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Login Failed"})}}let g=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/reauth-user",pathname:"/api/user/[user_id]/reauth-user",bundlePath:"",filename:""},userland:s})},29477:(e,r,t)=>{t(44900);let s=t(57638);t(21572),e.exports=async function({existingUser:e,database:r,additionalFields:t,useLocal:n}){let a=e?.id&&e.id.toString().match(/./)?await s({queryString:"SELECT * FROM users WHERE id=?",queryValuesArray:[e.id.toString()],database:r,useLocal:n}):null;if(!a||!a[0])return{success:!1,payload:null,msg:"No user found"};let o=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),i={id:a[0].id,first_name:a[0].first_name,last_name:a[0].last_name,username:a[0].username,email:a[0].email,phone:a[0].phone,social_id:a[0].social_id,image:a[0].image,image_thumbnail:a[0].image_thumbnail,verification_status:a[0].verification_status,social_login:a[0].social_login,social_platform:a[0].social_platform,csrf_k:o,more_data:a[0].more_user_data,logged_in_status:!0,date:Date.now()};return t&&Array.isArray(t)&&t.length>0&&t.forEach(e=>{i[e]=a[0][e]}),{success:!0,msg:"Login Successful",payload:i,csrf:o}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),l=JSON.parse(i||""),c=s.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(a)||!c)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let u=l.target_database?.split(",").includes(String(r));if(u&&!l.target_table)return l;if(u&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=4458,e.ids=[4458],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},62553:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>g,routeModule:()=>S});var s={};t.r(s),t.d(s,{default:()=>p});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(29477),_=t.n(d);async function p(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{existingUser:t,database:s,additionalFields:n}=e.body,a=e.headers.authorization,o=u()({key:a,database:s,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let i=`datasquirel_user_${o.user_id}_${s}`.replace(/[^a-z0-9_]/g,""),l=await _()({database:i,existingUser:t,additionalFields:n});r.json(l)}catch(t){l()({component:"/api/user/reauth-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Login Failed"})}}let g=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),S=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/reauth-user",pathname:"/api/user/[user_id]/reauth-user",bundlePath:"",filename:""},userland:s})},29477:(e,r,t)=>{t(44900);let s=t(57638);t(21572),e.exports=async function({existingUser:e,database:r,additionalFields:t,useLocal:n}){let a=e?.id&&e.id.toString().match(/./)?await s({queryString:"SELECT * FROM users WHERE id=?",queryValuesArray:[e.id.toString()],database:r,useLocal:n}):null;if(!a||!a[0])return{success:!1,payload:null,msg:"No user found"};let o=Math.random().toString(36).substring(2)+"-"+Math.random().toString(36).substring(2),i={id:a[0].id,first_name:a[0].first_name,last_name:a[0].last_name,username:a[0].username,email:a[0].email,phone:a[0].phone,social_id:a[0].social_id,image:a[0].image,image_thumbnail:a[0].image_thumbnail,verification_status:a[0].verification_status,social_login:a[0].social_login,social_platform:a[0].social_platform,csrf_k:o,more_data:a[0].more_user_data,logged_in_status:!0,date:Date.now()};return t&&Array.isArray(t)&&t.length>0&&t.forEach(e=>{i[e]=a[0][e]}),{success:!0,msg:"Login Successful",payload:i,csrf:o}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:o})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=n({encryptedString:e}),c=JSON.parse(l||""),u=s.existsSync(`${i}/${c.sign}`);if(String(c.user_id)!==String(a)||!u)return null;if(!c.target_database||o)return c;if(!r&&c.target_database)return null;let d=c.target_database?.split(",").includes(String(r));if(d&&!c.target_table)return c;if(d&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/send-email-code.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/send-email-code.js index 16c453f..8dc12ff 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/send-email-code.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/send-email-code.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=2860,e.ids=[2860],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},93919:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>S,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),c=t.n(i),l=t(77619),u=t.n(l),d=t(40927),p=t.n(d);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{email:t,database:s,email_login_field:n,mail_domain:a,mail_password:o,mail_username:i,mail_port:c,sender:l,html:d}=e.body,_=e.headers.authorization,S=u()({key:_,database:s,user_id:String(e.query.user_id)});if(!S?.user_id)throw Error("Api Credentials invalid!");if(!S.full_access||!S.sign)return r.json({success:!1,msg:"Unauthorized"});let m=`datasquirel_user_${S.user_id}_${s}`.replace(/[^a-z0-9_]/g,""),g=await p()({database:m,email:t,email_login_field:n,html:d,mail_domain:a,mail_password:o,mail_port:c,mail_username:i,sender:l});r.json(g)}catch(t){c()({component:"/api/user/login-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Failed: "+t.message})}}let S=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/send-email-code",pathname:"/api/user/[user_id]/send-email-code",bundlePath:"",filename:""},userland:s})},40927:(e,r,t)=>{t(44900);let s=t(57638),n=t(21572);e.exports=async function({email:e,database:r,email_login_field:t,mail_domain:a,mail_port:o,sender:i,mail_username:c,mail_password:l,html:u,useLocal:d}){if(e?.match(/ /))return{success:!1,msg:"Invalid Email/Password format"};let p=[e],_=await s({queryString:"SELECT * FROM users WHERE email = ?",queryValuesArray:p,database:r,useLocal:d});if(!_||!_[0])return{success:!1,msg:"No user found"};if(_&&_[0]&&t){let p=function(){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r="";for(let t=0;t<8;t++)r+=e[Math.floor(Math.random()*e.length)];return r}(),_=n.createTransport({host:a||process.env.DSQL_MAIL_HOST,port:o||465,secure:!0,auth:{user:c||process.env.DSQL_MAIL_EMAIL,pass:l||process.env.DSQL_MAIL_PASSWORD}}),S={};S.from=`"Datasquirel SSO" <${i||"support@datasquirel.com"}>`,S.sender=i||"support@datasquirel.com",S.to=e,S.subject="One Time Login Code",S.html=u.replace(/{{code}}/,p);let m=await _.sendMail(S);if(!m?.accepted)throw Error("Mail not Sent!");let g=`UPDATE users SET ${t} = ? WHERE email = ?`,f=[p+`-${Date.now()}`,e];await s({queryString:g,queryValuesArray:f,database:r,useLocal:d})}return{success:!0,msg:"Success"}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),c=JSON.parse(i||""),l=s.existsSync(`${o}/${c.sign}`);if(String(c.user_id)!==String(a)||!l)return null;if(!c.target_database)return c;if(!r&&c.target_database)return null;let u=c.target_database?.split(",").includes(String(r));if(u&&!c.target_table)return c;if(u&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=2860,e.ids=[2860],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},21572:e=>{e.exports=require("nodemailer")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},93919:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>S,routeModule:()=>g});var s={};t.r(s),t.d(s,{default:()=>_});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),c=t.n(i),l=t(77619),u=t.n(l),p=t(40927),d=t.n(p);async function _(e,r){if("POST"!==e.method)return r.json({msg:"Failed!"});try{let{email:t,database:s,email_login_field:n,mail_domain:a,mail_password:o,mail_username:i,mail_port:c,sender:l,html:p}=e.body,_=e.headers.authorization,S=u()({key:_,database:s,user_id:String(e.query.user_id)});if(!S?.user_id)throw Error("Api Credentials invalid!");if(!S.full_access||!S.sign)return r.json({success:!1,msg:"Unauthorized"});let m=`datasquirel_user_${S.user_id}_${s}`.replace(/[^a-z0-9_]/g,""),g=await d()({database:m,email:t,email_login_field:n,html:p,mail_domain:a,mail_password:o,mail_port:c,mail_username:i,sender:l,response:r});r.json(g)}catch(t){c()({component:"/api/user/login-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Failed: "+t.message})}}let S=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),g=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/send-email-code",pathname:"/api/user/[user_id]/send-email-code",bundlePath:"",filename:""},userland:s})},40927:(e,r,t)=>{let s=t(57638),n=t(21572);t(81630);let a=t(31341),o=t(20503),i=t(43181);e.exports=async function({email:e,database:r,email_login_field:t,mail_domain:c,mail_port:l,sender:u,mail_username:p,mail_password:d,html:_,useLocal:S,response:m,extraCookies:g}){if(e?.match(/ /))return{success:!1,msg:"Invalid Email/Password format"};let f=Date.now(),E=[e],D=await s({queryString:"SELECT * FROM users WHERE email = ?",queryValuesArray:E,database:r,useLocal:S});if(!D||!D[0])return{success:!1,msg:"No user found"};if(!D?.[0]||!t)return{success:!1,msg:"Invalid Email/Password format"};{let E=function(){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r="";for(let t=0;t<8;t++)r+=e[Math.floor(Math.random()*e.length)];return r}(),D=n.createTransport({host:c||process.env.DSQL_MAIL_HOST,port:l||process.env.DSQL_MAIL_PORT||465,secure:!0,auth:{user:p||process.env.DSQL_MAIL_EMAIL,pass:d||process.env.DSQL_MAIL_PASSWORD}}),y={};y.from=`"Datasquirel SSO" <${u||"support@datasquirel.com"}>`,y.sender=u||"support@datasquirel.com",y.to=e,y.subject="One Time Login Code",y.html=_.replace(/{{code}}/,E);let h=await D.sendMail(y);if(!h?.accepted)throw Error("Mail not Sent!");let A=`UPDATE users SET ${t} = ? WHERE email = ?`,v=[E+`-${f}`,e];await s({queryString:A,queryValuesArray:v,database:r,useLocal:S});let O={success:!0,code:E,email:e,createdAt:f,msg:"Success"};if(m){let e=a().oneTimeCodeName,r=o({data:JSON.stringify(O)});if(!r)throw Error("apiSendEmailCode Error: Failed to encrypt payload");let t={name:e,value:r,sameSite:"Strict",path:"/",httpOnly:!0,secure:!0},s=i({cookies:g?[...g,t]:[t]});m.setHeader("Set-Cookie",s)}return O}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:o})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let c=n({encryptedString:e}),l=JSON.parse(c||""),u=s.existsSync(`${i}/${l.sign}`);if(String(l.user_id)!==String(a)||!u)return null;if(!l.target_database||o)return l;if(!r&&l.target_database)return null;let p=l.target_database?.split(",").includes(String(r));if(p&&!l.target_table)return l;if(p&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},31341:e=>{e.exports=function(e){let r=process.env.DSQL_COOKIES_PREFIX||"dsql_",t=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=r;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=t;let i=r;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let c=r;return e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:c+=n}}},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} @@ -13,4 +13,4 @@ Date: ${o.toDateString()} -${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:c,useLocal:l}){let u;let d=!!l||!!t?.match(/^datasquirel$/),p=l?i:d?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?d?await p(e,r):await p({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):d?await p(e):await p({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&c)try{let e=u;return await s({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,i,c),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function d(e){o.end(),c(JSON.parse(JSON.stringify(e)))}function p(e){o.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(d).catch(p):o.query(t).then(d).catch(p)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},2706:(e,r)=>{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=93919);module.exports=t})(); \ No newline at end of file +${c}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},57638:(e,r,t)=>{t(29021);let s=t(6061),n=t(48225),a=t(51348),o=t(21339),i=t(44900);e.exports=async function({queryString:e,queryValuesArray:r,database:t,tableSchema:c,useLocal:l}){let u;let p=!!l||!!t?.match(/^datasquirel$/),d=l?i:p?a:o;try{u=e&&r&&Array.isArray(r)&&r[0]?p?await d(e,r):await d({paradigm:"Full Access",database:t,queryString:e,queryValues:r}):p?await d(e):await d({paradigm:"Full Access",database:t,queryString:e})}catch(e){n({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(u&&c)try{let e=u;return await s({unparsedResults:e,tableSchema:c})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),n({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(u)return u;else return null}},72835:(e,r,t)=>{let{scryptSync:s,createDecipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({encryptedString:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",s(o,i,c),a.alloc(16,0));try{let r=l.update(e,"hex","utf8");return r+=l.final("utf8")}catch(r){return console.log("Error in decrypting =>",r.message),e}}},20503:(e,r,t)=>{let{scryptSync:s,createCipheriv:n}=t(55511),{Buffer:a}=t(79428);e.exports=({data:e,encryptionKey:r,encryptionSalt:t})=>{if(!e?.match(/./))return console.log("Encryption string is invalid"),e;let o=r||process.env.DSQL_ENCRYPTION_PASSWORD,i=t||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Encryption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Encryption salt is invalid"),e;let l=n("aes-192-cbc",s(o,i,c),a.alloc(16,0));try{let r=l.update(e,"utf8","hex");return r+=l.final("hex")}catch(r){return console.log("Error in encrypting =>",r.message),e}}},51348:(e,r,t)=>{let s=t(9973),n=t(21580),a=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let r=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(r))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},21339:(e,r,t)=>{let s=t(29021);t(33873);let n=t(9973),a=t(21580),o=n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,charset:"utf8mb4",ssl:a()}});e.exports=function({paradigm:e,database:r,queryString:t,queryValues:i}){try{return new Promise((c,l)=>{let u=!!e?.match(/full.access|^fa$/i);try{function p(e){o.end(),c(JSON.parse(JSON.stringify(e)))}function d(e){o.end(),c({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}o=u?n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_FULL_ACCESS_USERNAME,password:process.env.DSQL_DB_FULL_ACCESS_PASSWORD,database:r,ssl:a()}}):n({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_READ_ONLY_USERNAME,password:process.env.DSQL_DB_READ_ONLY_PASSWORD,database:r,ssl:a()}}),i&&Array.isArray(i)&&i[0]?o.query(t,i).then(p).catch(d):o.query(t).then(p).catch(d)}catch(e){s.appendFileSync("./.tmp/dbErrorLogs.txt",e.message+"\n"+Date()+"\n\n\n","utf8"),c({error:e.message})}})}catch(e){return{success:!1,error:e.message}}}},44900:(e,r,t)=>{let s=t(9973),n=t(21580);async function a(...e){let r=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()},onConnect:()=>{console.log("Connection Successful!")},onConnectError:e=>{console.log("Connection Error",e.message)},onError:e=>{console.log("Client Error",e.message)}});console.log("Querying ...");try{let t=await r.query(...e);return await r.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=a},21580:(e,r,t)=>{let s=t(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let r=`${e}/ca-cert.pem`;if(!s.existsSync(r)){console.log(`${r} does not exist`);return}return{ca:s.readFileSync(`${e}/ca-cert.pem`)}}},43181:e=>{e.exports=function({cookies:e}){let r=[];for(let t=0;t{var t;Object.defineProperty(r,"A",{enumerable:!0,get:function(){return t}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(t||(t={}))},89947:(e,r,t)=>{e.exports=t(75600)}};var r=require("../../../../webpack-api-runtime.js");r.C(e);var t=r(r.s=93919);module.exports=t})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/api/user/[user_id]/update-user.js b/dsql-app/.local_dist/server/pages/api/user/[user_id]/update-user.js index 13686f6..bde3875 100644 --- a/dsql-app/.local_dist/server/pages/api/user/[user_id]/update-user.js +++ b/dsql-app/.local_dist/server/pages/api/user/[user_id]/update-user.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8288,e.ids=[8288],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34453:(e,r,t)=>{t.r(r),t.d(r,{config:()=>g,default:()=>f,routeModule:()=>m});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(42363),p=t.n(d),_=t(2258);async function S(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{payload:s,database:n,updatedUserId:a}=e.body,o=u()({key:t,database:n,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let i=`datasquirel_user_${o.user_id}_${n}`,l=(0,_.default)({userId:o.user_id}),c=l?.find(e=>e.dbFullName===i),d=await p()({dbFullName:i,payload:s,updatedUserId:a,dbSchema:c});r.json(d)}catch(t){l()({component:"/api/user/update-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Wrong Credentials"})}}let f=(0,o.M)(s,"default"),g=(0,o.M)(s,"config"),m=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/update-user",pathname:"/api/user/[user_id]/update-user",bundlePath:"",filename:""},userland:s})},42363:(e,r,t)=>{let s=t(33364),n=t(20503),a=t(14533),o=t(57638);e.exports=async function({payload:e,dbFullName:r,updatedUserId:t,useLocal:i,dbSchema:l}){let c=await o({queryString:"SELECT * FROM users WHERE id = ?",queryValuesArray:[t],database:r,useLocal:i});if(!c?.[0])return{success:!1,msg:"User not found"};let u=(()=>{let r=Object.keys(e),t=(()=>{try{return l?.tables?.find(e=>"users"==e.tableName)}catch(e){return}})(),s={};return r.forEach(r=>{let a=t?.fields?.find(e=>e.fieldName==r);if(r?.match(/^date_|^id$|^uuid$/))return;let o=e[r];a?.encrypted&&(o=n({data:o})),s[r]=o}),s.password&&"string"==typeof s.password&&(s.password=a({password:s.password})),s})();return{success:!0,payload:await s({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:r,tableName:"users",identifierColumnName:"id",identifierValue:t,data:u,useLocal:i})}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a})=>{if(!e||!a)return null;try{let o=process.env.DSQL_API_KEYS_PATH;if(!o)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let i=n({encryptedString:e}),l=JSON.parse(i||""),c=s.existsSync(`${o}/${l.sign}`);if(String(l.user_id)!==String(a)||!c)return null;if(!l.target_database)return l;if(!r&&l.target_database)return null;let u=l.target_database?.split(",").includes(String(r));if(u&&!l.target_table)return l;if(u&&!t&&l.target_table)return null;if(l.target_table?.split(",").includes(String(t)))return l;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),null}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),a=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:S,encryptionSalt:f,useLocal:g}){if(!u||!Object.keys(u).length)return null;let m=!!g||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),y=g?l:m?a:o,h=Object.keys(u),D=[],E=[];for(let e=0;ee.fieldName===r):null,o=a&&a[0]?a[0]:null;if(null==t||void 0==t)continue;o?.richText&&(t=s(t,n)),o?.encrypted&&(t=i({data:t,encryptionKey:S,encryptionSalt:f})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),D.push(`\`${r}\`=?`),"number"==typeof t?E.push(String(t)):E.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}D.push(`date_updated='${Date()}'`),D.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${c} SET ${D.join(",")} WHERE \`${p}\`=?`;return E.push(_),m?await y(b,E):await y({paradigm:r,database:t,queryString:b,queryValues:E})}e.exports=c},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},2258:(e,r,t)=>{t.r(r),t.d(r,{default:()=>o});let s=t(48225),n=t(29021),a=t(33873);function o({userId:e}){try{let r=a.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(n.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8288,e.ids=[8288],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},72583:e=>{e.exports=require("sanitize-html")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,t){return t in r?r[t]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,t)):"function"==typeof r&&"default"===t?r:void 0}}})},34453:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>f,routeModule:()=>y});var s={};t.r(s),t.d(s,{default:()=>S});var n=t(89947),a=t(2706),o=t(96762),i=t(48225),l=t.n(i),c=t(77619),u=t.n(c),d=t(42363),p=t.n(d),_=t(2258),g=t.n(_);async function S(e,r){if("POST"!==e.method)return r.json({success:!1,payload:null,msg:"Failed!"});try{let t=e.headers.authorization,{payload:s,database:n,updatedUserId:a}=e.body,o=u()({key:t,database:n,user_id:String(e.query.user_id)});if(!o?.user_id)throw Error("Api Credentials invalid!");if(!o.full_access||!o.sign)return r.json({success:!1,msg:"Unauthorized"});let i=`datasquirel_user_${o.user_id}_${n}`,l=g()({userId:o.user_id}),c=l?.find(e=>e.dbFullName===i),d=await p()({dbFullName:i,payload:s,updatedUserId:a,dbSchema:c});r.json(d)}catch(t){l()({component:"/api/user/update-user/main-catch-error",message:t.message,user:{},req:e}),r.json({success:!1,msg:"Wrong Credentials"})}}let f=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),y=new n.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/user/[user_id]/update-user",pathname:"/api/user/[user_id]/update-user",bundlePath:"",filename:""},userland:s})},42363:(e,r,t)=>{let s=t(33364),n=t(20503),a=t(14533),o=t(57638);e.exports=async function({payload:e,dbFullName:r,updatedUserId:t,useLocal:i,dbSchema:l}){let c=await o({queryString:"SELECT * FROM users WHERE id = ?",queryValuesArray:[t],database:r,useLocal:i});if(!c?.[0])return{success:!1,msg:"User not found"};let u=(()=>{let r=Object.keys(e),t=(()=>{try{return l?.tables?.find(e=>"users"==e.tableName)}catch(e){return}})(),s={};return r.forEach(r=>{let a=t?.fields?.find(e=>e.fieldName==r);if(r?.match(/^date_|^id$|^uuid$/))return;let o=e[r];a?.encrypted&&(o=n({data:o})),s[r]=o}),s.password&&"string"==typeof s.password&&(s.password=a({password:s.password})),s})();return{success:!0,payload:await s({dbContext:"Dsql User",paradigm:"Full Access",dbFullName:r,tableName:"users",identifierColumnName:"id",identifierValue:t,data:u,useLocal:i})}}},77619:(e,r,t)=>{let s=t(29021),n=t(72835);e.exports=({key:e,database:r,table:t,user_id:a,media:o})=>{if(!e||!a)return null;try{let i=process.env.DSQL_API_KEYS_PATH;if(!i)throw Error("process.env.DSQL_API_KEYS_PATH variable not found");let l=n({encryptedString:e}),c=JSON.parse(l||""),u=s.existsSync(`${i}/${c.sign}`);if(String(c.user_id)!==String(a)||!u)return null;if(!c.target_database||o)return c;if(!r&&c.target_database)return null;let d=c.target_database?.split(",").includes(String(r));if(d&&!c.target_table)return c;if(d&&!t&&c.target_table)return null;if(c.target_table?.split(",").includes(String(t)))return c;return null}catch(e){return console.log(`api-cred ERROR: ${e.message}`),{error:`api-cred ERROR: ${e.message}`}}}},33364:(e,r,t)=>{let s=t(72583),n=t(16570),a=t(51348),o=t(21339),i=t(20503),l=t(44900);async function c({dbContext:e,paradigm:r,dbFullName:t,tableName:c,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:g,encryptionSalt:S,useLocal:f}){if(!u||!Object.keys(u).length)return null;let m=!!f||!e?.match(/dsql.user/i)&&(!t||!!t.match(/^datasquirel$/)),y=f?l:m?a:o,h=Object.keys(u),D=[],E=[];for(let e=0;ee.fieldName===r):null,o=a&&a[0]?a[0]:null;if(null==t||void 0==t)continue;let l=/<[^>]+>/g;(o?.richText||String(t).match(l))&&(t=s(t,n)),o?.encrypted&&(t=i({data:t,encryptionKey:g,encryptionSalt:S})),"object"==typeof t&&(t=JSON.stringify(t)),o?.pattern&&!new RegExp(o.pattern,o.patternFlags||"").test(t)&&(console.log("DSQL: Pattern not matched =>",t),t=""),"string"==typeof t&&t.match(/^null$/i)&&(t={toSqlString:function(){return"NULL"}}),"string"!=typeof t||t.match(/./i)||(t={toSqlString:function(){return"NULL"}}),D.push(`\`${r}\`=?`),"number"==typeof t?E.push(String(t)):E.push(t)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}D.push(`date_updated='${Date()}'`),D.push(`date_updated_code='${Date.now()}'`);let b=`UPDATE ${c} SET ${D.join(",")} WHERE \`${p}\`=?`;return E.push(_),m?await y(b,E):await y({paradigm:r,database:t,queryString:b,queryValues:E})}e.exports=c},30003:e=>{e.exports=/^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/},2258:(e,r,t)=>{let s=t(48225),n=t(29021),a=t(33873);e.exports=function({userId:e}){try{let r=a.resolve(process.cwd(),`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${e}/main.json`);return JSON.parse(n.readFileSync(r,"utf-8"))}catch(e){return s({component:"grabUserSchemaData",message:e.message}),null}}},16570:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},6061:(e,r,t)=>{let s=t(72835),n=t(30003);e.exports=async function({unparsedResults:e,tableSchema:r}){let t=[];try{for(let a=0;a",r.message),e}}},48225:(e,r,t)=>{let s=t(29021),{IncomingMessage:n}=t(81630);e.exports=async function({user:e,message:r,component:t,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${r} Component: ${t}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/blog.html b/dsql-app/.local_dist/server/pages/blog.html index a0d8444..b66775b 100644 --- a/dsql-app/.local_dist/server/pages/blog.html +++ b/dsql-app/.local_dist/server/pages/blog.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/contact.html b/dsql-app/.local_dist/server/pages/contact.html index 27d440e..28cadbe 100644 --- a/dsql-app/.local_dist/server/pages/contact.html +++ b/dsql-app/.local_dist/server/pages/contact.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/create-account.js b/dsql-app/.local_dist/server/pages/create-account.js index f8a0ebf..16d6c53 100644 --- a/dsql-app/.local_dist/server/pages/create-account.js +++ b/dsql-app/.local_dist/server/pages/create-account.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=8810,e.ids=[3220,8810],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},90467:(e,t,r)=>{r.r(t),r.d(t,{config:()=>b,default:()=>y,getServerSideProps:()=>v,getStaticPaths:()=>D,getStaticProps:()=>x,reportWebVitals:()=>N,routeModule:()=>O,unstable_getServerProps:()=>R,unstable_getServerSideProps:()=>j,unstable_getStaticParams:()=>P,unstable_getStaticPaths:()=>A,unstable_getStaticProps:()=>L});var s={};r.r(s),r.d(s,{CreateAccountContext:()=>S,default:()=>h,getServerSideProps:()=>E});var a=r(63865),n=r(9455),i=r(30671),o=r(49407),l=r(89600),c=r(8732),u=r(82015),d=r.n(u),p=r(71457),_=r(87472),m=r(70045);function g(e){let{query:t,invitingUser:r}=d().useContext(S);return(0,c.jsxs)("section",{className:"flex-col items-center lg:items-center gap-20 p-0",children:[(0,c.jsx)("img",{src:"/images/grid.webp",alt:"Dotted image background",className:"absolute top-0 left-0 w-full h-full object-cover opacity-80 dark:opacity-10 z-0"}),(0,c.jsxs)("div",{className:"w-full lg:w-1/2 max-w-6xl gap-4 flex-col items-center px-4 py-10 bg-white dark:bg-slate-900 relative z-10",children:[r?.first_name&&(0,c.jsxs)("span",{className:"text-xs bg-emerald-100 rounded-full px-4 py-1 mb-4",children:["You have been invited by"," ",(0,c.jsxs)("b",{children:[r.first_name," ",r.last_name," (",r.email,")"]})," ","to manage an account. Please create an account to gain access."]}),(0,c.jsx)("h1",{className:"m-0 text-center text-2xl",children:"Create An Account"}),(0,c.jsx)(m.A,{query:t})]})]})}r(20048),r(26123),r(67216),r(63715);var f=r(55966);r(6505);let S=d().createContext({});function h(e){let t="Create Account | Datasquirel",r="Create a FREE account and start storing data.",s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:t}),(0,c.jsx)("meta",{name:"description",content:r}),(0,c.jsx)(_.A,{pageTitle:t,pageDescription:r,pagePathname:"/"})]}),[a,n]=d().useState(null);return e.query?.invite?(0,c.jsx)(f.A,{}):(0,c.jsx)(p.A,{head:s,children:(0,c.jsx)(S.Provider,{value:{user:a,query:e.query,invitingUser:e.invitingUser},children:(0,c.jsx)("main",{children:(0,c.jsx)(g,{})})})})}async function E({req:e,res:t,query:r}){return{redirect:{destination:"/login",permanent:!1}}}let y=(0,i.M)(s,"default"),x=(0,i.M)(s,"getStaticProps"),D=(0,i.M)(s,"getStaticPaths"),v=(0,i.M)(s,"getServerSideProps"),b=(0,i.M)(s,"config"),N=(0,i.M)(s,"reportWebVitals"),L=(0,i.M)(s,"unstable_getStaticProps"),A=(0,i.M)(s,"unstable_getStaticPaths"),P=(0,i.M)(s,"unstable_getStaticParams"),R=(0,i.M)(s,"unstable_getServerProps"),j=(0,i.M)(s,"unstable_getServerSideProps"),O=new a.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/create-account",pathname:"/create-account",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:s})},55966:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(8732);r(82015);var a=r(32415);function n(){return(0,s.jsx)("div",{className:"flex flex-col gap-4 items-center justify-center w-full h-screen p-6 bg-slate-100",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 px-6 py-20 bg-white rounded shadow-sm max-w-2xl w-full",children:[(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:60}),(0,s.jsx)("div",{className:"w-10 h-10 flex flex-col items-center justify-center",children:(0,s.jsx)(a.A,{width:"25px",position:"relative"})})]})})}},20048:(e,t,r)=>{r(81630);let s=r(67216),a=r(77463),n=r(29021),i=r(6505);async function o(e,t,r,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},26123:(e,t,r)=>{let s=r(22373),a=r(67216),n=r(43290),i=r(88896);e.exports=async function({query:e,user:t,useLocal:r}){try{let s=r?i:a,{invite:o,database_access:l,priviledge:c,email:u}=e,d=[o,u],p=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",d);if(!p||!p[0])throw Error("No Invitation Found");let _=[o],m=await s("SELECT first_name,last_name,email FROM users WHERE id=?",_);if(m?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[o,t.id,u]);if(e?.[0])console.log("User already added");else{n({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:o,invited_user_id:t.id,database_access:l,first_name:t.first_name,last_name:t.last_name,phone:t.phone,email:t.email,username:t.username,user_type:"admin",user_priviledge:c,image:t.image,image_thumbnail:t.image_thumbnail},useLocal:r});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[o,u]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[o,t.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=t;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=r;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:n,csrfCookieName:i+=s}}},43290:(e,t,r)=>{let s=r(72583),a=r(67942);r(19760);let n=r(19760);r(27825);let i=r(67216),o=r(1231),l=r(53219),c=r(88896);async function u({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,duplicateColumnName:_,duplicateColumnValue:m,update:g,encryptionKey:f,encryptionSalt:S,useLocal:h}){let E=!!h||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),y=h?c:E?i:o;if(d?.date_created_timestamp&&delete d.date_created_timestamp,d?.date_updated_timestamp&&delete d.date_updated_timestamp,d?.date_updated&&delete d.date_updated,d?.date_updated_code&&delete d.date_updated_code,d?.date_created&&delete d.date_created,d?.date_created_code&&delete d.date_created_code,_&&"string"==typeof _){let s=E?await y(`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,[m]):await y({paradigm:"Read Only",database:r,queryString:`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,queryValues:[m]});if(s?.[0]&&!g)return null;if(s&&s[0]&&g)return await n({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,encryptionKey:f,encryptionSalt:S,identifierColumnName:_,identifierValue:m||""})}let x=Object.keys(d),D=[],v=[];for(let e=0;ee.fieldName==t):null,i=n&&n[0]?n[0]:null;if(null==r||void 0==r||i?.dataType?.match(/int$/i)&&"string"==typeof r&&!r?.match(/./))continue;i?.encrypted&&(r=l({data:r,encryptionKey:f,encryptionSalt:S}),console.log("DSQL: Encrypted value =>",r)),i?.richText&&(r=s(r,a)),i?.pattern&&!new RegExp(i.pattern,i.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),D.push("`"+t+"`"),"object"==typeof r&&(r=JSON.stringify(r)),"number"==typeof r?v.push(String(r)):v.push(r)}catch(e){console.log("DSQL: Error in parsing data keys =>",e.message);continue}d?.date_created||(D.push("`date_created`"),v.push(Date())),d?.date_created_code||(D.push("`date_created_code`"),v.push(Date.now())),d?.date_updated||(D.push("`date_updated`"),v.push(Date())),d?.date_updated_code||(D.push("`date_updated_code`"),v.push(Date.now()));let b=`INSERT INTO \`${u}\` (${D.join(",")}) VALUES (${v.map(()=>"?").join(",")})`;return E?await y(b,v):await y({paradigm:t,database:r,queryString:b,queryValues:v})}e.exports=u},19760:(e,t,r)=>{let s=r(72583),a=r(67942),n=r(67216),i=r(1231),o=r(53219),l=r(88896);async function c({dbContext:e,paradigm:t,dbFullName:r,tableName:c,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:m,encryptionSalt:g,useLocal:f}){if(!u||!Object.keys(u).length)return null;let S=!!f||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),h=f?l:S?n:i,E=Object.keys(u),y=[],x=[];for(let e=0;ee.fieldName===t):null,i=n&&n[0]?n[0]:null;if(null==r||void 0==r)continue;i?.richText&&(r=s(r,a)),i?.encrypted&&(r=o({data:r,encryptionKey:m,encryptionSalt:g})),"object"==typeof r&&(r=JSON.stringify(r)),i?.pattern&&!new RegExp(i.pattern,i.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),y.push(`\`${t}\`=?`),"number"==typeof r?x.push(String(r)):x.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}y.push(`date_updated='${Date()}'`),y.push(`date_updated_code='${Date.now()}'`);let D=`UPDATE ${c} SET ${y.join(",")} WHERE \`${p}\`=?`;return x.push(_),S?await h(D,x):await h({paradigm:t,database:r,queryString:D,queryValues:x})}e.exports=c},67942:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:a}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:a,req:n}){let i=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],r=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=r||s||t||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=8810,e.ids=[3220,8810],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},90467:(e,t,r)=>{r.r(t),r.d(t,{config:()=>b,default:()=>y,getServerSideProps:()=>v,getStaticPaths:()=>D,getStaticProps:()=>x,reportWebVitals:()=>N,routeModule:()=>j,unstable_getServerProps:()=>O,unstable_getServerSideProps:()=>R,unstable_getStaticParams:()=>P,unstable_getStaticPaths:()=>A,unstable_getStaticProps:()=>L});var s={};r.r(s),r.d(s,{CreateAccountContext:()=>S,default:()=>h,getServerSideProps:()=>E});var a=r(63865),n=r(9455),i=r(30671),o=r(49407),l=r(89600),c=r(8732),u=r(82015),d=r.n(u),p=r(71457),_=r(87472),m=r(70045);function g(e){let{query:t,invitingUser:r}=d().useContext(S);return(0,c.jsxs)("section",{className:"flex-col items-center lg:items-center gap-20 p-0",children:[(0,c.jsx)("img",{src:"/images/grid.webp",alt:"Dotted image background",className:"absolute top-0 left-0 w-full h-full object-cover opacity-80 dark:opacity-10 z-0"}),(0,c.jsxs)("div",{className:"w-full lg:w-1/2 max-w-6xl gap-4 flex-col items-center px-4 py-10 bg-white dark:bg-slate-900 relative z-10",children:[r?.first_name&&(0,c.jsxs)("span",{className:"text-xs bg-emerald-100 rounded-full px-4 py-1 mb-4",children:["You have been invited by"," ",(0,c.jsxs)("b",{children:[r.first_name," ",r.last_name," (",r.email,")"]})," ","to manage an account. Please create an account to gain access."]}),(0,c.jsx)("h1",{className:"m-0 text-center text-2xl",children:"Create An Account"}),(0,c.jsx)(m.A,{query:t})]})]})}r(20048),r(26123),r(67216),r(63715);var f=r(55966);r(6505);let S=d().createContext({});function h(e){let t="Create Account | Datasquirel",r="Create a FREE account and start storing data.",s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:t}),(0,c.jsx)("meta",{name:"description",content:r}),(0,c.jsx)(_.A,{pageTitle:t,pageDescription:r,pagePathname:"/"})]}),[a,n]=d().useState(null);return e.query?.invite?(0,c.jsx)(f.A,{}):(0,c.jsx)(p.A,{head:s,children:(0,c.jsx)(S.Provider,{value:{user:a,query:e.query,invitingUser:e.invitingUser},children:(0,c.jsx)("main",{children:(0,c.jsx)(g,{})})})})}async function E({req:e,res:t,query:r}){return{redirect:{destination:"/login",permanent:!1}}}let y=(0,i.M)(s,"default"),x=(0,i.M)(s,"getStaticProps"),D=(0,i.M)(s,"getStaticPaths"),v=(0,i.M)(s,"getServerSideProps"),b=(0,i.M)(s,"config"),N=(0,i.M)(s,"reportWebVitals"),L=(0,i.M)(s,"unstable_getStaticProps"),A=(0,i.M)(s,"unstable_getStaticPaths"),P=(0,i.M)(s,"unstable_getStaticParams"),O=(0,i.M)(s,"unstable_getServerProps"),R=(0,i.M)(s,"unstable_getServerSideProps"),j=new a.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/create-account",pathname:"/create-account",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:s})},55966:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(8732);r(82015);var a=r(32415);function n(){return(0,s.jsx)("div",{className:"flex flex-col gap-4 items-center justify-center w-full h-screen p-6 bg-slate-100",children:(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 px-6 py-20 bg-white rounded shadow-sm max-w-2xl w-full",children:[(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:60}),(0,s.jsx)("div",{className:"w-10 h-10 flex flex-col items-center justify-center",children:(0,s.jsx)(a.A,{width:"25px",position:"relative"})})]})})}},20048:(e,t,r)=>{r(81630);let s=r(67216),a=r(77463),n=r(29021),i=r(6505);async function o(e,t,r,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},26123:(e,t,r)=>{let s=r(22373),a=r(67216),n=r(43290),i=r(88896);e.exports=async function({query:e,user:t,useLocal:r}){try{let s=r?i:a,{invite:o,database_access:l,priviledge:c,email:u}=e,d=[o,u],p=await s("SELECT date_created_code FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",d);if(!p||!p[0])throw Error("No Invitation Found");let _=[o],m=await s("SELECT first_name,last_name,email FROM users WHERE id=?",_);if(m?.[0]){let e=await s("SELECT email FROM user_users WHERE user_id=? AND invited_user_id=? AND user_type='admin' AND email=?",[o,t.id,u]);if(e?.[0])console.log("User already added");else{n({dbFullName:"datasquirel",tableName:"user_users",data:{user_id:o,invited_user_id:t.id,database_access:l,first_name:t.first_name,last_name:t.last_name,phone:t.phone,email:t.email,username:t.username,user_type:"admin",user_priviledge:c,image:t.image,image_thumbnail:t.image_thumbnail},useLocal:r});let e=await s("SELECT db_tables_data FROM invitations WHERE inviting_user_id=? AND invited_user_email=?",[o,u]);if(await s("DELETE FROM delegated_user_tables WHERE root_user_id=? AND delegated_user_id=?",[o,t.id]),e&&e[0]){let s=e[0].db_tables_data.split("|");for(let e=0;e{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=t;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=r;let o=t;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=a}}},43290:(e,t,r)=>{let s=r(72583),a=r(67942),n=r(19760);r(27825);let i=r(67216),o=r(1231),l=r(53219),c=r(88896);async function u({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,duplicateColumnName:_,duplicateColumnValue:m,update:g,encryptionKey:f,encryptionSalt:S,useLocal:h}){let E=!!h||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),y=h?c:E?i:o;if(d?.date_created_timestamp&&delete d.date_created_timestamp,d?.date_updated_timestamp&&delete d.date_updated_timestamp,d?.date_updated&&delete d.date_updated,d?.date_updated_code&&delete d.date_updated_code,d?.date_created&&delete d.date_created,d?.date_created_code&&delete d.date_created_code,_&&"string"==typeof _){let s=E?await y(`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,[m]):await y({paradigm:"Read Only",database:r,queryString:`SELECT * FROM \`${u}\` WHERE \`${_}\`=?`,queryValues:[m]});if(s?.[0]&&!g)return null;if(s&&s[0]&&g)return await n({dbContext:e,paradigm:t,dbFullName:r,tableName:u,data:d,tableSchema:p,encryptionKey:f,encryptionSalt:S,identifierColumnName:_,identifierValue:m||""})}let x=Object.keys(d),D=[],v=[];for(let e=0;ee.fieldName==t):null,i=n&&n[0]?n[0]:null;if(null==r||void 0==r||i?.dataType?.match(/int$/i)&&"string"==typeof r&&!r?.match(/./))continue;i?.encrypted&&(r=l({data:r,encryptionKey:f,encryptionSalt:S}),console.log("DSQL: Encrypted value =>",r));let o=/<[^>]+>/g;(i?.richText||String(r).match(o))&&(r=s(r,a)),i?.pattern&&!new RegExp(i.pattern,i.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),D.push("`"+t+"`"),"object"==typeof r&&(r=JSON.stringify(r)),"number"==typeof r?v.push(String(r)):v.push(r)}catch(e){console.log("DSQL: Error in parsing data keys =>",e.message);continue}d?.date_created||(D.push("`date_created`"),v.push(Date())),d?.date_created_code||(D.push("`date_created_code`"),v.push(Date.now())),d?.date_updated||(D.push("`date_updated`"),v.push(Date())),d?.date_updated_code||(D.push("`date_updated_code`"),v.push(Date.now()));let b=`INSERT INTO \`${u}\` (${D.join(",")}) VALUES (${v.map(()=>"?").join(",")})`;return E?await y(b,v):await y({paradigm:t,database:r,queryString:b,queryValues:v})}e.exports=u},19760:(e,t,r)=>{let s=r(72583),a=r(67942),n=r(67216),i=r(1231),o=r(53219),l=r(88896);async function c({dbContext:e,paradigm:t,dbFullName:r,tableName:c,data:u,tableSchema:d,identifierColumnName:p,identifierValue:_,encryptionKey:m,encryptionSalt:g,useLocal:f}){if(!u||!Object.keys(u).length)return null;let S=!!f||!e?.match(/dsql.user/i)&&(!r||!!r.match(/^datasquirel$/)),h=f?l:S?n:i,E=Object.keys(u),y=[],x=[];for(let e=0;ee.fieldName===t):null,i=n&&n[0]?n[0]:null;if(null==r||void 0==r)continue;let l=/<[^>]+>/g;(i?.richText||String(r).match(l))&&(r=s(r,a)),i?.encrypted&&(r=o({data:r,encryptionKey:m,encryptionSalt:g})),"object"==typeof r&&(r=JSON.stringify(r)),i?.pattern&&!new RegExp(i.pattern,i.patternFlags||"").test(r)&&(console.log("DSQL: Pattern not matched =>",r),r=""),"string"==typeof r&&r.match(/^null$/i)&&(r={toSqlString:function(){return"NULL"}}),"string"!=typeof r||r.match(/./i)||(r={toSqlString:function(){return"NULL"}}),y.push(`\`${t}\`=?`),"number"==typeof r?x.push(String(r)):x.push(r)}catch(e){console.log("DSQL: Error in parsing data keys in update function =>",e.message);continue}y.push(`date_updated='${Date()}'`),y.push(`date_updated_code='${Date.now()}'`);let D=`UPDATE ${c} SET ${y.join(",")} WHERE \`${p}\`=?`;return x.push(_),S?await h(D,x):await h({paradigm:t,database:r,queryString:D,queryValues:x})}e.exports=c},67942:e=>{e.exports={allowedTags:["b","i","em","strong","a","p","span","ul","ol","li","h1","h2","h3","h4","h5","h6","img","div","button","pre","code","br"],allowedAttributes:{a:["href"],img:["src","alt","width","height","class","style"],"*":["style","class"]}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:a}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:a,req:n}){let i=new Date,o=(()=>{if(!n)return null;try{let e=n.headers["x-forwarded-for"],t=n.headers["x-real-ip"],r=n.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],a=r||s||t||n.socket.remoteAddress;if(!a)return null;return String(a)}catch(e){return null}})();try{let a=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(a+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/docs/api-reference.html b/dsql-app/.local_dist/server/pages/docs/api-reference.html index 1fd157b..603fa3d 100644 --- a/dsql-app/.local_dist/server/pages/docs/api-reference.html +++ b/dsql-app/.local_dist/server/pages/docs/api-reference.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/api-reference/get.html b/dsql-app/.local_dist/server/pages/docs/api-reference/get.html index 678f9eb..ed721b8 100644 --- a/dsql-app/.local_dist/server/pages/docs/api-reference/get.html +++ b/dsql-app/.local_dist/server/pages/docs/api-reference/get.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/api-reference/post.html b/dsql-app/.local_dist/server/pages/docs/api-reference/post.html index 7c611dd..425b3f0 100644 --- a/dsql-app/.local_dist/server/pages/docs/api-reference/post.html +++ b/dsql-app/.local_dist/server/pages/docs/api-reference/post.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/database-reference.html b/dsql-app/.local_dist/server/pages/docs/database-reference.html index 917ffa7..1cc3609 100644 --- a/dsql-app/.local_dist/server/pages/docs/database-reference.html +++ b/dsql-app/.local_dist/server/pages/docs/database-reference.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/database-reference/data-types.html b/dsql-app/.local_dist/server/pages/docs/database-reference/data-types.html index f56a8b8..56f8021 100644 --- a/dsql-app/.local_dist/server/pages/docs/database-reference/data-types.html +++ b/dsql-app/.local_dist/server/pages/docs/database-reference/data-types.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/database-reference/querying-data.html b/dsql-app/.local_dist/server/pages/docs/database-reference/querying-data.html index 8447147..edef000 100644 --- a/dsql-app/.local_dist/server/pages/docs/database-reference/querying-data.html +++ b/dsql-app/.local_dist/server/pages/docs/database-reference/querying-data.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/getting-started.html b/dsql-app/.local_dist/server/pages/docs/getting-started.html index e3696c0..2199aea 100644 --- a/dsql-app/.local_dist/server/pages/docs/getting-started.html +++ b/dsql-app/.local_dist/server/pages/docs/getting-started.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/gui-reference.html b/dsql-app/.local_dist/server/pages/docs/gui-reference.html index 466d38f..7607f25 100644 --- a/dsql-app/.local_dist/server/pages/docs/gui-reference.html +++ b/dsql-app/.local_dist/server/pages/docs/gui-reference.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/gui-reference/getting-started.html b/dsql-app/.local_dist/server/pages/docs/gui-reference/getting-started.html index 5217a07..8b46de7 100644 --- a/dsql-app/.local_dist/server/pages/docs/gui-reference/getting-started.html +++ b/dsql-app/.local_dist/server/pages/docs/gui-reference/getting-started.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/gui-reference/upload-media.html b/dsql-app/.local_dist/server/pages/docs/gui-reference/upload-media.html index 9e1a944..dfc9af9 100644 --- a/dsql-app/.local_dist/server/pages/docs/gui-reference/upload-media.html +++ b/dsql-app/.local_dist/server/pages/docs/gui-reference/upload-media.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/docs/quick-start.html b/dsql-app/.local_dist/server/pages/docs/quick-start.html index 8e81be8..63de4e1 100644 --- a/dsql-app/.local_dist/server/pages/docs/quick-start.html +++ b/dsql-app/.local_dist/server/pages/docs/quick-start.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/email-verification.js b/dsql-app/.local_dist/server/pages/email-verification.js index 96b9c35..c6f3ff6 100644 --- a/dsql-app/.local_dist/server/pages/email-verification.js +++ b/dsql-app/.local_dist/server/pages/email-verification.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=6712,e.ids=[3220,6712],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},71956:(e,t,r)=>{r.r(t),r.d(t,{config:()=>k,default:()=>b,getServerSideProps:()=>N,getStaticPaths:()=>A,getStaticProps:()=>D,reportWebVitals:()=>R,routeModule:()=>$,unstable_getServerProps:()=>M,unstable_getServerSideProps:()=>I,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>O,unstable_getStaticProps:()=>L});var s={};r.r(s),r.d(s,{default:()=>j,getServerSideProps:()=>P});var n=r(63865),i=r(9455),a=r(30671),o=r(49407),l=r(89600),c=r(8732),u=r(82015),d=r.n(u);r(27912);var p=r(20048),m=r.n(p),f=r(32415),g=r(63715),S=r(77463),x=r.n(S),h=r(71457),_=r(22373),y=r.n(_),v=r(67216),E=r.n(v);function j({user:e,verified:t}){let[r,s]=d().useState(!1),[n,i]=d().useState(null);return t?(0,c.jsx)(h.A,{head:(0,c.jsxs)(d().Fragment,{children:[(0,c.jsx)("title",{children:"Verify Email Address"}),(0,c.jsx)("meta",{name:"description",content:"Verify your email address"})]}),user:e,children:(0,c.jsx)("main",{className:"flex items-center justify-center w-full p-8",children:(0,c.jsx)("div",{className:"login-block gap-2",children:(0,c.jsxs)("div",{className:"flex items-center gap-4",children:[(0,c.jsx)("img",{src:"/images/checkmark.svg",alt:"check-mark",width:30}),(0,c.jsx)("span",{className:"text-xl",children:"Email Verification Successfull!"})]})})})}):(0,c.jsx)(d().Fragment,{children:(0,c.jsx)(h.A,{head:(0,c.jsxs)(d().Fragment,{children:[(0,c.jsx)("title",{children:"Verify Email Address"}),(0,c.jsx)("meta",{name:"description",content:"Verify your email address"})]}),user:e,children:(0,c.jsx)("main",{className:"flex flex-col items-center p-8 justify-center w-full",children:(0,c.jsxs)("div",{className:"login-block gap-2 flex-col max-w-lg",children:[n&&(0,c.jsx)("div",{className:n.class+" w-full rounded py-2 px-4 flex justify-center",children:n.msg}),r&&(0,c.jsx)(f.A,{position:"absolute"}),(0,c.jsx)("h1",{className:"text-2xl m-0 ",children:"Verify Email Address"}),(0,c.jsx)("span",{children:"Please click the button below to send verification link"}),(0,c.jsx)("button",{className:"w-full",onClick:function(e){e.preventDefault(),s(!0),(0,g.A)("/api/sendEmailVerificationLink").then(e=>{s(!1),e.success&&i({msg:"Email Sent. Please check mailbox",class:"bg-emerald-100"})})},children:(0,c.jsx)("span",{children:"Send Verification Link"})}),(0,c.jsx)("button",{className:"w-full outlined",onClick:e=>{window.history.back()},children:(0,c.jsx)("span",{children:"Go Back"})})]})})})})}async function P({req:e,res:t,query:r}){let s;let n=!1;try{s=await m()(e,t);let i=r?.token;if(i){let e=x()({encryptedString:i.toString()});if(e)try{s=JSON.parse(e)}catch(e){y()({component:"email-verification/index-page-component/getServerSideProps/line-255",message:e.message,user:{}}),s=null,i=null}}if(!s)return{redirect:{destination:"/logout",permanent:!1}};if(s.verification_status?.toString().match(/^[1-5]$/))return{redirect:{destination:"/admin",permanent:!1}};let a=await E()(`SELECT id FROM users WHERE verification_status > 0 AND id='${s.id}'`);if(a&&a[0])return{redirect:{destination:"/admin",permanent:!1}};if(s?.dateCode){let e=s.dateCode;Date.now()-parseInt(e)>18e5?(s=null,i=null):(await E()(`UPDATE users SET verification_status='1' WHERE id='${s.id}'`),n=!0)}}catch(e){return y()({component:"email-verification/index-page-component/getServerSideProps/main-catch-error",message:e.message,user:{}}),{redirect:{destination:"/logout",permanent:!1}}}return{props:{user:s,verified:n}}}let b=(0,a.M)(s,"default"),D=(0,a.M)(s,"getStaticProps"),A=(0,a.M)(s,"getStaticPaths"),N=(0,a.M)(s,"getServerSideProps"),k=(0,a.M)(s,"config"),R=(0,a.M)(s,"reportWebVitals"),L=(0,a.M)(s,"unstable_getStaticProps"),O=(0,a.M)(s,"unstable_getStaticPaths"),w=(0,a.M)(s,"unstable_getStaticParams"),M=(0,a.M)(s,"unstable_getServerProps"),I=(0,a.M)(s,"unstable_getServerSideProps"),$=new n.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/email-verification",pathname:"/email-verification",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:s})},20048:(e,t,r)=>{r(81630);let s=r(67216),n=r(77463),i=r(29021),a=r(6505);async function o(e,t,r,o){let{keyCookieName:l,csrfCookieName:c}=a();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=t;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=r;let a=t;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:i,csrfCookieName:a+=s}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:n}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:n,req:i}){let a=new Date,o=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],t=i.headers["x-real-ip"],r=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=r||s||t||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=6712,e.ids=[3220,6712],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},71956:(e,t,r)=>{r.r(t),r.d(t,{config:()=>O,default:()=>D,getServerSideProps:()=>N,getStaticPaths:()=>A,getStaticProps:()=>b,reportWebVitals:()=>k,routeModule:()=>$,unstable_getServerProps:()=>I,unstable_getServerSideProps:()=>M,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>R,unstable_getStaticProps:()=>L});var s={};r.r(s),r.d(s,{default:()=>j,getServerSideProps:()=>P});var n=r(63865),i=r(9455),a=r(30671),o=r(49407),l=r(89600),c=r(8732),u=r(82015),d=r.n(u);r(27912);var p=r(20048),m=r.n(p),f=r(32415),g=r(63715),S=r(77463),x=r.n(S),_=r(71457),h=r(22373),y=r.n(h),E=r(67216),v=r.n(E);function j({user:e,verified:t}){let[r,s]=d().useState(!1),[n,i]=d().useState(null);return t?(0,c.jsx)(_.A,{head:(0,c.jsxs)(d().Fragment,{children:[(0,c.jsx)("title",{children:"Verify Email Address"}),(0,c.jsx)("meta",{name:"description",content:"Verify your email address"})]}),user:e,children:(0,c.jsx)("main",{className:"flex items-center justify-center w-full p-8",children:(0,c.jsx)("div",{className:"login-block gap-2",children:(0,c.jsxs)("div",{className:"flex items-center gap-4",children:[(0,c.jsx)("img",{src:"/images/checkmark.svg",alt:"check-mark",width:30}),(0,c.jsx)("span",{className:"text-xl",children:"Email Verification Successfull!"})]})})})}):(0,c.jsx)(d().Fragment,{children:(0,c.jsx)(_.A,{head:(0,c.jsxs)(d().Fragment,{children:[(0,c.jsx)("title",{children:"Verify Email Address"}),(0,c.jsx)("meta",{name:"description",content:"Verify your email address"})]}),user:e,children:(0,c.jsx)("main",{className:"flex flex-col items-center p-8 justify-center w-full",children:(0,c.jsxs)("div",{className:"login-block gap-2 flex-col max-w-lg",children:[n&&(0,c.jsx)("div",{className:n.class+" w-full rounded py-2 px-4 flex justify-center",children:n.msg}),r&&(0,c.jsx)(f.A,{position:"absolute"}),(0,c.jsx)("h1",{className:"text-2xl m-0 ",children:"Verify Email Address"}),(0,c.jsx)("span",{children:"Please click the button below to send verification link"}),(0,c.jsx)("button",{className:"w-full",onClick:function(e){e.preventDefault(),s(!0),(0,g.A)("/api/sendEmailVerificationLink").then(e=>{s(!1),e.success&&i({msg:"Email Sent. Please check mailbox",class:"bg-emerald-100"})})},children:(0,c.jsx)("span",{children:"Send Verification Link"})}),(0,c.jsx)("button",{className:"w-full outlined",onClick:e=>{window.history.back()},children:(0,c.jsx)("span",{children:"Go Back"})})]})})})})}async function P({req:e,res:t,query:r}){let s;let n=!1;try{s=await m()(e,t);let i=r?.token;if(i){let e=x()({encryptedString:i.toString()});if(e)try{s=JSON.parse(e)}catch(e){y()({component:"email-verification/index-page-component/getServerSideProps/line-255",message:e.message,user:{}}),s=null,i=null}}if(!s)return{redirect:{destination:"/logout",permanent:!1}};if(s.verification_status?.toString().match(/^[1-5]$/))return{redirect:{destination:"/admin",permanent:!1}};let a=await v()(`SELECT id FROM users WHERE verification_status > 0 AND id='${s.id}'`);if(a&&a[0])return{redirect:{destination:"/admin",permanent:!1}};if(s?.dateCode){let e=s.dateCode;Date.now()-parseInt(e)>18e5?(s=null,i=null):(await v()(`UPDATE users SET verification_status='1' WHERE id='${s.id}'`),n=!0)}}catch(e){return y()({component:"email-verification/index-page-component/getServerSideProps/main-catch-error",message:e.message,user:{}}),{redirect:{destination:"/logout",permanent:!1}}}return{props:{user:s,verified:n}}}let D=(0,a.M)(s,"default"),b=(0,a.M)(s,"getStaticProps"),A=(0,a.M)(s,"getStaticPaths"),N=(0,a.M)(s,"getServerSideProps"),O=(0,a.M)(s,"config"),k=(0,a.M)(s,"reportWebVitals"),L=(0,a.M)(s,"unstable_getStaticProps"),R=(0,a.M)(s,"unstable_getStaticPaths"),w=(0,a.M)(s,"unstable_getStaticParams"),I=(0,a.M)(s,"unstable_getServerProps"),M=(0,a.M)(s,"unstable_getServerSideProps"),$=new n.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/email-verification",pathname:"/email-verification",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:s})},20048:(e,t,r)=>{r(81630);let s=r(67216),n=r(77463),i=r(29021),a=r(6505);async function o(e,t,r,o){let{keyCookieName:l,csrfCookieName:c}=a();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!i.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",i=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),i&&(a+=`${i}_`),a+=r;let o=t;e?.userId&&(o+=`user_${e.userId}_`),i&&(o+=`${i}_`),o+=s;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),i&&(l+=`${i}_`),{keyCookieName:a,csrfCookieName:o,oneTimeCodeName:l+=n}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:n}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:n,req:i}){let a=new Date,o=(()=>{if(!i)return null;try{let e=i.headers["x-forwarded-for"],t=i.headers["x-real-ip"],r=i.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=r||s||t||i.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/index.html b/dsql-app/.local_dist/server/pages/index.html index b1cd05b..383a7a0 100644 --- a/dsql-app/.local_dist/server/pages/index.html +++ b/dsql-app/.local_dist/server/pages/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/login.js b/dsql-app/.local_dist/server/pages/login.js index 82bda7b..f1ee009 100644 --- a/dsql-app/.local_dist/server/pages/login.js +++ b/dsql-app/.local_dist/server/pages/login.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=676,e.ids=[676,3220],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},12037:(e,t,s)=>{s.r(t),s.d(t,{config:()=>q,default:()=>N,getServerSideProps:()=>L,getStaticPaths:()=>A,getStaticProps:()=>D,reportWebVitals:()=>O,routeModule:()=>Q,unstable_getServerProps:()=>T,unstable_getServerSideProps:()=>k,unstable_getStaticParams:()=>R,unstable_getStaticPaths:()=>M,unstable_getStaticProps:()=>I});var r={};s.r(r),s.d(r,{default:()=>w,getServerSideProps:()=>E});var n=s(63865),a=s(9455),i=s(30671),o=s(49407),l=s(89600),c=s(8732),u=s(82015),d=s.n(u),p=s(27912),m=s.n(p),f=s(76601),x=s(63715);async function g({e,setAlert:t,setLoading:s,query:r}){e.preventDefault(),s(!0);let n=e.target["email-or-username-input"],a=e.target.password;if(n?.value===""&&a?.value===""){n.classList.add("warning"),a.classList.add("warning"),t("No Email or Password Provided"),s(!1);return}if(a?.value===""){t(!1),a.classList.add("warning"),t(!0),s(!1);return}n.classList.remove("warning"),a.classList.remove("warning"),t(!1);let i={email:n.value,password:a.value,query:r};(0,x.A)("/api/loginUser",{method:"post",body:i}).then(async e=>{console.log(e),e.user&&e.user.auth?(localStorage.setItem("userid",e.user.userid),localStorage.setItem("csrf",e.user.csrf_k),localStorage.setItem("user",JSON.stringify(e.userPayload)),(0,f.A)().then(()=>{window.location.reload()})):(t(e.msg),s(!1))})}var h=s(32415),v=s(72414);let S=d().createContext({});function _({user:e,query:t}){let[s,r]=(0,u.useState)(null),[n,a]=(0,u.useState)(!1);return(0,c.jsxs)(S.Provider,{value:{loading:n,setLoading:a,alert:s,setAlert:r,user:e},children:[(0,c.jsx)(v.A,{user:e,userType:"admin",setLoading:a}),(0,c.jsxs)("div",{className:"w-full justify-center relative",children:[(0,c.jsx)("span",{className:"bg-white dark:bg-slate-800 px-3 relative z-10",children:"OR"}),(0,c.jsx)("hr",{className:"absolute"})]}),(0,c.jsxs)("div",{className:"w-full flex-col items-stretch gap-4",children:[n&&(0,c.jsx)(h.A,{}),s&&(0,c.jsx)("div",{className:"p-2 justify-center text-sm border border-solid border-orange-400 rounded bg-orange-50",children:s}),(0,c.jsxs)("form",{className:"flex flex-col gap-2 w-full",onSubmit:e=>{g({e,setAlert:r,setLoading:a,query:t})},children:[(0,c.jsx)("input",{type:"text",name:"email-or-username-input",id:"email-or-username-input",placeholder:"Email or username",defaultValue:t?.email?t.email:"",required:!0,onInput:e=>{s&&r(!1)}}),(0,c.jsx)("input",{type:"password",name:"password",id:"password-input",placeholder:"Password",required:!0,onInput:e=>{s&&r(!1)}}),(0,c.jsx)("button",{type:"submit",children:"Login"})]}),(0,c.jsx)("div",{className:"flex flex-col items-center w-full mb-2",children:(0,c.jsx)("a",{href:"/send-password-reset-link",className:"text-secondary font-semibold",children:"Forgot Password?"})}),(0,c.jsxs)("div",{className:"flex items-center gap-2 justify-center w-full mb-2 flex-wrap",children:[(0,c.jsx)("span",{children:"Dont have an account yet?"}),(0,c.jsx)("a",{href:"/create-account",className:"text-secondary font-semibold",children:"Register Now"})]}),(0,c.jsxs)("div",{className:"justify-center text-sm text-secondary",children:[(0,c.jsx)("a",{href:"/terms",className:"text-secondary",children:"Terms and Conditions"}),(0,c.jsx)("a",{href:"/privacy",className:"text-secondary",children:"Privacy Policy"})]})]})]})}var j=s(20048),y=s.n(j),P=s(93353),b=s(55966);function w(e){return e.query.invite&&e.user?(0,c.jsx)(b.A,{}):(0,c.jsxs)(d().Fragment,{children:[(0,c.jsxs)(m(),{children:[(0,c.jsx)("title",{children:"Login to your account"}),(0,c.jsx)("meta",{name:"description",content:"Login to your account"})]}),(0,c.jsx)("main",{className:"w-screen h-screen flex items-center justify-center p-4 md:p-8",children:(0,c.jsxs)("div",{className:"card col items-center no-hover max-w-md w-full bg-white p-4 sm:p-6 overflow-auto minimal-scrollbars",style:{maxHeight:"calc(100vh - 40px)"},children:[(0,c.jsx)(P.A,{}),(0,c.jsx)("hr",{}),(0,c.jsx)("h3",{className:"m-0 text-lg font-semibold",children:"Login to your account"}),(0,c.jsx)(_,{user:e.user,query:e.query})]})})]})}async function E({req:e,res:t,query:s}){let r=await y()(e,t);return r?{redirect:{destination:"/admin",permanent:!1}}:{props:{user:r,query:s}}}let N=(0,i.M)(r,"default"),D=(0,i.M)(r,"getStaticProps"),A=(0,i.M)(r,"getStaticPaths"),L=(0,i.M)(r,"getServerSideProps"),q=(0,i.M)(r,"config"),O=(0,i.M)(r,"reportWebVitals"),I=(0,i.M)(r,"unstable_getStaticProps"),M=(0,i.M)(r,"unstable_getStaticPaths"),R=(0,i.M)(r,"unstable_getStaticParams"),T=(0,i.M)(r,"unstable_getServerProps"),k=(0,i.M)(r,"unstable_getServerSideProps"),Q=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/login",pathname:"/login",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:r})},55966:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(8732);s(82015);var n=s(32415);function a(){return(0,r.jsx)("div",{className:"flex flex-col gap-4 items-center justify-center w-full h-screen p-6 bg-slate-100",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 px-6 py-20 bg-white rounded shadow-sm max-w-2xl w-full",children:[(0,r.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:60}),(0,r.jsx)("div",{className:"w-10 h-10 flex flex-col items-center justify-center",children:(0,r.jsx)(n.A,{width:"25px",position:"relative"})})]})})}},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:a,csrfCookieName:i+=r}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",r(i,o,l),a.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600,2414],()=>s(12037));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=676,e.ids=[676,3220],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},12037:(e,t,s)=>{s.r(t),s.d(t,{config:()=>O,default:()=>N,getServerSideProps:()=>L,getStaticPaths:()=>A,getStaticProps:()=>D,reportWebVitals:()=>I,routeModule:()=>k,unstable_getServerProps:()=>T,unstable_getServerSideProps:()=>Q,unstable_getStaticParams:()=>R,unstable_getStaticPaths:()=>M,unstable_getStaticProps:()=>q});var r={};s.r(r),s.d(r,{default:()=>w,getServerSideProps:()=>E});var n=s(63865),a=s(9455),i=s(30671),o=s(49407),l=s(89600),c=s(8732),u=s(82015),d=s.n(u),p=s(27912),m=s.n(p),x=s(76601),f=s(63715);async function g({e,setAlert:t,setLoading:s,query:r}){e.preventDefault(),s(!0);let n=e.target["email-or-username-input"],a=e.target.password;if(n?.value===""&&a?.value===""){n.classList.add("warning"),a.classList.add("warning"),t("No Email or Password Provided"),s(!1);return}if(a?.value===""){t(!1),a.classList.add("warning"),t(!0),s(!1);return}n.classList.remove("warning"),a.classList.remove("warning"),t(!1);let i={email:n.value,password:a.value,query:r};(0,f.A)("/api/loginUser",{method:"post",body:i}).then(async e=>{console.log(e),e.user&&e.user.auth?(localStorage.setItem("userid",e.user.userid),localStorage.setItem("csrf",e.user.csrf_k),localStorage.setItem("user",JSON.stringify(e.userPayload)),(0,x.A)().then(()=>{window.location.reload()})):(t(e.msg),s(!1))})}var h=s(32415),_=s(72414);let v=d().createContext({});function S({user:e,query:t}){let[s,r]=(0,u.useState)(null),[n,a]=(0,u.useState)(!1);return(0,c.jsxs)(v.Provider,{value:{loading:n,setLoading:a,alert:s,setAlert:r,user:e},children:[(0,c.jsx)(_.A,{user:e,userType:"admin",setLoading:a}),(0,c.jsxs)("div",{className:"w-full justify-center relative",children:[(0,c.jsx)("span",{className:"bg-white dark:bg-slate-800 px-3 relative z-10",children:"OR"}),(0,c.jsx)("hr",{className:"absolute"})]}),(0,c.jsxs)("div",{className:"w-full flex-col items-stretch gap-4",children:[n&&(0,c.jsx)(h.A,{}),s&&(0,c.jsx)("div",{className:"p-2 justify-center text-sm border border-solid border-orange-400 rounded bg-orange-50",children:s}),(0,c.jsxs)("form",{className:"flex flex-col gap-2 w-full",onSubmit:e=>{g({e,setAlert:r,setLoading:a,query:t})},children:[(0,c.jsx)("input",{type:"text",name:"email-or-username-input",id:"email-or-username-input",placeholder:"Email or username",defaultValue:t?.email?t.email:"",required:!0,onInput:e=>{s&&r(!1)}}),(0,c.jsx)("input",{type:"password",name:"password",id:"password-input",placeholder:"Password",required:!0,onInput:e=>{s&&r(!1)}}),(0,c.jsx)("button",{type:"submit",children:"Login"})]}),(0,c.jsx)("div",{className:"flex flex-col items-center w-full mb-2",children:(0,c.jsx)("a",{href:"/send-password-reset-link",className:"text-secondary font-semibold",children:"Forgot Password?"})}),(0,c.jsxs)("div",{className:"flex items-center gap-2 justify-center w-full mb-2 flex-wrap",children:[(0,c.jsx)("span",{children:"Dont have an account yet?"}),(0,c.jsx)("a",{href:"/create-account",className:"text-secondary font-semibold",children:"Register Now"})]}),(0,c.jsxs)("div",{className:"justify-center text-sm text-secondary",children:[(0,c.jsx)("a",{href:"/terms",className:"text-secondary",children:"Terms and Conditions"}),(0,c.jsx)("a",{href:"/privacy",className:"text-secondary",children:"Privacy Policy"})]})]})]})}var j=s(20048),y=s.n(j),P=s(93353),b=s(55966);function w(e){return e.query.invite&&e.user?(0,c.jsx)(b.A,{}):(0,c.jsxs)(d().Fragment,{children:[(0,c.jsxs)(m(),{children:[(0,c.jsx)("title",{children:"Login to your account"}),(0,c.jsx)("meta",{name:"description",content:"Login to your account"})]}),(0,c.jsx)("main",{className:"w-screen h-screen flex items-center justify-center p-4 md:p-8",children:(0,c.jsxs)("div",{className:"card col items-center no-hover max-w-md w-full bg-white p-4 sm:p-6 overflow-auto minimal-scrollbars",style:{maxHeight:"calc(100vh - 40px)"},children:[(0,c.jsx)(P.A,{}),(0,c.jsx)("hr",{}),(0,c.jsx)("h3",{className:"m-0 text-lg font-semibold",children:"Login to your account"}),(0,c.jsx)(S,{user:e.user,query:e.query})]})})]})}async function E({req:e,res:t,query:s}){let r=await y()(e,t);return r?{redirect:{destination:"/admin",permanent:!1}}:{props:{user:r,query:s}}}let N=(0,i.M)(r,"default"),D=(0,i.M)(r,"getStaticProps"),A=(0,i.M)(r,"getStaticPaths"),L=(0,i.M)(r,"getServerSideProps"),O=(0,i.M)(r,"config"),I=(0,i.M)(r,"reportWebVitals"),q=(0,i.M)(r,"unstable_getStaticProps"),M=(0,i.M)(r,"unstable_getStaticPaths"),R=(0,i.M)(r,"unstable_getStaticParams"),T=(0,i.M)(r,"unstable_getServerProps"),Q=(0,i.M)(r,"unstable_getServerSideProps"),k=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/login",pathname:"/login",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:r})},55966:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(8732);s(82015);var n=s(32415);function a(){return(0,r.jsx)("div",{className:"flex flex-col gap-4 items-center justify-center w-full h-screen p-6 bg-slate-100",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 px-6 py-20 bg-white rounded shadow-sm max-w-2xl w-full",children:[(0,r.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:60}),(0,r.jsx)("div",{className:"w-10 h-10 flex flex-col items-center justify-center",children:(0,r.jsx)(n.A,{width:"25px",position:"relative"})})]})})}},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=t;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let o=t;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=r;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=n}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",r(i,o,l),a.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600,2414],()=>s(12037));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/logout.js b/dsql-app/.local_dist/server/pages/logout.js index 96c0321..e5736ad 100644 --- a/dsql-app/.local_dist/server/pages/logout.js +++ b/dsql-app/.local_dist/server/pages/logout.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7122,e.ids=[3220,7122],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},9247:(e,t,s)=>{s.r(t),s.d(t,{config:()=>b,default:()=>y,getServerSideProps:()=>D,getStaticPaths:()=>E,getStaticProps:()=>j,reportWebVitals:()=>A,routeModule:()=>k,unstable_getServerProps:()=>I,unstable_getServerSideProps:()=>M,unstable_getStaticParams:()=>O,unstable_getStaticPaths:()=>N,unstable_getStaticProps:()=>L});var r={};s.r(r),s.d(r,{default:()=>P,getServerSideProps:()=>v});var n=s(63865),o=s(9455),a=s(30671),i=s(49407),c=s(89600),l=s(8732),u=s(82015),p=s.n(u),m=s(27912),d=s.n(m),g=s(29021),_=s.n(g);s(63715),s(76601);var f=s(32415),h=s(6505),S=s.n(h);let x=s(20048);function P({user:e,query:t}){let s=(0,l.jsxs)(p().Fragment,{children:[(0,l.jsx)("title",{children:"Loging Out | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Login you out"}),(0,l.jsx)("script",{src:"https://accounts.google.com/gsi/client"}),(0,l.jsx)("script",{src:"https://connect.facebook.net/en_US/sdk.js",crossOrigin:"anonymous"})]});return(0,l.jsxs)(p().Fragment,{children:[(0,l.jsx)(d(),{children:s}),(0,l.jsx)("main",{className:"w-screen h-screen flex items-center justify-center p-4 md:p-8",children:(0,l.jsxs)("div",{className:"card max-w-md flex-col items-center bg-white p-6 rounded border border-slate-200 border-solid",children:[(0,l.jsxs)("a",{href:"/",className:"flex items-center gap-2",children:[(0,l.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37}),(0,l.jsx)("span",{className:"font-bold text-2xl",children:"Datasquirel"})]}),(0,l.jsx)("h3",{className:"text-lg m-0 mt-4 text-slate-400",children:"Logging out"}),(0,l.jsx)(f.A,{position:"relative",width:"20px"})]})})]})}async function v({req:e,res:t,query:s}){let r=await x(e,t);if(r){console.log(r.csrf_k);try{let e=process.env.DSQL_USER_LOGIN_KEYS_PATH,t=`${e}/${r.csrf_k}`;console.log("allowedAuthKeyPath",t),_().unlinkSync(t)}catch(e){console.log(`Logout API error: ${e.message}`)}}let{keyCookieName:n,csrfCookieName:o}=S()();return t.setHeader("Set-Cookie",[`${n}=none;max-age=0`,`${o}=null;max-age=0`]),{props:{user:r,logged_out:!0,query:s}}}let y=(0,a.M)(r,"default"),j=(0,a.M)(r,"getStaticProps"),E=(0,a.M)(r,"getStaticPaths"),D=(0,a.M)(r,"getServerSideProps"),b=(0,a.M)(r,"config"),A=(0,a.M)(r,"reportWebVitals"),L=(0,a.M)(r,"unstable_getStaticProps"),N=(0,a.M)(r,"unstable_getStaticPaths"),O=(0,a.M)(r,"unstable_getStaticParams"),I=(0,a.M)(r,"unstable_getServerProps"),M=(0,a.M)(r,"unstable_getServerSideProps"),k=new n.PagesRouteModule({definition:{kind:o.A.PAGES,page:"/logout",pathname:"/logout",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:r})},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),o=s(29021),a=s(6505);async function i(e,t,s,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${m}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},76601:(e,t,s)=>{s.d(t,{A:()=>r});async function r(){try{let e=await caches.keys();e[0]&&await Promise.all(e.map(e=>caches.delete(e)))}catch(e){console.log("Error in clearing cache =>",e.message)}}},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=t;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=s;let a=t;return e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),{keyCookieName:o,csrfCookieName:a+=r}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",r(a,i,c),o.alloc(16,0));try{let t=l.update(e,"hex","utf8");return t+=l.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),o=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let t=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var r=s(8732);s(82015);var n=s(20883);function o(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(9247));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=7122,e.ids=[3220,7122],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},9247:(e,t,s)=>{s.r(t),s.d(t,{config:()=>b,default:()=>E,getServerSideProps:()=>D,getStaticPaths:()=>j,getStaticProps:()=>y,reportWebVitals:()=>A,routeModule:()=>q,unstable_getServerProps:()=>I,unstable_getServerSideProps:()=>M,unstable_getStaticParams:()=>N,unstable_getStaticPaths:()=>O,unstable_getStaticProps:()=>L});var r={};s.r(r),s.d(r,{default:()=>P,getServerSideProps:()=>v});var n=s(63865),o=s(9455),a=s(30671),i=s(49407),c=s(89600),l=s(8732),u=s(82015),p=s.n(u),m=s(27912),d=s.n(m),g=s(29021),_=s.n(g);s(63715),s(76601);var f=s(32415),S=s(6505),h=s.n(S);let x=s(20048);function P({user:e,query:t}){let s=(0,l.jsxs)(p().Fragment,{children:[(0,l.jsx)("title",{children:"Loging Out | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Login you out"}),(0,l.jsx)("script",{src:"https://accounts.google.com/gsi/client"}),(0,l.jsx)("script",{src:"https://connect.facebook.net/en_US/sdk.js",crossOrigin:"anonymous"})]});return(0,l.jsxs)(p().Fragment,{children:[(0,l.jsx)(d(),{children:s}),(0,l.jsx)("main",{className:"w-screen h-screen flex items-center justify-center p-4 md:p-8",children:(0,l.jsxs)("div",{className:"card max-w-md flex-col items-center bg-white p-6 rounded border border-slate-200 border-solid",children:[(0,l.jsxs)("a",{href:"/",className:"flex items-center gap-2",children:[(0,l.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37}),(0,l.jsx)("span",{className:"font-bold text-2xl",children:"Datasquirel"})]}),(0,l.jsx)("h3",{className:"text-lg m-0 mt-4 text-slate-400",children:"Logging out"}),(0,l.jsx)(f.A,{position:"relative",width:"20px"})]})})]})}async function v({req:e,res:t,query:s}){let r=await x(e,t);if(r){console.log(r.csrf_k);try{let e=process.env.DSQL_USER_LOGIN_KEYS_PATH,t=`${e}/${r.csrf_k}`;console.log("allowedAuthKeyPath",t),_().unlinkSync(t)}catch(e){console.log(`Logout API error: ${e.message}`)}}let{keyCookieName:n,csrfCookieName:o}=h()();return t.setHeader("Set-Cookie",[`${n}=none;max-age=0`,`${o}=null;max-age=0`]),{props:{user:r,logged_out:!0,query:s}}}let E=(0,a.M)(r,"default"),y=(0,a.M)(r,"getStaticProps"),j=(0,a.M)(r,"getStaticPaths"),D=(0,a.M)(r,"getServerSideProps"),b=(0,a.M)(r,"config"),A=(0,a.M)(r,"reportWebVitals"),L=(0,a.M)(r,"unstable_getStaticProps"),O=(0,a.M)(r,"unstable_getStaticPaths"),N=(0,a.M)(r,"unstable_getStaticParams"),I=(0,a.M)(r,"unstable_getServerProps"),M=(0,a.M)(r,"unstable_getServerSideProps"),q=new n.PagesRouteModule({definition:{kind:o.A.PAGES,page:"/logout",pathname:"/logout",bundlePath:"",filename:""},components:{App:c.default,Document:i.default},userland:r})},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),o=s(29021),a=s(6505);async function i(e,t,s,i){let{keyCookieName:c,csrfCookieName:l}=a();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!o.existsSync(`${m}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},76601:(e,t,s)=>{s.d(t,{A:()=>r});async function r(){try{let e=await caches.keys();e[0]&&await Promise.all(e.map(e=>caches.delete(e)))}catch(e){console.log("Error in clearing cache =>",e.message)}}},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",o=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),o&&(a+=`${o}_`),a+=s;let i=t;e?.userId&&(i+=`user_${e.userId}_`),o&&(i+=`${o}_`),i+=r;let c=t;return e?.userId&&(c+=`user_${e.userId}_`),o&&(c+=`${o}_`),{keyCookieName:a,csrfCookieName:i,oneTimeCodeName:c+=n}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:o}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let a=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!a?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",r(a,i,c),o.alloc(16,0));try{let t=l.update(e,"hex","utf8");return t+=l.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),o=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function a(...e){try{let t=await o.query(...e);return await o.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=a},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var r=s(8732);s(82015);var n=s(20883);function o(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(9247));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/privacy.html b/dsql-app/.local_dist/server/pages/privacy.html index cff1521..b819ede 100644 --- a/dsql-app/.local_dist/server/pages/privacy.html +++ b/dsql-app/.local_dist/server/pages/privacy.html @@ -1 +1 @@ -Privacy Policy | Datasquirel

Privacy Policy

Privacy Policy for Datasquirel
Dotted image background

At datasquirel.com, accessible from https://datasquirel.com, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by datasquirel.com and how we use it.

If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us.

This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in datasquirel.com. This policy is not applicable to any information collected offline or via channels other than this website.

Consent

By using our website, you hereby consent to our Privacy Policy and agree to its terms.

Information we collect

The personal information that you are asked to provide, and the reasons why you are asked to provide it, will be made clear to you at the point we ask you to provide your personal information.

If you contact us directly, we may receive additional information about you such as your name, email address, phone number, the contents of the message and/or attachments you may send us, and any other information you may choose to provide.

When you register for an Account, we may ask for your contact information, including items such as name, company name, address, email address, and telephone number.

How we use your information

We use the information we collect in various ways, including to:

  • Provide, operate, and maintain our website
  • Improve, personalize, and expand our website
  • Understand and analyze how you use our website
  • Develop new products, services, features, and functionality
  • Communicate with you, either directly or through one of our partners, including for customer service, to provide you with updates and other information relating to the website, and for marketing and promotional purposes
  • Send you emails
  • Find and prevent fraud

Log Files

datasquirel.com follows a standard procedure of using log files. These files log visitors when they visit websites. All hosting companies do this and a part of hosting services' analytics. The information collected by log files include internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit pages, and possibly the number of clicks. These are not linked to any information that is personally identifiable. The purpose of the information is for analyzing trends, administering the site, tracking users' movement on the website, and gathering demographic information.

Cookies and Web Beacons

Like any other website, datasquirel.com uses 'cookies'. These cookies are used to store information including visitors' preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information.

Advertising Partners Privacy Policies

You may consult this list to find the Privacy Policy for each of the advertising partners of datasquirel.com.

Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web Beacons that are used in their respective advertisements and links that appear on datasquirel.com, which are sent directly to users' browser. They automatically receive your IP address when this occurs. These technologies are used to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on websites that you visit.

Note that datasquirel.com has no access to or control over these cookies that are used by third-party advertisers.

Third Party Privacy Policies

datasquirel.com's Privacy Policy does not apply to other advertisers or websites. Thus, we are advising you to consult the respective Privacy Policies of these third-party ad servers for more detailed information. It may include their practices and instructions about how to opt-out of certain options.

You can choose to disable cookies through your individual browser options. To know more detailed information about cookie management with specific web browsers, it can be found at the browsers' respective websites.

CCPA Privacy Rights (Do Not Sell My Personal Information)

Under the CCPA, among other rights, California consumers have the right to:

Request that a business that collects a consumer's personal data disclose the categories and specific pieces of personal data that a business has collected about consumers.

Request that a business delete any personal data about the consumer that a business has collected.

Request that a business that sells a consumer's personal data, not sell the consumer's personal data.

If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.

GDPR Data Protection Rights

We would like to make sure you are fully aware of all of your data protection rights. Every user is entitled to the following:

The right to access – You have the right to request copies of your personal data. We may charge you a small fee for this service.

The right to rectification – You have the right to request that we correct any information you believe is inaccurate. You also have the right to request that we complete the information you believe is incomplete.

The right to erasure – You have the right to request that we erase your personal data, under certain conditions.

The right to restrict processing – You have the right to request that we restrict the processing of your personal data, under certain conditions.

The right to object to processing – You have the right to object to our processing of your personal data, under certain conditions.

The right to data portability – You have the right to request that we transfer the data that we have collected to another organization, or directly to you, under certain conditions.

If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.

Children's Information

Another part of our priority is adding protection for children while using the internet. We encourage parents and guardians to observe, participate in, and/or monitor and guide their online activity.

datasquirel.com does not knowingly collect any Personal Identifiable Information from children under the age of 13. If you think that your child provided this kind of information on our website, we strongly encourage you to contact us immediately and we will do our best efforts to promptly remove such information from our records.

\ No newline at end of file +Privacy Policy | Datasquirel

Privacy Policy

Privacy Policy for Datasquirel
Dotted image background

At datasquirel.com, accessible from https://datasquirel.com, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by datasquirel.com and how we use it.

If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us.

This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in datasquirel.com. This policy is not applicable to any information collected offline or via channels other than this website.

Consent

By using our website, you hereby consent to our Privacy Policy and agree to its terms.

Information we collect

The personal information that you are asked to provide, and the reasons why you are asked to provide it, will be made clear to you at the point we ask you to provide your personal information.

If you contact us directly, we may receive additional information about you such as your name, email address, phone number, the contents of the message and/or attachments you may send us, and any other information you may choose to provide.

When you register for an Account, we may ask for your contact information, including items such as name, company name, address, email address, and telephone number.

How we use your information

We use the information we collect in various ways, including to:

  • Provide, operate, and maintain our website
  • Improve, personalize, and expand our website
  • Understand and analyze how you use our website
  • Develop new products, services, features, and functionality
  • Communicate with you, either directly or through one of our partners, including for customer service, to provide you with updates and other information relating to the website, and for marketing and promotional purposes
  • Send you emails
  • Find and prevent fraud

Log Files

datasquirel.com follows a standard procedure of using log files. These files log visitors when they visit websites. All hosting companies do this and a part of hosting services' analytics. The information collected by log files include internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit pages, and possibly the number of clicks. These are not linked to any information that is personally identifiable. The purpose of the information is for analyzing trends, administering the site, tracking users' movement on the website, and gathering demographic information.

Cookies and Web Beacons

Like any other website, datasquirel.com uses 'cookies'. These cookies are used to store information including visitors' preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information.

Advertising Partners Privacy Policies

You may consult this list to find the Privacy Policy for each of the advertising partners of datasquirel.com.

Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web Beacons that are used in their respective advertisements and links that appear on datasquirel.com, which are sent directly to users' browser. They automatically receive your IP address when this occurs. These technologies are used to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on websites that you visit.

Note that datasquirel.com has no access to or control over these cookies that are used by third-party advertisers.

Third Party Privacy Policies

datasquirel.com's Privacy Policy does not apply to other advertisers or websites. Thus, we are advising you to consult the respective Privacy Policies of these third-party ad servers for more detailed information. It may include their practices and instructions about how to opt-out of certain options.

You can choose to disable cookies through your individual browser options. To know more detailed information about cookie management with specific web browsers, it can be found at the browsers' respective websites.

CCPA Privacy Rights (Do Not Sell My Personal Information)

Under the CCPA, among other rights, California consumers have the right to:

Request that a business that collects a consumer's personal data disclose the categories and specific pieces of personal data that a business has collected about consumers.

Request that a business delete any personal data about the consumer that a business has collected.

Request that a business that sells a consumer's personal data, not sell the consumer's personal data.

If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.

GDPR Data Protection Rights

We would like to make sure you are fully aware of all of your data protection rights. Every user is entitled to the following:

The right to access – You have the right to request copies of your personal data. We may charge you a small fee for this service.

The right to rectification – You have the right to request that we correct any information you believe is inaccurate. You also have the right to request that we complete the information you believe is incomplete.

The right to erasure – You have the right to request that we erase your personal data, under certain conditions.

The right to restrict processing – You have the right to request that we restrict the processing of your personal data, under certain conditions.

The right to object to processing – You have the right to object to our processing of your personal data, under certain conditions.

The right to data portability – You have the right to request that we transfer the data that we have collected to another organization, or directly to you, under certain conditions.

If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.

Children's Information

Another part of our priority is adding protection for children while using the internet. We encourage parents and guardians to observe, participate in, and/or monitor and guide their online activity.

datasquirel.com does not knowingly collect any Personal Identifiable Information from children under the age of 13. If you think that your child provided this kind of information on our website, we strongly encourage you to contact us immediately and we will do our best efforts to promptly remove such information from our records.

\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/redirect.html b/dsql-app/.local_dist/server/pages/redirect.html index 0e28ecd..9a2fb80 100644 --- a/dsql-app/.local_dist/server/pages/redirect.html +++ b/dsql-app/.local_dist/server/pages/redirect.html @@ -1 +1 @@ -
Datasquirel Logo
\ No newline at end of file +
Datasquirel Logo
\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/reset-password.js b/dsql-app/.local_dist/server/pages/reset-password.js index 395b196..4c26217 100644 --- a/dsql-app/.local_dist/server/pages/reset-password.js +++ b/dsql-app/.local_dist/server/pages/reset-password.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=7537,e.ids=[3220,7537],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},75370:(e,t,r)=>{r.r(t),r.d(t,{config:()=>O,default:()=>b,getServerSideProps:()=>L,getStaticPaths:()=>R,getStaticProps:()=>N,reportWebVitals:()=>I,routeModule:()=>C,unstable_getServerProps:()=>T,unstable_getServerSideProps:()=>k,unstable_getStaticParams:()=>$,unstable_getStaticPaths:()=>M,unstable_getStaticProps:()=>q});var s={};r.r(s),r.d(s,{ResetPasswordContext:()=>E,default:()=>D,getServerSideProps:()=>A});var n=r(63865),a=r(9455),o=r(30671),i=r(49407),l=r(89600),c=r(8732),u=r(82015),p=r.n(u),d=r(71457),m=r(87472),g=r(32415),f=r(20048),h=r.n(f),S=r(63715),x=r(13002),_=r(77463),P=r.n(_),y=r(22373),v=r.n(y),w=r(27825),j=r.n(w);let E=p().createContext({});function D(e){let{email:t}=e,r="Reset Password | Datasquirel",s="Set a new password",n=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:r}),(0,c.jsx)("meta",{name:"description",content:s}),(0,c.jsx)(m.A,{pageTitle:r,pageDescription:s,pagePathname:"/"})]}),[a,o]=p().useState(!1),[i,l]=p().useState(!1);return(0,c.jsx)(d.A,{head:n,user:e.user,children:(0,c.jsx)(E.Provider,{value:{user:e.user},children:(0,c.jsx)("main",{children:(0,c.jsxs)("section",{children:[a&&(0,c.jsx)(g.A,{}),(0,c.jsx)("div",{className:"main-container flex-col items-start",children:i?(0,c.jsx)(x.A,{message:"Password Updated Sucessfully. Redirecting you ..."}):(0,c.jsxs)(p().Fragment,{children:[(0,c.jsx)("h1",{className:"m-0 text-4xl",children:"Reset Password"}),(0,c.jsx)("span",{children:"Please enter new passord and confirm it"}),(0,c.jsxs)("form",{className:"max-w-xl w-full flex flex-col items-stretch gap-4",onSubmit:e=>{o(!0),e.preventDefault();let r=e.target,s=r.password.value,n=r["confirm-password"].classList.contains("warning");if(s?.length<8){window.alert("Password must be at least 8 characters"),setTimeout(()=>{o(!1)},500);return}if(n){window.alert("Passwords don't match"),setTimeout(()=>{o(!1)},500);return}(0,S.A)(`/api/resetPassword?email=${t}&password=${s}`).then(e=>{setTimeout(()=>{o(!1)},500),setTimeout(()=>{window.location.href="/logout?login=true"},1e3),e.success&&l(!0)})},children:[(0,c.jsx)("input",{type:"password",name:"password",id:"password",className:"w-full",placeholder:"New Password",required:!0}),(0,c.jsx)("input",{type:"password",name:"confirm-password",id:"confirm-password",className:"w-full",placeholder:"Confirm New Password",required:!0,onInput:e=>{let t=e.target,r=t.closest("form");try{r.password.value.match(RegExp(`^${j().escapeRegExp(t.value)}$`))?t.classList.remove("warning"):t.classList.add("warning")}catch(t){(0,S.A)("/api/admin/clientError",{method:"post",body:{component:"reset-password-page-component/lines-170-177",message:t.message,user:{}}}),e.target.classList.add("warning")}}}),(0,c.jsx)("button",{children:"Reset Password"})]})]})})]})})})})}async function A({req:e,res:t,query:r}){let s=await h()(e,t);if(!r?.token?.toString()?.match(/./))return{redirect:{destination:"/",permanent:!1}};let n=null;try{let e=P()({encryptedString:r.token.toString()}),t=JSON.parse(e||"");if(Date.now()-t.dateCode>36e5)return{redirect:{destination:"/",permanent:!1}};n=t.email}catch(e){return v()({component:"reset-password-page-component/getServersideProps/lines-251-260",message:e.message,user:s}),{redirect:{destination:"/",permanent:!1}}}return n?.match(/./)?{props:{user:s,email:n}}:{redirect:{destination:"/",permanent:!1}}}let b=(0,o.M)(s,"default"),N=(0,o.M)(s,"getStaticProps"),R=(0,o.M)(s,"getStaticPaths"),L=(0,o.M)(s,"getServerSideProps"),O=(0,o.M)(s,"config"),I=(0,o.M)(s,"reportWebVitals"),q=(0,o.M)(s,"unstable_getStaticProps"),M=(0,o.M)(s,"unstable_getStaticPaths"),$=(0,o.M)(s,"unstable_getStaticParams"),T=(0,o.M)(s,"unstable_getServerProps"),k=(0,o.M)(s,"unstable_getServerSideProps"),C=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/reset-password",pathname:"/reset-password",bundlePath:"",filename:""},components:{App:l.default,Document:i.default},userland:s})},13002:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(8732);function n({message:e,className:t}){return(0,s.jsxs)("div",{className:"info green"+(t?" "+t:""),children:[(0,s.jsx)("img",{src:"/images/checkmark.svg",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,s.jsx)("span",{children:e})]})}r(82015)},20048:(e,t,r)=>{r(81630);let s=r(67216),n=r(77463),a=r(29021),o=r(6505);async function i(e,t,r,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=r;let o=t;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=s}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:n}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],t=a.headers["x-real-ip"],r=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=r||s||t||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== +"use strict";(()=>{var e={};e.id=7537,e.ids=[3220,7537],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},75370:(e,t,r)=>{r.r(t),r.d(t,{config:()=>L,default:()=>b,getServerSideProps:()=>O,getStaticPaths:()=>R,getStaticProps:()=>N,reportWebVitals:()=>I,routeModule:()=>k,unstable_getServerProps:()=>T,unstable_getServerSideProps:()=>C,unstable_getStaticParams:()=>q,unstable_getStaticPaths:()=>$,unstable_getStaticProps:()=>M});var s={};r.r(s),r.d(s,{ResetPasswordContext:()=>j,default:()=>D,getServerSideProps:()=>A});var n=r(63865),a=r(9455),o=r(30671),i=r(49407),l=r(89600),c=r(8732),u=r(82015),p=r.n(u),d=r(71457),m=r(87472),g=r(32415),f=r(20048),S=r.n(f),h=r(63715),_=r(13002),x=r(77463),P=r.n(x),y=r(22373),v=r.n(y),w=r(27825),E=r.n(w);let j=p().createContext({});function D(e){let{email:t}=e,r="Reset Password | Datasquirel",s="Set a new password",n=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:r}),(0,c.jsx)("meta",{name:"description",content:s}),(0,c.jsx)(m.A,{pageTitle:r,pageDescription:s,pagePathname:"/"})]}),[a,o]=p().useState(!1),[i,l]=p().useState(!1);return(0,c.jsx)(d.A,{head:n,user:e.user,children:(0,c.jsx)(j.Provider,{value:{user:e.user},children:(0,c.jsx)("main",{children:(0,c.jsxs)("section",{children:[a&&(0,c.jsx)(g.A,{}),(0,c.jsx)("div",{className:"main-container flex-col items-start",children:i?(0,c.jsx)(_.A,{message:"Password Updated Sucessfully. Redirecting you ..."}):(0,c.jsxs)(p().Fragment,{children:[(0,c.jsx)("h1",{className:"m-0 text-4xl",children:"Reset Password"}),(0,c.jsx)("span",{children:"Please enter new passord and confirm it"}),(0,c.jsxs)("form",{className:"max-w-xl w-full flex flex-col items-stretch gap-4",onSubmit:e=>{o(!0),e.preventDefault();let r=e.target,s=r.password.value,n=r["confirm-password"].classList.contains("warning");if(s?.length<8){window.alert("Password must be at least 8 characters"),setTimeout(()=>{o(!1)},500);return}if(n){window.alert("Passwords don't match"),setTimeout(()=>{o(!1)},500);return}(0,h.A)(`/api/resetPassword?email=${t}&password=${s}`).then(e=>{setTimeout(()=>{o(!1)},500),setTimeout(()=>{window.location.href="/logout?login=true"},1e3),e.success&&l(!0)})},children:[(0,c.jsx)("input",{type:"password",name:"password",id:"password",className:"w-full",placeholder:"New Password",required:!0}),(0,c.jsx)("input",{type:"password",name:"confirm-password",id:"confirm-password",className:"w-full",placeholder:"Confirm New Password",required:!0,onInput:e=>{let t=e.target,r=t.closest("form");try{r.password.value.match(RegExp(`^${E().escapeRegExp(t.value)}$`))?t.classList.remove("warning"):t.classList.add("warning")}catch(t){(0,h.A)("/api/admin/clientError",{method:"post",body:{component:"reset-password-page-component/lines-170-177",message:t.message,user:{}}}),e.target.classList.add("warning")}}}),(0,c.jsx)("button",{children:"Reset Password"})]})]})})]})})})})}async function A({req:e,res:t,query:r}){let s=await S()(e,t);if(!r?.token?.toString()?.match(/./))return{redirect:{destination:"/",permanent:!1}};let n=null;try{let e=P()({encryptedString:r.token.toString()}),t=JSON.parse(e||"");if(Date.now()-t.dateCode>36e5)return{redirect:{destination:"/",permanent:!1}};n=t.email}catch(e){return v()({component:"reset-password-page-component/getServersideProps/lines-251-260",message:e.message,user:s}),{redirect:{destination:"/",permanent:!1}}}return n?.match(/./)?{props:{user:s,email:n}}:{redirect:{destination:"/",permanent:!1}}}let b=(0,o.M)(s,"default"),N=(0,o.M)(s,"getStaticProps"),R=(0,o.M)(s,"getStaticPaths"),O=(0,o.M)(s,"getServerSideProps"),L=(0,o.M)(s,"config"),I=(0,o.M)(s,"reportWebVitals"),M=(0,o.M)(s,"unstable_getStaticProps"),$=(0,o.M)(s,"unstable_getStaticPaths"),q=(0,o.M)(s,"unstable_getStaticParams"),T=(0,o.M)(s,"unstable_getServerProps"),C=(0,o.M)(s,"unstable_getServerSideProps"),k=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/reset-password",pathname:"/reset-password",bundlePath:"",filename:""},components:{App:l.default,Document:i.default},userland:s})},13002:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(8732);function n({message:e,className:t}){return(0,s.jsxs)("div",{className:"info green"+(t?" "+t:""),children:[(0,s.jsx)("img",{src:"/images/checkmark.svg",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,s.jsx)("span",{children:e})]})}r(82015)},20048:(e,t,r)=>{r(81630);let s=r(67216),n=r(77463),a=r(29021),o=r(6505);async function i(e,t,r,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||r&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(r&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!r){let e=await s(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",r=process.env.DSQL_COOKIES_KEY_NAME||"key",s=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=t;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=r;let i=t;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},22373:(e,t,r)=>{let s=r(29021),{IncomingMessage:n}=r(81630);e.exports=async function({user:e,message:t,component:r,noMail:n,req:a}){let o=new Date,i=(()=>{if(!a)return null;try{let e=a.headers["x-forwarded-for"],t=a.headers["x-real-ip"],r=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=r||s||t||a.socket.remoteAddress;if(!n)return null;return String(n)}catch(e){return null}})();try{let n=`🚀 SERVER ERROR =========================== Error Message: ${t} Component: ${r}`;e?.id&&e?.first_name&&e?.last_name&&e?.email&&(n+=` User Id: ${e?.id} diff --git a/dsql-app/.local_dist/server/pages/send-password-reset-link.js b/dsql-app/.local_dist/server/pages/send-password-reset-link.js index 646baf7..c9e3a12 100644 --- a/dsql-app/.local_dist/server/pages/send-password-reset-link.js +++ b/dsql-app/.local_dist/server/pages/send-password-reset-link.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6827,e.ids=[3220,6827],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},24952:(e,t,s)=>{s.r(t),s.d(t,{config:()=>N,default:()=>E,getServerSideProps:()=>A,getStaticPaths:()=>b,getStaticProps:()=>D,reportWebVitals:()=>k,routeModule:()=>q,unstable_getServerProps:()=>O,unstable_getServerSideProps:()=>I,unstable_getStaticParams:()=>M,unstable_getStaticPaths:()=>w,unstable_getStaticProps:()=>L});var r={};s.r(r),s.d(r,{SendPassResetContext:()=>P,default:()=>j,getServerSideProps:()=>y});var a=s(63865),n=s(9455),i=s(30671),o=s(49407),l=s(89600),c=s(8732),u=s(82015),d=s.n(u),p=s(71457),m=s(87472),f=s(32415),h=s(20048),g=s.n(h),x=s(63715),S=s(13002);let _=(0,s(82544).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);function v({message:e}){return(0,c.jsxs)("div",{className:"info gray",children:[(0,c.jsx)(_,{}),(0,c.jsx)("span",{className:"font-normal",children:e})]})}let P=d().createContext({});function j(e){let t="Cloudbased SQL data management system | Datasquirel",s="Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.",r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:t}),(0,c.jsx)("meta",{name:"description",content:s}),(0,c.jsx)(m.A,{pageTitle:t,pageDescription:s,pagePathname:"/"})]}),[a,n]=d().useState(!1),[i,o]=d().useState(!1);return(0,c.jsx)(p.A,{head:r,user:e.user,children:(0,c.jsx)(P.Provider,{value:{user:e.user},children:(0,c.jsx)("main",{children:(0,c.jsxs)("section",{children:[a&&(0,c.jsx)(f.A,{}),i?(0,c.jsx)(S.A,{message:"Email Sent. Please check your email address and follow the link provided",className:"whitespace-nowrap"}):(0,c.jsx)("div",{className:"paper",children:(0,c.jsxs)("div",{className:"max-w-xl flex-col items-stretch",children:[(0,c.jsx)("h1",{className:"m-0 text-4xl",children:"Send Password Reset Link"}),(0,c.jsx)("span",{children:"Please enter your email address to receive a password reset link"}),(0,c.jsxs)("form",{className:"w-full flex flex-col items-stretch gap-4",onSubmit:e=>{n(!0),e.preventDefault();let t=e.target["email-address"].value;(0,x.A)(`/api/sendPasswordResetLink?email=${t}`).then(e=>{console.log(e),setTimeout(()=>{n(!1)},500),e.success&&o(!0)})},children:[(0,c.jsx)("input",{type:"text",autoComplete:"email",name:"email-address",id:"email-address",className:"w-full",placeholder:"Email Address",defaultValue:e?.user?.logged_in_status?e.user.email:"",required:!0}),(0,c.jsx)("button",{children:"Send password reset Email"}),(0,c.jsx)(v,{message:"Please note that this link will expire after 1 hour"})]})]})})]})})})})}async function y({req:e,res:t}){let s=await g()(e,t);return s?.social_login?{redirect:{destination:"/",permanent:!1}}:{props:{user:s}}}let E=(0,i.M)(r,"default"),D=(0,i.M)(r,"getStaticProps"),b=(0,i.M)(r,"getStaticPaths"),A=(0,i.M)(r,"getServerSideProps"),N=(0,i.M)(r,"config"),k=(0,i.M)(r,"reportWebVitals"),L=(0,i.M)(r,"unstable_getStaticProps"),w=(0,i.M)(r,"unstable_getStaticPaths"),M=(0,i.M)(r,"unstable_getStaticParams"),O=(0,i.M)(r,"unstable_getServerProps"),I=(0,i.M)(r,"unstable_getServerSideProps"),q=new a.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/send-password-reset-link",pathname:"/send-password-reset-link",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:r})},13002:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(8732);function a({message:e,className:t}){return(0,r.jsxs)("div",{className:"info green"+(t?" "+t:""),children:[(0,r.jsx)("img",{src:"/images/checkmark.svg",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,r.jsx)("span",{children:e})]})}s(82015)},20048:(e,t,s)=>{s(81630);let r=s(67216),a=s(77463),n=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),n=t;e?.userId&&(n+=`user_${e.userId}_`),a&&(n+=`${a}_`),n+=s;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),{keyCookieName:n,csrfCookieName:i+=r}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:a}=s(55511),{Buffer:n}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=a("aes-192-cbc",r(i,o,l),n.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),a=s(31976),n=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function i(...e){try{let t=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var r=s(8732);s(82015);var a=s(20883);function n(e){return(0,r.jsxs)(a.Html,{lang:"en",children:[(0,r.jsxs)(a.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(a.Main,{}),(0,r.jsx)(a.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(24952));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=6827,e.ids=[3220,6827],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},24952:(e,t,s)=>{s.r(t),s.d(t,{config:()=>N,default:()=>E,getServerSideProps:()=>A,getStaticPaths:()=>b,getStaticProps:()=>D,reportWebVitals:()=>L,routeModule:()=>q,unstable_getServerProps:()=>M,unstable_getServerSideProps:()=>w,unstable_getStaticParams:()=>I,unstable_getStaticPaths:()=>k,unstable_getStaticProps:()=>O});var r={};s.r(r),s.d(r,{SendPassResetContext:()=>P,default:()=>j,getServerSideProps:()=>y});var a=s(63865),n=s(9455),i=s(30671),o=s(49407),l=s(89600),c=s(8732),u=s(82015),d=s.n(u),p=s(71457),m=s(87472),f=s(32415),h=s(20048),g=s.n(h),_=s(63715),x=s(13002);let S=(0,s(82544).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);function v({message:e}){return(0,c.jsxs)("div",{className:"info gray",children:[(0,c.jsx)(S,{}),(0,c.jsx)("span",{className:"font-normal",children:e})]})}let P=d().createContext({});function j(e){let t="Cloudbased SQL data management system | Datasquirel",s="Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.",r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:t}),(0,c.jsx)("meta",{name:"description",content:s}),(0,c.jsx)(m.A,{pageTitle:t,pageDescription:s,pagePathname:"/"})]}),[a,n]=d().useState(!1),[i,o]=d().useState(!1);return(0,c.jsx)(p.A,{head:r,user:e.user,children:(0,c.jsx)(P.Provider,{value:{user:e.user},children:(0,c.jsx)("main",{children:(0,c.jsxs)("section",{children:[a&&(0,c.jsx)(f.A,{}),i?(0,c.jsx)(x.A,{message:"Email Sent. Please check your email address and follow the link provided",className:"whitespace-nowrap"}):(0,c.jsx)("div",{className:"paper",children:(0,c.jsxs)("div",{className:"max-w-xl flex-col items-stretch",children:[(0,c.jsx)("h1",{className:"m-0 text-4xl",children:"Send Password Reset Link"}),(0,c.jsx)("span",{children:"Please enter your email address to receive a password reset link"}),(0,c.jsxs)("form",{className:"w-full flex flex-col items-stretch gap-4",onSubmit:e=>{n(!0),e.preventDefault();let t=e.target["email-address"].value;(0,_.A)(`/api/sendPasswordResetLink?email=${t}`).then(e=>{console.log(e),setTimeout(()=>{n(!1)},500),e.success&&o(!0)})},children:[(0,c.jsx)("input",{type:"text",autoComplete:"email",name:"email-address",id:"email-address",className:"w-full",placeholder:"Email Address",defaultValue:e?.user?.logged_in_status?e.user.email:"",required:!0}),(0,c.jsx)("button",{children:"Send password reset Email"}),(0,c.jsx)(v,{message:"Please note that this link will expire after 1 hour"})]})]})})]})})})})}async function y({req:e,res:t}){let s=await g()(e,t);return s?.social_login?{redirect:{destination:"/",permanent:!1}}:{props:{user:s}}}let E=(0,i.M)(r,"default"),D=(0,i.M)(r,"getStaticProps"),b=(0,i.M)(r,"getStaticPaths"),A=(0,i.M)(r,"getServerSideProps"),N=(0,i.M)(r,"config"),L=(0,i.M)(r,"reportWebVitals"),O=(0,i.M)(r,"unstable_getStaticProps"),k=(0,i.M)(r,"unstable_getStaticPaths"),I=(0,i.M)(r,"unstable_getStaticParams"),M=(0,i.M)(r,"unstable_getServerProps"),w=(0,i.M)(r,"unstable_getServerSideProps"),q=new a.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/send-password-reset-link",pathname:"/send-password-reset-link",bundlePath:"",filename:""},components:{App:l.default,Document:o.default},userland:r})},13002:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(8732);function a({message:e,className:t}){return(0,r.jsxs)("div",{className:"info green"+(t?" "+t:""),children:[(0,r.jsx)("img",{src:"/images/checkmark.svg",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,r.jsx)("span",{children:e})]})}s(82015)},20048:(e,t,s)=>{s(81630);let r=s(67216),a=s(77463),n=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:l,csrfCookieName:c}=i();if(!e.cookies?.[l]?.match(/./))return null;let u=a({encryptedString:e.cookies[l]});if(!u)return null;let d=JSON.parse(u);if(!d.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${d.csrf_k}`)))return null;let p=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!p)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!n.existsSync(`${p}/${d.csrf_k}`))return null;if(0==d.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${d.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return d?.date&&Date.now()-d.date>6048e5?null:d}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",a=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",n=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=t;e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),i+=s;let o=t;e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),o+=r;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),n&&(l+=`${n}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:l+=a}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:a}=s(55511),{Buffer:n}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=a("aes-192-cbc",r(i,o,l),n.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),a=s(31976),n=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:a()}});async function i(...e){try{let t=await n.query(...e);return await n.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var r=s(8732);s(82015);var a=s(20883);function n(e){return(0,r.jsxs)(a.Html,{lang:"en",children:[(0,r.jsxs)(a.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(a.Main,{}),(0,r.jsx)(a.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(24952));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/su/login.js b/dsql-app/.local_dist/server/pages/su/login.js index 93d7cd4..00f9d5d 100644 --- a/dsql-app/.local_dist/server/pages/su/login.js +++ b/dsql-app/.local_dist/server/pages/su/login.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9634,e.ids=[3220,9634],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},80268:(e,t,s)=>{s.r(t),s.d(t,{config:()=>b,default:()=>j,getServerSideProps:()=>D,getStaticPaths:()=>E,getStaticProps:()=>P,reportWebVitals:()=>A,routeModule:()=>q,unstable_getServerProps:()=>I,unstable_getServerSideProps:()=>O,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>N,unstable_getStaticProps:()=>L});var r={};s.r(r),s.d(r,{default:()=>_,getServerSideProps:()=>v});var n=s(63865),a=s(9455),o=s(30671),i=s(49407),l=s(89600),c=s(8732);s(82015);var u=s(27912),p=s.n(u),d=s(93615),m=s.n(d),f=s(63715),h=s(20048),x=s.n(h),S=s(72377),g=s.n(S);function _({user:e}){let t=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Super User Login | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,c.jsxs)("section",{className:"w-full h-screen justify-center items-center",children:[(0,c.jsx)(p(),{children:t}),(0,c.jsxs)("div",{className:"p-6 bg-slate-100 rounded w-full max-w-2xl flex flex-col items-center",children:[(0,c.jsx)(y,{}),(0,c.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=e.target;(0,f.A)("/api/admin/loginSuUser",{method:"post",body:{email:t.email.value,password:t.password.value,authKey:t["auth-key"].value}}).then(e=>{window.location.reload()})},className:"flex flex-col items-stretch gap-4 w-full",children:[(0,c.jsx)("input",{type:"text",name:"email",id:"email",placeholder:"Email Address"}),(0,c.jsx)("input",{type:"password",name:"password",id:"password",placeholder:"Password"}),(0,c.jsx)("input",{type:"password",name:"auth-key",id:"auth-key",placeholder:"Auth Key"}),(0,c.jsx)("button",{children:"Login"})]})]})]})}async function v({req:e,res:t,query:s}){let r=await x()(e,t,!0);g()(r)&&console.log("Admin User Detected ...");let n=await m()(e);return n?.logged_in_status?{redirect:{destination:"/su",permanent:!1}}:{props:{user:n}}}function y(){return(0,c.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,c.jsx)("h1",{className:"text-2xl text-center m-0",children:"Super User Login"}),(0,c.jsxs)("span",{children:["This area is reserved only for the owner of this Admin. To login use the info in your ",(0,c.jsx)("b",{children:"dsql.env"})," File. Use the env variables as follows. Your ",(0,c.jsx)("i",{children:"email address"})," is the same address used to register the first user account"]}),(0,c.jsxs)("ul",{className:"p-0",children:[(0,c.jsxs)("li",{children:["Password:"," ",(0,c.jsx)("i",{className:"info small w-auto inline",children:"dsql.env::"}),(0,c.jsx)("b",{children:" DSQL_USER_KEY"})]}),(0,c.jsxs)("li",{children:["Auth Key:"," ",(0,c.jsx)("i",{className:"info small w-auto inline",children:"dsql.env::"}),(0,c.jsx)("b",{children:" DSQL_SPECIAL_KEY"})]})]})]})}let j=(0,o.M)(r,"default"),P=(0,o.M)(r,"getStaticProps"),E=(0,o.M)(r,"getStaticPaths"),D=(0,o.M)(r,"getServerSideProps"),b=(0,o.M)(r,"config"),A=(0,o.M)(r,"reportWebVitals"),L=(0,o.M)(r,"unstable_getStaticProps"),N=(0,o.M)(r,"unstable_getStaticPaths"),w=(0,o.M)(r,"unstable_getStaticParams"),I=(0,o.M)(r,"unstable_getServerProps"),O=(0,o.M)(r,"unstable_getServerSideProps"),q=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/su/login",pathname:"/su/login",bundlePath:"",filename:""},components:{App:l.default,Document:i.default},userland:r})},93615:(e,t,s)=>{let{IncomingMessage:r}=s(81630),n=s(77463),a=s(6505);e.exports=async function(e){let{keyCookieName:t,csrfCookieName:s}=a(),r=`${t}_su`;if(!e.cookies?.[r])return console.log("No auth key cookie found"),null;let o=n({encryptedString:e.cookies[r]});if(!o)return console.log("No user payload found"),null;let i=JSON.parse(o);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),o=s(6505);async function i(e,t,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},72377:e=>{e.exports=function(e,t){return t?e?.id&&String(e?.id)==(process.env.DSQL_SU_USER_ID||"1")&&"true":e?.id&&"1"==String(e?.id)&&"true"}},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let o=t;return e?.userId&&(o+=`user_${e.userId}_`),n&&(o+=`${n}_`),{keyCookieName:a,csrfCookieName:o+=r}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",r(o,i,l),a.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(80268));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9634,e.ids=[3220,9634],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},80268:(e,t,s)=>{s.r(t),s.d(t,{config:()=>b,default:()=>j,getServerSideProps:()=>D,getStaticPaths:()=>P,getStaticProps:()=>E,reportWebVitals:()=>A,routeModule:()=>M,unstable_getServerProps:()=>I,unstable_getServerSideProps:()=>O,unstable_getStaticParams:()=>w,unstable_getStaticPaths:()=>N,unstable_getStaticProps:()=>L});var r={};s.r(r),s.d(r,{default:()=>g,getServerSideProps:()=>v});var n=s(63865),a=s(9455),o=s(30671),i=s(49407),l=s(89600),c=s(8732);s(82015);var u=s(27912),p=s.n(u),d=s(93615),m=s.n(d),_=s(63715),h=s(20048),f=s.n(h),S=s(72377),x=s.n(S);function g({user:e}){let t=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Super User Login | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,c.jsxs)("section",{className:"w-full h-screen justify-center items-center",children:[(0,c.jsx)(p(),{children:t}),(0,c.jsxs)("div",{className:"p-6 bg-slate-100 rounded w-full max-w-2xl flex flex-col items-center",children:[(0,c.jsx)(y,{}),(0,c.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=e.target;(0,_.A)("/api/admin/loginSuUser",{method:"post",body:{email:t.email.value,password:t.password.value,authKey:t["auth-key"].value}}).then(e=>{window.location.reload()})},className:"flex flex-col items-stretch gap-4 w-full",children:[(0,c.jsx)("input",{type:"text",name:"email",id:"email",placeholder:"Email Address"}),(0,c.jsx)("input",{type:"password",name:"password",id:"password",placeholder:"Password"}),(0,c.jsx)("input",{type:"password",name:"auth-key",id:"auth-key",placeholder:"Auth Key"}),(0,c.jsx)("button",{children:"Login"})]})]})]})}async function v({req:e,res:t,query:s}){let r=await f()(e,t,!0);x()(r)&&console.log("Admin User Detected ...");let n=await m()(e);return n?.logged_in_status?{redirect:{destination:"/su",permanent:!1}}:{props:{user:n}}}function y(){return(0,c.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,c.jsx)("h1",{className:"text-2xl text-center m-0",children:"Super User Login"}),(0,c.jsxs)("span",{children:["This area is reserved only for the owner of this Admin. To login use the info in your ",(0,c.jsx)("b",{children:"dsql.env"})," File. Use the env variables as follows. Your ",(0,c.jsx)("i",{children:"email address"})," is the same address used to register the first user account"]}),(0,c.jsxs)("ul",{className:"p-0",children:[(0,c.jsxs)("li",{children:["Password:"," ",(0,c.jsx)("i",{className:"info small w-auto inline",children:"dsql.env::"}),(0,c.jsx)("b",{children:" DSQL_USER_KEY"})]}),(0,c.jsxs)("li",{children:["Auth Key:"," ",(0,c.jsx)("i",{className:"info small w-auto inline",children:"dsql.env::"}),(0,c.jsx)("b",{children:" DSQL_SPECIAL_KEY"})]})]})]})}let j=(0,o.M)(r,"default"),E=(0,o.M)(r,"getStaticProps"),P=(0,o.M)(r,"getStaticPaths"),D=(0,o.M)(r,"getServerSideProps"),b=(0,o.M)(r,"config"),A=(0,o.M)(r,"reportWebVitals"),L=(0,o.M)(r,"unstable_getStaticProps"),N=(0,o.M)(r,"unstable_getStaticPaths"),w=(0,o.M)(r,"unstable_getStaticParams"),I=(0,o.M)(r,"unstable_getServerProps"),O=(0,o.M)(r,"unstable_getServerSideProps"),M=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/su/login",pathname:"/su/login",bundlePath:"",filename:""},components:{App:l.default,Document:i.default},userland:r})},93615:(e,t,s)=>{let{IncomingMessage:r}=s(81630),n=s(77463),a=s(6505);e.exports=async function(e){let{keyCookieName:t,csrfCookieName:s}=a(),r=`${t}_su`;if(!e.cookies?.[r])return console.log("No auth key cookie found"),null;let o=n({encryptedString:e.cookies[r]});if(!o)return console.log("No user payload found"),null;let i=JSON.parse(o);return i.password!==process.env.DSQL_USER_KEY?(console.log("Invalid password"),null):i.authKey!==process.env.DSQL_SPECIAL_KEY?(console.log("Invalid auth key"),null):i}},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),o=s(6505);async function i(e,t,s,i){let{keyCookieName:l,csrfCookieName:c}=o();if(!e.cookies?.[l]?.match(/./))return null;let u=n({encryptedString:e.cookies[l]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let d=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!d)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${d}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=i},72377:e=>{e.exports=function(e,t){return t?e?.id&&String(e?.id)==(process.env.DSQL_SU_USER_ID||"1")&&"true":e?.id&&"1"==String(e?.id)&&"true"}},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),o=t;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=s;let i=t;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=r;let l=t;return e?.userId&&(l+=`user_${e.userId}_`),a&&(l+=`${a}_`),{keyCookieName:o,csrfCookieName:i,oneTimeCodeName:l+=n}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let o=t||process.env.DSQL_ENCRYPTION_PASSWORD,i=s||process.env.DSQL_ENCRYPTION_SALT,l=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!o?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!i?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let c=n("aes-192-cbc",r(o,i,l),a.alloc(16,0));try{let t=c.update(e,"hex","utf8");return t+=c.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function o(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=o},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(80268));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/terms.html b/dsql-app/.local_dist/server/pages/terms.html index d8c30d7..a4c6d01 100644 --- a/dsql-app/.local_dist/server/pages/terms.html +++ b/dsql-app/.local_dist/server/pages/terms.html @@ -1 +1 @@ -Terms and Conditions | Datasquirel

Terms and Conditions

Welcome to datasquirel.com!
Dotted image background

These terms and conditions outline the rules and regulations for the use of Datasquirel's Website, located at https://datasquirel.com.

By accessing this website we assume you accept these terms and conditions. Do not continue to use datasquirel.com if you do not agree to take all of the terms and conditions stated on this page.

The following terminology applies to these Terms and Conditions, Privacy Statement and Disclaimer Notice and all Agreements: "Client", "You" and "Your" refers to you, the person log on this website and compliant to the Company’s terms and conditions. "The Company", "Ourselves", "We", "Our" and "Us", refers to our Company. "Party", "Parties", or "Us", refers to both the Client and ourselves. All terms refer to the offer, acceptance and consideration of payment necessary to undertake the process of our assistance to the Client in the most appropriate manner for the express purpose of meeting the Client’s needs in respect of provision of the Company’s stated services, in accordance with and subject to, prevailing law of Netherlands. Any use of the above terminology or other words in the singular, plural, capitalization and/or he/she or they, are taken as interchangeable and therefore as referring to same.

Cookies

We employ the use of cookies. By accessing datasquirel.com, you agreed to use cookies in agreement with the Datasquirel's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.

License

Unless otherwise stated, Datasquirel and/or its licensors own the intellectual property rights for all material on datasquirel.com. All intellectual property rights are reserved. You may access this from datasquirel.com for your own personal use subjected to restrictions set in these terms and conditions.

You must not:

  • Republish material from datasquirel.com
  • Sell, rent or sub-license material from datasquirel.com
  • Reproduce, duplicate or copy material from datasquirel.com
  • Redistribute content from datasquirel.com

This Agreement shall begin on the date hereof.

Parts of this website offer an opportunity for users to post and exchange opinions and information in certain areas of the website. Datasquirel does not filter, edit, publish or review Comments prior to their presence on the website. Comments do not reflect the views and opinions of Datasquirel,its agents and/or affiliates. Comments reflect the views and opinions of the person who post their views and opinions. To the extent permitted by applicable laws, Datasquirel shall not be liable for the Comments or for any liability, damages or expenses caused and/or suffered as a result of any use of and/or posting of and/or appearance of the Comments on this website.

Datasquirel reserves the right to monitor all Comments and to remove any Comments which can be considered inappropriate, offensive or causes breach of these Terms and Conditions.

You warrant and represent that:

  • You are entitled to post the Comments on our website and have all necessary licenses and consents to do so;
  • The Comments do not invade any intellectual property right, including without limitation copyright, patent or trademark of any third party;
  • The Comments do not contain any defamatory, libelous, offensive, indecent or otherwise unlawful material which is an invasion of privacy
  • The Comments will not be used to solicit or promote business or custom or present commercial activities or unlawful activity.

You hereby grant Datasquirel a non-exclusive license to use, reproduce, edit and authorize others to use, reproduce and edit any of your Comments in any and all forms, formats or media.

Hyperlinking to our Content

The following organizations may link to our Website without prior written approval:

  • Government agencies;
  • Search engines;
  • News organizations;
  • Online directory distributors may link to our Website in the same manner as they hyperlink to the Websites of other listed businesses; and
  • System wide Accredited Businesses except soliciting non-profit organizations, charity shopping malls, and charity fundraising groups which may not hyperlink to our Web site.

These organizations may link to our home page, to publications or to other Website information so long as the link: (a) is not in any way deceptive; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products and/or services; and (c) fits within the context of the linking party’s site.

We may consider and approve other link requests from the following types of organizations:

  • commonly-known consumer and/or business information sources;
  • dot.com community sites;
  • associations or other groups representing charities;
  • online directory distributors;
  • internet portals;
  • accounting, law and consulting firms; and
  • educational institutions and trade associations.

We will approve link requests from these organizations if we decide that: (a) the link would not make us look unfavorably to ourselves or to our accredited businesses; (b) the organization does not have any negative records with us; (c) the benefit to us from the visibility of the hyperlink compensates the absence of Datasquirel; and (d) the link is in the context of general resource information.

These organizations may link to our home page so long as the link: (a) is not in any way deceptive; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products or services; and (c) fits within the context of the linking party’s site.

If you are one of the organizations listed in paragraph 2 above and are interested in linking to our website, you must inform us by sending an e-mail to Datasquirel. Please include your name, your organization name, contact information as well as the URL of your site, a list of any URLs from which you intend to link to our Website, and a list of the URLs on our site to which you would like to link. Wait 2-3 weeks for a response.

Approved organizations may hyperlink to our Website as follows:

  • By use of our corporate name; or
  • By use of the uniform resource locator being linked to; or
  • By use of any other description of our Website being linked to that makes sense within the context and format of content on the linking party’s site.

No use of Datasquirel's logo or other artwork will be allowed for linking absent a trademark license agreement.

iFrames

Without prior approval and written permission, you may not create frames around our Webpages that alter in any way the visual presentation or appearance of our Website.

Content Liability

We shall not be hold responsible for any content that appears on your Website. You agree to protect and defend us against all claims that is rising on your Website. No link(s) should appear on any Website that may be interpreted as libelous, obscene or criminal, or which infringes, otherwise violates, or advocates the infringement or other violation of, any third party rights.

Your Privacy

Please read Privacy Policy

Reservation of Rights

We reserve the right to request that you remove all links or any particular link to our Website. You approve to immediately remove all links to our Website upon request. We also reserve the right to amen these terms and conditions and it’s linking policy at any time. By continuously linking to our Website, you agree to be bound to and follow these linking terms and conditions.

Removal of links from our website

If you find any link on our Website that is offensive for any reason, you are free to contact and inform us any moment. We will consider requests to remove links but we are not obligated to or so or to respond to you directly.

We do not ensure that the information on this website is correct, we do not warrant its completeness or accuracy; nor do we promise to ensure that the website remains available or that the material on the website is kept up to date.

Disclaimer

To the maximum extent permitted by applicable law, we exclude all representations, warranties and conditions relating to our website and the use of this website. Nothing in this disclaimer will:

  • limit or exclude our or your liability for death or personal injury;
  • limit or exclude our or your liability for fraud or fraudulent misrepresentation;
  • limit any of our or your liabilities in any way that is not permitted under applicable law; or
  • exclude any of our or your liabilities that may not be excluded under applicable law.

The limitations and prohibitions of liability set in this Section and elsewhere in this disclaimer: (a) are subject to the preceding paragraph; and (b) govern all liabilities arising under the disclaimer, including liabilities arising in contract, in tort and for breach of statutory duty.

As long as the website and the information and services on the website are provided free of charge, we will not be liable for any loss or damage of any nature.

\ No newline at end of file +Terms and Conditions | Datasquirel

Terms and Conditions

Welcome to datasquirel.com!
Dotted image background

These terms and conditions outline the rules and regulations for the use of Datasquirel's Website, located at https://datasquirel.com.

By accessing this website we assume you accept these terms and conditions. Do not continue to use datasquirel.com if you do not agree to take all of the terms and conditions stated on this page.

The following terminology applies to these Terms and Conditions, Privacy Statement and Disclaimer Notice and all Agreements: "Client", "You" and "Your" refers to you, the person log on this website and compliant to the Company’s terms and conditions. "The Company", "Ourselves", "We", "Our" and "Us", refers to our Company. "Party", "Parties", or "Us", refers to both the Client and ourselves. All terms refer to the offer, acceptance and consideration of payment necessary to undertake the process of our assistance to the Client in the most appropriate manner for the express purpose of meeting the Client’s needs in respect of provision of the Company’s stated services, in accordance with and subject to, prevailing law of Netherlands. Any use of the above terminology or other words in the singular, plural, capitalization and/or he/she or they, are taken as interchangeable and therefore as referring to same.

Cookies

We employ the use of cookies. By accessing datasquirel.com, you agreed to use cookies in agreement with the Datasquirel's Privacy Policy.

Most interactive websites use cookies to let us retrieve the user’s details for each visit. Cookies are used by our website to enable the functionality of certain areas to make it easier for people visiting our website. Some of our affiliate/advertising partners may also use cookies.

License

Unless otherwise stated, Datasquirel and/or its licensors own the intellectual property rights for all material on datasquirel.com. All intellectual property rights are reserved. You may access this from datasquirel.com for your own personal use subjected to restrictions set in these terms and conditions.

You must not:

  • Republish material from datasquirel.com
  • Sell, rent or sub-license material from datasquirel.com
  • Reproduce, duplicate or copy material from datasquirel.com
  • Redistribute content from datasquirel.com

This Agreement shall begin on the date hereof.

Parts of this website offer an opportunity for users to post and exchange opinions and information in certain areas of the website. Datasquirel does not filter, edit, publish or review Comments prior to their presence on the website. Comments do not reflect the views and opinions of Datasquirel,its agents and/or affiliates. Comments reflect the views and opinions of the person who post their views and opinions. To the extent permitted by applicable laws, Datasquirel shall not be liable for the Comments or for any liability, damages or expenses caused and/or suffered as a result of any use of and/or posting of and/or appearance of the Comments on this website.

Datasquirel reserves the right to monitor all Comments and to remove any Comments which can be considered inappropriate, offensive or causes breach of these Terms and Conditions.

You warrant and represent that:

  • You are entitled to post the Comments on our website and have all necessary licenses and consents to do so;
  • The Comments do not invade any intellectual property right, including without limitation copyright, patent or trademark of any third party;
  • The Comments do not contain any defamatory, libelous, offensive, indecent or otherwise unlawful material which is an invasion of privacy
  • The Comments will not be used to solicit or promote business or custom or present commercial activities or unlawful activity.

You hereby grant Datasquirel a non-exclusive license to use, reproduce, edit and authorize others to use, reproduce and edit any of your Comments in any and all forms, formats or media.

Hyperlinking to our Content

The following organizations may link to our Website without prior written approval:

  • Government agencies;
  • Search engines;
  • News organizations;
  • Online directory distributors may link to our Website in the same manner as they hyperlink to the Websites of other listed businesses; and
  • System wide Accredited Businesses except soliciting non-profit organizations, charity shopping malls, and charity fundraising groups which may not hyperlink to our Web site.

These organizations may link to our home page, to publications or to other Website information so long as the link: (a) is not in any way deceptive; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products and/or services; and (c) fits within the context of the linking party’s site.

We may consider and approve other link requests from the following types of organizations:

  • commonly-known consumer and/or business information sources;
  • dot.com community sites;
  • associations or other groups representing charities;
  • online directory distributors;
  • internet portals;
  • accounting, law and consulting firms; and
  • educational institutions and trade associations.

We will approve link requests from these organizations if we decide that: (a) the link would not make us look unfavorably to ourselves or to our accredited businesses; (b) the organization does not have any negative records with us; (c) the benefit to us from the visibility of the hyperlink compensates the absence of Datasquirel; and (d) the link is in the context of general resource information.

These organizations may link to our home page so long as the link: (a) is not in any way deceptive; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products or services; and (c) fits within the context of the linking party’s site.

If you are one of the organizations listed in paragraph 2 above and are interested in linking to our website, you must inform us by sending an e-mail to Datasquirel. Please include your name, your organization name, contact information as well as the URL of your site, a list of any URLs from which you intend to link to our Website, and a list of the URLs on our site to which you would like to link. Wait 2-3 weeks for a response.

Approved organizations may hyperlink to our Website as follows:

  • By use of our corporate name; or
  • By use of the uniform resource locator being linked to; or
  • By use of any other description of our Website being linked to that makes sense within the context and format of content on the linking party’s site.

No use of Datasquirel's logo or other artwork will be allowed for linking absent a trademark license agreement.

iFrames

Without prior approval and written permission, you may not create frames around our Webpages that alter in any way the visual presentation or appearance of our Website.

Content Liability

We shall not be hold responsible for any content that appears on your Website. You agree to protect and defend us against all claims that is rising on your Website. No link(s) should appear on any Website that may be interpreted as libelous, obscene or criminal, or which infringes, otherwise violates, or advocates the infringement or other violation of, any third party rights.

Your Privacy

Please read Privacy Policy

Reservation of Rights

We reserve the right to request that you remove all links or any particular link to our Website. You approve to immediately remove all links to our Website upon request. We also reserve the right to amen these terms and conditions and it’s linking policy at any time. By continuously linking to our Website, you agree to be bound to and follow these linking terms and conditions.

Removal of links from our website

If you find any link on our Website that is offensive for any reason, you are free to contact and inform us any moment. We will consider requests to remove links but we are not obligated to or so or to respond to you directly.

We do not ensure that the information on this website is correct, we do not warrant its completeness or accuracy; nor do we promise to ensure that the website remains available or that the material on the website is kept up to date.

Disclaimer

To the maximum extent permitted by applicable law, we exclude all representations, warranties and conditions relating to our website and the use of this website. Nothing in this disclaimer will:

  • limit or exclude our or your liability for death or personal injury;
  • limit or exclude our or your liability for fraud or fraudulent misrepresentation;
  • limit any of our or your liabilities in any way that is not permitted under applicable law; or
  • exclude any of our or your liabilities that may not be excluded under applicable law.

The limitations and prohibitions of liability set in this Section and elsewhere in this disclaimer: (a) are subject to the preceding paragraph; and (b) govern all liabilities arising under the disclaimer, including liabilities arising in contract, in tort and for breach of statutory duty.

As long as the website and the information and services on the website are provided free of charge, we will not be liable for any loss or damage of any nature.

\ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/unsubscribe.js b/dsql-app/.local_dist/server/pages/unsubscribe.js index 0ceb308..07ac43e 100644 --- a/dsql-app/.local_dist/server/pages/unsubscribe.js +++ b/dsql-app/.local_dist/server/pages/unsubscribe.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3751,e.ids=[3220,3751],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},76048:(e,t,s)=>{s.r(t),s.d(t,{config:()=>D,default:()=>j,getServerSideProps:()=>y,getStaticPaths:()=>E,getStaticProps:()=>P,reportWebVitals:()=>A,routeModule:()=>I,unstable_getServerProps:()=>M,unstable_getServerSideProps:()=>k,unstable_getStaticParams:()=>O,unstable_getStaticPaths:()=>L,unstable_getStaticProps:()=>N});var r={};s.r(r),s.d(r,{default:()=>b,getServerSideProps:()=>v});var n=s(63865),a=s(9455),i=s(30671),o=s(49407),c=s(89600),l=s(8732),u=s(82015),p=s.n(u),m=s(32415),d=s(87472),x=s(20048),h=s.n(x),f=s(63715),_=s(71457),g=s(67216),S=s.n(g);function b({user:e,email:t,productionEnvironment:s,existingAlerts:r}){let n="Unsubscribe | Datasquirel",a="Unsubscribe from email alerts",i=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:n}),(0,l.jsx)("meta",{name:"description",content:a}),(0,l.jsx)(d.A,{pageTitle:n,pageDescription:a,pagePathname:"/unsubscribe"})]}),[o,c]=p().useState(!1);return(0,l.jsx)(p().Fragment,{children:(0,l.jsx)(_.A,{head:i,user:e,productionEnvironment:s,children:(0,l.jsx)("main",{children:(0,l.jsxs)("section",{children:[o&&(0,l.jsx)(m.A,{}),(0,l.jsxs)("div",{className:"flex-col",children:[(0,l.jsx)("h1",{className:"text-2xl",children:"Unsubscribe from Email alerts"}),!t&&(0,l.jsxs)("p",{className:"max-w-md",children:["No email please ",(0,l.jsx)("a",{href:"/login",children:"Login"})," ","to Access Email Subscriptions or click on"," ",(0,l.jsx)("i",{children:'"unsubscribe"'})," from your mail box"]}),t&&(0,l.jsxs)("form",{className:"flex flex-col items-start gap-4",onSubmit:s=>{s.preventDefault(),c(!0);let r=s.target;(0,f.A)("/api/unsubscribe",{method:"post",body:{email:t,alerts:r.alerts_checkbox.checked,userId:e?.id?e.id:null}}).then(e=>{console.log(e),c(!1)})},children:[(0,l.jsx)("span",{className:"bg-slate-100 py-1 px-3 rounded-full",children:t}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)("input",{type:"checkbox",name:"alerts_checkbox",id:"alerts_checkbox",defaultChecked:!!r,className:"w-6 h-6"}),(0,l.jsx)("label",{htmlFor:"alerts_checkbox",className:"text-base whitespace-nowrap text-slate-800",children:"Alerts"})]}),(0,l.jsx)("button",{children:"Save Settings"})]})]})]})})})})}async function v({req:e,res:t,query:s}){let r=process.env.DSQL_HOST_ENV,n=await h()(e,t),a=s.email?s.email:n?.email?n.email:null,i=await S()(`SELECT email FROM unsubscribes WHERE email='${a}' AND type='alerts'`);return{props:{user:n,email:a,productionEnvironment:r,existingAlerts:!i[0]}}}let j=(0,i.M)(r,"default"),P=(0,i.M)(r,"getStaticProps"),E=(0,i.M)(r,"getStaticPaths"),y=(0,i.M)(r,"getServerSideProps"),D=(0,i.M)(r,"config"),A=(0,i.M)(r,"reportWebVitals"),N=(0,i.M)(r,"unstable_getStaticProps"),L=(0,i.M)(r,"unstable_getStaticPaths"),O=(0,i.M)(r,"unstable_getStaticParams"),M=(0,i.M)(r,"unstable_getServerProps"),k=(0,i.M)(r,"unstable_getServerSideProps"),I=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/unsubscribe",pathname:"/unsubscribe",bundlePath:"",filename:""},components:{App:c.default,Document:o.default},userland:r})},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:c,csrfCookieName:l}=i();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${m}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=e?.database||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),a=t;e?.userId&&(a+=`user_${e.userId}_`),n&&(a+=`${n}_`),a+=s;let i=t;return e?.userId&&(i+=`user_${e.userId}_`),n&&(i+=`${n}_`),{keyCookieName:a,csrfCookieName:i+=r}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",r(i,o,c),a.alloc(16,0));try{let t=l.update(e,"hex","utf8");return t+=l.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(76048));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3751,e.ids=[3220,3751],e.modules={30671:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,s){return s in t?t[s]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,s)):"function"==typeof t&&"default"===s?t:void 0}}})},76048:(e,t,s)=>{s.r(t),s.d(t,{config:()=>D,default:()=>v,getServerSideProps:()=>y,getStaticPaths:()=>P,getStaticProps:()=>j,reportWebVitals:()=>A,routeModule:()=>k,unstable_getServerProps:()=>M,unstable_getServerSideProps:()=>I,unstable_getStaticParams:()=>L,unstable_getStaticPaths:()=>O,unstable_getStaticProps:()=>N});var r={};s.r(r),s.d(r,{default:()=>b,getServerSideProps:()=>E});var n=s(63865),a=s(9455),i=s(30671),o=s(49407),c=s(89600),l=s(8732),u=s(82015),p=s.n(u),m=s(32415),d=s(87472),_=s(20048),x=s.n(_),h=s(63715),f=s(71457),S=s(67216),g=s.n(S);function b({user:e,email:t,productionEnvironment:s,existingAlerts:r}){let n="Unsubscribe | Datasquirel",a="Unsubscribe from email alerts",i=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:n}),(0,l.jsx)("meta",{name:"description",content:a}),(0,l.jsx)(d.A,{pageTitle:n,pageDescription:a,pagePathname:"/unsubscribe"})]}),[o,c]=p().useState(!1);return(0,l.jsx)(p().Fragment,{children:(0,l.jsx)(f.A,{head:i,user:e,productionEnvironment:s,children:(0,l.jsx)("main",{children:(0,l.jsxs)("section",{children:[o&&(0,l.jsx)(m.A,{}),(0,l.jsxs)("div",{className:"flex-col",children:[(0,l.jsx)("h1",{className:"text-2xl",children:"Unsubscribe from Email alerts"}),!t&&(0,l.jsxs)("p",{className:"max-w-md",children:["No email please ",(0,l.jsx)("a",{href:"/login",children:"Login"})," ","to Access Email Subscriptions or click on"," ",(0,l.jsx)("i",{children:'"unsubscribe"'})," from your mail box"]}),t&&(0,l.jsxs)("form",{className:"flex flex-col items-start gap-4",onSubmit:s=>{s.preventDefault(),c(!0);let r=s.target;(0,h.A)("/api/unsubscribe",{method:"post",body:{email:t,alerts:r.alerts_checkbox.checked,userId:e?.id?e.id:null}}).then(e=>{console.log(e),c(!1)})},children:[(0,l.jsx)("span",{className:"bg-slate-100 py-1 px-3 rounded-full",children:t}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)("input",{type:"checkbox",name:"alerts_checkbox",id:"alerts_checkbox",defaultChecked:!!r,className:"w-6 h-6"}),(0,l.jsx)("label",{htmlFor:"alerts_checkbox",className:"text-base whitespace-nowrap text-slate-800",children:"Alerts"})]}),(0,l.jsx)("button",{children:"Save Settings"})]})]})]})})})})}async function E({req:e,res:t,query:s}){let r=process.env.DSQL_HOST_ENV,n=await x()(e,t),a=s.email?s.email:n?.email?n.email:null,i=await g()(`SELECT email FROM unsubscribes WHERE email='${a}' AND type='alerts'`);return{props:{user:n,email:a,productionEnvironment:r,existingAlerts:!i[0]}}}let v=(0,i.M)(r,"default"),j=(0,i.M)(r,"getStaticProps"),P=(0,i.M)(r,"getStaticPaths"),y=(0,i.M)(r,"getServerSideProps"),D=(0,i.M)(r,"config"),A=(0,i.M)(r,"reportWebVitals"),N=(0,i.M)(r,"unstable_getStaticProps"),O=(0,i.M)(r,"unstable_getStaticPaths"),L=(0,i.M)(r,"unstable_getStaticParams"),M=(0,i.M)(r,"unstable_getServerProps"),I=(0,i.M)(r,"unstable_getServerSideProps"),k=new n.PagesRouteModule({definition:{kind:a.A.PAGES,page:"/unsubscribe",pathname:"/unsubscribe",bundlePath:"",filename:""},components:{App:c.default,Document:o.default},userland:r})},20048:(e,t,s)=>{s(81630);let r=s(67216),n=s(77463),a=s(29021),i=s(6505);async function o(e,t,s,o){let{keyCookieName:c,csrfCookieName:l}=i();if(!e.cookies?.[c]?.match(/./))return null;let u=n({encryptedString:e.cookies[c]});if(!u)return null;let p=JSON.parse(u);if(!p.csrf_k||s&&!e.headers["x-csrf-auth"]?.match(RegExp(`${p.csrf_k}`)))return null;let m=process.env.DSQL_USER_LOGIN_KEYS_PATH;if(!m)return console.log("DSQL_USER_LOGIN_KEYS_PATH env variable not found. Please set this variable."),null;if(s&&!a.existsSync(`${m}/${p.csrf_k}`))return null;if(0==p.verification_status&&!s){let e=await r(`SELECT verification_status FROM users WHERE id='${p.id}'`);e&&e[0]&&1==e[0].verification_status&&t.setHeader("Set-Cookie",["user_refresh=1"])}return p?.date&&Date.now()-p.date>6048e5?null:p}e.exports=o},6505:e=>{e.exports=function(e){let t=process.env.DSQL_COOKIES_PREFIX||"dsql_",s=process.env.DSQL_COOKIES_KEY_NAME||"key",r=process.env.DSQL_COOKIES_CSRF_NAME||"csrf",n=process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME||"one-time-code",a=e?.database?.replace(/^datasquirel_user_\d+_/,"")||process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/,""),i=t;e?.userId&&(i+=`user_${e.userId}_`),a&&(i+=`${a}_`),i+=s;let o=t;e?.userId&&(o+=`user_${e.userId}_`),a&&(o+=`${a}_`),o+=r;let c=t;return e?.userId&&(c+=`user_${e.userId}_`),a&&(c+=`${a}_`),{keyCookieName:i,csrfCookieName:o,oneTimeCodeName:c+=n}}},77463:(e,t,s)=>{let{scryptSync:r,createDecipheriv:n}=s(55511),{Buffer:a}=s(79428);e.exports=({encryptedString:e,encryptionKey:t,encryptionSalt:s})=>{if(!e?.match(/./))return console.log("Encrypted string is invalid"),e;let i=t||process.env.DSQL_ENCRYPTION_PASSWORD,o=s||process.env.DSQL_ENCRYPTION_SALT,c=process.env.DSQL_ENCRYPTION_KEY_LENGTH?Number(process.env.DSQL_ENCRYPTION_KEY_LENGTH):24;if(!i?.match(/.{8,}/))return console.log("Decrption key is invalid"),e;if(!o?.match(/.{8,}/))return console.log("Decrption salt is invalid"),e;let l=n("aes-192-cbc",r(i,o,c),a.alloc(16,0));try{let t=l.update(e,"hex","utf8");return t+=l.final("utf8")}catch(t){return console.log("Error in decrypting =>",t.message),e}}},67216:(e,t,s)=>{let r=s(9973),n=s(31976),a=r({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,database:process.env.DSQL_DB_NAME,port:process.env.DSQL_DB_PORT?Number(process.env.DSQL_DB_PORT):void 0,charset:"utf8mb4",ssl:n()}});async function i(...e){try{let t=await a.query(...e);return await a.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e),{success:!1,error:e.message}}}e.exports=i},31976:(e,t,s)=>{let r=s(29021);e.exports=function(){let e=process.env.DSQL_SSL_DIR;if(!e?.match(/./))return;let t=`${e}/ca-cert.pem`;if(!r.existsSync(t)){console.log(`${t} does not exist`);return}return{ca:r.readFileSync(`${e}/ca-cert.pem`)}}},49407:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(8732);s(82015);var n=s(20883);function a(e){return(0,r.jsxs)(n.Html,{lang:"en",children:[(0,r.jsxs)(n.Head,{children:[(0,r.jsx)("meta",{name:"author",content:"Datasquirel"}),(0,r.jsx)("meta",{name:"Copyright",content:`Copyright (c) ${new Date().getFullYear()} Datasquirel`}),"dev_dev".match(/dev/)&&(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com/",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Poppins"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Inter"}),(0,r.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=IBM+Plex+Mono"}),(0,r.jsx)("script",{src:"/scripts/themeSelector.js"}),(0,r.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=UTF-8"}),(0,r.jsx)("meta",{property:"og:site_name",content:"DATASQUIREL"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,r.jsx)("meta",{property:"og:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{itemProp:"image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("meta",{name:"twitter:image",content:"https://static.datasquirel.com/images/user-images/user-2/email-banner.jpeg"}),(0,r.jsx)("link",{rel:"stylesheet",href:"/styles/prism.css"}),(0,r.jsx)("script",{src:"/scripts/prism.js",async:!0}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"var DSQL = {}"}})]}),(0,r.jsxs)("body",{children:[(0,r.jsx)(n.Main,{}),(0,r.jsx)(n.NextScript,{})]})]})}},9455:(e,t)=>{var s;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return s}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(s||(s={}))},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var t=require("../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[883,9821,9600],()=>s(76048));module.exports=r})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/HcU1grNdeICz9zVVD_7aa/_buildManifest.js b/dsql-app/.local_dist/static/1gOSN7HLWCIumskNUJc1E/_buildManifest.js similarity index 98% rename from dsql-app/.local_dist/static/HcU1grNdeICz9zVVD_7aa/_buildManifest.js rename to dsql-app/.local_dist/static/1gOSN7HLWCIumskNUJc1E/_buildManifest.js index 5ca2111..b88c4e0 100644 --- a/dsql-app/.local_dist/static/HcU1grNdeICz9zVVD_7aa/_buildManifest.js +++ b/dsql-app/.local_dist/static/1gOSN7HLWCIumskNUJc1E/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,e,d,i,t,c,n,u,r,b,g,l,_,m,h,f,p,k,o,j,y,w,v,I,B,F,A,N,D){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:B,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:r,numHashes:B,bitArray:[]},"/":[F,"static/css/60c48dd4b3301227.css","static/chunks/pages/index-55aca6f5ee5ea4e8.js"],"/404":["static/chunks/pages/404-1eace598915739ef.js"],"/500":["static/chunks/pages/500-f40435ff099c3bec.js"],"/_error":["static/chunks/pages/_error-133b121cd6670ef3.js"],"/about":[F,"static/chunks/pages/about-35029bb377afcb90.js"],"/admin":[s,b,k,"static/chunks/pages/admin-efa0744f5c14dc87.js"],"/admin/[user_id]":[s,b,k,"static/chunks/pages/admin/[user_id]-7a323a8952bfcc9e.js"],"/admin/[user_id]/api-keys":[s,"static/chunks/pages/admin/[user_id]/api-keys-10d23e12f43ee561.js"],"/admin/[user_id]/connect":[s,"static/chunks/pages/admin/[user_id]/connect-66673e414574a977.js"],"/admin/[user_id]/databases":[s,b,"static/chunks/pages/admin/[user_id]/databases-6b7a3f30d592000d.js"],"/admin/[user_id]/databases/add-database":[t,s,d,n,o,"static/chunks/pages/admin/[user_id]/databases/add-database-fa3778d6e9bfcc7e.js"],"/admin/[user_id]/databases/[single]":[a,s,e,c,"static/chunks/pages/admin/[user_id]/databases/[single]-206058876b1ace39.js"],"/admin/[user_id]/databases/[single]/connect":[a,s,e,d,"static/chunks/pages/admin/[user_id]/databases/[single]/connect-f0141d41d59a8f0e.js"],"/admin/[user_id]/databases/[single]/edit-database":[t,a,s,e,d,n,o,"static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-e87026abaf4b078f.js"],"/admin/[user_id]/databases/[single]/schema":[t,a,s,e,d,c,n,o,"static/chunks/pages/admin/[user_id]/databases/[single]/schema-fb8cddee9e1002a6.js"],"/admin/[user_id]/databases/[single]/shell":[a,s,e,"static/chunks/pages/admin/[user_id]/databases/[single]/shell-80b1f573d72d1634.js"],"/admin/[user_id]/databases/[single]/tables":[a,s,e,c,"static/chunks/pages/admin/[user_id]/databases/[single]/tables-fee85f3157ecd3ac.js"],"/admin/[user_id]/databases/[single]/tables/add-table":[t,g,a,l,s,e,d,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-008870712dd389f8.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]":[t,g,a,u,l,j,s,e,d,c,n,_,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-941e5c22e7c7ea7e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":[t,g,a,l,s,e,d,c,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-d8262158ddb6bfc2.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries":[t,a,u,j,s,e,d,c,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ed4516e967a3f21e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":[a,u,"static/chunks/8779-930a59d1d1a1be5c.js",s,e,c,m,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8d261204cffa33a9.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":[t,a,u,j,s,e,d,c,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-380611fd56aa33ad.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/fields":[t,g,a,l,s,e,d,c,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-f27e3bf388dde87e.js"],"/admin/[user_id]/databases/[single]/users":[a,s,e,c,h,"static/chunks/pages/admin/[user_id]/databases/[single]/users-de4848c05fe0d9e2.js"],"/admin/[user_id]/databases/[single]/users/add-social-logins":[a,s,e,d,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-660f9e475f68c717.js"],"/admin/[user_id]/databases/[single]/users/add-user":[a,s,e,d,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-18b8b63b1ba1c13d.js"],"/admin/[user_id]/databases/[single]/users/[user]":[a,s,e,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-817858a3ef1cccd2.js"],"/admin/[user_id]/databases/[single]/users/[user]/change-password":[a,s,e,"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-04a47157d95b361b.js"],"/admin/[user_id]/media":[s,A,"static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js"],"/admin/[user_id]/media/[...folder]":[s,A,"static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js"],"/admin/[user_id]/schema":[a,s,"static/chunks/pages/admin/[user_id]/schema-22f39a31e6fc9598.js"],"/admin/[user_id]/settings":[t,s,d,n,b,w,k,N,"static/chunks/pages/admin/[user_id]/settings-5a657bc8977fb7f7.js"],"/admin/[user_id]/users":[s,h,"static/chunks/pages/admin/[user_id]/users-aac983ecf3e16d3a.js"],"/admin/[user_id]/users/add-user":[s,"static/chunks/pages/admin/[user_id]/users/add-user-b34fda15345c38b4.js"],"/admin/[user_id]/users/databases":[s,h,"static/chunks/pages/admin/[user_id]/users/databases-431cac8ade89240c.js"],"/admin/[user_id]/users/databases/[database]":[s,h,"static/chunks/pages/admin/[user_id]/users/databases/[database]-1e40897f0a25cd14.js"],"/admin/[user_id]/users/databases/[database]/[user]":[s,f,"static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-2da2075136778947.js"],"/blog":["static/chunks/pages/blog-86a57f87f960d208.js"],"/contact":["static/chunks/pages/contact-cd1dacd74efe270e.js"],"/create-account":[w,N,"static/chunks/pages/create-account-93cce1fe65377589.js"],"/docs":["static/chunks/pages/docs-21d1067cb26803ef.js"],"/docs/[page]":["static/chunks/pages/docs/[page]-f26a582ab816687d.js"],"/docs/[page]/[sub-page]":["static/chunks/pages/docs/[page]/[sub-page]-d986893c235e6d5b.js"],"/email-verification":["static/chunks/pages/email-verification-b622c0527271a373.js"],"/login":[w,"static/chunks/pages/login-4cd0b4a8e9124058.js"],"/logout":["static/chunks/pages/logout-b8a4207f3314e897.js"],"/privacy":["static/chunks/pages/privacy-85269bae0ca39885.js"],"/redirect":["static/chunks/pages/redirect-f5ba2244ad574804.js"],"/reset-password":[t,"static/chunks/pages/reset-password-bf3706a70e969a34.js"],"/send-password-reset-link":["static/chunks/pages/send-password-reset-link-40c349141dc68707.js"],"/su":[i,"static/chunks/pages/su-aef540ca8a9d0d26.js"],"/su/backups":[i,"static/chunks/pages/su/backups-515e155cc25fc6e2.js"],"/su/console":["static/chunks/ed150ef9-468dbc55986083e4.js","static/chunks/2793-2960a1457850c87f.js",i,"static/css/85fa6dafca566008.css","static/chunks/pages/su/console-b4070a91c4a61e92.js"],"/su/docs":[i,D,"static/chunks/pages/su/docs-2d31693f0537ec1b.js"],"/su/docs/create-page":[u,d,i,p,v,"static/chunks/pages/su/docs/create-page-e5da0607ae76879e.js"],"/su/docs/edit-page":[u,d,i,p,v,"static/chunks/pages/su/docs/edit-page-19991b2455a27bda.js"],"/su/docs/pages":[i,D,"static/chunks/pages/su/docs/pages-09cc22003ca2977d.js"],"/su/docs/pages/[id]":[u,d,i,p,v,"static/chunks/pages/su/docs/pages/[id]-aa63805a266c145f.js"],"/su/envar":[i,"static/chunks/pages/su/envar-cf23a0d85f1b95f7.js"],"/su/error-logs":[i,"static/chunks/pages/su/error-logs-bd760a695db3aa94.js"],"/su/load-balancing":[a,i,"static/chunks/pages/su/load-balancing-0968f396408769a2.js"],"/su/login":["static/chunks/pages/su/login-9f0c33ff7a724b80.js"],"/su/servers":[a,i,"static/chunks/pages/su/servers-9c5cb37918bc40b1.js"],"/su/users":[i,"static/chunks/pages/su/users-bb0e572a5ae16760.js"],"/su/users/new":[i,"static/chunks/pages/su/users/new-7f43159b182edbb0.js"],"/su/users/[single]":[a,i,p,"static/chunks/pages/su/users/[single]-77865aec8f94f04d.js"],"/terms":["static/chunks/pages/terms-02b626fbae43ff93.js"],"/unsubscribe":["static/chunks/pages/unsubscribe-60eb94424d6846c1.js"],sortedPages:["/","/404","/500","/_app","/_error","/about","/admin","/admin/[user_id]","/admin/[user_id]/api-keys","/admin/[user_id]/connect","/admin/[user_id]/databases","/admin/[user_id]/databases/add-database","/admin/[user_id]/databases/[single]","/admin/[user_id]/databases/[single]/connect","/admin/[user_id]/databases/[single]/edit-database","/admin/[user_id]/databases/[single]/schema","/admin/[user_id]/databases/[single]/shell","/admin/[user_id]/databases/[single]/tables","/admin/[user_id]/databases/[single]/tables/add-table","/admin/[user_id]/databases/[single]/tables/[single_table]","/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","/admin/[user_id]/databases/[single]/tables/[single_table]/entries","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","/admin/[user_id]/databases/[single]/tables/[single_table]/fields","/admin/[user_id]/databases/[single]/users","/admin/[user_id]/databases/[single]/users/add-social-logins","/admin/[user_id]/databases/[single]/users/add-user","/admin/[user_id]/databases/[single]/users/[user]","/admin/[user_id]/databases/[single]/users/[user]/change-password","/admin/[user_id]/media","/admin/[user_id]/media/[...folder]","/admin/[user_id]/schema","/admin/[user_id]/settings","/admin/[user_id]/users","/admin/[user_id]/users/add-user","/admin/[user_id]/users/databases","/admin/[user_id]/users/databases/[database]","/admin/[user_id]/users/databases/[database]/[user]","/blog","/contact","/create-account","/docs","/docs/[page]","/docs/[page]/[sub-page]","/email-verification","/login","/logout","/privacy","/redirect","/reset-password","/send-password-reset-link","/su","/su/backups","/su/console","/su/docs","/su/docs/create-page","/su/docs/edit-page","/su/docs/pages","/su/docs/pages/[id]","/su/envar","/su/error-logs","/su/load-balancing","/su/login","/su/servers","/su/users","/su/users/new","/su/users/[single]","/terms","/unsubscribe"]}}("static/chunks/9799-abc615966398fac4.js","static/chunks/8717-aea4be023740276e.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/1391-727762e25412e6d0.js",0,"static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/2163-2888548322298e53.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/6803-fe4ad60e4db387da.js",0,NaN,"static/chunks/9654-a0de90f5592a8262.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/5165-f1a837469292e394.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,e,d,i,t,c,n,u,r,b,g,l,_,m,h,f,p,k,o,j,y,w,v,I,B,F,A,N,D){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:B,bitArray:[]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:r,numHashes:B,bitArray:[]},"/":[F,"static/css/60c48dd4b3301227.css","static/chunks/pages/index-55aca6f5ee5ea4e8.js"],"/404":["static/chunks/pages/404-1eace598915739ef.js"],"/500":["static/chunks/pages/500-f40435ff099c3bec.js"],"/_error":["static/chunks/pages/_error-133b121cd6670ef3.js"],"/about":[F,"static/chunks/pages/about-35029bb377afcb90.js"],"/admin":[s,b,k,"static/chunks/pages/admin-efa0744f5c14dc87.js"],"/admin/[user_id]":[s,b,k,"static/chunks/pages/admin/[user_id]-7a323a8952bfcc9e.js"],"/admin/[user_id]/api-keys":[s,"static/chunks/pages/admin/[user_id]/api-keys-10d23e12f43ee561.js"],"/admin/[user_id]/connect":[s,"static/chunks/pages/admin/[user_id]/connect-66673e414574a977.js"],"/admin/[user_id]/databases":[s,b,"static/chunks/pages/admin/[user_id]/databases-6b7a3f30d592000d.js"],"/admin/[user_id]/databases/add-database":[t,s,d,n,o,"static/chunks/pages/admin/[user_id]/databases/add-database-fa3778d6e9bfcc7e.js"],"/admin/[user_id]/databases/[single]":[a,s,e,c,"static/chunks/pages/admin/[user_id]/databases/[single]-206058876b1ace39.js"],"/admin/[user_id]/databases/[single]/connect":[a,s,e,d,"static/chunks/pages/admin/[user_id]/databases/[single]/connect-f0141d41d59a8f0e.js"],"/admin/[user_id]/databases/[single]/edit-database":[t,a,s,e,d,n,o,"static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-e87026abaf4b078f.js"],"/admin/[user_id]/databases/[single]/schema":[t,a,s,e,d,c,n,o,"static/chunks/pages/admin/[user_id]/databases/[single]/schema-fb8cddee9e1002a6.js"],"/admin/[user_id]/databases/[single]/shell":[a,s,e,"static/chunks/pages/admin/[user_id]/databases/[single]/shell-80b1f573d72d1634.js"],"/admin/[user_id]/databases/[single]/tables":[a,s,e,c,"static/chunks/pages/admin/[user_id]/databases/[single]/tables-fee85f3157ecd3ac.js"],"/admin/[user_id]/databases/[single]/tables/add-table":[t,g,a,l,s,e,d,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-008870712dd389f8.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]":[t,g,a,u,l,j,s,e,d,c,n,_,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-941e5c22e7c7ea7e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table":[t,g,a,l,s,e,d,c,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-d8262158ddb6bfc2.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries":[t,a,u,j,s,e,d,c,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ed4516e967a3f21e.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry":[a,u,"static/chunks/8779-930a59d1d1a1be5c.js",s,e,c,m,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8d261204cffa33a9.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]":[t,a,u,j,s,e,d,c,m,y,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-380611fd56aa33ad.js"],"/admin/[user_id]/databases/[single]/tables/[single_table]/fields":[t,g,a,l,s,e,d,c,n,_,"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-f27e3bf388dde87e.js"],"/admin/[user_id]/databases/[single]/users":[a,s,e,c,h,"static/chunks/pages/admin/[user_id]/databases/[single]/users-de4848c05fe0d9e2.js"],"/admin/[user_id]/databases/[single]/users/add-social-logins":[a,s,e,d,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-660f9e475f68c717.js"],"/admin/[user_id]/databases/[single]/users/add-user":[a,s,e,d,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-18b8b63b1ba1c13d.js"],"/admin/[user_id]/databases/[single]/users/[user]":[a,s,e,f,"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-817858a3ef1cccd2.js"],"/admin/[user_id]/databases/[single]/users/[user]/change-password":[a,s,e,"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-04a47157d95b361b.js"],"/admin/[user_id]/media":[s,A,"static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js"],"/admin/[user_id]/media/[...folder]":[s,A,"static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js"],"/admin/[user_id]/schema":[a,s,"static/chunks/pages/admin/[user_id]/schema-22f39a31e6fc9598.js"],"/admin/[user_id]/settings":[t,s,d,n,b,w,k,N,"static/chunks/pages/admin/[user_id]/settings-5a657bc8977fb7f7.js"],"/admin/[user_id]/users":[s,h,"static/chunks/pages/admin/[user_id]/users-aac983ecf3e16d3a.js"],"/admin/[user_id]/users/add-user":[s,"static/chunks/pages/admin/[user_id]/users/add-user-b34fda15345c38b4.js"],"/admin/[user_id]/users/databases":[s,h,"static/chunks/pages/admin/[user_id]/users/databases-431cac8ade89240c.js"],"/admin/[user_id]/users/databases/[database]":[s,h,"static/chunks/pages/admin/[user_id]/users/databases/[database]-1e40897f0a25cd14.js"],"/admin/[user_id]/users/databases/[database]/[user]":[s,f,"static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-2da2075136778947.js"],"/blog":["static/chunks/pages/blog-86a57f87f960d208.js"],"/contact":["static/chunks/pages/contact-cd1dacd74efe270e.js"],"/create-account":[w,N,"static/chunks/pages/create-account-93cce1fe65377589.js"],"/docs":["static/chunks/pages/docs-21d1067cb26803ef.js"],"/docs/[page]":["static/chunks/pages/docs/[page]-f26a582ab816687d.js"],"/docs/[page]/[sub-page]":["static/chunks/pages/docs/[page]/[sub-page]-d986893c235e6d5b.js"],"/email-verification":["static/chunks/pages/email-verification-b622c0527271a373.js"],"/login":[w,"static/chunks/pages/login-4cd0b4a8e9124058.js"],"/logout":["static/chunks/pages/logout-b8a4207f3314e897.js"],"/privacy":["static/chunks/pages/privacy-85269bae0ca39885.js"],"/redirect":["static/chunks/pages/redirect-f5ba2244ad574804.js"],"/reset-password":[t,"static/chunks/pages/reset-password-bf3706a70e969a34.js"],"/send-password-reset-link":["static/chunks/pages/send-password-reset-link-40c349141dc68707.js"],"/su":[i,"static/chunks/pages/su-aef540ca8a9d0d26.js"],"/su/backups":[i,"static/chunks/pages/su/backups-515e155cc25fc6e2.js"],"/su/console":["static/chunks/ed150ef9-468dbc55986083e4.js","static/chunks/2793-2960a1457850c87f.js",i,"static/css/85fa6dafca566008.css","static/chunks/pages/su/console-b4070a91c4a61e92.js"],"/su/docs":[i,D,"static/chunks/pages/su/docs-2d31693f0537ec1b.js"],"/su/docs/create-page":[u,d,i,p,v,"static/chunks/pages/su/docs/create-page-e5da0607ae76879e.js"],"/su/docs/edit-page":[u,d,i,p,v,"static/chunks/pages/su/docs/edit-page-19991b2455a27bda.js"],"/su/docs/pages":[i,D,"static/chunks/pages/su/docs/pages-09cc22003ca2977d.js"],"/su/docs/pages/[id]":[u,d,i,p,v,"static/chunks/pages/su/docs/pages/[id]-aa63805a266c145f.js"],"/su/envar":[i,"static/chunks/pages/su/envar-cf23a0d85f1b95f7.js"],"/su/error-logs":[i,"static/chunks/pages/su/error-logs-bd760a695db3aa94.js"],"/su/load-balancing":[a,i,"static/chunks/pages/su/load-balancing-0968f396408769a2.js"],"/su/login":["static/chunks/pages/su/login-9f0c33ff7a724b80.js"],"/su/servers":[a,i,"static/chunks/pages/su/servers-9c5cb37918bc40b1.js"],"/su/users":[i,"static/chunks/pages/su/users-bb0e572a5ae16760.js"],"/su/users/new":[i,"static/chunks/pages/su/users/new-7f43159b182edbb0.js"],"/su/users/[single]":[a,i,p,"static/chunks/pages/su/users/[single]-77865aec8f94f04d.js"],"/terms":["static/chunks/pages/terms-02b626fbae43ff93.js"],"/unsubscribe":["static/chunks/pages/unsubscribe-60eb94424d6846c1.js"],sortedPages:["/","/404","/500","/_app","/_error","/about","/admin","/admin/[user_id]","/admin/[user_id]/api-keys","/admin/[user_id]/connect","/admin/[user_id]/databases","/admin/[user_id]/databases/add-database","/admin/[user_id]/databases/[single]","/admin/[user_id]/databases/[single]/connect","/admin/[user_id]/databases/[single]/edit-database","/admin/[user_id]/databases/[single]/schema","/admin/[user_id]/databases/[single]/shell","/admin/[user_id]/databases/[single]/tables","/admin/[user_id]/databases/[single]/tables/add-table","/admin/[user_id]/databases/[single]/tables/[single_table]","/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table","/admin/[user_id]/databases/[single]/tables/[single_table]/entries","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry","/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]","/admin/[user_id]/databases/[single]/tables/[single_table]/fields","/admin/[user_id]/databases/[single]/users","/admin/[user_id]/databases/[single]/users/add-social-logins","/admin/[user_id]/databases/[single]/users/add-user","/admin/[user_id]/databases/[single]/users/[user]","/admin/[user_id]/databases/[single]/users/[user]/change-password","/admin/[user_id]/media","/admin/[user_id]/media/[...folder]","/admin/[user_id]/schema","/admin/[user_id]/settings","/admin/[user_id]/users","/admin/[user_id]/users/add-user","/admin/[user_id]/users/databases","/admin/[user_id]/users/databases/[database]","/admin/[user_id]/users/databases/[database]/[user]","/blog","/contact","/create-account","/docs","/docs/[page]","/docs/[page]/[sub-page]","/email-verification","/login","/logout","/privacy","/redirect","/reset-password","/send-password-reset-link","/su","/su/backups","/su/console","/su/docs","/su/docs/create-page","/su/docs/edit-page","/su/docs/pages","/su/docs/pages/[id]","/su/envar","/su/error-logs","/su/load-balancing","/su/login","/su/servers","/su/users","/su/users/new","/su/users/[single]","/terms","/unsubscribe"]}}("static/chunks/9799-abc615966398fac4.js","static/chunks/8717-aea4be023740276e.js","static/chunks/304-2b6b4eb0adbbac90.js","static/chunks/5414-904c4e3b277b1a40.js","static/chunks/2016-d9bbef83b5278263.js","static/chunks/29107295-a5c0cca9b8761d61.js","static/chunks/6836-b267904eb7c540d4.js","static/chunks/5160-1036ca7a8eaeebea.js","static/chunks/1391-727762e25412e6d0.js",0,"static/chunks/3616-eb6fa93fb451bf57.js","static/chunks/94726e6d-33de6887e71ace1a.js","static/chunks/2413-5357ac7638ad8ed0.js","static/chunks/6156-e0dcf7d8f002ae4a.js","static/chunks/2163-2888548322298e53.js","static/chunks/3857-402e95bd26a58769.js","static/chunks/4565-e849d55f03e474f9.js","static/chunks/3061-4daacb81cd42c700.js","static/chunks/820-c223e3d64da3f271.js","static/chunks/6052-968463ac9ad036e9.js","static/chunks/2004-64a7cf1362719c72.js","static/chunks/6460-3f63007c03118fc2.js","static/chunks/9907-e7e1d036d8444890.js","static/chunks/6803-fe4ad60e4db387da.js",0,NaN,"static/chunks/9654-a0de90f5592a8262.js","static/chunks/5256-56bdbb8f4109cb29.js","static/chunks/4147-cebaebce870b5fb7.js","static/chunks/5165-f1a837469292e394.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/HcU1grNdeICz9zVVD_7aa/_ssgManifest.js b/dsql-app/.local_dist/static/1gOSN7HLWCIumskNUJc1E/_ssgManifest.js similarity index 100% rename from dsql-app/.local_dist/static/HcU1grNdeICz9zVVD_7aa/_ssgManifest.js rename to dsql-app/.local_dist/static/1gOSN7HLWCIumskNUJc1E/_ssgManifest.js diff --git a/dsql-app/.local_dist/static/chunks/_error.js b/dsql-app/.local_dist/static/chunks/_error.js new file mode 100644 index 0000000..13774c9 --- /dev/null +++ b/dsql-app/.local_dist/static/chunks/_error.js @@ -0,0 +1,28 @@ +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["/_error"],{ + +/***/ "./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!": +/*!***************************************************************************************************************************************************************************!*\ + !*** ./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error! ***! + \***************************************************************************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval(__webpack_require__.ts("\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/_error\",\n function () {\n return __webpack_require__(/*! ./node_modules/next/dist/pages/_error.js */ \"./node_modules/next/dist/pages/_error.js\");\n }\n ]);\n if(true) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/_error\"])\n });\n }\n //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWNsaWVudC1wYWdlcy1sb2FkZXIuanM/YWJzb2x1dGVQYWdlUGF0aD0lMkZhcHAlMkZub2RlX21vZHVsZXMlMkZuZXh0JTJGZGlzdCUyRnBhZ2VzJTJGX2Vycm9yLmpzJnBhZ2U9JTJGX2Vycm9yISIsIm1hcHBpbmdzIjoiO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZUFBZSxtQkFBTyxDQUFDLDBGQUEwQztBQUNqRTtBQUNBO0FBQ0EsT0FBTyxJQUFVO0FBQ2pCLE1BQU0sVUFBVTtBQUNoQjtBQUNBLE9BQU87QUFDUDtBQUNBIiwic291cmNlcyI6WyIiXSwic291cmNlc0NvbnRlbnQiOlsiXG4gICAgKHdpbmRvdy5fX05FWFRfUCA9IHdpbmRvdy5fX05FWFRfUCB8fCBbXSkucHVzaChbXG4gICAgICBcIi9fZXJyb3JcIixcbiAgICAgIGZ1bmN0aW9uICgpIHtcbiAgICAgICAgcmV0dXJuIHJlcXVpcmUoXCIuL25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvcGFnZXMvX2Vycm9yLmpzXCIpO1xuICAgICAgfVxuICAgIF0pO1xuICAgIGlmKG1vZHVsZS5ob3QpIHtcbiAgICAgIG1vZHVsZS5ob3QuZGlzcG9zZShmdW5jdGlvbiAoKSB7XG4gICAgICAgIHdpbmRvdy5fX05FWFRfUC5wdXNoKFtcIi9fZXJyb3JcIl0pXG4gICAgICB9KTtcbiAgICB9XG4gICJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!\n")); + +/***/ }) + +}, +/******/ __webpack_require__ => { // webpackRuntimeModules +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) +/******/ __webpack_require__.O(0, ["main"], () => (__webpack_exec__("./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fnode_modules%2Fnext%2Fdist%2Fpages%2F_error.js&page=%2F_error!"))); +/******/ var __webpack_exports__ = __webpack_require__.O(); +/******/ _N_E = __webpack_exports__; +/******/ } +]); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/chunks/pages/404.js b/dsql-app/.local_dist/static/chunks/pages/404.js new file mode 100644 index 0000000..3b2cb0e --- /dev/null +++ b/dsql-app/.local_dist/static/chunks/pages/404.js @@ -0,0 +1,50 @@ +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["pages/404"],{ + +/***/ "./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fpages%2F404.jsx&page=%2F404!": +/*!*****************************************************************************************************************************************!*\ + !*** ./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fpages%2F404.jsx&page=%2F404! ***! + \*****************************************************************************************************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval(__webpack_require__.ts("\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/404\",\n function () {\n return __webpack_require__(/*! ./pages/404.jsx */ \"./pages/404.jsx\");\n }\n ]);\n if(true) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/404\"])\n });\n }\n //# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWNsaWVudC1wYWdlcy1sb2FkZXIuanM/YWJzb2x1dGVQYWdlUGF0aD0lMkZhcHAlMkZwYWdlcyUyRjQwNC5qc3gmcGFnZT0lMkY0MDQhIiwibWFwcGluZ3MiOiI7QUFDQTtBQUNBO0FBQ0E7QUFDQSxlQUFlLG1CQUFPLENBQUMsd0NBQWlCO0FBQ3hDO0FBQ0E7QUFDQSxPQUFPLElBQVU7QUFDakIsTUFBTSxVQUFVO0FBQ2hCO0FBQ0EsT0FBTztBQUNQO0FBQ0EiLCJzb3VyY2VzIjpbIiJdLCJzb3VyY2VzQ29udGVudCI6WyJcbiAgICAod2luZG93Ll9fTkVYVF9QID0gd2luZG93Ll9fTkVYVF9QIHx8IFtdKS5wdXNoKFtcbiAgICAgIFwiLzQwNFwiLFxuICAgICAgZnVuY3Rpb24gKCkge1xuICAgICAgICByZXR1cm4gcmVxdWlyZShcIi4vcGFnZXMvNDA0LmpzeFwiKTtcbiAgICAgIH1cbiAgICBdKTtcbiAgICBpZihtb2R1bGUuaG90KSB7XG4gICAgICBtb2R1bGUuaG90LmRpc3Bvc2UoZnVuY3Rpb24gKCkge1xuICAgICAgICB3aW5kb3cuX19ORVhUX1AucHVzaChbXCIvNDA0XCJdKVxuICAgICAgfSk7XG4gICAgfVxuICAiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fpages%2F404.jsx&page=%2F404!\n")); + +/***/ }), + +/***/ "./functions/frontend/clientAuthUser.js": +/*!**********************************************!*\ + !*** ./functions/frontend/clientAuthUser.js ***! + \**********************************************/ +/***/ ((module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ clientAuthUser)\n/* harmony export */ });\n/* harmony import */ var _fetchApi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fetchApi */ \"./functions/frontend/fetchApi.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Auth user on client side\r\n * ==============================================================================\r\n * @param {object} params - React ref with current value\r\n * @param {React.Dispatch>} params.setUser - React ref with current value\r\n *\r\n * @requires search-field name attribute\r\n */ function clientAuthUser(param) {\n let { setUser } = param;\n /**\r\n * Check for user in local storage\r\n *\r\n * @description Preventdefault, declare variables\r\n */ let localStorageUser = localStorage.getItem(\"user\");\n if (localStorageUser) {\n try {\n setUser(JSON.parse(localStorageUser));\n return;\n } catch (error) {\n setUser({});\n return;\n }\n }\n /**\r\n * Fetch User from server\r\n *\r\n * @description Preventdefault, declare variables\r\n */ (0,_fetchApi__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"/api/clientSideAuth\", {\n method: \"post\",\n body: {}\n }, true).then((res)=>{\n let finalUser = res.user ? res.user : {};\n setUser(finalUser);\n localStorage.setItem(\"user\", JSON.stringify(finalUser));\n // localStorage.setItem(\"user\", JSON.stringify(res.user));\n }).catch((error)=>{\n console.log(error);\n });\n} ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n\n\n;\n // Wrapped in an IIFE to avoid polluting the global scope\n ;\n (function () {\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n // @ts-ignore __webpack_module__ is global\n var currentExports = module.exports;\n // @ts-ignore __webpack_module__ is global\n var prevSignature = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevSignature) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports signature on update so we can compare the boundary\n // signatures. We avoid saving exports themselves since it causes memory leaks (https://github.com/vercel/next.js/pull/53797)\n module.hot.dispose(function (data) {\n data.prevSignature =\n self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports);\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n // @ts-ignore importMeta is replaced in the loader\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevSignature !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevSignature, self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports))) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevSignature !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n })();\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9mdW5jdGlvbnMvZnJvbnRlbmQvY2xpZW50QXV0aFVzZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxZQUFZO0FBRVo7Ozs7Q0FJQyxHQUVpQztBQUVsQyxtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUVuRjs7Ozs7Ozs7Q0FRQyxHQUNjLFNBQVNDLGVBQWUsS0FBVztRQUFYLEVBQUVDLE9BQU8sRUFBRSxHQUFYO0lBQ25DOzs7O0tBSUMsR0FDRCxJQUFJQyxtQkFBbUJDLGFBQWFDLE9BQU8sQ0FBQztJQUU1QyxJQUFJRixrQkFBa0I7UUFDbEIsSUFBSTtZQUNBRCxRQUFRSSxLQUFLQyxLQUFLLENBQUNKO1lBQ25CO1FBQ0osRUFBRSxPQUFPSyxPQUFPO1lBQ1pOLFFBQVEsQ0FBQztZQUNUO1FBQ0o7SUFDSjtJQUVBOzs7O0tBSUMsR0FDREYscURBQVFBLENBQ0osdUJBQ0E7UUFDSVMsUUFBUTtRQUNSQyxNQUFNLENBQUM7SUFDWCxHQUNBLE1BRUNDLElBQUksQ0FBQyxDQUFDQztRQUNILElBQUlDLFlBQVlELElBQUlFLElBQUksR0FBR0YsSUFBSUUsSUFBSSxHQUFHLENBQUM7UUFFdkNaLFFBQVFXO1FBQ1JULGFBQWFXLE9BQU8sQ0FBQyxRQUFRVCxLQUFLVSxTQUFTLENBQUNIO0lBQzVDLDBEQUEwRDtJQUM5RCxHQUNDSSxLQUFLLENBQUMsQ0FBQ1Q7UUFDSlUsUUFBUUMsR0FBRyxDQUFDWDtJQUNoQjtBQUNSLEVBRUEsd0NBQXdDO0NBQ3hDLHdDQUF3QztDQUN4Qyx3Q0FBd0MiLCJzb3VyY2VzIjpbIi9hcHAvZnVuY3Rpb25zL2Zyb250ZW5kL2NsaWVudEF1dGhVc2VyLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuXHJcbmltcG9ydCBmZXRjaEFwaSBmcm9tIFwiLi9mZXRjaEFwaVwiO1xyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQXV0aCB1c2VyIG9uIGNsaWVudCBzaWRlXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBAcGFyYW0ge29iamVjdH0gcGFyYW1zIC0gUmVhY3QgcmVmIHdpdGggY3VycmVudCB2YWx1ZVxyXG4gKiBAcGFyYW0ge1JlYWN0LkRpc3BhdGNoPFJlYWN0LlNldFN0YXRlQWN0aW9uPGltcG9ydChcIkAvcGFja2FnZS1zaGFyZWQvdHlwZXNcIikuVXNlclR5cGUgfCB7fSB8ICo+Pn0gcGFyYW1zLnNldFVzZXIgLSBSZWFjdCByZWYgd2l0aCBjdXJyZW50IHZhbHVlXHJcbiAqXHJcbiAqIEByZXF1aXJlcyBzZWFyY2gtZmllbGQgbmFtZSBhdHRyaWJ1dGVcclxuICovXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIGNsaWVudEF1dGhVc2VyKHsgc2V0VXNlciB9KSB7XHJcbiAgICAvKipcclxuICAgICAqIENoZWNrIGZvciB1c2VyIGluIGxvY2FsIHN0b3JhZ2VcclxuICAgICAqXHJcbiAgICAgKiBAZGVzY3JpcHRpb24gUHJldmVudGRlZmF1bHQsIGRlY2xhcmUgdmFyaWFibGVzXHJcbiAgICAgKi9cclxuICAgIGxldCBsb2NhbFN0b3JhZ2VVc2VyID0gbG9jYWxTdG9yYWdlLmdldEl0ZW0oXCJ1c2VyXCIpO1xyXG5cclxuICAgIGlmIChsb2NhbFN0b3JhZ2VVc2VyKSB7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgICAgc2V0VXNlcihKU09OLnBhcnNlKGxvY2FsU3RvcmFnZVVzZXIpKTtcclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XHJcbiAgICAgICAgICAgIHNldFVzZXIoe30pO1xyXG4gICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC8qKlxyXG4gICAgICogRmV0Y2ggVXNlciBmcm9tIHNlcnZlclxyXG4gICAgICpcclxuICAgICAqIEBkZXNjcmlwdGlvbiBQcmV2ZW50ZGVmYXVsdCwgZGVjbGFyZSB2YXJpYWJsZXNcclxuICAgICAqL1xyXG4gICAgZmV0Y2hBcGkoXHJcbiAgICAgICAgXCIvYXBpL2NsaWVudFNpZGVBdXRoXCIsXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBtZXRob2Q6IFwicG9zdFwiLFxyXG4gICAgICAgICAgICBib2R5OiB7fSxcclxuICAgICAgICB9LFxyXG4gICAgICAgIHRydWVcclxuICAgIClcclxuICAgICAgICAudGhlbigocmVzKSA9PiB7XHJcbiAgICAgICAgICAgIGxldCBmaW5hbFVzZXIgPSByZXMudXNlciA/IHJlcy51c2VyIDoge307XHJcblxyXG4gICAgICAgICAgICBzZXRVc2VyKGZpbmFsVXNlcik7XHJcbiAgICAgICAgICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKFwidXNlclwiLCBKU09OLnN0cmluZ2lmeShmaW5hbFVzZXIpKTtcclxuICAgICAgICAgICAgLy8gbG9jYWxTdG9yYWdlLnNldEl0ZW0oXCJ1c2VyXCIsIEpTT04uc3RyaW5naWZ5KHJlcy51c2VyKSk7XHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY2F0Y2goKGVycm9yKSA9PiB7XHJcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKGVycm9yKTtcclxuICAgICAgICB9KTtcclxufVxyXG5cclxuLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuIl0sIm5hbWVzIjpbImZldGNoQXBpIiwiY2xpZW50QXV0aFVzZXIiLCJzZXRVc2VyIiwibG9jYWxTdG9yYWdlVXNlciIsImxvY2FsU3RvcmFnZSIsImdldEl0ZW0iLCJKU09OIiwicGFyc2UiLCJlcnJvciIsIm1ldGhvZCIsImJvZHkiLCJ0aGVuIiwicmVzIiwiZmluYWxVc2VyIiwidXNlciIsInNldEl0ZW0iLCJzdHJpbmdpZnkiLCJjYXRjaCIsImNvbnNvbGUiLCJsb2ciXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./functions/frontend/clientAuthUser.js\n")); + +/***/ }), + +/***/ "./pages/404.jsx": +/*!***********************!*\ + !*** ./pages/404.jsx ***! + \***********************/ +/***/ ((module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ NotFoundPage)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"./node_modules/react/jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../layouts/GeneralLayout */ \"./layouts/GeneralLayout.jsx\");\n/* harmony import */ var _components_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components/general/PageHeadTags */ \"./components/general/PageHeadTags.jsx\");\n/* harmony import */ var _functions_frontend_clientAuthUser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../functions/frontend/clientAuthUser */ \"./functions/frontend/clientAuthUser.js\");\n// @ts-check\n/**\r\n * ==============================================================================\r\n * Imports\r\n * ==============================================================================\r\n */ \nvar _s = $RefreshSig$();\n\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n\n\n\n/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**\r\n * ==============================================================================\r\n * Main Component { Functional }\r\n * ==============================================================================\r\n * @param {Object} props - Server props\r\n */ function NotFoundPage(props) {\n _s();\n /**\r\n * Get Contexts\r\n *\r\n * @abstract { React.useContext }\r\n */ if (true) {\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"NotFoundPage.useEffect\": ()=>{\n window.location.href = \"https://datasquirel.com\";\n }\n }[\"NotFoundPage.useEffect\"], []);\n return null;\n }\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Javascript Variables\r\n *\r\n * @abstract Non hook variables and functions\r\n */ const pageTitle = \"Cloudbased SQL data management system | Datasquirel\";\n const pageDescription = \"Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.\";\n let head = /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"title\", {\n children: pageTitle\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 59,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"meta\", {\n name: \"description\",\n content: pageDescription\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 60,\n columnNumber: 13\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n pageTitle: pageTitle,\n pageDescription: pageDescription,\n pagePathname: \"/\"\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 61,\n columnNumber: 13\n }, this)\n ]\n }, void 0, true);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * React Hooks\r\n *\r\n * @abstract { useState, useEffect, useRef, etc ... }\r\n */ const [user, setUser] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(null);\n react__WEBPACK_IMPORTED_MODULE_1___default().useEffect({\n \"NotFoundPage.useEffect\": ()=>{\n // @ts-ignore\n (0,_functions_frontend_clientAuthUser__WEBPACK_IMPORTED_MODULE_4__[\"default\"])({\n setUser\n });\n }\n }[\"NotFoundPage.useEffect\"], []);\n ////////////////////////////////////////\n ////////////////////////////////////////\n ////////////////////////////////////////\n /**\r\n * Function Return\r\n *\r\n * @abstract Main Function Return\r\n */ return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n head: head,\n user: user,\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"main\", {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"section\", {\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"paper items-center px-20 gap-2\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n className: \"text-base m-0 text-slate-400\",\n children: \"Ooops ...\"\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 99,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n className: \"text-2xl m-0\",\n children: \"Page Not Found\"\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 102,\n columnNumber: 25\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n href: \"/\",\n className: \"button outlined\",\n children: \"Home\"\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 105,\n columnNumber: 29\n }, this),\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n onClick: (e)=>{\n window.history.back();\n },\n children: \"Go Back\"\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 108,\n columnNumber: 29\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 104,\n columnNumber: 25\n }, this)\n ]\n }, void 0, true, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 98,\n columnNumber: 21\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 97,\n columnNumber: 17\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 96,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: \"/app/pages/404.jsx\",\n lineNumber: 95,\n columnNumber: 9\n }, this);\n////////////////////////////////////////\n////////////////////////////////////////\n////////////////////////////////////////\n} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ \n_s(NotFoundPage, \"5s2qRsV95gTJBmaaTh11GoxYeGE=\");\n_c = NotFoundPage;\nvar _c;\n$RefreshReg$(_c, \"NotFoundPage\");\n\n\n;\n // Wrapped in an IIFE to avoid polluting the global scope\n ;\n (function () {\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n // @ts-ignore __webpack_module__ is global\n var currentExports = module.exports;\n // @ts-ignore __webpack_module__ is global\n var prevSignature = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevSignature) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports signature on update so we can compare the boundary\n // signatures. We avoid saving exports themselves since it causes memory leaks (https://github.com/vercel/next.js/pull/53797)\n module.hot.dispose(function (data) {\n data.prevSignature =\n self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports);\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n // @ts-ignore importMeta is replaced in the loader\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevSignature !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevSignature, self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports))) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevSignature !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n })();\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWdlcy80MDQuanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUEsWUFBWTtBQUVaOzs7O0NBSUM7O0FBQ3lCO0FBRTFCLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBRWE7QUFDUztBQUNJO0FBRWxFLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7OztDQUtDLEdBQ2MsU0FBU0ksYUFBYUMsS0FBSzs7SUFDdEM7Ozs7S0FJQyxHQUNELElBQUlDLElBQWtDLEVBQUU7UUFDcENOLHNEQUFlO3NDQUFDO2dCQUNaVSxPQUFPQyxRQUFRLENBQUNDLElBQUksR0FBRztZQUMzQjtxQ0FBRyxFQUFFO1FBQ0wsT0FBTztJQUNYO0lBRUEsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUNELE1BQU1DLFlBQVk7SUFDbEIsTUFBTUMsa0JBQ0Y7SUFFSixJQUFJQyxxQkFDQTs7MEJBQ0ksOERBQUNDOzBCQUFPSDs7Ozs7OzBCQUNSLDhEQUFDSTtnQkFBS0MsTUFBSztnQkFBY0MsU0FBU0w7Ozs7OzswQkFDbEMsOERBQUNaLHdFQUFZQTtnQkFDVFcsV0FBV0E7Z0JBQ1hDLGlCQUFpQkE7Z0JBQ2pCTSxjQUFhOzs7Ozs7OztJQUt6Qix3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QsTUFBTSxDQUFDQyxNQUFNQyxRQUFRLEdBQUd0QixxREFBYyxDQUFDO0lBRXZDQSxzREFBZTtrQ0FBQztZQUNaLGFBQWE7WUFDYkcsOEVBQWNBLENBQUM7Z0JBQUVtQjtZQUFRO1FBQzdCO2lDQUFHLEVBQUU7SUFFTCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNyQiw4REFBYUE7UUFBQ2MsTUFBTUE7UUFBTU0sTUFBTUE7a0JBQzdCLDRFQUFDRztzQkFDRyw0RUFBQ0M7MEJBQ0csNEVBQUNDO29CQUFJQyxXQUFVOztzQ0FDWCw4REFBQ0M7NEJBQUdELFdBQVU7c0NBQStCOzs7Ozs7c0NBRzdDLDhEQUFDRTs0QkFBR0YsV0FBVTtzQ0FBZTs7Ozs7O3NDQUU3Qiw4REFBQ0Q7OzhDQUNHLDhEQUFDSTtvQ0FBRWxCLE1BQUs7b0NBQUllLFdBQVU7OENBQWtCOzs7Ozs7OENBR3hDLDhEQUFDSTtvQ0FDR0MsU0FBUyxDQUFDQzt3Q0FDTnZCLE9BQU93QixPQUFPLENBQUNDLElBQUk7b0NBQ3ZCOzhDQUNIOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFVekIsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUN4Qyx3Q0FBd0M7QUFDNUMsRUFFQSxtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRixJQUNuRixtRkFBbUYsSUFDbkYsbUZBQW1GLElBQ25GLG1GQUFtRjtHQXJHM0QvQjtLQUFBQSIsInNvdXJjZXMiOlsiL2FwcC9wYWdlcy80MDQuanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5cclxuLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuXHJcbmltcG9ydCBHZW5lcmFsTGF5b3V0IGZyb20gXCIuLi9sYXlvdXRzL0dlbmVyYWxMYXlvdXRcIjtcclxuaW1wb3J0IFBhZ2VIZWFkVGFncyBmcm9tIFwiLi4vY29tcG9uZW50cy9nZW5lcmFsL1BhZ2VIZWFkVGFnc1wiO1xyXG5pbXBvcnQgY2xpZW50QXV0aFVzZXIgZnJvbSBcIi4uL2Z1bmN0aW9ucy9mcm9udGVuZC9jbGllbnRBdXRoVXNlclwiO1xyXG5cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuXHJcbi8qKlxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogTWFpbiBDb21wb25lbnQgeyBGdW5jdGlvbmFsIH1cclxuICogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XHJcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIFNlcnZlciBwcm9wc1xyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gTm90Rm91bmRQYWdlKHByb3BzKSB7XHJcbiAgICAvKipcclxuICAgICAqIEdldCBDb250ZXh0c1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IFJlYWN0LnVzZUNvbnRleHQgfVxyXG4gICAgICovXHJcbiAgICBpZiAocHJvY2Vzcy5lbnYuTkVYVF9QVUJMSUNfRFNRTF9MT0NBTCkge1xyXG4gICAgICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgICAgIHdpbmRvdy5sb2NhdGlvbi5ocmVmID0gXCJodHRwczovL2RhdGFzcXVpcmVsLmNvbVwiO1xyXG4gICAgICAgIH0sIFtdKTtcclxuICAgICAgICByZXR1cm4gbnVsbDtcclxuICAgIH1cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBKYXZhc2NyaXB0IFZhcmlhYmxlc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBOb24gaG9vayB2YXJpYWJsZXMgYW5kIGZ1bmN0aW9uc1xyXG4gICAgICovXHJcbiAgICBjb25zdCBwYWdlVGl0bGUgPSBcIkNsb3VkYmFzZWQgU1FMIGRhdGEgbWFuYWdlbWVudCBzeXN0ZW0gfCBEYXRhc3F1aXJlbFwiO1xyXG4gICAgY29uc3QgcGFnZURlc2NyaXB0aW9uID1cclxuICAgICAgICBcIkRhdGFzcXVpcmVsIGlzIGEgZmFzdCBhbmQgZWZmaWNpZW50IGNsb3VkLWJhc2VkIFNRTCBkYXRhIG1hbmFnZW1lbnQgc3lzdGVtIHRoYXQgdGFrZXMgYXdheSB0aGUgZW50aXJlIGhhc3NsZSBvZiBkZWFsaW5nIHdpdGggZGF0YSBib3RoIGxvY2FsbHkgYW5kIGFjcm9zcyBkaWZmZXJlbnQgcGxhdGZvcm1zLlwiO1xyXG5cclxuICAgIGxldCBoZWFkID0gKFxyXG4gICAgICAgIDw+XHJcbiAgICAgICAgICAgIDx0aXRsZT57cGFnZVRpdGxlfTwvdGl0bGU+XHJcbiAgICAgICAgICAgIDxtZXRhIG5hbWU9XCJkZXNjcmlwdGlvblwiIGNvbnRlbnQ9e3BhZ2VEZXNjcmlwdGlvbn0gLz5cclxuICAgICAgICAgICAgPFBhZ2VIZWFkVGFnc1xyXG4gICAgICAgICAgICAgICAgcGFnZVRpdGxlPXtwYWdlVGl0bGV9XHJcbiAgICAgICAgICAgICAgICBwYWdlRGVzY3JpcHRpb249e3BhZ2VEZXNjcmlwdGlvbn1cclxuICAgICAgICAgICAgICAgIHBhZ2VQYXRobmFtZT1cIi9cIlxyXG4gICAgICAgICAgICAvPlxyXG4gICAgICAgIDwvPlxyXG4gICAgKTtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBSZWFjdCBIb29rc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCB7IHVzZVN0YXRlLCB1c2VFZmZlY3QsIHVzZVJlZiwgZXRjIC4uLiB9XHJcbiAgICAgKi9cclxuICAgIGNvbnN0IFt1c2VyLCBzZXRVc2VyXSA9IFJlYWN0LnVzZVN0YXRlKG51bGwpO1xyXG5cclxuICAgIFJlYWN0LnVzZUVmZmVjdCgoKSA9PiB7XHJcbiAgICAgICAgLy8gQHRzLWlnbm9yZVxyXG4gICAgICAgIGNsaWVudEF1dGhVc2VyKHsgc2V0VXNlciB9KTtcclxuICAgIH0sIFtdKTtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgTWFpbiBGdW5jdGlvbiBSZXR1cm5cclxuICAgICAqL1xyXG4gICAgcmV0dXJuIChcclxuICAgICAgICA8R2VuZXJhbExheW91dCBoZWFkPXtoZWFkfSB1c2VyPXt1c2VyfT5cclxuICAgICAgICAgICAgPG1haW4+XHJcbiAgICAgICAgICAgICAgICA8c2VjdGlvbj5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInBhcGVyIGl0ZW1zLWNlbnRlciBweC0yMCBnYXAtMlwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aDIgY2xhc3NOYW1lPVwidGV4dC1iYXNlIG0tMCB0ZXh0LXNsYXRlLTQwMFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgT29vcHMgLi4uXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvaDI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxoMSBjbGFzc05hbWU9XCJ0ZXh0LTJ4bCBtLTBcIj5QYWdlIE5vdCBGb3VuZDwvaDE+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGEgaHJlZj1cIi9cIiBjbGFzc05hbWU9XCJidXR0b24gb3V0bGluZWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBIb21lXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljaz17KGUpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93Lmhpc3RvcnkuYmFjaygpO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgR28gQmFja1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPC9zZWN0aW9uPlxyXG4gICAgICAgICAgICA8L21haW4+XHJcbiAgICAgICAgPC9HZW5lcmFsTGF5b3V0PlxyXG4gICAgKTtcclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbn1cclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbiJdLCJuYW1lcyI6WyJSZWFjdCIsIkdlbmVyYWxMYXlvdXQiLCJQYWdlSGVhZFRhZ3MiLCJjbGllbnRBdXRoVXNlciIsIk5vdEZvdW5kUGFnZSIsInByb3BzIiwicHJvY2VzcyIsImVudiIsIk5FWFRfUFVCTElDX0RTUUxfTE9DQUwiLCJ1c2VFZmZlY3QiLCJ3aW5kb3ciLCJsb2NhdGlvbiIsImhyZWYiLCJwYWdlVGl0bGUiLCJwYWdlRGVzY3JpcHRpb24iLCJoZWFkIiwidGl0bGUiLCJtZXRhIiwibmFtZSIsImNvbnRlbnQiLCJwYWdlUGF0aG5hbWUiLCJ1c2VyIiwic2V0VXNlciIsInVzZVN0YXRlIiwibWFpbiIsInNlY3Rpb24iLCJkaXYiLCJjbGFzc05hbWUiLCJoMiIsImgxIiwiYSIsImJ1dHRvbiIsIm9uQ2xpY2siLCJlIiwiaGlzdG9yeSIsImJhY2siXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./pages/404.jsx\n")); + +/***/ }) + +}, +/******/ __webpack_require__ => { // webpackRuntimeModules +/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) +/******/ __webpack_require__.O(0, ["pages/_app","main"], () => (__webpack_exec__("./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fpages%2F404.jsx&page=%2F404!"))); +/******/ var __webpack_exports__ = __webpack_require__.O(); +/******/ _N_E = __webpack_exports__; +/******/ } +]); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js b/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js similarity index 63% rename from dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js rename to dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js index 282ce82..4a06f10 100644 --- a/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-56c4ebe221b1b677.js +++ b/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media-c292bf65621dcbd2.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9326],{4299:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media",function(){return t(6636)}])},6636:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>g,__N_SSP:()=>_,default:()=>A});var a=t(4848),i=t(6540),l=t(1187),r=t(4709),n=t(5165),d=t(5624),o=t(7651),c=t(557);function u(e){var s;let{media:t,setTargetMedia:l,user:u,folders:x,staticHost:j}=i.useContext(g);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,a.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,a.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,a.jsxs)(c.A,{children:[(0,a.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Media"})]}),(0,a.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,n.PB)("add-folder-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Folder"})]})]})]}),(0,a.jsx)(r.A,{user:u})]}),(null==u?void 0:null===(s=u.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(o.A,{media:t,setTargetMedia:l,folders:x,staticHost:j,user:u}),t&&t[0]&&(0,a.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,a.jsx)(d.A,{})]})}var x=t(7764),j=t(6093),p=t(4003),m=t(5531),h=t(1493),N=t(5001),w=t(620),f=t(2154),_=!0;let g=i.createContext({});function A(e){let{user:s,media:t,folders:r,staticHost:n}=e,d=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,c]=i.useState(null),[_,A]=i.useState(null),[b,v]=i.useState(null),[y,M]=i.useState(!1),[C,F]=i.useState(null);return(0,a.jsx)(l.A,{head:d,user:s,children:(0,a.jsxs)(g.Provider,{value:{user:s,media:t,targetMedia:C,setTargetMedia:F,folders:r,staticHost:n},children:[y&&(0,a.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,a.jsx)(u,{}),(0,a.jsx)(x.A,{setNewMedia:c,setLoading:M}),(0,a.jsx)(h.A,{setNewFile:A,setLoading:M}),(0,a.jsx)(f.A,{setNewVideo:v,setLoading:M}),(0,a.jsx)(j.A,{newMedia:o,setNewMedia:c,newFile:_,setNewFile:A,newVideo:b,setNewVideo:v}),(0,a.jsx)(p.A,{targetMedia:C,setTargetMedia:F,staticHost:n,media:t}),(0,a.jsx)(m.A,{}),(0,a.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[9799,5256,636,6593,8792],()=>s(4299)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9326],{4299:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media",function(){return t(6636)}])},6636:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>_,__N_SSP:()=>g,default:()=>A});var a=t(4848),i=t(6540),l=t(1187),r=t(4709),n=t(5165),d=t(5624),o=t(7651),c=t(557);function u(e){var s;let{media:t,setTargetMedia:l,user:u,folders:x,staticHost:j}=i.useContext(_);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,a.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,a.jsx)("h1",{className:"text-3xl m-0",children:"Media"}),(0,a.jsxs)(c.A,{children:[(0,a.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Media"})]}),(0,a.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,n.PB)("add-folder-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{children:"Add Folder"})]})]})]}),(0,a.jsx)(r.A,{user:u})]}),(null==u?void 0:null===(s=u.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(o.A,{media:t,setTargetMedia:l,folders:x,staticHost:j,user:u}),t&&t[0]&&(0,a.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,n.PB)("choose-media-type-popoup")},children:[(0,a.jsx)("span",{className:"symbol",children:"+"}),(0,a.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,a.jsx)(d.A,{})]})}var x=t(7764),j=t(6093),m=t(4003),p=t(5531),h=t(1493),N=t(5001),w=t(620),f=t(2154),g=!0;let _=i.createContext({});function A(e){let{user:s,media:t,folders:r,staticHost:n}=e,d=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[o,c]=i.useState(null),[g,A]=i.useState(null),[b,v]=i.useState(null),[y,M]=i.useState(!1),[F,C]=i.useState(null);return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(l.A,{head:d,user:s,children:(0,a.jsxs)(_.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:C,folders:r,staticHost:n},children:[y&&(0,a.jsx)(w.A,{screen:!0,title:"Processing Files ..."}),(0,a.jsx)(u,{}),(0,a.jsx)(x.A,{setNewMedia:c,setLoading:M}),(0,a.jsx)(h.A,{setNewFile:A,setLoading:M}),(0,a.jsx)(f.A,{setNewVideo:v,setLoading:M})]})}),(0,a.jsx)(j.A,{newMedia:o,setNewMedia:c,newFile:g,setNewFile:A,newVideo:b,setNewVideo:v}),(0,a.jsx)(m.A,{targetMedia:F,setTargetMedia:C,staticHost:n,media:t}),(0,a.jsx)(p.A,{}),(0,a.jsx)(N.A,{user:s})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[9799,5256,636,6593,8792],()=>s(4299)),_N_E=e.O()}]); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js b/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js similarity index 69% rename from dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js rename to dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js index d94d967..776fcc6 100644 --- a/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-44784f384aec9c72.js +++ b/dsql-app/.local_dist/static/chunks/pages/admin/[user_id]/media/[...folder]-f5953875292f54bb.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{9186:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media/[...folder]",function(){return t(2691)}])},9862:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var r=t(4848),l=t(7216);function i(){return(0,r.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,r.jsx)(l.A,{})})}t(6540)},7220:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},2691:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>v,__N_SSP:()=>g,default:()=>_});var r=t(4848),l=t(6540),i=t(1187),a=t(7764),d=t(6093),n=t(4003),o=t(5531),c=t(9862),u=t(4709),x=t(5165),j=t(5624),h=t(7651),p=t(557),m=t(7220);function f(e){var s;let{media:t,setTargetMedia:i,user:a,folders:d,query:n,staticHost:o,folder:f}=l.useContext(v);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(m.A,{size:20}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:n.folder[n.folder.length-1]})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Media"})]}),(0,r.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,x.PB)("add-folder-popoup",e=>{var s;null==e||null===(s=e.querySelector("input"))||void 0===s||s.focus()})},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Folder"})]})]})]}),(0,r.jsx)(u.A,{user:a})]}),(null==a?void 0:null===(s=a.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(h.A,{media:t,setTargetMedia:i,folders:d,folder:f,staticHost:o,user:a}),t&&t[0]&&(0,r.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,r.jsx)(j.A,{})]})}var w=t(1493),N=t(5001),A=t(620),y=t(2154),g=!0;let v=l.createContext({});function _(e){let{user:s,media:t,folders:c,query:u,staticHost:x,folderNameFull:j}=e,h=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[p,m]=l.useState(null),[g,_]=l.useState(null),[b,k]=l.useState(null),[C,M]=l.useState(!1),[S,F]=l.useState(null);return(0,r.jsx)(i.A,{head:h,user:s,children:(0,r.jsxs)(v.Provider,{value:{user:s,media:t,targetMedia:S,setTargetMedia:F,folders:c,query:u,staticHost:x,folder:j},children:[C&&(0,r.jsx)(A.A,{screen:!0,title:"Processing Files ..."}),(0,r.jsx)(f,{}),(0,r.jsx)(a.A,{setNewMedia:m,setLoading:M}),(0,r.jsx)(w.A,{setNewFile:_,setLoading:M}),(0,r.jsx)(y.A,{setNewVideo:k,setLoading:M}),(0,r.jsx)(d.A,{newMedia:p,setNewMedia:m,newFile:g,setNewFile:_,folder:j,newVideo:b,setNewVideo:k}),(0,r.jsx)(n.A,{targetMedia:S,staticHost:x,setTargetMedia:F,media:t}),(0,r.jsx)(o.A,{folder:j}),(0,r.jsx)(N.A,{user:s})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[9799,5256,636,6593,8792],()=>s(9186)),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{9186:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/[user_id]/media/[...folder]",function(){return t(2691)}])},9862:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var r=t(4848),l=t(7216);function i(){return(0,r.jsx)("button",{className:"outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",onClick:e=>{window.history.back()},children:(0,r.jsx)(l.A,{})})}t(6540)},7220:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(5737).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},2691:(e,s,t)=>{"use strict";t.r(s),t.d(s,{MediaContext:()=>v,__N_SSP:()=>g,default:()=>_});var r=t(4848),l=t(6540),i=t(1187),a=t(7764),n=t(6093),d=t(4003),o=t(5531),c=t(9862),u=t(4709),x=t(5165),j=t(5624),h=t(7651),p=t(557),m=t(7220);function f(e){var s;let{media:t,setTargetMedia:i,user:a,folders:n,query:d,staticHost:o,folder:f}=l.useContext(v);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(m.A,{size:20}),(0,r.jsx)("h1",{className:"text-3xl m-0",children:d.folder[d.folder.length-1]})]}),(0,r.jsxs)(p.A,{children:[(0,r.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Media"})]}),(0,r.jsxs)("button",{className:"flex items-center gap-2 outlined gray",onClick:e=>{(0,x.PB)("add-folder-popoup",e=>{var s;null==e||null===(s=e.querySelector("input"))||void 0===s||s.focus()})},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Folder"})]})]})]}),(0,r.jsx)(u.A,{user:a})]}),(null==a?void 0:null===(s=a.verification_status)||void 0===s?void 0:s.toString().match(/1/))?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(h.A,{media:t,setTargetMedia:i,folders:n,folder:f,staticHost:o,user:a}),t&&t[0]&&(0,r.jsxs)("a",{className:"border-dotted border-slate-400 border-2 px-4 py-3 w-full rounded flex items-center hover:border-primary/50 gap-2 cursor-pointer justify-center",onClick:e=>{(0,x.PB)("choose-media-type-popoup")},children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{className:"",children:"Add Media"})]})]}):(0,r.jsx)(j.A,{})]})}var w=t(1493),N=t(5001),A=t(620),y=t(2154),g=!0;let v=l.createContext({});function _(e){let{user:s,media:t,folders:c,query:u,staticHost:x,folderNameFull:j}=e,h=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[p,m]=l.useState(null),[g,_]=l.useState(null),[b,k]=l.useState(null),[C,M]=l.useState(!1),[F,S]=l.useState(null);return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)(i.A,{head:h,user:s,children:(0,r.jsxs)(v.Provider,{value:{user:s,media:t,targetMedia:F,setTargetMedia:S,folders:c,query:u,staticHost:x,folder:j},children:[C&&(0,r.jsx)(A.A,{screen:!0,title:"Processing Files ..."}),(0,r.jsx)(f,{}),(0,r.jsx)(a.A,{setNewMedia:m,setLoading:M}),(0,r.jsx)(w.A,{setNewFile:_,setLoading:M}),(0,r.jsx)(y.A,{setNewVideo:k,setLoading:M})]})}),(0,r.jsx)(n.A,{newMedia:p,setNewMedia:m,newFile:g,setNewFile:_,folder:j,newVideo:b,setNewVideo:k}),(0,r.jsx)(d.A,{targetMedia:F,staticHost:x,setTargetMedia:S,media:t}),(0,r.jsx)(o.A,{folder:j}),(0,r.jsx)(N.A,{user:s})]})}}},e=>{var s=s=>e(e.s=s);e.O(0,[9799,5256,636,6593,8792],()=>s(9186)),_N_E=e.O()}]); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/chunks/webpack.js b/dsql-app/.local_dist/static/chunks/webpack.js new file mode 100644 index 0000000..cf6f4b7 --- /dev/null +++ b/dsql-app/.local_dist/static/chunks/webpack.js @@ -0,0 +1,1222 @@ +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({}); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ if (cachedModule.error !== undefined) throw cachedModule.error; +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ id: moduleId, +/******/ loaded: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ var threw = true; +/******/ try { +/******/ var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; +/******/ __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); +/******/ module = execOptions.module; +/******/ execOptions.factory.call(module.exports, module, module.exports, execOptions.require); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Flag the module as loaded +/******/ module.loaded = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = __webpack_module_cache__; +/******/ +/******/ // expose the module execution interceptor +/******/ __webpack_require__.i = []; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/chunk loaded */ +/******/ (() => { +/******/ var deferred = []; +/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { +/******/ if(chunkIds) { +/******/ priority = priority || 0; +/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; +/******/ deferred[i] = [chunkIds, fn, priority]; +/******/ return; +/******/ } +/******/ var notFulfilled = Infinity; +/******/ for (var i = 0; i < deferred.length; i++) { +/******/ var [chunkIds, fn, priority] = deferred[i]; +/******/ var fulfilled = true; +/******/ for (var j = 0; j < chunkIds.length; j++) { +/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { +/******/ chunkIds.splice(j--, 1); +/******/ } else { +/******/ fulfilled = false; +/******/ if(priority < notFulfilled) notFulfilled = priority; +/******/ } +/******/ } +/******/ if(fulfilled) { +/******/ deferred.splice(i--, 1) +/******/ var r = fn(); +/******/ if (r !== undefined) result = r; +/******/ } +/******/ } +/******/ return result; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/get javascript update chunk filename */ +/******/ (() => { +/******/ // This function allow to reference all chunks +/******/ __webpack_require__.hu = (chunkId) => { +/******/ // return url for filenames based on template +/******/ return "static/webpack/" + chunkId + "." + __webpack_require__.h() + ".hot-update.js"; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/get update manifest filename */ +/******/ (() => { +/******/ __webpack_require__.hmrF = () => ("static/webpack/" + __webpack_require__.h() + ".webpack.hot-update.json"); +/******/ })(); +/******/ +/******/ /* webpack/runtime/getFullHash */ +/******/ (() => { +/******/ __webpack_require__.h = () => ("77df37b8f24b04bb") +/******/ })(); +/******/ +/******/ /* webpack/runtime/global */ +/******/ (() => { +/******/ __webpack_require__.g = (function() { +/******/ if (typeof globalThis === 'object') return globalThis; +/******/ try { +/******/ return this || new Function('return this')(); +/******/ } catch (e) { +/******/ if (typeof window === 'object') return window; +/******/ } +/******/ })(); +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/load script */ +/******/ (() => { +/******/ var inProgress = {}; +/******/ var dataWebpackPrefix = "_N_E:"; +/******/ // loadScript function to load a script via script tag +/******/ __webpack_require__.l = (url, done, key, chunkId) => { +/******/ if(inProgress[url]) { inProgress[url].push(done); return; } +/******/ var script, needAttach; +/******/ if(key !== undefined) { +/******/ var scripts = document.getElementsByTagName("script"); +/******/ for(var i = 0; i < scripts.length; i++) { +/******/ var s = scripts[i]; +/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; } +/******/ } +/******/ } +/******/ if(!script) { +/******/ needAttach = true; +/******/ script = document.createElement('script'); +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key); +/******/ +/******/ script.src = __webpack_require__.tu(url); +/******/ } +/******/ inProgress[url] = [done]; +/******/ var onScriptComplete = (prev, event) => { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var doneFns = inProgress[url]; +/******/ delete inProgress[url]; +/******/ script.parentNode && script.parentNode.removeChild(script); +/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ if(prev) return prev(event); +/******/ } +/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(null, script.onerror); +/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ needAttach && document.head.appendChild(script); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/node module decorator */ +/******/ (() => { +/******/ __webpack_require__.nmd = (module) => { +/******/ module.paths = []; +/******/ if (!module.children) module.children = []; +/******/ return module; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/trusted types policy */ +/******/ (() => { +/******/ var policy; +/******/ __webpack_require__.tt = () => { +/******/ // Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet. +/******/ if (policy === undefined) { +/******/ policy = { +/******/ createScript: (script) => (script), +/******/ createScriptURL: (url) => (url) +/******/ }; +/******/ if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) { +/******/ policy = trustedTypes.createPolicy("nextjs#bundler", policy); +/******/ } +/******/ } +/******/ return policy; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/trusted types script */ +/******/ (() => { +/******/ __webpack_require__.ts = (script) => (__webpack_require__.tt().createScript(script)); +/******/ })(); +/******/ +/******/ /* webpack/runtime/trusted types script url */ +/******/ (() => { +/******/ __webpack_require__.tu = (url) => (__webpack_require__.tt().createScriptURL(url)); +/******/ })(); +/******/ +/******/ /* webpack/runtime/hot module replacement */ +/******/ (() => { +/******/ var currentModuleData = {}; +/******/ var installedModules = __webpack_require__.c; +/******/ +/******/ // module and require creation +/******/ var currentChildModule; +/******/ var currentParents = []; +/******/ +/******/ // status +/******/ var registeredStatusHandlers = []; +/******/ var currentStatus = "idle"; +/******/ +/******/ // while downloading +/******/ var blockingPromises = 0; +/******/ var blockingPromisesWaiting = []; +/******/ +/******/ // The update info +/******/ var currentUpdateApplyHandlers; +/******/ var queuedInvalidatedModules; +/******/ +/******/ __webpack_require__.hmrD = currentModuleData; +/******/ +/******/ __webpack_require__.i.push(function (options) { +/******/ var module = options.module; +/******/ var require = createRequire(options.require, options.id); +/******/ module.hot = createModuleHotObject(options.id, module); +/******/ module.parents = currentParents; +/******/ module.children = []; +/******/ currentParents = []; +/******/ options.require = require; +/******/ }); +/******/ +/******/ __webpack_require__.hmrC = {}; +/******/ __webpack_require__.hmrI = {}; +/******/ +/******/ function createRequire(require, moduleId) { +/******/ var me = installedModules[moduleId]; +/******/ if (!me) return require; +/******/ var fn = function (request) { +/******/ if (me.hot.active) { +/******/ if (installedModules[request]) { +/******/ var parents = installedModules[request].parents; +/******/ if (parents.indexOf(moduleId) === -1) { +/******/ parents.push(moduleId); +/******/ } +/******/ } else { +/******/ currentParents = [moduleId]; +/******/ currentChildModule = request; +/******/ } +/******/ if (me.children.indexOf(request) === -1) { +/******/ me.children.push(request); +/******/ } +/******/ } else { +/******/ console.warn( +/******/ "[HMR] unexpected require(" + +/******/ request + +/******/ ") from disposed module " + +/******/ moduleId +/******/ ); +/******/ currentParents = []; +/******/ } +/******/ return require(request); +/******/ }; +/******/ var createPropertyDescriptor = function (name) { +/******/ return { +/******/ configurable: true, +/******/ enumerable: true, +/******/ get: function () { +/******/ return require[name]; +/******/ }, +/******/ set: function (value) { +/******/ require[name] = value; +/******/ } +/******/ }; +/******/ }; +/******/ for (var name in require) { +/******/ if (Object.prototype.hasOwnProperty.call(require, name) && name !== "e") { +/******/ Object.defineProperty(fn, name, createPropertyDescriptor(name)); +/******/ } +/******/ } +/******/ fn.e = function (chunkId, fetchPriority) { +/******/ return trackBlockingPromise(require.e(chunkId, fetchPriority)); +/******/ }; +/******/ return fn; +/******/ } +/******/ +/******/ function createModuleHotObject(moduleId, me) { +/******/ var _main = currentChildModule !== moduleId; +/******/ var hot = { +/******/ // private stuff +/******/ _acceptedDependencies: {}, +/******/ _acceptedErrorHandlers: {}, +/******/ _declinedDependencies: {}, +/******/ _selfAccepted: false, +/******/ _selfDeclined: false, +/******/ _selfInvalidated: false, +/******/ _disposeHandlers: [], +/******/ _main: _main, +/******/ _requireSelf: function () { +/******/ currentParents = me.parents.slice(); +/******/ currentChildModule = _main ? undefined : moduleId; +/******/ __webpack_require__(moduleId); +/******/ }, +/******/ +/******/ // Module API +/******/ active: true, +/******/ accept: function (dep, callback, errorHandler) { +/******/ if (dep === undefined) hot._selfAccepted = true; +/******/ else if (typeof dep === "function") hot._selfAccepted = dep; +/******/ else if (typeof dep === "object" && dep !== null) { +/******/ for (var i = 0; i < dep.length; i++) { +/******/ hot._acceptedDependencies[dep[i]] = callback || function () {}; +/******/ hot._acceptedErrorHandlers[dep[i]] = errorHandler; +/******/ } +/******/ } else { +/******/ hot._acceptedDependencies[dep] = callback || function () {}; +/******/ hot._acceptedErrorHandlers[dep] = errorHandler; +/******/ } +/******/ }, +/******/ decline: function (dep) { +/******/ if (dep === undefined) hot._selfDeclined = true; +/******/ else if (typeof dep === "object" && dep !== null) +/******/ for (var i = 0; i < dep.length; i++) +/******/ hot._declinedDependencies[dep[i]] = true; +/******/ else hot._declinedDependencies[dep] = true; +/******/ }, +/******/ dispose: function (callback) { +/******/ hot._disposeHandlers.push(callback); +/******/ }, +/******/ addDisposeHandler: function (callback) { +/******/ hot._disposeHandlers.push(callback); +/******/ }, +/******/ removeDisposeHandler: function (callback) { +/******/ var idx = hot._disposeHandlers.indexOf(callback); +/******/ if (idx >= 0) hot._disposeHandlers.splice(idx, 1); +/******/ }, +/******/ invalidate: function () { +/******/ this._selfInvalidated = true; +/******/ switch (currentStatus) { +/******/ case "idle": +/******/ currentUpdateApplyHandlers = []; +/******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { +/******/ __webpack_require__.hmrI[key]( +/******/ moduleId, +/******/ currentUpdateApplyHandlers +/******/ ); +/******/ }); +/******/ setStatus("ready"); +/******/ break; +/******/ case "ready": +/******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { +/******/ __webpack_require__.hmrI[key]( +/******/ moduleId, +/******/ currentUpdateApplyHandlers +/******/ ); +/******/ }); +/******/ break; +/******/ case "prepare": +/******/ case "check": +/******/ case "dispose": +/******/ case "apply": +/******/ (queuedInvalidatedModules = queuedInvalidatedModules || []).push( +/******/ moduleId +/******/ ); +/******/ break; +/******/ default: +/******/ // ignore requests in error states +/******/ break; +/******/ } +/******/ }, +/******/ +/******/ // Management API +/******/ check: hotCheck, +/******/ apply: hotApply, +/******/ status: function (l) { +/******/ if (!l) return currentStatus; +/******/ registeredStatusHandlers.push(l); +/******/ }, +/******/ addStatusHandler: function (l) { +/******/ registeredStatusHandlers.push(l); +/******/ }, +/******/ removeStatusHandler: function (l) { +/******/ var idx = registeredStatusHandlers.indexOf(l); +/******/ if (idx >= 0) registeredStatusHandlers.splice(idx, 1); +/******/ }, +/******/ +/******/ // inherit from previous dispose call +/******/ data: currentModuleData[moduleId] +/******/ }; +/******/ currentChildModule = undefined; +/******/ return hot; +/******/ } +/******/ +/******/ function setStatus(newStatus) { +/******/ currentStatus = newStatus; +/******/ var results = []; +/******/ +/******/ for (var i = 0; i < registeredStatusHandlers.length; i++) +/******/ results[i] = registeredStatusHandlers[i].call(null, newStatus); +/******/ +/******/ return Promise.all(results).then(function () {}); +/******/ } +/******/ +/******/ function unblock() { +/******/ if (--blockingPromises === 0) { +/******/ setStatus("ready").then(function () { +/******/ if (blockingPromises === 0) { +/******/ var list = blockingPromisesWaiting; +/******/ blockingPromisesWaiting = []; +/******/ for (var i = 0; i < list.length; i++) { +/******/ list[i](); +/******/ } +/******/ } +/******/ }); +/******/ } +/******/ } +/******/ +/******/ function trackBlockingPromise(promise) { +/******/ switch (currentStatus) { +/******/ case "ready": +/******/ setStatus("prepare"); +/******/ /* fallthrough */ +/******/ case "prepare": +/******/ blockingPromises++; +/******/ promise.then(unblock, unblock); +/******/ return promise; +/******/ default: +/******/ return promise; +/******/ } +/******/ } +/******/ +/******/ function waitForBlockingPromises(fn) { +/******/ if (blockingPromises === 0) return fn(); +/******/ return new Promise(function (resolve) { +/******/ blockingPromisesWaiting.push(function () { +/******/ resolve(fn()); +/******/ }); +/******/ }); +/******/ } +/******/ +/******/ function hotCheck(applyOnUpdate) { +/******/ if (currentStatus !== "idle") { +/******/ throw new Error("check() is only allowed in idle status"); +/******/ } +/******/ return setStatus("check") +/******/ .then(__webpack_require__.hmrM) +/******/ .then(function (update) { +/******/ if (!update) { +/******/ return setStatus(applyInvalidatedModules() ? "ready" : "idle").then( +/******/ function () { +/******/ return null; +/******/ } +/******/ ); +/******/ } +/******/ +/******/ return setStatus("prepare").then(function () { +/******/ var updatedModules = []; +/******/ currentUpdateApplyHandlers = []; +/******/ +/******/ return Promise.all( +/******/ Object.keys(__webpack_require__.hmrC).reduce(function ( +/******/ promises, +/******/ key +/******/ ) { +/******/ __webpack_require__.hmrC[key]( +/******/ update.c, +/******/ update.r, +/******/ update.m, +/******/ promises, +/******/ currentUpdateApplyHandlers, +/******/ updatedModules +/******/ ); +/******/ return promises; +/******/ }, []) +/******/ ).then(function () { +/******/ return waitForBlockingPromises(function () { +/******/ if (applyOnUpdate) { +/******/ return internalApply(applyOnUpdate); +/******/ } +/******/ return setStatus("ready").then(function () { +/******/ return updatedModules; +/******/ }); +/******/ }); +/******/ }); +/******/ }); +/******/ }); +/******/ } +/******/ +/******/ function hotApply(options) { +/******/ if (currentStatus !== "ready") { +/******/ return Promise.resolve().then(function () { +/******/ throw new Error( +/******/ "apply() is only allowed in ready status (state: " + +/******/ currentStatus + +/******/ ")" +/******/ ); +/******/ }); +/******/ } +/******/ return internalApply(options); +/******/ } +/******/ +/******/ function internalApply(options) { +/******/ options = options || {}; +/******/ +/******/ applyInvalidatedModules(); +/******/ +/******/ var results = currentUpdateApplyHandlers.map(function (handler) { +/******/ return handler(options); +/******/ }); +/******/ currentUpdateApplyHandlers = undefined; +/******/ +/******/ var errors = results +/******/ .map(function (r) { +/******/ return r.error; +/******/ }) +/******/ .filter(Boolean); +/******/ +/******/ if (errors.length > 0) { +/******/ return setStatus("abort").then(function () { +/******/ throw errors[0]; +/******/ }); +/******/ } +/******/ +/******/ // Now in "dispose" phase +/******/ var disposePromise = setStatus("dispose"); +/******/ +/******/ results.forEach(function (result) { +/******/ if (result.dispose) result.dispose(); +/******/ }); +/******/ +/******/ // Now in "apply" phase +/******/ var applyPromise = setStatus("apply"); +/******/ +/******/ var error; +/******/ var reportError = function (err) { +/******/ if (!error) error = err; +/******/ }; +/******/ +/******/ var outdatedModules = []; +/******/ results.forEach(function (result) { +/******/ if (result.apply) { +/******/ var modules = result.apply(reportError); +/******/ if (modules) { +/******/ for (var i = 0; i < modules.length; i++) { +/******/ outdatedModules.push(modules[i]); +/******/ } +/******/ } +/******/ } +/******/ }); +/******/ +/******/ return Promise.all([disposePromise, applyPromise]).then(function () { +/******/ // handle errors in accept handlers and self accepted module load +/******/ if (error) { +/******/ return setStatus("fail").then(function () { +/******/ throw error; +/******/ }); +/******/ } +/******/ +/******/ if (queuedInvalidatedModules) { +/******/ return internalApply(options).then(function (list) { +/******/ outdatedModules.forEach(function (moduleId) { +/******/ if (list.indexOf(moduleId) < 0) list.push(moduleId); +/******/ }); +/******/ return list; +/******/ }); +/******/ } +/******/ +/******/ return setStatus("idle").then(function () { +/******/ return outdatedModules; +/******/ }); +/******/ }); +/******/ } +/******/ +/******/ function applyInvalidatedModules() { +/******/ if (queuedInvalidatedModules) { +/******/ if (!currentUpdateApplyHandlers) currentUpdateApplyHandlers = []; +/******/ Object.keys(__webpack_require__.hmrI).forEach(function (key) { +/******/ queuedInvalidatedModules.forEach(function (moduleId) { +/******/ __webpack_require__.hmrI[key]( +/******/ moduleId, +/******/ currentUpdateApplyHandlers +/******/ ); +/******/ }); +/******/ }); +/******/ queuedInvalidatedModules = undefined; +/******/ return true; +/******/ } +/******/ } +/******/ })(); +/******/ +/******/ /* webpack/runtime/publicPath */ +/******/ (() => { +/******/ __webpack_require__.p = "/_next/"; +/******/ })(); +/******/ +/******/ /* webpack/runtime/react refresh */ +/******/ (() => { +/******/ if (__webpack_require__.i) { +/******/ __webpack_require__.i.push((options) => { +/******/ const originalFactory = options.factory; +/******/ options.factory = (moduleObject, moduleExports, webpackRequire) => { +/******/ const hasRefresh = typeof self !== "undefined" && !!self.$RefreshInterceptModuleExecution$; +/******/ const cleanup = hasRefresh ? self.$RefreshInterceptModuleExecution$(moduleObject.id) : () => {}; +/******/ try { +/******/ originalFactory.call(this, moduleObject, moduleExports, webpackRequire); +/******/ } finally { +/******/ cleanup(); +/******/ } +/******/ } +/******/ }) +/******/ } +/******/ })(); +/******/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ +/******/ // noop fns to prevent runtime errors during initialization +/******/ if (typeof self !== "undefined") { +/******/ self.$RefreshReg$ = function () {}; +/******/ self.$RefreshSig$ = function () { +/******/ return function (type) { +/******/ return type; +/******/ }; +/******/ }; +/******/ } +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = __webpack_require__.hmrS_jsonp = __webpack_require__.hmrS_jsonp || { +/******/ "webpack": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ var currentUpdatedModulesList; +/******/ var waitingUpdateResolves = {}; +/******/ function loadUpdateChunk(chunkId, updatedModulesList) { +/******/ currentUpdatedModulesList = updatedModulesList; +/******/ return new Promise((resolve, reject) => { +/******/ waitingUpdateResolves[chunkId] = resolve; +/******/ // start update chunk loading +/******/ var url = __webpack_require__.p + __webpack_require__.hu(chunkId); +/******/ // create error before stack unwound to get useful stacktrace later +/******/ var error = new Error(); +/******/ var loadingEnded = (event) => { +/******/ if(waitingUpdateResolves[chunkId]) { +/******/ waitingUpdateResolves[chunkId] = undefined +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ error.message = 'Loading hot update chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'; +/******/ error.name = 'ChunkLoadError'; +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ reject(error); +/******/ } +/******/ }; +/******/ __webpack_require__.l(url, loadingEnded); +/******/ }); +/******/ } +/******/ +/******/ self["webpackHotUpdate_N_E"] = (chunkId, moreModules, runtime) => { +/******/ for(var moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ currentUpdate[moduleId] = moreModules[moduleId]; +/******/ if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId); +/******/ } +/******/ } +/******/ if(runtime) currentUpdateRuntime.push(runtime); +/******/ if(waitingUpdateResolves[chunkId]) { +/******/ waitingUpdateResolves[chunkId](); +/******/ waitingUpdateResolves[chunkId] = undefined; +/******/ } +/******/ }; +/******/ +/******/ var currentUpdateChunks; +/******/ var currentUpdate; +/******/ var currentUpdateRemovedChunks; +/******/ var currentUpdateRuntime; +/******/ function applyHandler(options) { +/******/ if (__webpack_require__.f) delete __webpack_require__.f.jsonpHmr; +/******/ currentUpdateChunks = undefined; +/******/ function getAffectedModuleEffects(updateModuleId) { +/******/ var outdatedModules = [updateModuleId]; +/******/ var outdatedDependencies = {}; +/******/ +/******/ var queue = outdatedModules.map(function (id) { +/******/ return { +/******/ chain: [id], +/******/ id: id +/******/ }; +/******/ }); +/******/ while (queue.length > 0) { +/******/ var queueItem = queue.pop(); +/******/ var moduleId = queueItem.id; +/******/ var chain = queueItem.chain; +/******/ var module = __webpack_require__.c[moduleId]; +/******/ if ( +/******/ !module || +/******/ (module.hot._selfAccepted && !module.hot._selfInvalidated) +/******/ ) +/******/ continue; +/******/ if (module.hot._selfDeclined) { +/******/ return { +/******/ type: "self-declined", +/******/ chain: chain, +/******/ moduleId: moduleId +/******/ }; +/******/ } +/******/ if (module.hot._main) { +/******/ return { +/******/ type: "unaccepted", +/******/ chain: chain, +/******/ moduleId: moduleId +/******/ }; +/******/ } +/******/ for (var i = 0; i < module.parents.length; i++) { +/******/ var parentId = module.parents[i]; +/******/ var parent = __webpack_require__.c[parentId]; +/******/ if (!parent) continue; +/******/ if (parent.hot._declinedDependencies[moduleId]) { +/******/ return { +/******/ type: "declined", +/******/ chain: chain.concat([parentId]), +/******/ moduleId: moduleId, +/******/ parentId: parentId +/******/ }; +/******/ } +/******/ if (outdatedModules.indexOf(parentId) !== -1) continue; +/******/ if (parent.hot._acceptedDependencies[moduleId]) { +/******/ if (!outdatedDependencies[parentId]) +/******/ outdatedDependencies[parentId] = []; +/******/ addAllToSet(outdatedDependencies[parentId], [moduleId]); +/******/ continue; +/******/ } +/******/ delete outdatedDependencies[parentId]; +/******/ outdatedModules.push(parentId); +/******/ queue.push({ +/******/ chain: chain.concat([parentId]), +/******/ id: parentId +/******/ }); +/******/ } +/******/ } +/******/ +/******/ return { +/******/ type: "accepted", +/******/ moduleId: updateModuleId, +/******/ outdatedModules: outdatedModules, +/******/ outdatedDependencies: outdatedDependencies +/******/ }; +/******/ } +/******/ +/******/ function addAllToSet(a, b) { +/******/ for (var i = 0; i < b.length; i++) { +/******/ var item = b[i]; +/******/ if (a.indexOf(item) === -1) a.push(item); +/******/ } +/******/ } +/******/ +/******/ // at begin all updates modules are outdated +/******/ // the "outdated" status can propagate to parents if they don't accept the children +/******/ var outdatedDependencies = {}; +/******/ var outdatedModules = []; +/******/ var appliedUpdate = {}; +/******/ +/******/ var warnUnexpectedRequire = function warnUnexpectedRequire(module) { +/******/ console.warn( +/******/ "[HMR] unexpected require(" + module.id + ") to disposed module" +/******/ ); +/******/ }; +/******/ +/******/ for (var moduleId in currentUpdate) { +/******/ if (__webpack_require__.o(currentUpdate, moduleId)) { +/******/ var newModuleFactory = currentUpdate[moduleId]; +/******/ /** @type {TODO} */ +/******/ var result = newModuleFactory +/******/ ? getAffectedModuleEffects(moduleId) +/******/ : { +/******/ type: "disposed", +/******/ moduleId: moduleId +/******/ }; +/******/ /** @type {Error|false} */ +/******/ var abortError = false; +/******/ var doApply = false; +/******/ var doDispose = false; +/******/ var chainInfo = ""; +/******/ if (result.chain) { +/******/ chainInfo = "\nUpdate propagation: " + result.chain.join(" -> "); +/******/ } +/******/ switch (result.type) { +/******/ case "self-declined": +/******/ if (options.onDeclined) options.onDeclined(result); +/******/ if (!options.ignoreDeclined) +/******/ abortError = new Error( +/******/ "Aborted because of self decline: " + +/******/ result.moduleId + +/******/ chainInfo +/******/ ); +/******/ break; +/******/ case "declined": +/******/ if (options.onDeclined) options.onDeclined(result); +/******/ if (!options.ignoreDeclined) +/******/ abortError = new Error( +/******/ "Aborted because of declined dependency: " + +/******/ result.moduleId + +/******/ " in " + +/******/ result.parentId + +/******/ chainInfo +/******/ ); +/******/ break; +/******/ case "unaccepted": +/******/ if (options.onUnaccepted) options.onUnaccepted(result); +/******/ if (!options.ignoreUnaccepted) +/******/ abortError = new Error( +/******/ "Aborted because " + moduleId + " is not accepted" + chainInfo +/******/ ); +/******/ break; +/******/ case "accepted": +/******/ if (options.onAccepted) options.onAccepted(result); +/******/ doApply = true; +/******/ break; +/******/ case "disposed": +/******/ if (options.onDisposed) options.onDisposed(result); +/******/ doDispose = true; +/******/ break; +/******/ default: +/******/ throw new Error("Unexception type " + result.type); +/******/ } +/******/ if (abortError) { +/******/ return { +/******/ error: abortError +/******/ }; +/******/ } +/******/ if (doApply) { +/******/ appliedUpdate[moduleId] = newModuleFactory; +/******/ addAllToSet(outdatedModules, result.outdatedModules); +/******/ for (moduleId in result.outdatedDependencies) { +/******/ if (__webpack_require__.o(result.outdatedDependencies, moduleId)) { +/******/ if (!outdatedDependencies[moduleId]) +/******/ outdatedDependencies[moduleId] = []; +/******/ addAllToSet( +/******/ outdatedDependencies[moduleId], +/******/ result.outdatedDependencies[moduleId] +/******/ ); +/******/ } +/******/ } +/******/ } +/******/ if (doDispose) { +/******/ addAllToSet(outdatedModules, [result.moduleId]); +/******/ appliedUpdate[moduleId] = warnUnexpectedRequire; +/******/ } +/******/ } +/******/ } +/******/ currentUpdate = undefined; +/******/ +/******/ // Store self accepted outdated modules to require them later by the module system +/******/ var outdatedSelfAcceptedModules = []; +/******/ for (var j = 0; j < outdatedModules.length; j++) { +/******/ var outdatedModuleId = outdatedModules[j]; +/******/ var module = __webpack_require__.c[outdatedModuleId]; +/******/ if ( +/******/ module && +/******/ (module.hot._selfAccepted || module.hot._main) && +/******/ // removed self-accepted modules should not be required +/******/ appliedUpdate[outdatedModuleId] !== warnUnexpectedRequire && +/******/ // when called invalidate self-accepting is not possible +/******/ !module.hot._selfInvalidated +/******/ ) { +/******/ outdatedSelfAcceptedModules.push({ +/******/ module: outdatedModuleId, +/******/ require: module.hot._requireSelf, +/******/ errorHandler: module.hot._selfAccepted +/******/ }); +/******/ } +/******/ } +/******/ +/******/ var moduleOutdatedDependencies; +/******/ +/******/ return { +/******/ dispose: function () { +/******/ currentUpdateRemovedChunks.forEach(function (chunkId) { +/******/ delete installedChunks[chunkId]; +/******/ }); +/******/ currentUpdateRemovedChunks = undefined; +/******/ +/******/ var idx; +/******/ var queue = outdatedModules.slice(); +/******/ while (queue.length > 0) { +/******/ var moduleId = queue.pop(); +/******/ var module = __webpack_require__.c[moduleId]; +/******/ if (!module) continue; +/******/ +/******/ var data = {}; +/******/ +/******/ // Call dispose handlers +/******/ var disposeHandlers = module.hot._disposeHandlers; +/******/ for (j = 0; j < disposeHandlers.length; j++) { +/******/ disposeHandlers[j].call(null, data); +/******/ } +/******/ __webpack_require__.hmrD[moduleId] = data; +/******/ +/******/ // disable module (this disables requires from this module) +/******/ module.hot.active = false; +/******/ +/******/ // remove module from cache +/******/ delete __webpack_require__.c[moduleId]; +/******/ +/******/ // when disposing there is no need to call dispose handler +/******/ delete outdatedDependencies[moduleId]; +/******/ +/******/ // remove "parents" references from all children +/******/ for (j = 0; j < module.children.length; j++) { +/******/ var child = __webpack_require__.c[module.children[j]]; +/******/ if (!child) continue; +/******/ idx = child.parents.indexOf(moduleId); +/******/ if (idx >= 0) { +/******/ child.parents.splice(idx, 1); +/******/ } +/******/ } +/******/ } +/******/ +/******/ // remove outdated dependency from module children +/******/ var dependency; +/******/ for (var outdatedModuleId in outdatedDependencies) { +/******/ if (__webpack_require__.o(outdatedDependencies, outdatedModuleId)) { +/******/ module = __webpack_require__.c[outdatedModuleId]; +/******/ if (module) { +/******/ moduleOutdatedDependencies = +/******/ outdatedDependencies[outdatedModuleId]; +/******/ for (j = 0; j < moduleOutdatedDependencies.length; j++) { +/******/ dependency = moduleOutdatedDependencies[j]; +/******/ idx = module.children.indexOf(dependency); +/******/ if (idx >= 0) module.children.splice(idx, 1); +/******/ } +/******/ } +/******/ } +/******/ } +/******/ }, +/******/ apply: function (reportError) { +/******/ // insert new code +/******/ for (var updateModuleId in appliedUpdate) { +/******/ if (__webpack_require__.o(appliedUpdate, updateModuleId)) { +/******/ __webpack_require__.m[updateModuleId] = appliedUpdate[updateModuleId]; +/******/ } +/******/ } +/******/ +/******/ // run new runtime modules +/******/ for (var i = 0; i < currentUpdateRuntime.length; i++) { +/******/ currentUpdateRuntime[i](__webpack_require__); +/******/ } +/******/ +/******/ // call accept handlers +/******/ for (var outdatedModuleId in outdatedDependencies) { +/******/ if (__webpack_require__.o(outdatedDependencies, outdatedModuleId)) { +/******/ var module = __webpack_require__.c[outdatedModuleId]; +/******/ if (module) { +/******/ moduleOutdatedDependencies = +/******/ outdatedDependencies[outdatedModuleId]; +/******/ var callbacks = []; +/******/ var errorHandlers = []; +/******/ var dependenciesForCallbacks = []; +/******/ for (var j = 0; j < moduleOutdatedDependencies.length; j++) { +/******/ var dependency = moduleOutdatedDependencies[j]; +/******/ var acceptCallback = +/******/ module.hot._acceptedDependencies[dependency]; +/******/ var errorHandler = +/******/ module.hot._acceptedErrorHandlers[dependency]; +/******/ if (acceptCallback) { +/******/ if (callbacks.indexOf(acceptCallback) !== -1) continue; +/******/ callbacks.push(acceptCallback); +/******/ errorHandlers.push(errorHandler); +/******/ dependenciesForCallbacks.push(dependency); +/******/ } +/******/ } +/******/ for (var k = 0; k < callbacks.length; k++) { +/******/ try { +/******/ callbacks[k].call(null, moduleOutdatedDependencies); +/******/ } catch (err) { +/******/ if (typeof errorHandlers[k] === "function") { +/******/ try { +/******/ errorHandlers[k](err, { +/******/ moduleId: outdatedModuleId, +/******/ dependencyId: dependenciesForCallbacks[k] +/******/ }); +/******/ } catch (err2) { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "accept-error-handler-errored", +/******/ moduleId: outdatedModuleId, +/******/ dependencyId: dependenciesForCallbacks[k], +/******/ error: err2, +/******/ originalError: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ reportError(err2); +/******/ reportError(err); +/******/ } +/******/ } +/******/ } else { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "accept-errored", +/******/ moduleId: outdatedModuleId, +/******/ dependencyId: dependenciesForCallbacks[k], +/******/ error: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ reportError(err); +/******/ } +/******/ } +/******/ } +/******/ } +/******/ } +/******/ } +/******/ } +/******/ +/******/ // Load self accepted modules +/******/ for (var o = 0; o < outdatedSelfAcceptedModules.length; o++) { +/******/ var item = outdatedSelfAcceptedModules[o]; +/******/ var moduleId = item.module; +/******/ try { +/******/ item.require(moduleId); +/******/ } catch (err) { +/******/ if (typeof item.errorHandler === "function") { +/******/ try { +/******/ item.errorHandler(err, { +/******/ moduleId: moduleId, +/******/ module: __webpack_require__.c[moduleId] +/******/ }); +/******/ } catch (err1) { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "self-accept-error-handler-errored", +/******/ moduleId: moduleId, +/******/ error: err1, +/******/ originalError: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ reportError(err1); +/******/ reportError(err); +/******/ } +/******/ } +/******/ } else { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "self-accept-errored", +/******/ moduleId: moduleId, +/******/ error: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ reportError(err); +/******/ } +/******/ } +/******/ } +/******/ } +/******/ +/******/ return outdatedModules; +/******/ } +/******/ }; +/******/ } +/******/ __webpack_require__.hmrI.jsonp = function (moduleId, applyHandlers) { +/******/ if (!currentUpdate) { +/******/ currentUpdate = {}; +/******/ currentUpdateRuntime = []; +/******/ currentUpdateRemovedChunks = []; +/******/ applyHandlers.push(applyHandler); +/******/ } +/******/ if (!__webpack_require__.o(currentUpdate, moduleId)) { +/******/ currentUpdate[moduleId] = __webpack_require__.m[moduleId]; +/******/ } +/******/ }; +/******/ __webpack_require__.hmrC.jsonp = function ( +/******/ chunkIds, +/******/ removedChunks, +/******/ removedModules, +/******/ promises, +/******/ applyHandlers, +/******/ updatedModulesList +/******/ ) { +/******/ applyHandlers.push(applyHandler); +/******/ currentUpdateChunks = {}; +/******/ currentUpdateRemovedChunks = removedChunks; +/******/ currentUpdate = removedModules.reduce(function (obj, key) { +/******/ obj[key] = false; +/******/ return obj; +/******/ }, {}); +/******/ currentUpdateRuntime = []; +/******/ chunkIds.forEach(function (chunkId) { +/******/ if ( +/******/ __webpack_require__.o(installedChunks, chunkId) && +/******/ installedChunks[chunkId] !== undefined +/******/ ) { +/******/ promises.push(loadUpdateChunk(chunkId, updatedModulesList)); +/******/ currentUpdateChunks[chunkId] = true; +/******/ } else { +/******/ currentUpdateChunks[chunkId] = false; +/******/ } +/******/ }); +/******/ if (__webpack_require__.f) { +/******/ __webpack_require__.f.jsonpHmr = function (chunkId, promises) { +/******/ if ( +/******/ currentUpdateChunks && +/******/ __webpack_require__.o(currentUpdateChunks, chunkId) && +/******/ !currentUpdateChunks[chunkId] +/******/ ) { +/******/ promises.push(loadUpdateChunk(chunkId)); +/******/ currentUpdateChunks[chunkId] = true; +/******/ } +/******/ }; +/******/ } +/******/ }; +/******/ +/******/ __webpack_require__.hmrM = () => { +/******/ if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API"); +/******/ return fetch(__webpack_require__.p + __webpack_require__.hmrF()).then((response) => { +/******/ if(response.status === 404) return; // no update available +/******/ if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText); +/******/ return response.json(); +/******/ }); +/******/ }; +/******/ +/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); +/******/ +/******/ // install a JSONP callback for chunk loading +/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ var [chunkIds, moreModules, runtime] = data; +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0; +/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { +/******/ for(moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) var result = runtime(__webpack_require__); +/******/ } +/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { +/******/ installedChunks[chunkId][0](); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ return __webpack_require__.O(result); +/******/ } +/******/ +/******/ var chunkLoadingGlobal = self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []; +/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); +/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); +/******/ })(); +/******/ +/******/ /* webpack/runtime/nonce */ +/******/ (() => { +/******/ __webpack_require__.nc = undefined; +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // module cache are used so entry inlining is disabled +/******/ +/******/ })() +; \ No newline at end of file diff --git a/dsql-app/.local_dist/static/css/59f9d939bb2b7c23.css b/dsql-app/.local_dist/static/css/40a7197d287e4ac0.css similarity index 59% rename from dsql-app/.local_dist/static/css/59f9d939bb2b7c23.css rename to dsql-app/.local_dist/static/css/40a7197d287e4ac0.css index 87eeb06..ff71fd7 100644 --- a/dsql-app/.local_dist/static/css/59f9d939bb2b7c23.css +++ b/dsql-app/.local_dist/static/css/40a7197d287e4ac0.css @@ -1 +1 @@ -:root{--primary:#1059b8;--secondary:#00948a;--main-color:#00948a;--main-color-lighter:#31aaa2;--main-color-darker:#00776f;--main-color-darker-2:#0b5a55;--main-color-dark:#0c3d3a;--main-color-dark-lighter:#3b2a4b;--main-color-dark-lighter-2:#4b286b;--main-color-dark-lighter-3:#5a278a;--sec-color:#107ab8;--sec-color-lighter:#47a2d6;--sec-color-light:#bfe3f8;--sec-color-darker:#0b8862;--sec-color-2:#66ced6;--sec-color-2-darker:#169286;--text-color:#242527;--light-color:#d3dae4;--dark-color:#120e16;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-400:#94a3b8;--slate-500:#64748b;--slate-600:#475569;--slate-700:#334155;--slate-800:#1e293b;--slate-900:#0f172a;--warning-color:#ec9176}.swiper-wrapper{gap:0}.tox .tox-sidebar-wrap{width:100%}.tox .tox-edit-area{height:100%;padding:10px 20px}.tox .tox-edit-area iframe{position:relative}.tox-tinymce{background-color:#fff}.tox-collection__group{display:flex;flex-direction:column;align-items:stretch;gap:20px}.tox .tox-edit-area,.tox .tox-edit-area iframe,.tox .tox-editor-container,.tox .tox-editor-container>*,.tox .tox-statusbar{width:100%}.tox .tox-statusbar__right-container{padding-right:10px!important}.tox:not(.tox-tinymce-inline) .tox-editor-header{overflow-x:auto}nav a{font-weight:400}header.dark-content{background-color:var(--dark-color);color:#fff}header.dark-content.hero-overlay{background-color:transparent;position:absolute}header.dark-content #main-header-logo-link-block *,header.dark-content nav a{color:#fff}header.dark-content nav a:hover{color:var(--slate-400)}ol,ul{display:flex;flex-direction:column;align-items:flex-start;gap:20px}li a{display:block}footer{border-top:1px solid var(--slate-200)}html.dark footer{border-top:1px solid var(--slate-700)}footer a{color:var(--sec-color);font-size:14px}footer a:hover{opacity:.5}#theme-selector-wrapper{cursor:pointer}#theme-selector-graphic-wrapper{outline-color:transparent;outline-style:solid;outline-width:2px;background-color:var(--slate-200)}html.dark #theme-selector-graphic-wrapper{background-color:var(--slate-700)}#theme-selector-wrapper:hover #theme-selector-graphic-wrapper{outline-color:var(--slate-300)}html.dark #theme-selector-wrapper:hover #theme-selector-graphic-wrapper{outline-color:var(--slate-500)}aside a.active{font-weight:800;color:var(--main-color);position:relative;display:flex;align-items:center}html.dark aside a.active{color:#fff}.tox-editor-header::-webkit-scrollbar{height:0}.RTE-DOCS{max-width:800px;display:block}.RTE-DOCS img{box-shadow:0 0 40px rgba(30,41,59,.1);border-radius:5px;object-fit:cover}@media (max-width:800px){.RTE-DOCS img{width:100%;object-position:top left}}.RTE-DOCS li,.RTE-DOCS ol,.RTE-DOCS pre{width:100%}.RTE-DOCS p code,.RTE-DOCS span code{font-family:IBM Plex Mono;background-color:var(--slate-100);border:1px solid var(--slate-200);border-radius:2px;padding:1px 3px}html.dark .RTE-DOCS .code-block{background-color:var(--slate-700)!important}.target-node{outline:3px solid var(--main-color-lighter)!important;border-radius:2px}.gray-bordered{border:1px solid var(--slate-200);border-radius:3px}.ace-editor-wrapper{height:100%}#ace-editor-wrapper,.ace-editor-wrapper{display:block;position:relative;width:100%;padding:20px;border-radius:5px;font-size:14px}#ace-editor-wrapper{height:300px}#ace-editor-wrapper div,.ace_editor div{display:block}.copy-code{display:none}.copy-code.show{display:flex}.code-block{font-family:IBM Plex Mono!important;font-size:14px!important;font-weight:500!important}.code-block:hover .copy-code{display:flex}@media (max-width:1200px){#main-nav-content-wrapper{max-width:350px;width:100%}html.dark #main-nav-content-wrapper{background-color:var(--slate-800);box-shadow:0 0 50px #000}nav a{font-weight:400}header.dark-content,header.dark-content nav a{color:var(--dark-color)}}@media (max-width:600px){#main-nav-content-wrapper{max-width:none;width:100%}}@media (max-width:450px){h2{font-size:28px}section{padding:40px 20px}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:1}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}html{width:100%;font-family:Inter,Helvetica,Arial,system-ui;font-size:16px;line-height:1.5;color:#353b46}html.dark{color:#94a3b8}*{box-sizing:border-box}body{width:100%;margin:0;color:#353b46;font-size:16px;position:relative;font-weight:400;background-color:#fff}html.dark body{background-color:#0f172a;color:#94a3b8}#__next{flex-direction:column;width:100%;gap:0}div{display:flex;align-items:center;gap:10px}main,section{width:100%}section{padding:40px;display:flex;flex-direction:column;align-items:center;overflow:hidden;position:relative}@media (max-width:600px){section{padding:40px 20px}}.main-container{max-width:1200px;width:100%;display:flex;align-items:center;justify-content:space-between}hr{border:none;border-bottom:1px solid #e2e8f0;width:100%}hr.vertical{width:auto;border-left:1px solid #e2e8f0;border-bottom:none;height:auto;min-height:20px}html.dark hr{border-color:#475569}a{color:#1e293b;text-decoration:none}a:hover,p a,span a{color:#00948a}p a,span a{border-bottom:1px solid transparent}p a:hover,span a:hover{border-bottom-color:#00948a}html.dark a{color:#e2e8f0}html.dark a:hover{color:hsla(0,0%,100%,.6)}a.active-page-link{color:#1059b8;font-weight:800}html.dark a.active-page-link{color:#fff}header.dark-content nav a.active-page-link{color:#94a3b8}p{max-width:800px}.left-border{border-left:1px solid #cbd5e1}.visible,.window-click-hide{display:flex}.no-pointer-events{pointer-events:none}.pointer-events{pointer-events:visible}.disabled{pointer-events:none;opacity:.5;cursor:not-allowed}.collapse-block{background-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.9),hsla(0,0%,100%,0));width:100%;padding:20px;justify-content:center;position:relative;cursor:pointer}.collapse-block:hover{opacity:.8}html.dark .collapse-block{background-image:linear-gradient(0deg,#1e293b,rgba(30,41,59,.9),rgba(30,41,59,0))}.general_loader{width:30px;height:30px;min-width:30px;border:4px solid #e2e8f0;border-bottom-color:#1059b8;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation .5s linear infinite}html.dark .general_loader{border:4px solid hsla(0,0%,100%,.1);border-bottom-color:#fff;background-color:transparent}input,select,textarea{border:1px solid #cbd5e1;padding:10px 20px;font-size:16px;width:100%;border-radius:3px;font-family:inherit}input:focus,select:focus,textarea:focus{outline-color:#1059b8}input.warning,select.warning,textarea.warning{border:2px solid #ec9176;outline-color:#ec9176}select{-webkit-appearance:none;padding:10px 28px 10px 15px}label{font-size:13px;color:var(--slate-400);white-space:nowrap}html.dark input,html.dark select,html.dark textarea{border:1px solid rgba(203,213,225,.3);color:#fff;background-color:#334155}html.dark input:focus,html.dark input:focus-visible,html.dark select:focus,html.dark select:focus-visible,html.dark textarea:focus,html.dark textarea:focus-visible{outline-color:rgba(203,213,225,.6);border-color:rgba(203,213,225,.6);background-color:#1e293b}html.dark input.warning,html.dark select.warning,html.dark textarea.warning{border:2px solid #ec9176;outline-color:#ec9176}html.dark input::placeholder,html.dark select::placeholder,html.dark textarea::placeholder{color:hsla(0,0%,100%,.3)}html.dark label{font-size:13px;color:var(--slate-400)}.fade-side{display:flex;position:absolute;width:100%;height:300px;bottom:0;left:0;background:linear-gradient(0deg,#fff,transparent);z-index:10}html.dark .fade-side{background:linear-gradient(0deg,#0f172a,transparent)}.box-shadow{box-shadow:0 0 50px -10px rgba(30,41,59,.2)}html.dark .box-shadow{box-shadow:0 0 50px -10px rgba(30,41,59,.9)}.ace_text-input{top:0}.stack{flex-direction:column;align-items:flex-start;justify-content:flex-start}.row,.stack{display:flex;gap:20px}.row{flex-direction:row;align-items:center;justify-content:space-between}pre[class*=language-]{overflow:hidden;flex-wrap:wrap}pre[class*=language-] img{opacity:.3;object-fit:contain;position:absolute;top:10px;right:10px}pre[class*=language-] img:hover{opacity:1}pre[class*=language-] code{word-wrap:break-word;overflow-wrap:break-word;text-overflow:ellipsis;text-wrap:wrap;text-align:center}@media ((max-width:1200px)){pre[class*=language-]{width:100%;justify-content:center}}.login-block,.minimal-scrollbars,.minimal-scrollbars.all-children *,aside{scrollbar-width:thin}.login-block::-webkit-scrollbar,.minimal-scrollbars.all-children ::-webkit-scrollbar,.minimal-scrollbars::-webkit-scrollbar,aside::-webkit-scrollbar{width:5px}.login-block::-webkit-scrollbar-track,.minimal-scrollbars.all-children ::-webkit-scrollbar-track,.minimal-scrollbars::-webkit-scrollbar-track,aside::-webkit-scrollbar-track{background:#e2e8f0}.login-block::-webkit-scrollbar-thumb,.minimal-scrollbars.all-children ::-webkit-scrollbar-thumb,.minimal-scrollbars::-webkit-scrollbar-thumb,aside::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.login-block::-webkit-scrollbar-thumb:hover,.minimal-scrollbars.all-children ::-webkit-scrollbar-thumb:hover,.minimal-scrollbars::-webkit-scrollbar-thumb:hover,aside::-webkit-scrollbar-thumb:hover,html.dark .login-block::-webkit-scrollbar-track,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-track,html.dark .minimal-scrollbars::-webkit-scrollbar-track,html.dark aside::-webkit-scrollbar-track{background:#64748b}html.dark .login-block::-webkit-scrollbar-thumb,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-thumb,html.dark .minimal-scrollbars::-webkit-scrollbar-thumb,html.dark aside::-webkit-scrollbar-thumb{background:#475569}html.dark .login-block::-webkit-scrollbar-thumb:hover,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-thumb:hover,html.dark .minimal-scrollbars::-webkit-scrollbar-thumb:hover,html.dark aside::-webkit-scrollbar-thumb:hover{background:#94a3b8}.button,button{background-color:#1470e7;color:#fff;padding:10px 20px;border-radius:3px;cursor:pointer;border:none;font-size:14px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:5px;justify-content:center;line-height:1.2;transition:all .2s ease-out;font-family:inherit}.button:hover,button:hover{background-color:#0c4289;color:#fff}.button.white,button.white{background-color:#fff;color:#0b3e81;border:1px solid #e2e8f0}.button.white:hover,button.white:hover{border:1px solid #94a3b8}.button.primary-light,button.primary-light{background-color:#6ca6f2;color:#0b3e81}.button.dark,button.dark{background-color:#334155;color:#fff}.button.dark:hover,button.dark:hover{background-color:#0f172a}.button.blue,button.blue{background-color:#325fc2;color:#fff}.button.blue:hover,button.blue:hover{background-color:#284b99}.button.small-text,button.small-text{font-size:13px;padding:7px 12px}.button.smallest,button.smallest{font-size:12px;padding:5px 10px}.button.plain-text,button.plain-text{background-color:transparent;color:#334155;border:none}.button.plain-text:hover,button.plain-text:hover{background-color:#f1f5f9;color:#475569;border:none}.button.more-padding,button.more-padding{padding:13px 18px}.button.normal-weight,button.normal-weight{font-weight:500}.button.secondary,button.secondary{background-color:#00948a;color:#fff}.button.secondary:hover,button.secondary:hover{background-color:#007b72;color:#fff}.button.secondary.outlined,button.secondary.outlined{background-color:transparent;color:#00615a;border:1px solid #00948a}.button.secondary.outlined:hover,button.secondary.outlined:hover{background-color:transparent}.button.gray,button.gray{background-color:#e2e8f0;color:#475569}.button.gray:hover,button.gray:hover{background-color:#cbd5e1}.button.light-gray,button.light-gray{background-color:#f1f5f9;color:#64748b}.button.light-gray:hover,button.light-gray:hover{background-color:#e2e8f0}.button.outlined,button.outlined{background-color:transparent;color:#1059b8;border:1px solid #1470e7;outline:5px solid transparent}.button.outlined:hover,button.outlined:hover{outline-color:rgba(71,85,105,.08);background-color:transparent}.button.outlined.dashed,button.outlined.dashed{border-style:dashed}.button.outlined.gray,button.outlined.gray{border-color:#cbd5e1;color:#475569}.button.outlined.light-gray,button.outlined.light-gray{border-color:#e2e8f0;color:#64748b}.button.outlined.black,button.outlined.black{border-color:#334155;color:#0f172a}.button.outlined.light,button.outlined.light{color:#fff;border-color:hsla(0,0%,100%,.4)}.button.outlined.light:hover,button.outlined.light:hover{outline-color:hsla(0,0%,100%,.07)}.button.outlined.warning,button.outlined.warning{color:#dd4a1f;border-color:#ec9176}.button.outlined-gray,button.outlined-gray{background-color:transparent;color:#475569;border:1px solid #cbd5e1;outline:5px solid transparent}.button.outlined-gray:hover,button.outlined-gray:hover{outline-color:rgba(100,116,139,.1);background-color:transparent}.button.ghost,button.ghost{background-color:transparent;color:inherit}.button.ghost:hover,button.ghost:hover{opacity:.5}html.dark .button,html.dark button{background-color:#1059b8;color:#fff}html.dark .button:hover,html.dark button:hover{background-color:#0c4289;color:#fff}html.dark .button.primary-light,html.dark button.primary-light{background-color:rgba(16,89,184,.2);color:#fff}html.dark .button.dark,html.dark button.dark{background-color:#334155;color:#fff}html.dark .button.dark:hover,html.dark button.dark:hover{background-color:#0f172a}html.dark .button.blue,html.dark button.blue{background-color:#325fc2;color:#fff}html.dark .button.blue:hover,html.dark button.blue:hover{background-color:#284b99}html.dark .button.small-text,html.dark button.small-text{font-size:13px;padding:7px 12px}html.dark .button.smallest,html.dark button.smallest{font-size:12px;padding:5px 10px}html.dark .button.plain-text,html.dark button.plain-text{background-color:transparent;color:hsla(0,0%,100%,.8);border:none}html.dark .button.plain-text:hover,html.dark button.plain-text:hover{background-color:rgba(241,245,249,.05);color:hsla(0,0%,100%,.8);border:none}html.dark .button.more-padding,html.dark button.more-padding{padding:13px 18px}html.dark .button.normal-weight,html.dark button.normal-weight{font-weight:500}html.dark .button.secondary,html.dark button.secondary{background-color:#00615a;color:#fff}html.dark .button.secondary:hover,html.dark button.secondary:hover{background-color:#005751;color:#fff}html.dark .button.secondary.outlined,html.dark button.secondary.outlined{background-color:transparent;color:#2efff1;border:1px solid rgba(0,148,138,.5)}html.dark .button.secondary.outlined:hover,html.dark button.secondary.outlined:hover{background-color:transparent}html.dark .button.gray,html.dark button.gray{background-color:#475569;color:#fff}html.dark .button.gray:hover,html.dark button.gray:hover{background-color:#64748b}html.dark .button.light-gray,html.dark button.light-gray{background-color:#334155;color:hsla(0,0%,100%,.7)}html.dark .button.light-gray:hover,html.dark button.light-gray:hover{background-color:#475569}html.dark .button.outlined,html.dark button.outlined{background-color:transparent;color:#408cee;border:1px solid rgba(16,89,184,.5);outline:5px solid transparent}html.dark .button.outlined:hover,html.dark button.outlined:hover{outline-color:hsla(0,0%,100%,.05);background-color:transparent}html.dark .button.outlined.dashed,html.dark button.outlined.dashed{border-style:dashed}html.dark .button.outlined.gray,html.dark button.outlined.gray{border-color:rgba(203,213,225,.2);color:hsla(0,0%,100%,.7)}html.dark .button.outlined.light-gray,html.dark button.outlined.light-gray{border-color:rgba(203,213,225,.1);color:hsla(0,0%,100%,.6)}html.dark .button.outlined.light,html.dark button.outlined.light{color:#fff;border-color:hsla(0,0%,100%,.4)}html.dark .button.outlined.light:hover,html.dark button.outlined.light:hover{outline-color:hsla(0,0%,100%,.07)}html.dark .button.outlined.warning,html.dark button.outlined.warning{color:#f2b5a3;border-color:hsla(14,76%,69%,.3)}html.dark .button.outlined-gray,html.dark button.outlined-gray{background-color:transparent;color:#cbd5e1;border:1px solid rgba(203,213,225,.5);outline:5px solid transparent}html.dark .button.outlined-gray:hover,html.dark button.outlined-gray:hover{outline-color:rgba(100,116,139,.1);background-color:transparent}html.dark .button svg,html.dark button svg{color:#fff}html.dark .button.ghost,html.dark button.ghost{background-color:transparent;color:inherit}html.dark .button.ghost:hover,html.dark button.ghost:hover{opacity:.5}.dropdown-wrapper{position:relative;cursor:pointer}.dropdown-wrapper:hover>.dropdown{display:flex;animation:fadein .2s}.dropdown-wrapper:before{content:"";position:absolute;top:0;height:calc(100% + 20px);width:100%}.dropdown-wrapper.reversed:before{top:auto;bottom:0}@media (max-width:1200px){.dropdown-wrapper.reversed:before{display:none}}.dropdown-wrapper.reversed .dropdown{top:auto;bottom:calc(100% + 10px)}@media (max-width:1200px){.dropdown-wrapper{display:flex;flex-direction:column;align-items:center;width:100%}}.dropdown{position:absolute;top:calc(100% + 10px);left:50%;display:none;flex-direction:column;background-color:#fff;padding:10px;transform:translate(-50%);box-shadow:0 5px 20px rgba(0,0,0,.1);border-radius:3px;min-width:200px;gap:0}.dropdown a{width:100%}.dropdown.right-aligned{left:auto;transform:none;right:0}.dropdown.left-aligned{left:0;transform:none;right:auto}@media (max-width:1200px){.dropdown.mobile-transform{padding:0;border:none;background-color:transparent;box-shadow:none}.dropdown:not(.always){position:static;display:flex;margin:0;transform:none;width:100%;border-top:2px solid #1059b8}}@media (max-width:450px){.dropdown{min-width:auto}}html.dark .dropdown{background-color:#1e293b;box-shadow:0 5px 30px rgba(0,0,0,.5)}h1{font-size:48px}@media (max-width:600px){h1{font-size:36px}}h2{font-size:36px}@media (max-width:600px){h2{font-size:28px}}h3{font-size:24px}@media (max-width:600px){h3{font-size:22px}}h4{font-size:18px}@media (max-width:600px){h4{font-size:17px}}h1,h2,h3,h4,h5,h6{line-height:1.4;color:#000;font-family:Poppins,Helvetica,Arial,system-ui}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#fff}p{line-height:1.8}.metric{font-size:36px}.card{padding:20px;border-radius:3px;background-color:#fff;display:flex;flex-direction:row;align-items:flex-start;gap:15px;transition:all .2s ease-out;border:1px solid rgba(226,232,240,.9);position:relative;opacity:1}.card:hover{box-shadow:0 0 20px -10px rgba(100,116,139,.5);border:1px solid rgba(148,163,184,.3)}.card.col{flex-direction:column}.card.no-hover:hover{box-shadow:none;border:1px solid rgba(226,232,240,.9)}.card.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}.card.primary-bg .title{color:#082c5a}.card.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}.card.green-bg .title{color:#002e2b}.card.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}.card.blue-bg .title{color:#1d3771}.card.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}.card.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}.card.primary{border-left:5px solid #1059b8}.card.primary .title{color:#082c5a}.card.primary:hover{border-left:5px solid #1059b8}.card.green{border-left:5px solid #00948a}.card.green .title{color:#002e2b}.card.green:hover{border-left:5px solid #00948a}.card.blue{border-left:5px solid #325fc2}.card.blue .title{color:#1d3771}.card.blue:hover{border-left:5px solid #256323}.card.gray{border-left:5px solid #64748b}.card.gray .title{color:#394250}.card.gray:hover{border-left:5px solid #64748b}.card.light-gray{border-left:5px solid #cbd5e1}.card.light-gray .title{color:#8aa1bc}.card.light-gray:hover{border-left:5px solid #cbd5e1}.card .card-content,.card .content,.card .content-block{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.card .title{font-weight:600;font-size:20px;color:#1e293b}@media (max-width:600px){.card{flex-wrap:wrap}.card.col{flex-wrap:nowrap}}@media (max-width:450px){.card{padding:10px}}html.dark .card{background-color:#1e293b;border:1px solid rgba(226,232,240,.1);color:#94a3b8}html.dark .card:hover{box-shadow:0 0 20px -10px #0f172a;border:1px solid rgba(226,232,240,.3)}html.dark .card.no-hover:hover{box-shadow:none;border:1px solid rgba(148,163,184,.1)}html.dark .card.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}html.dark .card.primary-bg .title{color:#408cee}html.dark .card.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}html.dark .card.green-bg .title{color:#00fae9}html.dark .card.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}html.dark .card.blue-bg .title{color:#7d9bdd}html.dark .card.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}html.dark .card.gray-bg .title{color:#9da8b8}html.dark .card.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}html.dark .card.light-gray-bg .title{color:#fff}html.dark .card.primary{border-left:5px solid #1059b8}html.dark .card.primary .title{color:#408cee}html.dark .card.primary:hover{border-left:5px solid #1059b8}html.dark .card.green{border-left:5px solid #00948a}html.dark .card.green .title{color:#00fae9}html.dark .card.green:hover{border-left:5px solid #00948a}html.dark .card.blue{border-left:5px solid #325fc2}html.dark .card.blue .title{color:#7d9bdd}html.dark .card.blue:hover{border-left:5px solid #256323}html.dark .card.gray{border-left:5px solid #64748b}html.dark .card.gray .title{color:#9da8b8}html.dark .card.gray:hover{border-left:5px solid #64748b}html.dark .card.light-gray{border-left:5px solid rgba(203,213,225,.3)}html.dark .card.light-gray .title{color:#fff}html.dark .card.light-gray:hover{border-left:5px solid rgba(203,213,225,.3)}html.dark .card .title{color:#fff}html.dark .card.svg-inherit svg{color:hsla(0,0%,100%,.6)}.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background-color:#f1f5f9;position:relative}.avatar.small{width:30px;height:30px}.avatar.large{width:60px;height:60px}.avatar.outlined{outline:5px solid rgba(148,163,184,.5)}.avatar .sub-img{width:14px;height:14px;overflow:hidden;position:absolute;z-index:200;bottom:-2px;right:-2px;background-color:#fff;outline:3px solid #fff;border-radius:50%}.avatar .sub-img img,.avatar img.sub-img{width:14px;height:14px;overflow:hidden;object-fit:cover}html.dark .avatar{background-color:#cbd5e1}html.dark .avatar.outlined{outline:5px solid rgba(241,245,249,.05)}html.dark .avatar .sub-img{background-color:#1e293b;outline-color:#1e293b}.paper{padding:20px;border-radius:5px;background-color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;border:1px solid rgba(148,163,184,.3)}.paper.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}.paper.primary-bg .title{color:#082c5a}.paper.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}.paper.green-bg .title{color:#002e2b}.paper.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}.paper.blue-bg .title{color:#1d3771}.paper.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}.paper.gray-bg .title{color:#394250}.paper.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}.paper.light-gray-bg .title{color:#8aa1bc}.paper.primary{border-left:5px solid #1059b8}.paper.primary .title{color:#082c5a}.paper.green{border-left:5px solid #00948a}.paper.green .title{color:#002e2b}.paper.blue{border-left:5px solid #325fc2}.paper.blue .title{color:#1d3771}.paper.gray{border-left:5px solid #64748b}.paper.gray .title{color:#394250}.paper.light-gray{border-left:5px solid #cbd5e1}.paper.light-gray .title{color:#8aa1bc}@media (max-width:450px){.paper{padding:15px 10px}}html.dark .paper{background-color:#1e293b;border:1px solid rgba(148,163,184,.2);color:#fff}html.dark .paper.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}html.dark .paper.primary-bg .title{color:#cce0fb}html.dark .paper.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}html.dark .paper.green-bg .title{color:#94fff8}html.dark .paper.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}html.dark .paper.blue-bg .title{color:#7d9bdd}html.dark .paper.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}html.dark .paper.gray-bg .title{color:#9da8b8}html.dark .paper.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}html.dark .paper.light-gray-bg .title{color:#fff}html.dark .paper.primary{border-left:5px solid #1059b8}html.dark .paper.primary .title{color:#408cee}html.dark .paper.green{border-left:5px solid #00948a}html.dark .paper.green .title{color:#00fae9}html.dark .paper.blue{border-left:5px solid #325fc2}html.dark .paper.blue .title{color:#7d9bdd}html.dark .paper.gray{border-left:5px solid #64748b}html.dark .paper.gray .title{color:#9da8b8}html.dark .paper.light-gray{border-left:5px solid #cbd5e1}html.dark .paper svg,html.dark .paper.light-gray .title{color:#fff}.notification{width:10px;height:10px;border-radius:50%;background-color:#cbd5e1}.notification.success{background-color:#00948a}.symbol{line-height:0;font-size:28px;color:inherit;font-weight:300}.logo{display:flex;align-items:center;gap:10px}.logo .logo-text{font-size:19px;font-weight:700}html.dark .logo .logo-text{color:#fff}.popup-bg{display:none;align-items:flex-start;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:800;background-color:rgba(9,16,37,.8);padding:20px;overflow-y:auto}@media (max-width:600px){.popup-bg{align-items:flex-start}}.popup-content-container{padding:20px;background-color:#fff;border-radius:3px;max-width:450px;width:100%;display:flex;flex-direction:column;align-items:center;position:relative;z-index:10;margin-top:auto;margin-bottom:auto;max-height:calc(100vh - 40px);overflow-y:auto}html.dark .popup-content-container{background-color:#1e293b}.popup-canceller{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}.popup-cancel-button{position:absolute;top:15px;right:15px;width:30px;height:30px;padding:0;border-radius:50%;z-index:2000}.popup-cancel-button:hover{opacity:.6;background-color:transparent}.info{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;padding:7px 15px;background-color:rgba(16,89,184,.1);border:1px solid rgba(16,89,184,.4);border-radius:3px;color:#0c4289;width:100%;font-weight:600;font-size:13px}.info .icon{width:20px;height:20px;object-fit:cover}.info.green{background-color:rgba(0,148,138,.1);border:1px solid rgba(0,148,138,.4);color:#00615a}.info.gray{background-color:rgba(203,213,225,.1);border:1px solid rgba(203,213,225,.4);color:#334155}.info.orange,.info.warning{background-color:hsla(14,76%,69%,.1);border:1px solid hsla(14,76%,69%,.4);color:#b13b18}.info.small{font-size:12px;padding:5px 10px}.info.tiny{font-size:10px;padding:5px 10px}html.dark .info{background-color:rgba(16,89,184,.1);border:1px solid rgba(16,89,184,.4);color:#1470e7}html.dark .info.green{background-color:rgba(0,148,138,.1);border:1px solid rgba(0,148,138,.4);color:#00c7ba}html.dark .info.gray{background-color:rgba(71,85,105,.3);border:1px solid rgba(71,85,105,.7);color:#cbd5e1}html.dark .info.orange,html.dark .info.warning{background-color:hsla(14,76%,69%,.1);border:1px solid hsla(14,76%,69%,.4);color:#efa38c}.color-card{padding:40px;background-color:#d6e6fb;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;overflow:hidden;position:relative;text-align:left}.color-card .image-block{width:100%;height:250px;position:relative;overflow:hidden;margin-bottom:-40px;border-radius:10px 10px 0 0;box-shadow:0 5px 40px rgba(0,0,0,.2);margin-top:20px}.color-card .image-block img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top left}.color-card.green{background-color:#c8fcf9}@media ((max-width:600px)){.color-card{padding:20px}.color-card .image-block{height:250px!important}}html.dark .color-card h2,html.dark .color-card h3,html.dark .color-card h4{color:#000}html.dark .color-card p,html.dark .color-card span{color:#475569}.contained-section{padding:60px;background-color:#0f172a;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative;height:400px;width:100%}.contained-section .content{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:40%}.contained-section .image-block{position:relative;height:calc(100% + 40px);overflow:hidden;bottom:-40px;border-radius:10px 10px 0 0;width:500px}.contained-section .image-block img{position:absolute;top:0;left:0;width:100%;object-fit:cover}.contained-section>div{position:relative;z-index:10}.contained-section.purple{background-color:#2b053d}@media ((max-width:1200px)){.contained-section{flex-direction:column;height:auto!important;padding:30px}.contained-section .content{width:100%}.contained-section .image-block{width:100%;height:300px}}@media ((max-width:350px)){.contained-section{padding:20px}}html.dark .contained-section{background-color:#1e293b}.modal-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;position:fixed;z-index:2000000;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0}.modal-wrapper .modal-cancel{background-color:rgba(30,41,59,.9);width:100%;height:100%;z-index:0;position:absolute;top:0;left:0}.modal-wrapper .modal-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;background-color:#fff;padding:20px;position:relative;z-index:10;border-radius:5px;max-width:400px;width:100%}.modal-wrapper .modal-content .modal-cancel-button{position:absolute;top:10px;right:10px;padding:5px}.rte-wrapper{background-color:#fff;min-height:40px;border:1px solid #e2e8f0;border-radius:5px;gap:0}.rte-wrapper,.rte-wrapper .rte{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%}.rte-wrapper .rte{padding:20px}.rte-wrapper .rte .rte-placeholder{pointer-events:none}.rte-wrapper .rte:focus{border:none;outline:none}.rte-wrapper .rte:focus .rte-placeholder{display:none}.rte-wrapper .rte div,.rte-wrapper .rte p{width:100%;flex-grow:1}.rte-wrapper .rte p{margin:0}.rte-wrapper .rte a:focus{background-color:#e2e8f0}.rte-wrapper .rte-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;justify-content:flex-start;width:100%;padding:10px;border-bottom:1px solid #e2e8f0}.rte-wrapper .rte-header .rte-el-select{min-width:140px}.rte-wrapper .rte-header .rte-el-select .form-select-block select{padding:7px 10px;font-size:14px}.rte-wrapper .rte-header .rte-el-select .form-select-block svg{margin-right:-10px}[data-slate-editor]{outline:none;border:none}.admin .aside{background-color:#fff;height:100vh;overflow-y:auto;position:-webkit-sticky;position:sticky;top:0;padding:20px 20px 40px;box-shadow:0 0 20px -5px rgba(71,85,105,.1);border-right:1px solid #e2e8f0;z-index:800;transition:padding .2s ease-out}.admin .aside,.admin .aside .main-links{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.admin .aside .main-links{width:100%}.admin .aside .main-links a{color:#475569;display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:3px}.admin .aside .main-links a.active,.admin .aside .main-links a:hover{background-color:rgba(148,163,184,.1)}.admin .aside .main-links a.active span,.admin .aside .main-links a:hover span{font-weight:600;color:#1e293b}.admin .aside .main-links a.active svg,.admin .aside .main-links a:hover svg{color:#1e293b;opacity:1}.admin .aside .main-links a span{font-weight:500}.admin .aside .main-links a img,.admin .aside .main-links a svg{opacity:.6}.admin .aside.mobile-collapsed{position:-webkit-sticky;position:sticky;height:100vh;width:100%;top:0;max-width:300px;width:300px}.admin .aside.mobile-expanded{height:100vh;position:fixed;overflow-y:auto;padding-bottom:40px;top:0;width:300px;max-width:300px}@media (max-width:990px){.admin .aside{min-width:150px;width:150px}.admin .aside.mobile-collapsed{position:absolute;height:49px;width:300px;overflow:hidden;padding:8px 8px 8px 20px}.admin .aside.mobile-expanded{height:100vh;position:fixed;overflow-y:auto;padding-bottom:40px}}@media (max-width:450px){.admin .aside.mobile-collapsed{position:absolute;height:49px;width:180px}.admin .aside.mobile-collapsed .logo .logo-text{display:none}.admin .aside.mobile-expanded{max-width:230px;width:230px}.admin .aside.mobile-expanded .logo .logo-text{display:none}}.admin .admin-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:30px;gap:30px;background-color:rgba(241,245,249,.6)}@media (max-width:600px){.admin .admin-content{padding:30px 15px}}html.dark .admin .aside{background-color:#1e293b;box-shadow:0 0 20px -5px rgba(71,85,105,.1);border-right:1px solid #334155}html.dark .admin .aside .main-links{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%}html.dark .admin .aside .main-links a{color:#64748b}html.dark .admin .aside .main-links a.active span,html.dark .admin .aside .main-links a.active svg,html.dark .admin .aside .main-links a:hover span,html.dark .admin .aside .main-links a:hover svg{color:#fff}html.dark .admin .admin-content{background-color:transparent}.terminal div{display:block}.xterm{padding:20px}.xterm,.xterm-screen{height:100%!important;width:100%!important;overflow:hidden}.xterm-viewport{background-color:transparent!important}.xterm-viewport::-webkit-scrollbar{background-color:#1e293b}.xterm-viewport::-webkit-scrollbar-thumb{background-color:#5c6e87}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!container{width:100%!important}.container{width:100%}@media (min-width:350px){.\!container{max-width:350px!important}.container{max-width:350px}}@media (min-width:450px){.\!container{max-width:450px!important}.container{max-width:450px}}@media (min-width:600px){.\!container{max-width:600px!important}.container{max-width:600px}}@media (min-width:800px){.\!container{max-width:800px!important}.container{max-width:800px}}@media (min-width:990px){.\!container{max-width:990px!important}.container{max-width:990px}}@media (min-width:1200px){.\!container{max-width:1200px!important}.container{max-width:1200px}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-2{bottom:-.5rem}.-left-\[38px\]{left:-38px}.-right-10{right:-2.5rem}.-right-4{right:-1rem}.-top-2{top:-.5rem}.-top-4{top:-1rem}.-top-5{top:-1.25rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-2{bottom:.5rem}.bottom-4{bottom:1rem}.bottom-6{bottom:1.5rem}.left-0{left:0}.left-10{left:2.5rem}.left-2{left:.5rem}.left-4{left:1rem}.left-5{left:1.25rem}.left-6{left:1.5rem}.right-0{right:0}.right-1\.5{right:.375rem}.right-12{right:3rem}.right-2{right:.5rem}.right-4{right:1rem}.right-5{right:1.25rem}.right-8{right:2rem}.top-0{top:0}.top-1\.5{top:.375rem}.top-10{top:2.5rem}.top-2{top:.5rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-9{top:2.25rem}.top-\[60px\]{top:60px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.z-\[40\]{z-index:40}.z-\[100000\]{z-index:100000}.m-0{margin:0}.m-auto{margin:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.-my-4{margin-top:-1rem;margin-bottom:-1rem}.-my-8{margin-top:-2rem;margin-bottom:-2rem}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-2{margin-bottom:-.5rem}.-mb-20{margin-bottom:-5rem}.-mb-4{margin-bottom:-1rem}.-mb-6{margin-bottom:-1.5rem}.-mb-\[1px\]{margin-bottom:-1px}.-ml-10{margin-left:-2.5rem}.-ml-2{margin-left:-.5rem}.-ml-6{margin-left:-1.5rem}.-mr-1\.5{margin-right:-.375rem}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-1\.5{margin-top:-.375rem}.-mt-10{margin-top:-2.5rem}.-mt-16{margin-top:-4rem}.-mt-2{margin-top:-.5rem}.-mt-24{margin-top:-6rem}.-mt-3{margin-top:-.75rem}.-mt-4{margin-top:-1rem}.-mt-5{margin-top:-1.25rem}.-mt-6{margin-top:-1.5rem}.-mt-\[1px\]{margin-top:-1px}.-mt-\[3px\]{margin-top:-3px}.-mt-\[40px\]{margin-top:-40px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-32{margin-bottom:8rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-2{margin-left:.5rem}.ml-6{margin-left:1.5rem}.ml-\[10px\]{margin-left:10px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mr-\[3px\]{margin-right:3px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[-1px\]{margin-top:-1px}.mt-auto{margin-top:auto}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.\!table{display:table!important}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[100px\]{height:100px}.h-\[150px\]{height:150px}.h-\[300px\]{height:300px}.h-\[340px\]{height:340px}.h-\[45px\]{height:45px}.h-\[500px\]{height:500px}.h-\[60vh\]{height:60vh}.h-\[80vh\]{height:80vh}.h-\[85px\]{height:85px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-44{max-height:11rem}.max-h-\[500px\]{max-height:500px}.max-h-\[90vh\]{max-height:90vh}.max-h-max{max-height:max-content}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[40\%\]{width:40%}.w-\[40px\]{width:40px}.w-\[60\%\]{width:60%}.w-\[90vw\]{width:90vw}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.w-\[300px\]{width:300px}.w-\[200px\]{width:200px}.w-\[250px\]{width:250px}.min-w-\[200px\]{min-width:200px}.min-w-\[80px\]{min-width:80px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[1000px\]{max-width:1000px}.max-w-\[1200px\]{max-width:1200px}.max-w-\[740px\]{max-width:740px}.max-w-\[800px\]{max-width:800px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.shrink{flex-shrink:1}.grow{flex-grow:1}.grow-0{flex-grow:0}.border-collapse{border-collapse:collapse}.translate-y-10{--tw-translate-y:2.5rem}.rotate-180,.translate-y-10{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-75,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[1px\]{gap:1px}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-6{column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-10{row-gap:2.5rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-orange-400{--tw-border-opacity:1;border-color:rgb(251 146 60/var(--tw-border-opacity,1))}.border-primary{--tw-border-opacity:1;border-color:rgb(0 148 138/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-slate-400{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity,1))}.border-slate-500\/50{border-color:rgba(100,116,139,.5)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.border-white\/30{border-color:hsla(0,0%,100%,.3)}.border-s-slate-200{--tw-border-opacity:1;border-inline-start-color:rgb(226 232 240/var(--tw-border-opacity,1))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-fuchsia-600{--tw-bg-opacity:1;background-color:rgb(192 38 211/var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-orange-50{--tw-bg-opacity:1;background-color:rgb(255 247 237/var(--tw-bg-opacity,1))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(0 148 138/var(--tw-bg-opacity,1))}.bg-primary\/10{background-color:rgba(0,148,138,.1)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-secondary{--tw-bg-opacity:1;background-color:rgb(16 89 184/var(--tw-bg-opacity,1))}.bg-secondary\/10{background-color:rgba(16,89,184,.1)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-100\/50{background-color:rgba(241,245,249,.5)}.bg-slate-100\/80{background-color:rgba(241,245,249,.8)}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-500{--tw-bg-opacity:1;background-color:rgb(100 116 139/var(--tw-bg-opacity,1))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.bg-slate-800\/40{background-color:rgba(30,41,59,.4)}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/80{background-color:hsla(0,0%,100%,.8)}.fill-inherit{fill:inherit}.fill-slate-400{fill:#94a3b8}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-20{padding-left:5rem;padding-right:5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-20{padding-bottom:5rem}.pb-44{padding-bottom:11rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-\[20px\]{padding-left:20px}.pr-10{padding-right:2.5rem}.pr-16{padding-right:4rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-4{padding-top:1rem}.pt-44{padding-top:11rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[40px\]{padding-top:40px}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[15px\]{font-size:15px}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity,1))}.text-orange-700{--tw-text-opacity:1;color:rgb(194 65 12/var(--tw-text-opacity,1))}.text-primary{--tw-text-opacity:1;color:rgb(0 148 138/var(--tw-text-opacity,1))}.text-secondary{--tw-text-opacity:1;color:rgb(16 89 184/var(--tw-text-opacity,1))}.text-secondary2{--tw-text-opacity:1;color:rgb(32 118 230/var(--tw-text-opacity,1))}.text-sky-500{--tw-text-opacity:1;color:rgb(14 165 233/var(--tw-text-opacity,1))}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-slate-900\/50{color:rgba(15,23,42,.5)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/70{color:hsla(0,0%,100%,.7)}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.overline{-webkit-text-decoration-line:overline;text-decoration-line:overline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-5{opacity:.05}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.mix-blend-overlay{mix-blend-mode:overlay}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-sm,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.shadow-slate-300\/30{--tw-shadow-color:rgba(203,213,225,.3);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-300\/40{--tw-shadow-color:rgba(203,213,225,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-400\/40{--tw-shadow-color:rgba(148,163,184,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-700{--tw-shadow-color:#334155;--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-700\/40{--tw-shadow-color:rgba(51,65,85,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-900\/20{--tw-shadow-color:rgba(15,23,42,.2);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-900\/5{--tw-shadow-color:rgba(15,23,42,.05);--tw-shadow:var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-4{outline-width:4px}.outline-slate-100{outline-color:#f1f5f9}.outline-slate-300{outline-color:#cbd5e1}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:z-20:hover{z-index:20}.hover\:border-primary:hover{--tw-border-opacity:1;border-color:rgb(0 148 138/var(--tw-border-opacity,1))}.hover\:border-primary\/50:hover{border-color:rgba(0,148,138,.5)}.hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity,1))}.hover\:bg-primary_dark:hover{--tw-bg-opacity:1;background-color:rgb(0 148 138/var(--tw-bg-opacity,1))}.hover\:bg-secondary\/20:hover{background-color:rgba(16,89,184,.2)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.hover\:bg-slate-400:hover{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1))}.hover\:bg-slate-700:hover{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-white\/10:hover{background-color:hsla(0,0%,100%,.1)}.hover\:\!bg-transparent:hover{background-color:transparent!important}.hover\:text-fuchsia-200:hover{--tw-text-opacity:1;color:rgb(245 208 254/var(--tw-text-opacity,1))}.hover\:text-primary_dark:hover{--tw-text-opacity:1;color:rgb(0 148 138/var(--tw-text-opacity,1))}.hover\:text-slate-800:hover{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.hover\:opacity-50:hover{opacity:.5}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:outline-red-100:hover{outline-color:#fee2e2}.focus\:shadow-lg:focus{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark\:ml-auto:is(.dark *){margin-left:auto}.dark\:flex:is(.dark *){display:flex}.dark\:hidden:is(.dark *){display:none}.dark\:border-slate-100\/10:is(.dark *){border-color:rgba(241,245,249,.1)}.dark\:border-slate-100\/20:is(.dark *){border-color:rgba(241,245,249,.2)}.dark\:border-slate-300\/20:is(.dark *){border-color:rgba(203,213,225,.2)}.dark\:border-slate-600:is(.dark *){--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.dark\:border-slate-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.dark\:border-white\/20:is(.dark *){border-color:hsla(0,0%,100%,.2)}.dark\:bg-blue-100\/10:is(.dark *){background-color:rgba(219,234,254,.1)}.dark\:bg-emerald-100\/10:is(.dark *){background-color:rgba(209,250,229,.1)}.dark\:bg-slate-400:is(.dark *){--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1))}.dark\:bg-slate-500\/10:is(.dark *){background-color:rgba(100,116,139,.1)}.dark\:bg-slate-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\:bg-slate-800\/80:is(.dark *){background-color:rgba(30,41,59,.8)}.dark\:bg-slate-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.dark\:bg-slate-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.dark\:bg-white:is(.dark *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.dark\:bg-white\/10:is(.dark *){background-color:hsla(0,0%,100%,.1)}.dark\:text-emerald-200:is(.dark *){--tw-text-opacity:1;color:rgb(167 243 208/var(--tw-text-opacity,1))}.dark\:text-fuchsia-800:is(.dark *){--tw-text-opacity:1;color:rgb(134 25 143/var(--tw-text-opacity,1))}.dark\:text-slate-100:is(.dark *){--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.dark\:text-slate-200:is(.dark *){--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-slate-500:is(.dark *){--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.dark\:text-slate-600:is(.dark *){--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.dark\:text-white:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/80:is(.dark *){color:hsla(0,0%,100%,.8)}.dark\:opacity-10:is(.dark *){opacity:.1}.dark\:opacity-20:is(.dark *){opacity:.2}.dark\:shadow-black:is(.dark *){--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/10:is(.dark *){--tw-shadow-color:rgba(0,0,0,.1);--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/20:is(.dark *){--tw-shadow-color:rgba(0,0,0,.2);--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/30:is(.dark *){--tw-shadow-color:rgba(0,0,0,.3);--tw-shadow:var(--tw-shadow-colored)}.dark\:outline-transparent:is(.dark *){outline-color:transparent}.dark\:hover\:bg-slate-600:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:hover\:bg-slate-800:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}@media (min-width:450px){.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:p-10{padding:2.5rem}.sm\:p-4{padding:1rem}.sm\:p-6{padding:1.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:pl-10{padding-left:2.5rem}.sm\:pt-0{padding-top:0}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:600px){.md\:bottom-10{bottom:2.5rem}.md\:left-10{left:2.5rem}.md\:right-10{right:2.5rem}.md\:mb-20{margin-bottom:5rem}.md\:ml-auto{margin-left:auto}.md\:h-8{height:2rem}.md\:w-8{width:2rem}.md\:w-96{width:24rem}.md\:w-auto{width:auto}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-10{gap:2.5rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:p-8{padding:2rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:text-5xl{font-size:3rem;line-height:1}}@media (min-width:800px){.sl\:flex{display:flex}.sl\:w-auto{width:auto}.sl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sl\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width:990px){.lg\:absolute{position:absolute}.lg\:mb-20{margin-bottom:5rem}.lg\:mb-32{margin-bottom:8rem}.lg\:mt-0{margin-top:0}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:max-h-screen{max-height:100vh}.lg\:w-1\/2{width:50%}.lg\:w-80{width:20rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:items-center{align-items:center}.lg\:justify-start{justify-content:flex-start}.lg\:py-20{padding-top:5rem;padding-bottom:5rem}.lg\:pb-28{padding-bottom:7rem}.lg\:text-left{text-align:left}}@media (min-width:1200px){.xl\:static{position:static}.xl\:top-0{top:0}.xl\:my-0{margin-top:0;margin-bottom:0}.xl\:-ml-2{margin-left:-.5rem}.xl\:-mt-2{margin-top:-.5rem}.xl\:-mt-3{margin-top:-.75rem}.xl\:mb-0{margin-bottom:0}.xl\:mt-0{margin-top:0}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:h-auto{height:auto}.xl\:w-auto{width:auto}.xl\:max-w-2xl{max-width:42rem}.xl\:max-w-lg{max-width:32rem}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-nowrap{flex-wrap:nowrap}.xl\:items-start{align-items:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:gap-0{gap:0}.xl\:gap-0\.5{gap:.125rem}.xl\:gap-10{gap:2.5rem}.xl\:overflow-visible{overflow:visible}.xl\:bg-transparent{background-color:transparent}.xl\:p-0{padding:0}.xl\:p-10{padding:2.5rem}.xl\:p-4{padding:1rem}.xl\:px-0{padding-left:0;padding-right:0}.xl\:pb-0{padding-bottom:0}.xl\:text-\[60px\]{font-size:60px}.xl\:shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}} \ No newline at end of file +:root{--primary:#1059b8;--secondary:#00948a;--main-color:#00948a;--main-color-lighter:#31aaa2;--main-color-darker:#00776f;--main-color-darker-2:#0b5a55;--main-color-dark:#0c3d3a;--main-color-dark-lighter:#3b2a4b;--main-color-dark-lighter-2:#4b286b;--main-color-dark-lighter-3:#5a278a;--sec-color:#107ab8;--sec-color-lighter:#47a2d6;--sec-color-light:#bfe3f8;--sec-color-darker:#0b8862;--sec-color-2:#66ced6;--sec-color-2-darker:#169286;--text-color:#242527;--light-color:#d3dae4;--dark-color:#120e16;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-400:#94a3b8;--slate-500:#64748b;--slate-600:#475569;--slate-700:#334155;--slate-800:#1e293b;--slate-900:#0f172a;--warning-color:#ec9176}.swiper-wrapper{gap:0}.tox .tox-sidebar-wrap{width:100%}.tox .tox-edit-area{height:100%;padding:10px 20px}.tox .tox-edit-area iframe{position:relative}.tox-tinymce{background-color:#fff}.tox-collection__group{display:flex;flex-direction:column;align-items:stretch;gap:20px}.tox .tox-edit-area,.tox .tox-edit-area iframe,.tox .tox-editor-container,.tox .tox-editor-container>*,.tox .tox-statusbar{width:100%}.tox .tox-statusbar__right-container{padding-right:10px!important}.tox:not(.tox-tinymce-inline) .tox-editor-header{overflow-x:auto}nav a{font-weight:400}header.dark-content{background-color:var(--dark-color);color:#fff}header.dark-content.hero-overlay{background-color:transparent;position:absolute}header.dark-content #main-header-logo-link-block *,header.dark-content nav a{color:#fff}header.dark-content nav a:hover{color:var(--slate-400)}ol,ul{display:flex;flex-direction:column;align-items:flex-start;gap:20px}li a{display:block}footer{border-top:1px solid var(--slate-200)}html.dark footer{border-top:1px solid var(--slate-700)}footer a{color:var(--sec-color);font-size:14px}footer a:hover{opacity:.5}#theme-selector-wrapper{cursor:pointer}#theme-selector-graphic-wrapper{outline-color:transparent;outline-style:solid;outline-width:2px;background-color:var(--slate-200)}html.dark #theme-selector-graphic-wrapper{background-color:var(--slate-700)}#theme-selector-wrapper:hover #theme-selector-graphic-wrapper{outline-color:var(--slate-300)}html.dark #theme-selector-wrapper:hover #theme-selector-graphic-wrapper{outline-color:var(--slate-500)}aside a.active{font-weight:800;color:var(--main-color);position:relative;display:flex;align-items:center}html.dark aside a.active{color:#fff}.tox-editor-header::-webkit-scrollbar{height:0}.RTE-DOCS{max-width:800px;display:block}.RTE-DOCS img{box-shadow:0 0 40px rgba(30,41,59,.1);border-radius:5px;object-fit:cover}@media (max-width:800px){.RTE-DOCS img{width:100%;object-position:top left}}.RTE-DOCS li,.RTE-DOCS ol,.RTE-DOCS pre{width:100%}.RTE-DOCS p code,.RTE-DOCS span code{font-family:IBM Plex Mono;background-color:var(--slate-100);border:1px solid var(--slate-200);border-radius:2px;padding:1px 3px}html.dark .RTE-DOCS .code-block{background-color:var(--slate-700)!important}.target-node{outline:3px solid var(--main-color-lighter)!important;border-radius:2px}.gray-bordered{border:1px solid var(--slate-200);border-radius:3px}.ace-editor-wrapper{height:100%}#ace-editor-wrapper,.ace-editor-wrapper{display:block;position:relative;width:100%;padding:20px;border-radius:5px;font-size:14px}#ace-editor-wrapper{height:300px}#ace-editor-wrapper div,.ace_editor div{display:block}.copy-code{display:none}.copy-code.show{display:flex}.code-block{font-family:IBM Plex Mono!important;font-size:14px!important;font-weight:500!important}.code-block:hover .copy-code{display:flex}@media (max-width:1200px){#main-nav-content-wrapper{max-width:350px;width:100%}html.dark #main-nav-content-wrapper{background-color:var(--slate-800);box-shadow:0 0 50px #000}nav a{font-weight:400}header.dark-content,header.dark-content nav a{color:var(--dark-color)}}@media (max-width:600px){#main-nav-content-wrapper{max-width:none;width:100%}}@media (max-width:450px){h2{font-size:28px}section{padding:40px 20px}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:1}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}html{width:100%;font-family:Inter,Helvetica,Arial,system-ui;font-size:16px;line-height:1.5;color:#353b46}html.dark{color:#94a3b8}*{box-sizing:border-box}body{width:100%;margin:0;color:#353b46;font-size:16px;position:relative;font-weight:400;background-color:#fff}html.dark body{background-color:#0f172a;color:#94a3b8}#__next{flex-direction:column;width:100%;gap:0}div{display:flex;align-items:center;gap:10px}main,section{width:100%}section{padding:40px;display:flex;flex-direction:column;align-items:center;overflow:hidden;position:relative}@media (max-width:600px){section{padding:40px 20px}}.main-container{max-width:1200px;width:100%;display:flex;align-items:center;justify-content:space-between}hr{border:none;border-bottom:1px solid #e2e8f0;width:100%}hr.vertical{width:auto;border-left:1px solid #e2e8f0;border-bottom:none;height:auto;min-height:20px}html.dark hr{border-color:#475569}a{color:#1e293b;text-decoration:none}a:hover,p a,span a{color:#00948a}p a,span a{border-bottom:1px solid transparent}p a:hover,span a:hover{border-bottom-color:#00948a}html.dark a{color:#e2e8f0}html.dark a:hover{color:hsla(0,0%,100%,.6)}a.active-page-link{color:#1059b8;font-weight:800}html.dark a.active-page-link{color:#fff}header.dark-content nav a.active-page-link{color:#94a3b8}p{max-width:800px}.left-border{border-left:1px solid #cbd5e1}.visible,.window-click-hide{display:flex}.no-pointer-events{pointer-events:none}.pointer-events{pointer-events:visible}.disabled{pointer-events:none;opacity:.5;cursor:not-allowed}.collapse-block{background-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.9),hsla(0,0%,100%,0));width:100%;padding:20px;justify-content:center;position:relative;cursor:pointer}.collapse-block:hover{opacity:.8}html.dark .collapse-block{background-image:linear-gradient(0deg,#1e293b,rgba(30,41,59,.9),rgba(30,41,59,0))}.general_loader{width:30px;height:30px;min-width:30px;border:4px solid #e2e8f0;border-bottom-color:#1059b8;border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation .5s linear infinite}html.dark .general_loader{border:4px solid hsla(0,0%,100%,.1);border-bottom-color:#fff;background-color:transparent}input,select,textarea{border:1px solid #cbd5e1;padding:10px 20px;font-size:16px;width:100%;border-radius:3px;font-family:inherit}input:focus,select:focus,textarea:focus{outline-color:#1059b8}input.warning,select.warning,textarea.warning{border:2px solid #ec9176;outline-color:#ec9176}select{-webkit-appearance:none;padding:10px 28px 10px 15px}label{font-size:13px;color:var(--slate-400);white-space:nowrap}html.dark input,html.dark select,html.dark textarea{border:1px solid rgba(203,213,225,.3);color:#fff;background-color:#334155}html.dark input:focus,html.dark input:focus-visible,html.dark select:focus,html.dark select:focus-visible,html.dark textarea:focus,html.dark textarea:focus-visible{outline-color:rgba(203,213,225,.6);border-color:rgba(203,213,225,.6);background-color:#1e293b}html.dark input.warning,html.dark select.warning,html.dark textarea.warning{border:2px solid #ec9176;outline-color:#ec9176}html.dark input::placeholder,html.dark select::placeholder,html.dark textarea::placeholder{color:hsla(0,0%,100%,.3)}html.dark label{font-size:13px;color:var(--slate-400)}.fade-side{display:flex;position:absolute;width:100%;height:300px;bottom:0;left:0;background:linear-gradient(0deg,#fff,transparent);z-index:10}html.dark .fade-side{background:linear-gradient(0deg,#0f172a,transparent)}.box-shadow{box-shadow:0 0 50px -10px rgba(30,41,59,.2)}html.dark .box-shadow{box-shadow:0 0 50px -10px rgba(30,41,59,.9)}.ace_text-input{top:0}.stack{flex-direction:column;align-items:flex-start;justify-content:flex-start}.row,.stack{display:flex;gap:20px}.row{flex-direction:row;align-items:center;justify-content:space-between}pre[class*=language-]{overflow:hidden;flex-wrap:wrap}pre[class*=language-] img{opacity:.3;object-fit:contain;position:absolute;top:10px;right:10px}pre[class*=language-] img:hover{opacity:1}pre[class*=language-] code{word-wrap:break-word;overflow-wrap:break-word;text-overflow:ellipsis;text-wrap:wrap;text-align:center}@media ((max-width:1200px)){pre[class*=language-]{width:100%;justify-content:center}}.login-block,.minimal-scrollbars,.minimal-scrollbars.all-children *,aside{scrollbar-width:thin}.login-block::-webkit-scrollbar,.minimal-scrollbars.all-children ::-webkit-scrollbar,.minimal-scrollbars::-webkit-scrollbar,aside::-webkit-scrollbar{width:5px}.login-block::-webkit-scrollbar-track,.minimal-scrollbars.all-children ::-webkit-scrollbar-track,.minimal-scrollbars::-webkit-scrollbar-track,aside::-webkit-scrollbar-track{background:#e2e8f0}.login-block::-webkit-scrollbar-thumb,.minimal-scrollbars.all-children ::-webkit-scrollbar-thumb,.minimal-scrollbars::-webkit-scrollbar-thumb,aside::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.login-block::-webkit-scrollbar-thumb:hover,.minimal-scrollbars.all-children ::-webkit-scrollbar-thumb:hover,.minimal-scrollbars::-webkit-scrollbar-thumb:hover,aside::-webkit-scrollbar-thumb:hover,html.dark .login-block::-webkit-scrollbar-track,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-track,html.dark .minimal-scrollbars::-webkit-scrollbar-track,html.dark aside::-webkit-scrollbar-track{background:#64748b}html.dark .login-block::-webkit-scrollbar-thumb,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-thumb,html.dark .minimal-scrollbars::-webkit-scrollbar-thumb,html.dark aside::-webkit-scrollbar-thumb{background:#475569}html.dark .login-block::-webkit-scrollbar-thumb:hover,html.dark .minimal-scrollbars.all-children ::-webkit-scrollbar-thumb:hover,html.dark .minimal-scrollbars::-webkit-scrollbar-thumb:hover,html.dark aside::-webkit-scrollbar-thumb:hover{background:#94a3b8}.button,button{background-color:#1470e7;color:#fff;padding:10px 20px;border-radius:3px;cursor:pointer;border:none;font-size:14px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:5px;justify-content:center;line-height:1.2;transition:all .2s ease-out;font-family:inherit}.button:hover,button:hover{background-color:#0c4289;color:#fff}.button.white,button.white{background-color:#fff;color:#0b3e81;border:1px solid #e2e8f0}.button.white:hover,button.white:hover{border:1px solid #94a3b8}.button.primary-light,button.primary-light{background-color:#6ca6f2;color:#0b3e81}.button.dark,button.dark{background-color:#334155;color:#fff}.button.dark:hover,button.dark:hover{background-color:#0f172a}.button.blue,button.blue{background-color:#325fc2;color:#fff}.button.blue:hover,button.blue:hover{background-color:#284b99}.button.small-text,button.small-text{font-size:13px;padding:7px 12px}.button.smallest,button.smallest{font-size:12px;padding:5px 10px}.button.plain-text,button.plain-text{background-color:transparent;color:#334155;border:none}.button.plain-text:hover,button.plain-text:hover{background-color:#f1f5f9;color:#475569;border:none}.button.more-padding,button.more-padding{padding:13px 18px}.button.normal-weight,button.normal-weight{font-weight:500}.button.secondary,button.secondary{background-color:#00948a;color:#fff}.button.secondary:hover,button.secondary:hover{background-color:#007b72;color:#fff}.button.secondary.outlined,button.secondary.outlined{background-color:transparent;color:#00615a;border:1px solid #00948a}.button.secondary.outlined:hover,button.secondary.outlined:hover{background-color:transparent}.button.gray,button.gray{background-color:#e2e8f0;color:#475569}.button.gray:hover,button.gray:hover{background-color:#cbd5e1}.button.light-gray,button.light-gray{background-color:#f1f5f9;color:#64748b}.button.light-gray:hover,button.light-gray:hover{background-color:#e2e8f0}.button.outlined,button.outlined{background-color:transparent;color:#1059b8;border:1px solid #1470e7;outline:5px solid transparent}.button.outlined:hover,button.outlined:hover{outline-color:rgba(71,85,105,.08);background-color:transparent}.button.outlined.dashed,button.outlined.dashed{border-style:dashed}.button.outlined.gray,button.outlined.gray{border-color:#cbd5e1;color:#475569}.button.outlined.light-gray,button.outlined.light-gray{border-color:#e2e8f0;color:#64748b}.button.outlined.black,button.outlined.black{border-color:#334155;color:#0f172a}.button.outlined.light,button.outlined.light{color:#fff;border-color:hsla(0,0%,100%,.4)}.button.outlined.light:hover,button.outlined.light:hover{outline-color:hsla(0,0%,100%,.07)}.button.outlined.warning,button.outlined.warning{color:#dd4a1f;border-color:#ec9176}.button.outlined-gray,button.outlined-gray{background-color:transparent;color:#475569;border:1px solid #cbd5e1;outline:5px solid transparent}.button.outlined-gray:hover,button.outlined-gray:hover{outline-color:rgba(100,116,139,.1);background-color:transparent}.button.ghost,button.ghost{background-color:transparent;color:inherit}.button.ghost:hover,button.ghost:hover{opacity:.5}html.dark .button,html.dark button{background-color:#1059b8;color:#fff}html.dark .button:hover,html.dark button:hover{background-color:#0c4289;color:#fff}html.dark .button.primary-light,html.dark button.primary-light{background-color:rgba(16,89,184,.2);color:#fff}html.dark .button.dark,html.dark button.dark{background-color:#334155;color:#fff}html.dark .button.dark:hover,html.dark button.dark:hover{background-color:#0f172a}html.dark .button.blue,html.dark button.blue{background-color:#325fc2;color:#fff}html.dark .button.blue:hover,html.dark button.blue:hover{background-color:#284b99}html.dark .button.small-text,html.dark button.small-text{font-size:13px;padding:7px 12px}html.dark .button.smallest,html.dark button.smallest{font-size:12px;padding:5px 10px}html.dark .button.plain-text,html.dark button.plain-text{background-color:transparent;color:hsla(0,0%,100%,.8);border:none}html.dark .button.plain-text:hover,html.dark button.plain-text:hover{background-color:rgba(241,245,249,.05);color:hsla(0,0%,100%,.8);border:none}html.dark .button.more-padding,html.dark button.more-padding{padding:13px 18px}html.dark .button.normal-weight,html.dark button.normal-weight{font-weight:500}html.dark .button.secondary,html.dark button.secondary{background-color:#00615a;color:#fff}html.dark .button.secondary:hover,html.dark button.secondary:hover{background-color:#005751;color:#fff}html.dark .button.secondary.outlined,html.dark button.secondary.outlined{background-color:transparent;color:#2efff1;border:1px solid rgba(0,148,138,.5)}html.dark .button.secondary.outlined:hover,html.dark button.secondary.outlined:hover{background-color:transparent}html.dark .button.gray,html.dark button.gray{background-color:#475569;color:#fff}html.dark .button.gray:hover,html.dark button.gray:hover{background-color:#64748b}html.dark .button.light-gray,html.dark button.light-gray{background-color:#334155;color:hsla(0,0%,100%,.7)}html.dark .button.light-gray:hover,html.dark button.light-gray:hover{background-color:#475569}html.dark .button.outlined,html.dark button.outlined{background-color:transparent;color:#408cee;border:1px solid rgba(16,89,184,.5);outline:5px solid transparent}html.dark .button.outlined:hover,html.dark button.outlined:hover{outline-color:hsla(0,0%,100%,.05);background-color:transparent}html.dark .button.outlined.dashed,html.dark button.outlined.dashed{border-style:dashed}html.dark .button.outlined.gray,html.dark button.outlined.gray{border-color:rgba(203,213,225,.2);color:hsla(0,0%,100%,.7)}html.dark .button.outlined.light-gray,html.dark button.outlined.light-gray{border-color:rgba(203,213,225,.1);color:hsla(0,0%,100%,.6)}html.dark .button.outlined.light,html.dark button.outlined.light{color:#fff;border-color:hsla(0,0%,100%,.4)}html.dark .button.outlined.light:hover,html.dark button.outlined.light:hover{outline-color:hsla(0,0%,100%,.07)}html.dark .button.outlined.warning,html.dark button.outlined.warning{color:#f2b5a3;border-color:hsla(14,76%,69%,.3)}html.dark .button.outlined-gray,html.dark button.outlined-gray{background-color:transparent;color:#cbd5e1;border:1px solid rgba(203,213,225,.5);outline:5px solid transparent}html.dark .button.outlined-gray:hover,html.dark button.outlined-gray:hover{outline-color:rgba(100,116,139,.1);background-color:transparent}html.dark .button svg,html.dark button svg{color:#fff}html.dark .button.ghost,html.dark button.ghost{background-color:transparent;color:inherit}html.dark .button.ghost:hover,html.dark button.ghost:hover{opacity:.5}.dropdown-wrapper{position:relative;cursor:pointer}.dropdown-wrapper:hover>.dropdown{display:flex;animation:fadein .2s}.dropdown-wrapper:before{content:"";position:absolute;top:0;height:calc(100% + 20px);width:100%}.dropdown-wrapper.reversed:before{top:auto;bottom:0}@media (max-width:1200px){.dropdown-wrapper.reversed:before{display:none}}.dropdown-wrapper.reversed .dropdown{top:auto;bottom:calc(100% + 10px)}@media (max-width:1200px){.dropdown-wrapper{display:flex;flex-direction:column;align-items:center;width:100%}}.dropdown{position:absolute;top:calc(100% + 10px);left:50%;display:none;flex-direction:column;background-color:#fff;padding:10px;transform:translate(-50%);box-shadow:0 5px 20px rgba(0,0,0,.1);border-radius:3px;min-width:200px;gap:0}.dropdown a{width:100%}.dropdown.right-aligned{left:auto;transform:none;right:0}.dropdown.left-aligned{left:0;transform:none;right:auto}@media (max-width:1200px){.dropdown.mobile-transform{padding:0;border:none;background-color:transparent;box-shadow:none}.dropdown:not(.always){position:static;display:flex;margin:0;transform:none;width:100%;border-top:2px solid #1059b8}}@media (max-width:450px){.dropdown{min-width:auto}}html.dark .dropdown{background-color:#1e293b;box-shadow:0 5px 30px rgba(0,0,0,.5)}h1{font-size:48px}@media (max-width:600px){h1{font-size:36px}}h2{font-size:36px}@media (max-width:600px){h2{font-size:28px}}h3{font-size:24px}@media (max-width:600px){h3{font-size:22px}}h4{font-size:18px}@media (max-width:600px){h4{font-size:17px}}h1,h2,h3,h4,h5,h6{line-height:1.4;color:#000;font-family:Poppins,Helvetica,Arial,system-ui}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#fff}p{line-height:1.8}.metric{font-size:36px}.card{padding:20px;border-radius:3px;background-color:#fff;display:flex;flex-direction:row;align-items:flex-start;gap:15px;transition:all .2s ease-out;border:1px solid rgba(226,232,240,.9);position:relative;opacity:1}.card:hover{box-shadow:0 0 20px -10px rgba(100,116,139,.5);border:1px solid rgba(148,163,184,.3)}.card.col{flex-direction:column}.card.no-hover:hover{box-shadow:none;border:1px solid rgba(226,232,240,.9)}.card.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}.card.primary-bg .title{color:#082c5a}.card.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}.card.green-bg .title{color:#002e2b}.card.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}.card.blue-bg .title{color:#1d3771}.card.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}.card.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}.card.primary{border-left:5px solid #1059b8}.card.primary .title{color:#082c5a}.card.primary:hover{border-left:5px solid #1059b8}.card.green{border-left:5px solid #00948a}.card.green .title{color:#002e2b}.card.green:hover{border-left:5px solid #00948a}.card.blue{border-left:5px solid #325fc2}.card.blue .title{color:#1d3771}.card.blue:hover{border-left:5px solid #256323}.card.gray{border-left:5px solid #64748b}.card.gray .title{color:#394250}.card.gray:hover{border-left:5px solid #64748b}.card.light-gray{border-left:5px solid #cbd5e1}.card.light-gray .title{color:#8aa1bc}.card.light-gray:hover{border-left:5px solid #cbd5e1}.card .card-content,.card .content,.card .content-block{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.card .title{font-weight:600;font-size:20px;color:#1e293b}@media (max-width:600px){.card{flex-wrap:wrap}.card.col{flex-wrap:nowrap}}@media (max-width:450px){.card{padding:10px}}html.dark .card{background-color:#1e293b;border:1px solid rgba(226,232,240,.1);color:#94a3b8}html.dark .card:hover{box-shadow:0 0 20px -10px #0f172a;border:1px solid rgba(226,232,240,.3)}html.dark .card.no-hover:hover{box-shadow:none;border:1px solid rgba(148,163,184,.1)}html.dark .card.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}html.dark .card.primary-bg .title{color:#408cee}html.dark .card.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}html.dark .card.green-bg .title{color:#00fae9}html.dark .card.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}html.dark .card.blue-bg .title{color:#7d9bdd}html.dark .card.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}html.dark .card.gray-bg .title{color:#9da8b8}html.dark .card.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}html.dark .card.light-gray-bg .title{color:#fff}html.dark .card.primary{border-left:5px solid #1059b8}html.dark .card.primary .title{color:#408cee}html.dark .card.primary:hover{border-left:5px solid #1059b8}html.dark .card.green{border-left:5px solid #00948a}html.dark .card.green .title{color:#00fae9}html.dark .card.green:hover{border-left:5px solid #00948a}html.dark .card.blue{border-left:5px solid #325fc2}html.dark .card.blue .title{color:#7d9bdd}html.dark .card.blue:hover{border-left:5px solid #256323}html.dark .card.gray{border-left:5px solid #64748b}html.dark .card.gray .title{color:#9da8b8}html.dark .card.gray:hover{border-left:5px solid #64748b}html.dark .card.light-gray{border-left:5px solid rgba(203,213,225,.3)}html.dark .card.light-gray .title{color:#fff}html.dark .card.light-gray:hover{border-left:5px solid rgba(203,213,225,.3)}html.dark .card .title{color:#fff}html.dark .card.svg-inherit svg{color:hsla(0,0%,100%,.6)}.avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background-color:#f1f5f9;position:relative}.avatar.small{width:30px;height:30px}.avatar.large{width:60px;height:60px}.avatar.outlined{outline:5px solid rgba(148,163,184,.5)}.avatar .sub-img{width:14px;height:14px;overflow:hidden;position:absolute;z-index:200;bottom:-2px;right:-2px;background-color:#fff;outline:3px solid #fff;border-radius:50%}.avatar .sub-img img,.avatar img.sub-img{width:14px;height:14px;overflow:hidden;object-fit:cover}html.dark .avatar{background-color:#cbd5e1}html.dark .avatar.outlined{outline:5px solid rgba(241,245,249,.05)}html.dark .avatar .sub-img{background-color:#1e293b;outline-color:#1e293b}.paper{padding:20px;border-radius:5px;background-color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;border:1px solid rgba(148,163,184,.3)}.paper.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}.paper.primary-bg .title{color:#082c5a}.paper.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}.paper.green-bg .title{color:#002e2b}.paper.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}.paper.blue-bg .title{color:#1d3771}.paper.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}.paper.gray-bg .title{color:#394250}.paper.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}.paper.light-gray-bg .title{color:#8aa1bc}.paper.primary{border-left:5px solid #1059b8}.paper.primary .title{color:#082c5a}.paper.green{border-left:5px solid #00948a}.paper.green .title{color:#002e2b}.paper.blue{border-left:5px solid #325fc2}.paper.blue .title{color:#1d3771}.paper.gray{border-left:5px solid #64748b}.paper.gray .title{color:#394250}.paper.light-gray{border-left:5px solid #cbd5e1}.paper.light-gray .title{color:#8aa1bc}@media (max-width:450px){.paper{padding:15px 10px}}html.dark .paper{background-color:#1e293b;border:1px solid rgba(148,163,184,.2);color:#fff}html.dark .paper.primary-bg{background-color:rgba(16,89,184,.05);border-color:rgba(16,89,184,.2)}html.dark .paper.primary-bg .title{color:#cce0fb}html.dark .paper.green-bg{background-color:rgba(0,148,138,.05);border-color:rgba(0,148,138,.2)}html.dark .paper.green-bg .title{color:#94fff8}html.dark .paper.blue-bg{background-color:rgba(50,95,194,.05);border-color:rgba(50,95,194,.2)}html.dark .paper.blue-bg .title{color:#7d9bdd}html.dark .paper.gray-bg{background-color:rgba(100,116,139,.05);border-color:rgba(100,116,139,.2)}html.dark .paper.gray-bg .title{color:#9da8b8}html.dark .paper.light-gray-bg{background-color:rgba(203,213,225,.1);border-color:rgba(203,213,225,.4)}html.dark .paper.light-gray-bg .title{color:#fff}html.dark .paper.primary{border-left:5px solid #1059b8}html.dark .paper.primary .title{color:#408cee}html.dark .paper.green{border-left:5px solid #00948a}html.dark .paper.green .title{color:#00fae9}html.dark .paper.blue{border-left:5px solid #325fc2}html.dark .paper.blue .title{color:#7d9bdd}html.dark .paper.gray{border-left:5px solid #64748b}html.dark .paper.gray .title{color:#9da8b8}html.dark .paper.light-gray{border-left:5px solid #cbd5e1}html.dark .paper svg,html.dark .paper.light-gray .title{color:#fff}.notification{width:10px;height:10px;border-radius:50%;background-color:#cbd5e1}.notification.success{background-color:#00948a}.symbol{line-height:0;font-size:28px;color:inherit;font-weight:300}.logo{display:flex;align-items:center;gap:10px}.logo .logo-text{font-size:19px;font-weight:700}html.dark .logo .logo-text{color:#fff}.popup-bg{display:none;align-items:flex-start;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:800;background-color:rgba(9,16,37,.8);padding:20px;overflow-y:auto}@media (max-width:600px){.popup-bg{align-items:flex-start}}.popup-content-container{padding:20px;background-color:#fff;border-radius:3px;max-width:450px;width:100%;display:flex;flex-direction:column;align-items:center;position:relative;z-index:10;margin-top:auto;margin-bottom:auto;max-height:calc(100vh - 40px);overflow-y:auto}html.dark .popup-content-container{background-color:#1e293b}.popup-canceller{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}.popup-cancel-button{position:absolute;top:15px;right:15px;width:30px;height:30px;padding:0;border-radius:50%;z-index:2000}.popup-cancel-button:hover{opacity:.6;background-color:transparent}.info{display:flex;align-items:center;flex-direction:row;gap:10px;justify-content:flex-start;padding:7px 15px;background-color:rgba(16,89,184,.1);border:1px solid rgba(16,89,184,.4);border-radius:3px;color:#0c4289;width:100%;font-weight:600;font-size:13px}.info .icon{width:20px;height:20px;object-fit:cover}.info.green{background-color:rgba(0,148,138,.1);border:1px solid rgba(0,148,138,.4);color:#00615a}.info.gray{background-color:rgba(203,213,225,.1);border:1px solid rgba(203,213,225,.4);color:#334155}.info.orange,.info.warning{background-color:hsla(14,76%,69%,.1);border:1px solid hsla(14,76%,69%,.4);color:#b13b18}.info.small{font-size:12px;padding:5px 10px}.info.tiny{font-size:10px;padding:5px 10px}html.dark .info{background-color:rgba(16,89,184,.1);border:1px solid rgba(16,89,184,.4);color:#1470e7}html.dark .info.green{background-color:rgba(0,148,138,.1);border:1px solid rgba(0,148,138,.4);color:#00c7ba}html.dark .info.gray{background-color:rgba(71,85,105,.3);border:1px solid rgba(71,85,105,.7);color:#cbd5e1}html.dark .info.orange,html.dark .info.warning{background-color:hsla(14,76%,69%,.1);border:1px solid hsla(14,76%,69%,.4);color:#efa38c}.color-card{padding:40px;background-color:#d6e6fb;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:20px;overflow:hidden;position:relative;text-align:left}.color-card .image-block{width:100%;height:250px;position:relative;overflow:hidden;margin-bottom:-40px;border-radius:10px 10px 0 0;box-shadow:0 5px 40px rgba(0,0,0,.2);margin-top:20px}.color-card .image-block img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top left}.color-card.green{background-color:#c8fcf9}@media ((max-width:600px)){.color-card{padding:20px}.color-card .image-block{height:250px!important}}html.dark .color-card h2,html.dark .color-card h3,html.dark .color-card h4{color:#000}html.dark .color-card p,html.dark .color-card span{color:#475569}.contained-section{padding:60px;background-color:#0f172a;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative;height:400px;width:100%}.contained-section .content{display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:40%}.contained-section .image-block{position:relative;height:calc(100% + 40px);overflow:hidden;bottom:-40px;border-radius:10px 10px 0 0;width:500px}.contained-section .image-block img{position:absolute;top:0;left:0;width:100%;object-fit:cover}.contained-section>div{position:relative;z-index:10}.contained-section.purple{background-color:#2b053d}@media ((max-width:1200px)){.contained-section{flex-direction:column;height:auto!important;padding:30px}.contained-section .content{width:100%}.contained-section .image-block{width:100%;height:300px}}@media ((max-width:350px)){.contained-section{padding:20px}}html.dark .contained-section{background-color:#1e293b}.modal-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;position:fixed;z-index:2000000;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0}.modal-wrapper .modal-cancel{background-color:rgba(30,41,59,.9);width:100%;height:100%;z-index:0;position:absolute;top:0;left:0}.modal-wrapper .modal-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px;background-color:#fff;padding:20px;position:relative;z-index:10;border-radius:5px;max-width:400px;width:100%}.modal-wrapper .modal-content .modal-cancel-button{position:absolute;top:10px;right:10px;padding:5px}.rte-wrapper{background-color:#fff;min-height:40px;border:1px solid #e2e8f0;border-radius:5px;gap:0}.rte-wrapper,.rte-wrapper .rte{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%}.rte-wrapper .rte{padding:20px}.rte-wrapper .rte .rte-placeholder{pointer-events:none}.rte-wrapper .rte:focus{border:none;outline:none}.rte-wrapper .rte:focus .rte-placeholder{display:none}.rte-wrapper .rte div,.rte-wrapper .rte p{width:100%;flex-grow:1}.rte-wrapper .rte p{margin:0}.rte-wrapper .rte a:focus{background-color:#e2e8f0}.rte-wrapper .rte-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;justify-content:flex-start;width:100%;padding:10px;border-bottom:1px solid #e2e8f0}.rte-wrapper .rte-header .rte-el-select{min-width:140px}.rte-wrapper .rte-header .rte-el-select .form-select-block select{padding:7px 10px;font-size:14px}.rte-wrapper .rte-header .rte-el-select .form-select-block svg{margin-right:-10px}[data-slate-editor]{outline:none;border:none}.admin .aside{background-color:#fff;height:100vh;overflow-y:auto;position:-webkit-sticky;position:sticky;top:0;padding:20px 20px 40px;box-shadow:0 0 20px -5px rgba(71,85,105,.1);border-right:1px solid #e2e8f0;z-index:800;transition:padding .2s ease-out}.admin .aside,.admin .aside .main-links{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.admin .aside .main-links{width:100%}.admin .aside .main-links a{color:#475569;display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:3px}.admin .aside .main-links a.active,.admin .aside .main-links a:hover{background-color:rgba(148,163,184,.1)}.admin .aside .main-links a.active span,.admin .aside .main-links a:hover span{font-weight:600;color:#1e293b}.admin .aside .main-links a.active svg,.admin .aside .main-links a:hover svg{color:#1e293b;opacity:1}.admin .aside .main-links a span{font-weight:500}.admin .aside .main-links a img,.admin .aside .main-links a svg{opacity:.6}.admin .aside.mobile-collapsed{position:-webkit-sticky;position:sticky;height:100vh;width:100%;top:0;max-width:300px;width:300px}.admin .aside.mobile-expanded{height:100vh;position:fixed;overflow-y:auto;padding-bottom:40px;top:0;width:300px;max-width:300px}@media (max-width:990px){.admin .aside{min-width:150px;width:150px}.admin .aside.mobile-collapsed{position:absolute;height:49px;width:300px;overflow:hidden;padding:8px 8px 8px 20px}.admin .aside.mobile-expanded{height:100vh;position:fixed;overflow-y:auto;padding-bottom:40px}}@media (max-width:450px){.admin .aside.mobile-collapsed{position:absolute;height:49px;width:180px}.admin .aside.mobile-collapsed .logo .logo-text{display:none}.admin .aside.mobile-expanded{max-width:230px;width:230px}.admin .aside.mobile-expanded .logo .logo-text{display:none}}.admin .admin-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:30px;gap:30px;background-color:rgba(241,245,249,.6)}@media (max-width:600px){.admin .admin-content{padding:30px 15px}}html.dark .admin .aside{background-color:#1e293b;box-shadow:0 0 20px -5px rgba(71,85,105,.1);border-right:1px solid #334155}html.dark .admin .aside .main-links{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%}html.dark .admin .aside .main-links a{color:#64748b}html.dark .admin .aside .main-links a.active span,html.dark .admin .aside .main-links a.active svg,html.dark .admin .aside .main-links a:hover span,html.dark .admin .aside .main-links a:hover svg{color:#fff}html.dark .admin .admin-content{background-color:transparent}.terminal div{display:block}.xterm{padding:20px}.xterm,.xterm-screen{height:100%!important;width:100%!important;overflow:hidden}.xterm-viewport{background-color:transparent!important}.xterm-viewport::-webkit-scrollbar{background-color:#1e293b}.xterm-viewport::-webkit-scrollbar-thumb{background-color:#5c6e87}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!container{width:100%!important}.container{width:100%}@media (min-width:350px){.\!container{max-width:350px!important}.container{max-width:350px}}@media (min-width:450px){.\!container{max-width:450px!important}.container{max-width:450px}}@media (min-width:600px){.\!container{max-width:600px!important}.container{max-width:600px}}@media (min-width:800px){.\!container{max-width:800px!important}.container{max-width:800px}}@media (min-width:990px){.\!container{max-width:990px!important}.container{max-width:990px}}@media (min-width:1200px){.\!container{max-width:1200px!important}.container{max-width:1200px}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-2{bottom:-.5rem}.-left-\[38px\]{left:-38px}.-right-10{right:-2.5rem}.-right-4{right:-1rem}.-top-2{top:-.5rem}.-top-4{top:-1rem}.-top-5{top:-1.25rem}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-2{bottom:.5rem}.bottom-4{bottom:1rem}.bottom-6{bottom:1.5rem}.left-0{left:0}.left-10{left:2.5rem}.left-2{left:.5rem}.left-4{left:1rem}.left-5{left:1.25rem}.left-6{left:1.5rem}.right-0{right:0}.right-1\.5{right:.375rem}.right-12{right:3rem}.right-2{right:.5rem}.right-4{right:1rem}.right-5{right:1.25rem}.right-8{right:2rem}.top-0{top:0}.top-1\.5{top:.375rem}.top-10{top:2.5rem}.top-2{top:.5rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-9{top:2.25rem}.top-\[60px\]{top:60px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[100\]{z-index:100}.z-\[1\]{z-index:1}.z-\[40\]{z-index:40}.m-0{margin:0}.m-auto{margin:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.-my-3{margin-top:-.75rem;margin-bottom:-.75rem}.-my-4{margin-top:-1rem;margin-bottom:-1rem}.-my-8{margin-top:-2rem;margin-bottom:-2rem}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-2{margin-bottom:-.5rem}.-mb-20{margin-bottom:-5rem}.-mb-4{margin-bottom:-1rem}.-mb-6{margin-bottom:-1.5rem}.-mb-\[1px\]{margin-bottom:-1px}.-ml-10{margin-left:-2.5rem}.-ml-6{margin-left:-1.5rem}.-mr-1\.5{margin-right:-.375rem}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-1\.5{margin-top:-.375rem}.-mt-10{margin-top:-2.5rem}.-mt-16{margin-top:-4rem}.-mt-2{margin-top:-.5rem}.-mt-24{margin-top:-6rem}.-mt-3{margin-top:-.75rem}.-mt-4{margin-top:-1rem}.-mt-5{margin-top:-1.25rem}.-mt-6{margin-top:-1.5rem}.-mt-\[1px\]{margin-top:-1px}.-mt-\[40px\]{margin-top:-40px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-32{margin-bottom:8rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-2{margin-left:.5rem}.ml-6{margin-left:1.5rem}.ml-\[10px\]{margin-left:10px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-5{margin-right:1.25rem}.mr-\[3px\]{margin-right:3px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[-1px\]{margin-top:-1px}.mt-auto{margin-top:auto}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.\!table{display:table!important}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-24{height:6rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[100px\]{height:100px}.h-\[150px\]{height:150px}.h-\[300px\]{height:300px}.h-\[340px\]{height:340px}.h-\[45px\]{height:45px}.h-\[500px\]{height:500px}.h-\[60vh\]{height:60vh}.h-\[80vh\]{height:80vh}.h-\[85px\]{height:85px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-44{max-height:11rem}.max-h-\[500px\]{max-height:500px}.max-h-\[90vh\]{max-height:90vh}.max-h-max{max-height:max-content}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[40\%\]{width:40%}.w-\[40px\]{width:40px}.w-\[60\%\]{width:60%}.w-\[90vw\]{width:90vw}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.min-w-\[200px\]{min-width:200px}.min-w-\[80px\]{min-width:80px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[1000px\]{max-width:1000px}.max-w-\[1200px\]{max-width:1200px}.max-w-\[740px\]{max-width:740px}.max-w-\[800px\]{max-width:800px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.shrink{flex-shrink:1}.grow{flex-grow:1}.grow-0{flex-grow:0}.border-collapse{border-collapse:collapse}.translate-y-10{--tw-translate-y:2.5rem}.rotate-180,.translate-y-10{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-75,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[1px\]{gap:1px}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.gap-x-6{column-gap:1.5rem}.gap-y-0{row-gap:0}.gap-y-10{row-gap:2.5rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-none{border-style:none}.border-orange-400{--tw-border-opacity:1;border-color:rgb(251 146 60/var(--tw-border-opacity,1))}.border-primary{--tw-border-opacity:1;border-color:rgb(0 148 138/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-slate-400{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity,1))}.border-slate-500\/50{border-color:rgba(100,116,139,.5)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity,1))}.border-white\/30{border-color:hsla(0,0%,100%,.3)}.border-s-slate-200{--tw-border-opacity:1;border-inline-start-color:rgb(226 232 240/var(--tw-border-opacity,1))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-fuchsia-600{--tw-bg-opacity:1;background-color:rgb(192 38 211/var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-orange-50{--tw-bg-opacity:1;background-color:rgb(255 247 237/var(--tw-bg-opacity,1))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(0 148 138/var(--tw-bg-opacity,1))}.bg-primary\/10{background-color:rgba(0,148,138,.1)}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-secondary{--tw-bg-opacity:1;background-color:rgb(16 89 184/var(--tw-bg-opacity,1))}.bg-secondary\/10{background-color:rgba(16,89,184,.1)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-100\/50{background-color:rgba(241,245,249,.5)}.bg-slate-100\/80{background-color:rgba(241,245,249,.8)}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-500{--tw-bg-opacity:1;background-color:rgb(100 116 139/var(--tw-bg-opacity,1))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-slate-700{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.bg-slate-800\/40{background-color:rgba(30,41,59,.4)}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/80{background-color:hsla(0,0%,100%,.8)}.fill-slate-400{fill:#94a3b8}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-20{padding:5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-20{padding-left:5rem;padding-right:5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-20{padding-bottom:5rem}.pb-44{padding-bottom:11rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-\[20px\]{padding-left:20px}.pr-10{padding-right:2.5rem}.pr-16{padding-right:4rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-4{padding-top:1rem}.pt-44{padding-top:11rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.pt-\[40px\]{padding-top:40px}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-inherit{color:inherit}.text-orange-600{--tw-text-opacity:1;color:rgb(234 88 12/var(--tw-text-opacity,1))}.text-orange-700{--tw-text-opacity:1;color:rgb(194 65 12/var(--tw-text-opacity,1))}.text-primary{--tw-text-opacity:1;color:rgb(0 148 138/var(--tw-text-opacity,1))}.text-secondary{--tw-text-opacity:1;color:rgb(16 89 184/var(--tw-text-opacity,1))}.text-secondary2{--tw-text-opacity:1;color:rgb(32 118 230/var(--tw-text-opacity,1))}.text-sky-500{--tw-text-opacity:1;color:rgb(14 165 233/var(--tw-text-opacity,1))}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-slate-900\/50{color:rgba(15,23,42,.5)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/70{color:hsla(0,0%,100%,.7)}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.overline{-webkit-text-decoration-line:overline;text-decoration-line:overline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-5{opacity:.05}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.mix-blend-overlay{mix-blend-mode:overlay}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-2xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-md{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-sm,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.shadow-slate-300\/30{--tw-shadow-color:rgba(203,213,225,.3);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-300\/40{--tw-shadow-color:rgba(203,213,225,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-400\/40{--tw-shadow-color:rgba(148,163,184,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-700{--tw-shadow-color:#334155;--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-700\/40{--tw-shadow-color:rgba(51,65,85,.4);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-900\/20{--tw-shadow-color:rgba(15,23,42,.2);--tw-shadow:var(--tw-shadow-colored)}.shadow-slate-900\/5{--tw-shadow-color:rgba(15,23,42,.05);--tw-shadow:var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-4{outline-width:4px}.outline-slate-100{outline-color:#f1f5f9}.outline-slate-300{outline-color:#cbd5e1}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px)}.blur,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale:grayscale(100%)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:z-20:hover{z-index:20}.hover\:border-primary:hover{--tw-border-opacity:1;border-color:rgb(0 148 138/var(--tw-border-opacity,1))}.hover\:border-primary\/50:hover{border-color:rgba(0,148,138,.5)}.hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgb(148 163 184/var(--tw-border-opacity,1))}.hover\:\!bg-transparent:hover{background-color:transparent!important}.hover\:bg-primary_dark:hover{--tw-bg-opacity:1;background-color:rgb(0 148 138/var(--tw-bg-opacity,1))}.hover\:bg-secondary\/20:hover{background-color:rgba(16,89,184,.2)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.hover\:bg-slate-400:hover{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1))}.hover\:bg-slate-700:hover{--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-white\/10:hover{background-color:hsla(0,0%,100%,.1)}.hover\:text-fuchsia-200:hover{--tw-text-opacity:1;color:rgb(245 208 254/var(--tw-text-opacity,1))}.hover\:text-primary_dark:hover{--tw-text-opacity:1;color:rgb(0 148 138/var(--tw-text-opacity,1))}.hover\:text-slate-800:hover{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.hover\:opacity-50:hover{opacity:.5}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:outline-red-100:hover{outline-color:#fee2e2}.focus\:shadow-lg:focus{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.dark\:ml-auto:is(.dark *){margin-left:auto}.dark\:flex:is(.dark *){display:flex}.dark\:hidden:is(.dark *){display:none}.dark\:border-slate-100\/10:is(.dark *){border-color:rgba(241,245,249,.1)}.dark\:border-slate-100\/20:is(.dark *){border-color:rgba(241,245,249,.2)}.dark\:border-slate-300\/20:is(.dark *){border-color:rgba(203,213,225,.2)}.dark\:border-slate-600:is(.dark *){--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.dark\:border-slate-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.dark\:border-white\/20:is(.dark *){border-color:hsla(0,0%,100%,.2)}.dark\:bg-blue-100\/10:is(.dark *){background-color:rgba(219,234,254,.1)}.dark\:bg-emerald-100\/10:is(.dark *){background-color:rgba(209,250,229,.1)}.dark\:bg-slate-400:is(.dark *){--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity,1))}.dark\:bg-slate-500\/10:is(.dark *){background-color:rgba(100,116,139,.1)}.dark\:bg-slate-600:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\:bg-slate-800\/80:is(.dark *){background-color:rgba(30,41,59,.8)}.dark\:bg-slate-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.dark\:bg-slate-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.dark\:bg-white:is(.dark *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.dark\:bg-white\/10:is(.dark *){background-color:hsla(0,0%,100%,.1)}.dark\:text-emerald-200:is(.dark *){--tw-text-opacity:1;color:rgb(167 243 208/var(--tw-text-opacity,1))}.dark\:text-fuchsia-800:is(.dark *){--tw-text-opacity:1;color:rgb(134 25 143/var(--tw-text-opacity,1))}.dark\:text-slate-100:is(.dark *){--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.dark\:text-slate-200:is(.dark *){--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-slate-500:is(.dark *){--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.dark\:text-slate-600:is(.dark *){--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.dark\:text-white:is(.dark *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:text-white\/80:is(.dark *){color:hsla(0,0%,100%,.8)}.dark\:opacity-10:is(.dark *){opacity:.1}.dark\:opacity-20:is(.dark *){opacity:.2}.dark\:shadow-black:is(.dark *){--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/10:is(.dark *){--tw-shadow-color:rgba(0,0,0,.1);--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/20:is(.dark *){--tw-shadow-color:rgba(0,0,0,.2);--tw-shadow:var(--tw-shadow-colored)}.dark\:shadow-black\/30:is(.dark *){--tw-shadow-color:rgba(0,0,0,.3);--tw-shadow:var(--tw-shadow-colored)}.dark\:outline-transparent:is(.dark *){outline-color:transparent}.dark\:hover\:bg-slate-600:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:hover\:bg-slate-800:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}@media (min-width:450px){.sm\:flex{display:flex}.sm\:w-auto{width:auto}.sm\:p-10{padding:2.5rem}.sm\:p-4{padding:1rem}.sm\:p-6{padding:1.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:pl-10{padding-left:2.5rem}.sm\:pt-0{padding-top:0}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:600px){.md\:bottom-10{bottom:2.5rem}.md\:left-10{left:2.5rem}.md\:right-10{right:2.5rem}.md\:mb-20{margin-bottom:5rem}.md\:ml-auto{margin-left:auto}.md\:h-8{height:2rem}.md\:w-8{width:2rem}.md\:w-96{width:24rem}.md\:w-auto{width:auto}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-10{gap:2.5rem}.md\:gap-8{gap:2rem}.md\:p-10{padding:2.5rem}.md\:p-8{padding:2rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:text-5xl{font-size:3rem;line-height:1}}@media (min-width:800px){.sl\:flex{display:flex}.sl\:w-auto{width:auto}.sl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sl\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width:990px){.lg\:absolute{position:absolute}.lg\:mb-20{margin-bottom:5rem}.lg\:mb-32{margin-bottom:8rem}.lg\:mt-0{margin-top:0}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:max-h-screen{max-height:100vh}.lg\:w-1\/2{width:50%}.lg\:w-80{width:20rem}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:items-center{align-items:center}.lg\:justify-start{justify-content:flex-start}.lg\:py-20{padding-top:5rem;padding-bottom:5rem}.lg\:pb-28{padding-bottom:7rem}.lg\:text-left{text-align:left}}@media (min-width:1200px){.xl\:static{position:static}.xl\:top-0{top:0}.xl\:my-0{margin-top:0;margin-bottom:0}.xl\:-ml-2{margin-left:-.5rem}.xl\:-mt-2{margin-top:-.5rem}.xl\:-mt-3{margin-top:-.75rem}.xl\:mb-0{margin-bottom:0}.xl\:mt-0{margin-top:0}.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:h-auto{height:auto}.xl\:w-auto{width:auto}.xl\:max-w-2xl{max-width:42rem}.xl\:max-w-lg{max-width:32rem}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-nowrap{flex-wrap:nowrap}.xl\:items-start{align-items:flex-start}.xl\:justify-between{justify-content:space-between}.xl\:gap-0{gap:0}.xl\:gap-0\.5{gap:.125rem}.xl\:gap-10{gap:2.5rem}.xl\:overflow-visible{overflow:visible}.xl\:bg-transparent{background-color:transparent}.xl\:p-0{padding:0}.xl\:p-10{padding:2.5rem}.xl\:p-4{padding:1rem}.xl\:px-0{padding-left:0;padding-right:0}.xl\:pb-0{padding-bottom:0}.xl\:text-\[60px\]{font-size:60px}.xl\:shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}} \ No newline at end of file diff --git a/dsql-app/.local_dist/static/development/_buildManifest.js b/dsql-app/.local_dist/static/development/_buildManifest.js new file mode 100644 index 0000000..4597e52 --- /dev/null +++ b/dsql-app/.local_dist/static/development/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST = (function(a){return {__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:a,__routerFilterDynamic:a,"/":["static\u002Fchunks\u002Fpages\u002Findex.js"],"/404":["static\u002Fchunks\u002Fpages\u002F404.js"],"/_error":["static\u002Fchunks\u002Fpages\u002F_error.js"],"/admin/[user_id]/media":["static\u002Fchunks\u002Fpages\u002Fadmin\u002F[user_id]\u002Fmedia.js"],"/admin/[user_id]/media/[...folder]":["static\u002Fchunks\u002Fpages\u002Fadmin\u002F[user_id]\u002Fmedia\u002F[...folder].js"],sortedPages:["\u002F","\u002F404","\u002F_app","\u002F_error","\u002Fadmin\u002F[user_id]\u002Fmedia","\u002Fadmin\u002F[user_id]\u002Fmedia\u002F[...folder]"]}}(void 0));self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/dsql-app/.local_dist/static/development/_ssgManifest.js b/dsql-app/.local_dist/static/development/_ssgManifest.js new file mode 100644 index 0000000..2260768 --- /dev/null +++ b/dsql-app/.local_dist/static/development/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set;self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/dsql-app/.local_dist/static/webpack/4d5fe4a7e5835ea3.webpack.hot-update.json b/dsql-app/.local_dist/static/webpack/4d5fe4a7e5835ea3.webpack.hot-update.json new file mode 100644 index 0000000..3823c4c --- /dev/null +++ b/dsql-app/.local_dist/static/webpack/4d5fe4a7e5835ea3.webpack.hot-update.json @@ -0,0 +1 @@ +{"c":["webpack"],"r":[],"m":[]} \ No newline at end of file diff --git a/dsql-app/.local_dist/static/webpack/ef7baaab775adfd6.webpack.hot-update.json b/dsql-app/.local_dist/static/webpack/ef7baaab775adfd6.webpack.hot-update.json new file mode 100644 index 0000000..965a5f7 --- /dev/null +++ b/dsql-app/.local_dist/static/webpack/ef7baaab775adfd6.webpack.hot-update.json @@ -0,0 +1 @@ +{"c":["webpack"],"r":["pages/admin/[user_id]"],"m":["./components/admin/dashboard/DashboardContent.jsx","./components/admin/dashboard/DatabasesSummary.jsx","./components/admin/dashboard/Metrics.jsx","./components/admin/databases/DatabaseListCard.jsx","./components/admin/databases/DatabasesContent.jsx","./components/admin/databases/DatabasesList.jsx","./components/admin/databases/DelegatedDatabasesSection.jsx","./components/admin/databases/DeleteDatabaseConfirmationPopup.jsx","./components/general/DatabaseSlugCopy.jsx","./components/general/MetricCard.jsx","./node_modules/lucide-react/dist/esm/icons/key.js","./node_modules/lucide-react/dist/esm/icons/package-plus.js","./node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=%2Fapp%2Fpages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D!","./pages/admin/[user_id]/databases/index.jsx","./pages/admin/[user_id]/index.jsx","__barrel_optimize__?names=ChevronRight!=!./node_modules/lucide-react/dist/esm/lucide-react.js","__barrel_optimize__?names=Database,Images,Key,Sheet!=!./node_modules/lucide-react/dist/esm/lucide-react.js","__barrel_optimize__?names=PackagePlus!=!./node_modules/lucide-react/dist/esm/lucide-react.js"]} \ No newline at end of file diff --git a/dsql-app/.local_dist/static/webpack/webpack.4d5fe4a7e5835ea3.hot-update.js b/dsql-app/.local_dist/static/webpack/webpack.4d5fe4a7e5835ea3.hot-update.js new file mode 100644 index 0000000..da069f5 --- /dev/null +++ b/dsql-app/.local_dist/static/webpack/webpack.4d5fe4a7e5835ea3.hot-update.js @@ -0,0 +1,18 @@ +"use strict"; +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +self["webpackHotUpdate_N_E"]("webpack",{}, +/******/ function(__webpack_require__) { // webpackRuntimeModules +/******/ /* webpack/runtime/getFullHash */ +/******/ (() => { +/******/ __webpack_require__.h = () => ("77df37b8f24b04bb") +/******/ })(); +/******/ +/******/ } +); \ No newline at end of file diff --git a/dsql-app/.local_dist/static/webpack/webpack.ef7baaab775adfd6.hot-update.js b/dsql-app/.local_dist/static/webpack/webpack.ef7baaab775adfd6.hot-update.js new file mode 100644 index 0000000..31464fd --- /dev/null +++ b/dsql-app/.local_dist/static/webpack/webpack.ef7baaab775adfd6.hot-update.js @@ -0,0 +1,18 @@ +"use strict"; +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +self["webpackHotUpdate_N_E"]("webpack",{}, +/******/ function(__webpack_require__) { // webpackRuntimeModules +/******/ /* webpack/runtime/getFullHash */ +/******/ (() => { +/******/ __webpack_require__.h = () => ("4d5fe4a7e5835ea3") +/******/ })(); +/******/ +/******/ } +); \ No newline at end of file diff --git a/dsql-app/.local_dist/trace b/dsql-app/.local_dist/trace index e3d6185..6dc1246 100644 --- a/dsql-app/.local_dist/trace +++ b/dsql-app/.local_dist/trace @@ -1,28 +1,28 @@ -[{"name":"generate-buildid","duration":174,"timestamp":49375548605,"id":4,"parentId":1,"tags":{},"startTime":1733747119451,"traceId":"a901697cbe7cbd9f"},{"name":"load-custom-routes","duration":235,"timestamp":49375548874,"id":5,"parentId":1,"tags":{},"startTime":1733747119451,"traceId":"a901697cbe7cbd9f"},{"name":"create-dist-dir","duration":42383,"timestamp":49375606849,"id":6,"parentId":1,"tags":{},"startTime":1733747119509,"traceId":"a901697cbe7cbd9f"},{"name":"verify-typescript-setup","duration":193618,"timestamp":49375650064,"id":7,"parentId":1,"tags":{},"startTime":1733747119553,"traceId":"a901697cbe7cbd9f"},{"name":"collect-pages","duration":12717,"timestamp":49375843957,"id":8,"parentId":1,"tags":{},"startTime":1733747119747,"traceId":"a901697cbe7cbd9f"},{"name":"create-pages-mapping","duration":1509,"timestamp":49375857885,"id":9,"parentId":1,"tags":{},"startTime":1733747119760,"traceId":"a901697cbe7cbd9f"},{"name":"public-dir-conflict-check","duration":6859,"timestamp":49375859565,"id":10,"parentId":1,"tags":{},"startTime":1733747119762,"traceId":"a901697cbe7cbd9f"},{"name":"generate-routes-manifest","duration":3907,"timestamp":49375866623,"id":11,"parentId":1,"tags":{},"startTime":1733747119769,"traceId":"a901697cbe7cbd9f"},{"name":"create-entrypoints","duration":111325,"timestamp":49375875488,"id":14,"parentId":1,"tags":{},"startTime":1733747119778,"traceId":"a901697cbe7cbd9f"},{"name":"generate-webpack-config","duration":228101,"timestamp":49375986872,"id":15,"parentId":13,"tags":{},"startTime":1733747119889,"traceId":"a901697cbe7cbd9f"},{"name":"next-trace-entrypoint-plugin","duration":1917,"timestamp":49376298501,"id":17,"parentId":16,"tags":{},"startTime":1733747120201,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":92881,"timestamp":49376465825,"id":211,"parentId":20,"tags":{"name":"/app/pages/_document.js","layer":null},"startTime":1733747120368,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":111684,"timestamp":49376468040,"id":212,"parentId":19,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=next%2Fdist%2Fpages%2F_error&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120371,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":112389,"timestamp":49376469687,"id":213,"parentId":21,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F404&preferredRegion=&absolutePagePath=private-next-pages%2F404.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120372,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":114135,"timestamp":49376469857,"id":214,"parentId":22,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F500&preferredRegion=&absolutePagePath=private-next-pages%2F500.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120372,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":115131,"timestamp":49376470012,"id":215,"parentId":23,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddAdminUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddAdminUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120373,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":115276,"timestamp":49376470551,"id":216,"parentId":24,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddApiKey.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120373,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":115878,"timestamp":49376470707,"id":217,"parentId":25,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FacceptUserInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FacceptUserInvitation.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120373,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":116449,"timestamp":49376470832,"id":218,"parentId":26,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddNewMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddNewMediaFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120373,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":31015,"timestamp":49376562306,"id":219,"parentId":27,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120465,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":31512,"timestamp":49376562740,"id":220,"parentId":28,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120465,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":31918,"timestamp":49376563010,"id":221,"parentId":29,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddSocialLogin&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddSocialLogin.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":32579,"timestamp":49376563163,"id":222,"parentId":30,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUsersTableToDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUsersTableToDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":33276,"timestamp":49376563336,"id":223,"parentId":31,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":33869,"timestamp":49376563465,"id":224,"parentId":32,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":34506,"timestamp":49376563589,"id":225,"parentId":33,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FaddUserBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FaddUserBackup.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":35213,"timestamp":49376563694,"id":226,"parentId":34,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclearErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclearErrorLogs.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":35751,"timestamp":49376563845,"id":227,"parentId":35,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FcreateNewBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FcreateNewBackup.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120466,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":36301,"timestamp":49376563964,"id":228,"parentId":36,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclientError&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclientError.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":36861,"timestamp":49376564073,"id":229,"parentId":37,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":37408,"timestamp":49376564210,"id":230,"parentId":38,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetTablesForUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetTablesForUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":37794,"timestamp":49376564319,"id":231,"parentId":39,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserBackups.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":38250,"timestamp":49376564418,"id":232,"parentId":40,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabBackups.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":38670,"timestamp":49376564528,"id":233,"parentId":41,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":39024,"timestamp":49376564619,"id":234,"parentId":42,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabErrorLogs.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":39376,"timestamp":49376564716,"id":235,"parentId":43,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabFile&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabFile.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":39688,"timestamp":49376564813,"id":236,"parentId":44,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120467,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":39956,"timestamp":49376564945,"id":237,"parentId":45,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FupdateEnv&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FupdateEnv.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":40238,"timestamp":49376565044,"id":238,"parentId":46,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FchangeDbUserPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FchangeDbUserPassword.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":40530,"timestamp":49376565143,"id":239,"parentId":47,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcheckDuplicateData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckDuplicateData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":40888,"timestamp":49376565227,"id":240,"parentId":48,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FloginSuUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FloginSuUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":41197,"timestamp":49376565322,"id":241,"parentId":49,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcheckExistingFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckExistingFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":41513,"timestamp":49376565404,"id":242,"parentId":50,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FclientSideAuth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FclientSideAuth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":41990,"timestamp":49376565481,"id":243,"parentId":51,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fdisconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fdisconnect.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":42335,"timestamp":49376565561,"id":244,"parentId":52,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fhandshake&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fhandshake.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":42740,"timestamp":49376565650,"id":245,"parentId":53,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fverify&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fverify.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":43176,"timestamp":49376565728,"id":246,"parentId":54,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Findex.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":43735,"timestamp":49376565806,"id":247,"parentId":55,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fcontact.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120468,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":44126,"timestamp":49376565955,"id":248,"parentId":56,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":44500,"timestamp":49376566056,"id":249,"parentId":57,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteApiKey.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":44855,"timestamp":49376566231,"id":251,"parentId":59,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcreateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcreateUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":45402,"timestamp":49376566147,"id":250,"parentId":58,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteInvitation.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":45686,"timestamp":49376566318,"id":252,"parentId":60,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":46012,"timestamp":49376566418,"id":253,"parentId":61,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":46371,"timestamp":49376566497,"id":254,"parentId":62,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":46772,"timestamp":49376566576,"id":255,"parentId":63,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":47159,"timestamp":49376566656,"id":256,"parentId":64,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":47593,"timestamp":49376566741,"id":257,"parentId":65,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":48033,"timestamp":49376566818,"id":258,"parentId":66,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdownloadDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdownloadDatabaseSchema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":48408,"timestamp":49376566899,"id":259,"parentId":67,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteMediaFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120469,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":48810,"timestamp":49376566980,"id":260,"parentId":68,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FexportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":49183,"timestamp":49376567076,"id":261,"parentId":69,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fget-authorized-databases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fget-authorized-databases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":49501,"timestamp":49376567158,"id":262,"parentId":70,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDatabaseTables.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":49790,"timestamp":49376567236,"id":263,"parentId":71,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ffetch-entries-basic&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-entries-basic.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":50034,"timestamp":49376567320,"id":264,"parentId":72,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":50283,"timestamp":49376567415,"id":265,"parentId":73,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDiskUsage&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDiskUsage.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":50550,"timestamp":49376567493,"id":266,"parentId":74,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":50811,"timestamp":49376567573,"id":267,"parentId":75,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":51053,"timestamp":49376567658,"id":268,"parentId":76,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabaseTables.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":51303,"timestamp":49376567750,"id":269,"parentId":77,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":51632,"timestamp":49376567830,"id":270,"parentId":78,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserSchemaData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserSchemaData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120470,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":51906,"timestamp":49376567931,"id":271,"parentId":79,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FimportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":52156,"timestamp":49376568017,"id":272,"parentId":80,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fhealthcheck&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fhealthcheck.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":52375,"timestamp":49376568114,"id":273,"parentId":81,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FimportDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabaseSchema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":52604,"timestamp":49376568196,"id":274,"parentId":82,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FinfiniteScroll&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FinfiniteScroll.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":52856,"timestamp":49376568275,"id":275,"parentId":83,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FloginUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FloginUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":53130,"timestamp":49376568357,"id":276,"parentId":84,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fmedia%2FaddPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FaddPrivateMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":53363,"timestamp":49376568467,"id":277,"parentId":85,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fmedia%2FgetPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FgetPrivateMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":53590,"timestamp":49376568578,"id":278,"parentId":86,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FlogoutUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FlogoutUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":53825,"timestamp":49376568664,"id":279,"parentId":87,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FpurgeDb&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FpurgeDb.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":54054,"timestamp":49376568749,"id":280,"parentId":88,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":54316,"timestamp":49376568853,"id":281,"parentId":89,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120471,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":54600,"timestamp":49376568951,"id":282,"parentId":90,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FqueryEntriesSearchTerm&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FqueryEntriesSearchTerm.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":54860,"timestamp":49376569040,"id":283,"parentId":91,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":55110,"timestamp":49376569137,"id":284,"parentId":92,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FreAuthenticateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FreAuthenticateUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":55347,"timestamp":49376569241,"id":285,"parentId":93,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FregisterUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FregisterUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":55604,"timestamp":49376569334,"id":286,"parentId":94,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrefreshEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrefreshEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":55804,"timestamp":49376569541,"id":287,"parentId":95,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrenameMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrenameMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":56076,"timestamp":49376569656,"id":288,"parentId":96,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FresetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":56372,"timestamp":49376569763,"id":289,"parentId":97,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FresetPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetPassword.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":56663,"timestamp":49376569855,"id":290,"parentId":98,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120472,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":56941,"timestamp":49376569939,"id":291,"parentId":99,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FsendPasswordResetLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendPasswordResetLink.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":57206,"timestamp":49376570026,"id":292,"parentId":100,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FsendEmailVerificationLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendEmailVerificationLink.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":57478,"timestamp":49376570119,"id":293,"parentId":101,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgoogle-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgoogle-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":57742,"timestamp":49376570204,"id":294,"parentId":102,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Ffacebook-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Ffacebook-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":58032,"timestamp":49376570284,"id":295,"parentId":103,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckEmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckEmail.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":58308,"timestamp":49376570368,"id":296,"parentId":104,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":58587,"timestamp":49376570471,"id":297,"parentId":105,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":58892,"timestamp":49376570553,"id":298,"parentId":106,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fcreate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fcreate.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":59181,"timestamp":49376570638,"id":299,"parentId":107,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgithub-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgithub-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":59436,"timestamp":49376570720,"id":300,"parentId":108,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fdelete&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fdelete.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module","duration":59843,"timestamp":49376570815,"id":301,"parentId":109,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fupdate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fupdate.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":60096,"timestamp":49376570897,"id":302,"parentId":110,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fstream%2F%5Bpath%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fstream%2F%5Bpath%5D.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120473,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":60335,"timestamp":49376570979,"id":303,"parentId":111,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsync-table-data&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsync-table-data.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120474,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":60479,"timestamp":49376571187,"id":304,"parentId":112,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Funsubscribe.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120474,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":60729,"timestamp":49376571281,"id":305,"parentId":113,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ftest%2Fmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fmail.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120474,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":60997,"timestamp":49376571355,"id":306,"parentId":114,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ftest%2Fcors&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fcors.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120474,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":61242,"timestamp":49376571426,"id":307,"parentId":115,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateAdminUserAccess&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateAdminUserAccess.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120474,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":68247,"timestamp":49376574423,"id":308,"parentId":116,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateClonedTableForeignKeys&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateClonedTableForeignKeys.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120477,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12081,"timestamp":49376710557,"id":309,"parentId":117,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateDbSchemaDataForUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbSchemaDataForUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12295,"timestamp":49376710771,"id":310,"parentId":118,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":9731,"timestamp":49376716104,"id":311,"parentId":119,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10010,"timestamp":49376716237,"id":312,"parentId":120,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10300,"timestamp":49376716308,"id":313,"parentId":121,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10590,"timestamp":49376716375,"id":314,"parentId":122,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10898,"timestamp":49376716434,"id":315,"parentId":123,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11276,"timestamp":49376716497,"id":316,"parentId":124,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser-schema%2Freplace-database-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser-schema%2Freplace-database-schema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11608,"timestamp":49376716556,"id":317,"parentId":125,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11905,"timestamp":49376716612,"id":318,"parentId":126,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12199,"timestamp":49376716673,"id":319,"parentId":127,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12513,"timestamp":49376716728,"id":320,"parentId":128,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12853,"timestamp":49376716783,"id":321,"parentId":129,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13146,"timestamp":49376716846,"id":322,"parentId":130,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13431,"timestamp":49376716901,"id":323,"parentId":131,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120619,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14869,"timestamp":49376718584,"id":324,"parentId":132,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15103,"timestamp":49376718676,"id":325,"parentId":133,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15340,"timestamp":49376718744,"id":326,"parentId":134,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15610,"timestamp":49376718805,"id":327,"parentId":135,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fwebhooks%2Fgithub-push&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fwebhooks%2Fgithub-push.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16205,"timestamp":49376718870,"id":328,"parentId":137,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fabout&preferredRegion=&absolutePagePath=private-next-pages%2Fabout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16745,"timestamp":49376718938,"id":329,"parentId":138,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17307,"timestamp":49376719006,"id":330,"parentId":139,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":4607,"timestamp":49376753440,"id":331,"parentId":140,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120656,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":5155,"timestamp":49376753629,"id":332,"parentId":141,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120656,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":5831,"timestamp":49376753717,"id":333,"parentId":142,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120656,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":6582,"timestamp":49376753805,"id":334,"parentId":143,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120656,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7190,"timestamp":49376753906,"id":335,"parentId":144,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120656,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12877,"timestamp":49376756433,"id":336,"parentId":145,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13444,"timestamp":49376756550,"id":337,"parentId":146,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14128,"timestamp":49376756639,"id":338,"parentId":147,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14893,"timestamp":49376756711,"id":339,"parentId":148,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":6624,"timestamp":49376777571,"id":340,"parentId":149,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120680,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7140,"timestamp":49376777779,"id":341,"parentId":150,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120680,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7786,"timestamp":49376777873,"id":342,"parentId":151,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120680,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":8375,"timestamp":49376777966,"id":343,"parentId":152,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":8913,"timestamp":49376778045,"id":344,"parentId":153,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":9561,"timestamp":49376778123,"id":345,"parentId":154,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10214,"timestamp":49376778205,"id":346,"parentId":155,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10981,"timestamp":49376778278,"id":347,"parentId":156,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11658,"timestamp":49376778350,"id":348,"parentId":157,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12410,"timestamp":49376778438,"id":349,"parentId":158,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120681,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16911,"timestamp":49376779897,"id":350,"parentId":159,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120682,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17549,"timestamp":49376780012,"id":351,"parentId":160,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":18047,"timestamp":49376780198,"id":353,"parentId":162,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":18753,"timestamp":49376780114,"id":352,"parentId":161,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":19240,"timestamp":49376780275,"id":354,"parentId":163,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":19786,"timestamp":49376780356,"id":355,"parentId":164,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":20458,"timestamp":49376780427,"id":356,"parentId":165,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":23770,"timestamp":49376780498,"id":357,"parentId":166,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120683,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":29790,"timestamp":49376781465,"id":358,"parentId":167,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120684,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":33733,"timestamp":49376782729,"id":359,"parentId":168,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120685,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":34316,"timestamp":49376782825,"id":360,"parentId":169,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120685,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":34937,"timestamp":49376782897,"id":361,"parentId":170,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120685,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7157,"timestamp":49376831690,"id":362,"parentId":171,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120734,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7303,"timestamp":49376831886,"id":363,"parentId":172,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FexportTableData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportTableData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120734,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7517,"timestamp":49376831973,"id":364,"parentId":173,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ffetch-media&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-media.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7722,"timestamp":49376832045,"id":365,"parentId":174,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":7978,"timestamp":49376832113,"id":366,"parentId":175,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":8221,"timestamp":49376832184,"id":367,"parentId":176,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":8585,"timestamp":49376832248,"id":368,"parentId":177,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":8901,"timestamp":49376832313,"id":369,"parentId":178,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":9473,"timestamp":49376832382,"id":370,"parentId":179,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fblog&preferredRegion=&absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10015,"timestamp":49376832450,"id":371,"parentId":180,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fcontact.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":10572,"timestamp":49376832525,"id":372,"parentId":181,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11291,"timestamp":49376832595,"id":373,"parentId":182,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11869,"timestamp":49376832658,"id":374,"parentId":183,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12419,"timestamp":49376832720,"id":375,"parentId":184,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=private-next-pages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12887,"timestamp":49376832789,"id":376,"parentId":185,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13337,"timestamp":49376832851,"id":377,"parentId":186,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fcreate-account&preferredRegion=&absolutePagePath=private-next-pages%2Fcreate-account.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120735,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13807,"timestamp":49376832914,"id":378,"parentId":187,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fprivacy&preferredRegion=&absolutePagePath=private-next-pages%2Fprivacy.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14290,"timestamp":49376832981,"id":379,"parentId":188,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Flogout&preferredRegion=&absolutePagePath=private-next-pages%2Flogout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14733,"timestamp":49376833043,"id":380,"parentId":189,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Femail-verification&preferredRegion=&absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15175,"timestamp":49376833106,"id":381,"parentId":190,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fredirect&preferredRegion=&absolutePagePath=private-next-pages%2Fredirect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15672,"timestamp":49376833168,"id":382,"parentId":191,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fbackups&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16198,"timestamp":49376833265,"id":383,"parentId":192,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsend-password-reset-link&preferredRegion=&absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16709,"timestamp":49376833382,"id":384,"parentId":193,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fcreate-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17217,"timestamp":49376833452,"id":385,"parentId":194,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fconsole&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120736,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":22343,"timestamp":49376835020,"id":386,"parentId":195,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fedit-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120738,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":25507,"timestamp":49376835119,"id":387,"parentId":196,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Freset-password&preferredRegion=&absolutePagePath=private-next-pages%2Freset-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120738,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":26218,"timestamp":49376835188,"id":388,"parentId":197,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120738,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":31809,"timestamp":49376836203,"id":389,"parentId":198,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Ferror-logs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120739,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":32409,"timestamp":49376836369,"id":391,"parentId":200,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120739,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":33264,"timestamp":49376836295,"id":390,"parentId":199,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fenvar&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120739,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":33754,"timestamp":49376836447,"id":392,"parentId":201,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120739,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":242,"timestamp":49376897001,"id":402,"parentId":211,"tags":{"name":"react/jsx-runtime","layer":null},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":21,"timestamp":49376897278,"id":403,"parentId":211,"tags":{"name":"react","layer":null},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5406,"timestamp":49376897316,"id":404,"parentId":136,"tags":{"name":"/app/pages/_app.js","layer":null},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":11752,"timestamp":49376892420,"id":393,"parentId":202,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fload-balancing&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120795,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12265,"timestamp":49376892686,"id":394,"parentId":203,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120795,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12825,"timestamp":49376892795,"id":395,"parentId":204,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fservers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120795,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13417,"timestamp":49376892895,"id":396,"parentId":205,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120795,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13805,"timestamp":49376893109,"id":397,"parentId":206,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120796,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":14384,"timestamp":49376893215,"id":398,"parentId":207,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers%2Fnew&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120796,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module","duration":20122,"timestamp":49376896588,"id":399,"parentId":208,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fterms&preferredRegion=&absolutePagePath=private-next-pages%2Fterms.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120799,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":20703,"timestamp":49376896715,"id":400,"parentId":209,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Funsubscribe.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120799,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":21197,"timestamp":49376896807,"id":401,"parentId":210,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1733747120799,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21526,"timestamp":49376897394,"id":405,"parentId":211,"tags":{"name":"/app/node_modules/next/document.js","layer":null},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22802,"timestamp":49376897444,"id":406,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/server/route-kind.js","layer":null},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23306,"timestamp":49376897481,"id":407,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/server/route-kind.js","layer":"api"},"startTime":1733747120800,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":27341,"timestamp":49376899377,"id":409,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/build/templates/helpers.js","layer":null},"startTime":1733747120802,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28108,"timestamp":49376899436,"id":410,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/build/templates/helpers.js","layer":"api"},"startTime":1733747120802,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":29062,"timestamp":49376899571,"id":411,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/module.compiled.js","layer":null},"startTime":1733747120802,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":29702,"timestamp":49376899632,"id":412,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js","layer":"api"},"startTime":1733747120802,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":36563,"timestamp":49376897960,"id":408,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/pages/_error.js","layer":null},"startTime":1733747120801,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5757,"timestamp":49376944112,"id":415,"parentId":215,"tags":{"name":"/app/pages/api/addAdminUserUser.js","layer":"api"},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8889,"timestamp":49376944158,"id":416,"parentId":216,"tags":{"name":"/app/pages/api/addApiKey.js","layer":"api"},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10429,"timestamp":49376944051,"id":414,"parentId":213,"tags":{"name":"/app/pages/404.jsx","layer":null},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12280,"timestamp":49376943914,"id":413,"parentId":214,"tags":{"name":"/app/pages/500.jsx","layer":null},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19909,"timestamp":49376944245,"id":418,"parentId":218,"tags":{"name":"/app/pages/api/addNewMediaFolder.js","layer":"api"},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22032,"timestamp":49376944283,"id":419,"parentId":219,"tags":{"name":"/app/pages/api/addDbUser.js","layer":"api"},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25130,"timestamp":49376944203,"id":417,"parentId":217,"tags":{"name":"/app/pages/api/acceptUserInvitation.js","layer":"api"},"startTime":1733747120847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5349,"timestamp":49376985894,"id":420,"parentId":220,"tags":{"name":"/app/pages/api/addTableEntry.js","layer":"api"},"startTime":1733747120888,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7493,"timestamp":49376986098,"id":423,"parentId":223,"tags":{"name":"/app/pages/api/addUserUser.js","layer":"api"},"startTime":1733747120889,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10149,"timestamp":49376986003,"id":421,"parentId":221,"tags":{"name":"/app/pages/api/addSocialLogin.js","layer":"api"},"startTime":1733747120889,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14423,"timestamp":49376986055,"id":422,"parentId":222,"tags":{"name":"/app/pages/api/addUsersTableToDatabase.js","layer":"api"},"startTime":1733747120889,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19230,"timestamp":49376986154,"id":424,"parentId":224,"tags":{"name":"/app/pages/api/addUserTable.js","layer":"api"},"startTime":1733747120889,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5991,"timestamp":49377027464,"id":425,"parentId":225,"tags":{"name":"/app/pages/api/admin/addUserBackup.js","layer":"api"},"startTime":1733747120930,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4142,"timestamp":49377033965,"id":428,"parentId":228,"tags":{"name":"/app/pages/api/admin/clientError.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5154,"timestamp":49377034011,"id":429,"parentId":230,"tags":{"name":"/app/pages/api/admin/getTablesForUserDatabase.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5998,"timestamp":49377033760,"id":426,"parentId":226,"tags":{"name":"/app/pages/api/admin/clearErrorLogs.js","layer":"api"},"startTime":1733747120936,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7408,"timestamp":49377033896,"id":427,"parentId":227,"tags":{"name":"/app/pages/api/admin/createNewBackup.js","layer":"api"},"startTime":1733747120936,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8005,"timestamp":49377034091,"id":431,"parentId":232,"tags":{"name":"/app/pages/api/admin/grabBackups.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9811,"timestamp":49377034049,"id":430,"parentId":231,"tags":{"name":"/app/pages/api/admin/getUserBackups.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10755,"timestamp":49377034163,"id":433,"parentId":234,"tags":{"name":"/app/pages/api/admin/grabErrorLogs.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":16591,"timestamp":49377034128,"id":432,"parentId":233,"tags":{"name":"/app/pages/api/admin/getUserData.js","layer":"api"},"startTime":1733747120937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3907,"timestamp":49377056885,"id":434,"parentId":235,"tags":{"name":"/app/pages/api/admin/grabFile.js","layer":"api"},"startTime":1733747120959,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5711,"timestamp":49377056994,"id":435,"parentId":229,"tags":{"name":"/app/pages/api/admin/docs/[action].js","layer":"api"},"startTime":1733747120960,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6889,"timestamp":49377057050,"id":436,"parentId":238,"tags":{"name":"/app/pages/api/changeDbUserPassword.js","layer":"api"},"startTime":1733747120960,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7693,"timestamp":49377057091,"id":437,"parentId":239,"tags":{"name":"/app/pages/api/checkDuplicateData.js","layer":"api"},"startTime":1733747120960,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8190,"timestamp":49377058873,"id":438,"parentId":241,"tags":{"name":"/app/pages/api/checkExistingFolder.js","layer":"api"},"startTime":1733747120961,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2001,"timestamp":49377072013,"id":439,"parentId":242,"tags":{"name":"/app/pages/api/clientSideAuth.js","layer":"api"},"startTime":1733747120975,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2985,"timestamp":49377072109,"id":440,"parentId":236,"tags":{"name":"/app/pages/api/admin/runUserDbQuery.js","layer":"api"},"startTime":1733747120975,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2701,"timestamp":49377077798,"id":442,"parentId":237,"tags":{"name":"/app/pages/api/admin/updateEnv.js","layer":"api"},"startTime":1733747120980,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3721,"timestamp":49377077898,"id":444,"parentId":249,"tags":{"name":"/app/pages/api/deleteApiKey.js","layer":"api"},"startTime":1733747120980,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5638,"timestamp":49377077853,"id":443,"parentId":240,"tags":{"name":"/app/pages/api/admin/loginSuUser.js","layer":"api"},"startTime":1733747120980,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6690,"timestamp":49377077692,"id":441,"parentId":247,"tags":{"name":"/app/pages/api/contact.js","layer":"api"},"startTime":1733747120980,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7570,"timestamp":49377077932,"id":445,"parentId":248,"tags":{"name":"/app/pages/api/deleteDbUser.js","layer":"api"},"startTime":1733747120981,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7406,"timestamp":49377078884,"id":446,"parentId":252,"tags":{"name":"/app/pages/api/deleteTableEntry.js","layer":"api"},"startTime":1733747120981,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9329,"timestamp":49377078947,"id":447,"parentId":251,"tags":{"name":"/app/pages/api/createUserDatabase.js","layer":"api"},"startTime":1733747120982,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2654,"timestamp":49377101222,"id":448,"parentId":250,"tags":{"name":"/app/pages/api/deleteInvitation.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4050,"timestamp":49377101373,"id":450,"parentId":254,"tags":{"name":"/app/pages/api/deleteUserDatabase.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6065,"timestamp":49377101409,"id":451,"parentId":255,"tags":{"name":"/app/pages/api/deleteUserMedia.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7845,"timestamp":49377101327,"id":449,"parentId":253,"tags":{"name":"/app/pages/api/deleteUser.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8682,"timestamp":49377101477,"id":453,"parentId":258,"tags":{"name":"/app/pages/api/downloadDatabaseSchema.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9465,"timestamp":49377101537,"id":455,"parentId":257,"tags":{"name":"/app/pages/api/deleteUserUser.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12035,"timestamp":49377101442,"id":452,"parentId":256,"tags":{"name":"/app/pages/api/deleteUserTable.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12449,"timestamp":49377101567,"id":456,"parentId":260,"tags":{"name":"/app/pages/api/exportDatabase.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14117,"timestamp":49377101509,"id":454,"parentId":259,"tags":{"name":"/app/pages/api/deleteMediaFolder.js","layer":"api"},"startTime":1733747121004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6181,"timestamp":49377124661,"id":459,"parentId":263,"tags":{"name":"/app/pages/api/fetch-entries-basic.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7087,"timestamp":49377124766,"id":460,"parentId":264,"tags":{"name":"/app/pages/api/getDelegatedDatabaseToken.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8022,"timestamp":49377124566,"id":458,"parentId":262,"tags":{"name":"/app/pages/api/getDatabaseTables.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9229,"timestamp":49377124405,"id":457,"parentId":261,"tags":{"name":"/app/pages/api/get-authorized-databases.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9336,"timestamp":49377124863,"id":462,"parentId":266,"tags":{"name":"/app/pages/api/getUserDatabases.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9792,"timestamp":49377124944,"id":464,"parentId":268,"tags":{"name":"/app/pages/api/getUserDatabaseTables.js","layer":"api"},"startTime":1733747121028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10171,"timestamp":49377124979,"id":465,"parentId":269,"tags":{"name":"/app/pages/api/getUserMedia.js","layer":"api"},"startTime":1733747121028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11098,"timestamp":49377124900,"id":463,"parentId":267,"tags":{"name":"/app/pages/api/getDelegatedDatabases.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12866,"timestamp":49377125016,"id":466,"parentId":270,"tags":{"name":"/app/pages/api/getUserSchemaData.js","layer":"api"},"startTime":1733747121028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13132,"timestamp":49377125061,"id":467,"parentId":272,"tags":{"name":"/app/pages/api/healthcheck.js","layer":"api"},"startTime":1733747121028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15115,"timestamp":49377124821,"id":461,"parentId":265,"tags":{"name":"/app/pages/api/getDiskUsage.js","layer":"api"},"startTime":1733747121027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17340,"timestamp":49377129007,"id":468,"parentId":271,"tags":{"name":"/app/pages/api/importDatabase.js","layer":"api"},"startTime":1733747121032,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3897,"timestamp":49377153998,"id":472,"parentId":245,"tags":{"name":"/app/pages/api/connect/verify.js","layer":"api"},"startTime":1733747121057,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4787,"timestamp":49377153906,"id":470,"parentId":244,"tags":{"name":"/app/pages/api/connect/handshake.js","layer":"api"},"startTime":1733747121056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6307,"timestamp":49377153953,"id":471,"parentId":246,"tags":{"name":"/app/pages/api/connect/index.js","layer":"api"},"startTime":1733747121057,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7237,"timestamp":49377153805,"id":469,"parentId":243,"tags":{"name":"/app/pages/api/connect/disconnect.js","layer":"api"},"startTime":1733747121056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8759,"timestamp":49377155429,"id":473,"parentId":273,"tags":{"name":"/app/pages/api/importDatabaseSchema.js","layer":"api"},"startTime":1733747121058,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9926,"timestamp":49377155496,"id":474,"parentId":274,"tags":{"name":"/app/pages/api/infiniteScroll.js","layer":"api"},"startTime":1733747121058,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4128,"timestamp":49377178929,"id":476,"parentId":278,"tags":{"name":"/app/pages/api/logoutUser.js","layer":"api"},"startTime":1733747121082,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6114,"timestamp":49377178809,"id":475,"parentId":275,"tags":{"name":"/app/pages/api/loginUser.js","layer":"api"},"startTime":1733747121081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8092,"timestamp":49377185275,"id":477,"parentId":279,"tags":{"name":"/app/pages/api/purgeDb.js","layer":"api"},"startTime":1733747121088,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5181,"timestamp":49377194773,"id":479,"parentId":284,"tags":{"name":"/app/pages/api/reAuthenticateUser.js","layer":"api"},"startTime":1733747121097,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6112,"timestamp":49377194665,"id":478,"parentId":282,"tags":{"name":"/app/pages/api/queryEntriesSearchTerm.js","layer":"api"},"startTime":1733747121097,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7141,"timestamp":49377194866,"id":481,"parentId":287,"tags":{"name":"/app/pages/api/renameMedia.js","layer":"api"},"startTime":1733747121097,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9038,"timestamp":49377194931,"id":483,"parentId":288,"tags":{"name":"/app/pages/api/resetDelegatedDatabaseToken.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9531,"timestamp":49377194991,"id":484,"parentId":289,"tags":{"name":"/app/pages/api/resetPassword.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11578,"timestamp":49377194828,"id":480,"parentId":285,"tags":{"name":"/app/pages/api/registerUser.js","layer":"api"},"startTime":1733747121097,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12247,"timestamp":49377194899,"id":482,"parentId":286,"tags":{"name":"/app/pages/api/refreshEntry.js","layer":"api"},"startTime":1733747121097,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12760,"timestamp":49377195028,"id":485,"parentId":290,"tags":{"name":"/app/pages/api/runUserDbQuery.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14330,"timestamp":49377195112,"id":487,"parentId":292,"tags":{"name":"/app/pages/api/sendEmailVerificationLink.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15194,"timestamp":49377195058,"id":486,"parentId":291,"tags":{"name":"/app/pages/api/sendPasswordResetLink.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22381,"timestamp":49377195148,"id":488,"parentId":276,"tags":{"name":"/app/pages/api/media/addPrivateMedia.js","layer":"api"},"startTime":1733747121098,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6616,"timestamp":49377224816,"id":489,"parentId":277,"tags":{"name":"/app/pages/api/media/getPrivateMedia.js","layer":"api"},"startTime":1733747121127,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6944,"timestamp":49377225055,"id":491,"parentId":304,"tags":{"name":"/app/pages/api/unsubscribe.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7694,"timestamp":49377225152,"id":492,"parentId":293,"tags":{"name":"/app/pages/api/social-login/google-auth.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9125,"timestamp":49377224973,"id":490,"parentId":303,"tags":{"name":"/app/pages/api/sync-table-data.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9445,"timestamp":49377225209,"id":493,"parentId":294,"tags":{"name":"/app/pages/api/social-login/facebook-auth.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10397,"timestamp":49377225299,"id":495,"parentId":308,"tags":{"name":"/app/pages/api/updateClonedTableForeignKeys.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11115,"timestamp":49377225341,"id":496,"parentId":307,"tags":{"name":"/app/pages/api/updateAdminUserAccess.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11970,"timestamp":49377225255,"id":494,"parentId":299,"tags":{"name":"/app/pages/api/social-login/github-auth.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12242,"timestamp":49377225390,"id":497,"parentId":295,"tags":{"name":"/app/pages/api/social-login/utils/checkEmail.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12736,"timestamp":49377225435,"id":498,"parentId":296,"tags":{"name":"/app/pages/api/social-login/utils/getEmailFromSocialId.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13016,"timestamp":49377225475,"id":499,"parentId":297,"tags":{"name":"/app/pages/api/social-login/utils/checkSocialId.js","layer":"api"},"startTime":1733747121128,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42,"timestamp":49377252155,"id":524,"parentId":411,"tags":{"name":"next/dist/compiled/next-server/pages.runtime.prod.js","layer":null},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15,"timestamp":49377252222,"id":525,"parentId":412,"tags":{"name":"next/dist/compiled/next-server/pages-api.runtime.prod.js","layer":null},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":12,"timestamp":49377252248,"id":526,"parentId":416,"tags":{"name":"fs","layer":null},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module","duration":21,"timestamp":49377252637,"id":527,"parentId":416,"tags":{"name":"path","layer":null},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13,"timestamp":49377252678,"id":528,"parentId":416,"tags":{"name":"child_process","layer":null},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13485,"timestamp":49377251320,"id":501,"parentId":300,"tags":{"name":"/app/pages/api/sql-users/delete.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14357,"timestamp":49377251370,"id":502,"parentId":301,"tags":{"name":"/app/pages/api/sql-users/update.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15363,"timestamp":49377251212,"id":500,"parentId":298,"tags":{"name":"/app/pages/api/sql-users/create.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17526,"timestamp":49377251409,"id":503,"parentId":280,"tags":{"name":"/app/pages/api/query/[user_id]/get-schema.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17965,"timestamp":49377251517,"id":506,"parentId":302,"tags":{"name":"/app/pages/api/stream/[path].js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18849,"timestamp":49377251451,"id":504,"parentId":281,"tags":{"name":"/app/pages/api/query/[user_id]/get.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19518,"timestamp":49377251485,"id":505,"parentId":283,"tags":{"name":"/app/pages/api/query/[user_id]/update-schema-from-single-database.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20228,"timestamp":49377251549,"id":507,"parentId":309,"tags":{"name":"/app/pages/api/updateDbSchemaDataForUser.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20757,"timestamp":49377251588,"id":508,"parentId":310,"tags":{"name":"/app/pages/api/updateDbUser.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20933,"timestamp":49377251654,"id":510,"parentId":306,"tags":{"name":"/app/pages/api/test/cors.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21272,"timestamp":49377251623,"id":509,"parentId":305,"tags":{"name":"/app/pages/api/test/mail.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21968,"timestamp":49377251686,"id":511,"parentId":312,"tags":{"name":"/app/pages/api/updateUser.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22567,"timestamp":49377251808,"id":514,"parentId":315,"tags":{"name":"/app/pages/api/updateUserUser.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23724,"timestamp":49377251725,"id":512,"parentId":311,"tags":{"name":"/app/pages/api/updateTableEntry.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25220,"timestamp":49377251775,"id":513,"parentId":314,"tags":{"name":"/app/pages/api/updateUserTable.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25936,"timestamp":49377251877,"id":516,"parentId":328,"tags":{"name":"/app/pages/about.jsx","layer":null},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26847,"timestamp":49377251910,"id":517,"parentId":316,"tags":{"name":"/app/pages/api/user-schema/replace-database-schema.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28201,"timestamp":49377251839,"id":515,"parentId":313,"tags":{"name":"/app/pages/api/updateUserDatabase.js","layer":"api"},"startTime":1733747121154,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28629,"timestamp":49377251941,"id":518,"parentId":317,"tags":{"name":"/app/pages/api/user/[user_id]/delete-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":29112,"timestamp":49377251985,"id":519,"parentId":318,"tags":{"name":"/app/pages/api/user/[user_id]/add-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":29641,"timestamp":49377252019,"id":520,"parentId":319,"tags":{"name":"/app/pages/api/user/[user_id]/get-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":30163,"timestamp":49377252085,"id":522,"parentId":321,"tags":{"name":"/app/pages/api/user/[user_id]/login-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":30710,"timestamp":49377252053,"id":521,"parentId":320,"tags":{"name":"/app/pages/api/user/[user_id]/github-login.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":31115,"timestamp":49377252121,"id":523,"parentId":322,"tags":{"name":"/app/pages/api/user/[user_id]/google-login.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":31071,"timestamp":49377252704,"id":529,"parentId":323,"tags":{"name":"/app/pages/api/user/[user_id]/grab-google-user-from-token.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":31575,"timestamp":49377252761,"id":530,"parentId":325,"tags":{"name":"/app/pages/api/user/[user_id]/send-email-code.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":32027,"timestamp":49377252809,"id":531,"parentId":324,"tags":{"name":"/app/pages/api/user/[user_id]/reauth-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":32557,"timestamp":49377252846,"id":532,"parentId":326,"tags":{"name":"/app/pages/api/user/[user_id]/update-user.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34210,"timestamp":49377252910,"id":533,"parentId":327,"tags":{"name":"/app/pages/api/webhooks/github-push.js","layer":"api"},"startTime":1733747121155,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35465,"timestamp":49377252997,"id":535,"parentId":329,"tags":{"name":"/app/pages/admin/[user_id]/api-keys/index.jsx","layer":null},"startTime":1733747121156,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":980762,"timestamp":49376308089,"id":80,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fhealthcheck&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fhealthcheck.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":980887,"timestamp":49376308197,"id":114,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ftest%2Fcors&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fcors.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":982247,"timestamp":49376308185,"id":110,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fstream%2F%5Bpath%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fstream%2F%5Bpath%5D.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":118,"timestamp":49377334454,"id":552,"parentId":416,"tags":{"name":"generate-password","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13155,"timestamp":49377333797,"id":536,"parentId":330,"tags":{"name":"/app/pages/admin/[user_id]/connect/index.jsx","layer":null},"startTime":1733747121236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13992,"timestamp":49377333952,"id":538,"parentId":333,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/shell.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15064,"timestamp":49377333908,"id":537,"parentId":331,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/connect.jsx","layer":null},"startTime":1733747121236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":111201,"timestamp":49377252945,"id":534,"parentId":405,"tags":{"name":"/app/node_modules/next/dist/pages/_document.js","layer":null},"startTime":1733747121156,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":31318,"timestamp":49377333990,"id":539,"parentId":332,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/edit-database.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":33307,"timestamp":49377334025,"id":540,"parentId":334,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":34715,"timestamp":49377334064,"id":541,"parentId":335,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/schema.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35774,"timestamp":49377334216,"id":545,"parentId":339,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":38970,"timestamp":49377334174,"id":544,"parentId":337,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":40447,"timestamp":49377334251,"id":546,"parentId":340,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41996,"timestamp":49377334316,"id":548,"parentId":344,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":43942,"timestamp":49377334284,"id":547,"parentId":343,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/add-table.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":45637,"timestamp":49377334386,"id":550,"parentId":338,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":47713,"timestamp":49377334353,"id":549,"parentId":336,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":48441,"timestamp":49377334603,"id":553,"parentId":351,"tags":{"name":"/app/pages/admin/[user_id]/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":49293,"timestamp":49377334651,"id":554,"parentId":348,"tags":{"name":"/app/pages/admin/[user_id]/databases/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":53603,"timestamp":49377334418,"id":551,"parentId":341,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":54242,"timestamp":49377334687,"id":555,"parentId":350,"tags":{"name":"/app/pages/admin/[user_id]/databases/add-database.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":54840,"timestamp":49377334721,"id":556,"parentId":352,"tags":{"name":"/app/pages/admin/[user_id]/settings.jsx","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":77456,"timestamp":49377334098,"id":542,"parentId":404,"tags":{"name":"/app/node_modules/next/script.js","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":88512,"timestamp":49377334130,"id":543,"parentId":408,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head.js","layer":null},"startTime":1733747121237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":41,"timestamp":49377507203,"id":564,"parentId":417,"tags":{"name":"lodash","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":32,"timestamp":49377507692,"id":578,"parentId":425,"tags":{"name":"os","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6740,"timestamp":49377507066,"id":560,"parentId":342,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9229,"timestamp":49377506883,"id":557,"parentId":346,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx","layer":null},"startTime":1733747121409,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10154,"timestamp":49377506985,"id":558,"parentId":347,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-user.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11221,"timestamp":49377507028,"id":559,"parentId":349,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11767,"timestamp":49377507167,"id":563,"parentId":361,"tags":{"name":"/app/pages/admin/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12600,"timestamp":49377507137,"id":562,"parentId":356,"tags":{"name":"/app/pages/admin/[user_id]/schema.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14047,"timestamp":49377507106,"id":561,"parentId":345,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14992,"timestamp":49377507277,"id":565,"parentId":354,"tags":{"name":"/app/pages/admin/[user_id]/media/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15538,"timestamp":49377507351,"id":567,"parentId":353,"tags":{"name":"/app/pages/admin/[user_id]/users/add-user.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16195,"timestamp":49377507381,"id":568,"parentId":360,"tags":{"name":"/app/pages/admin/[user_id]/users/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16803,"timestamp":49377507418,"id":569,"parentId":359,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18208,"timestamp":49377507319,"id":566,"parentId":355,"tags":{"name":"/app/pages/admin/[user_id]/media/[...folder].jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18818,"timestamp":49377507447,"id":570,"parentId":357,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/[user].jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19255,"timestamp":49377507537,"id":573,"parentId":364,"tags":{"name":"/app/pages/api/fetch-media.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20349,"timestamp":49377507475,"id":571,"parentId":358,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/index.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20701,"timestamp":49377507627,"id":576,"parentId":363,"tags":{"name":"/app/pages/api/exportTableData.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21513,"timestamp":49377507594,"id":575,"parentId":366,"tags":{"name":"/app/pages/api/query/[user_id]/get-private-file.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22663,"timestamp":49377507565,"id":574,"parentId":365,"tags":{"name":"/app/pages/api/query/[user_id]/add-file.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25482,"timestamp":49377507508,"id":572,"parentId":362,"tags":{"name":"/app/pages/api/addUserMedia.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26212,"timestamp":49377507738,"id":579,"parentId":371,"tags":{"name":"/app/pages/contact.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":30608,"timestamp":49377507656,"id":577,"parentId":367,"tags":{"name":"/app/pages/api/query/[user_id]/add-image.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":31442,"timestamp":49377507774,"id":580,"parentId":368,"tags":{"name":"/app/pages/api/query/[user_id]/post.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":32339,"timestamp":49377507810,"id":581,"parentId":369,"tags":{"name":"/app/pages/api/query/[user_id]/delete-file.js","layer":"api"},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":37635,"timestamp":49377507898,"id":584,"parentId":378,"tags":{"name":"/app/pages/privacy.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":38330,"timestamp":49377507839,"id":582,"parentId":374,"tags":{"name":"/app/pages/login.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41695,"timestamp":49377507869,"id":583,"parentId":377,"tags":{"name":"/app/pages/create-account.jsx","layer":null},"startTime":1733747121410,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":42221,"timestamp":49377507958,"id":586,"parentId":375,"tags":{"name":"/app/pages/index.jsx","layer":null},"startTime":1733747121411,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":43995,"timestamp":49377507930,"id":585,"parentId":379,"tags":{"name":"/app/pages/logout.jsx","layer":null},"startTime":1733747121411,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1281340,"timestamp":49376308393,"id":173,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ffetch-media&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-media.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6113,"timestamp":49377619390,"id":589,"parentId":372,"tags":{"name":"/app/pages/docs/index.jsx","layer":null},"startTime":1733747121522,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6835,"timestamp":49377619233,"id":587,"parentId":370,"tags":{"name":"/app/pages/blog/index.jsx","layer":null},"startTime":1733747121522,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7736,"timestamp":49377619344,"id":588,"parentId":381,"tags":{"name":"/app/pages/redirect.jsx","layer":null},"startTime":1733747121522,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9355,"timestamp":49377619427,"id":590,"parentId":383,"tags":{"name":"/app/pages/send-password-reset-link.jsx","layer":null},"startTime":1733747121522,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11345,"timestamp":49377619459,"id":591,"parentId":387,"tags":{"name":"/app/pages/reset-password.jsx","layer":null},"startTime":1733747121522,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7669,"timestamp":49377647359,"id":595,"parentId":382,"tags":{"name":"/app/pages/su/backups.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8819,"timestamp":49377647101,"id":592,"parentId":373,"tags":{"name":"/app/pages/docs/[page]/index.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9799,"timestamp":49377647229,"id":593,"parentId":376,"tags":{"name":"/app/pages/docs/[page]/[sub-page]/index.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10112,"timestamp":49377647396,"id":596,"parentId":385,"tags":{"name":"/app/pages/su/console.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10486,"timestamp":49377647429,"id":597,"parentId":389,"tags":{"name":"/app/pages/su/error-logs.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12034,"timestamp":49377647314,"id":594,"parentId":380,"tags":{"name":"/app/pages/email-verification/index.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12435,"timestamp":49377647462,"id":598,"parentId":384,"tags":{"name":"/app/pages/su/docs/create-page.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12885,"timestamp":49377647532,"id":600,"parentId":388,"tags":{"name":"/app/pages/su/docs/index.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":13845,"timestamp":49377647501,"id":599,"parentId":386,"tags":{"name":"/app/pages/su/docs/edit-page.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15077,"timestamp":49377647564,"id":601,"parentId":390,"tags":{"name":"/app/pages/su/envar.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15819,"timestamp":49377647600,"id":602,"parentId":395,"tags":{"name":"/app/pages/su/servers.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16391,"timestamp":49377647633,"id":603,"parentId":393,"tags":{"name":"/app/pages/su/load-balancing.jsx","layer":null},"startTime":1733747121550,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":947,"timestamp":49377710465,"id":608,"parentId":404,"tags":{"name":"/app/styles/less.css","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":686,"timestamp":49377710823,"id":609,"parentId":404,"tags":{"name":"/app/styles/tailwind.css","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4779,"timestamp":49377710313,"id":605,"parentId":399,"tags":{"name":"/app/pages/terms.jsx","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5241,"timestamp":49377710373,"id":606,"parentId":391,"tags":{"name":"/app/pages/su/docs/pages/index.jsx","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5810,"timestamp":49377710195,"id":604,"parentId":394,"tags":{"name":"/app/pages/su/index.jsx","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6024,"timestamp":49377710424,"id":607,"parentId":392,"tags":{"name":"/app/pages/su/docs/pages/[id].jsx","layer":null},"startTime":1733747121613,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4817,"timestamp":49377727902,"id":612,"parentId":414,"tags":{"name":"/app/functions/frontend/clientAuthUser.js","layer":null},"startTime":1733747121630,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5384,"timestamp":49377727943,"id":613,"parentId":413,"tags":{"name":"/app/functions/frontend/fetchApi.js","layer":null},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6228,"timestamp":49377727845,"id":611,"parentId":401,"tags":{"name":"/app/pages/su/login.jsx","layer":null},"startTime":1733747121630,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7093,"timestamp":49377727738,"id":610,"parentId":400,"tags":{"name":"/app/pages/unsubscribe.jsx","layer":null},"startTime":1733747121630,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7628,"timestamp":49377728014,"id":615,"parentId":404,"tags":{"name":"/app/components/ErrorBoundary.jsx","layer":null},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8341,"timestamp":49377727979,"id":614,"parentId":415,"tags":{"name":"/app/functions/backend/userAuth.js","layer":"api"},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8632,"timestamp":49377728083,"id":617,"parentId":397,"tags":{"name":"/app/pages/su/users/index.jsx","layer":null},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9478,"timestamp":49377728054,"id":616,"parentId":396,"tags":{"name":"/app/pages/su/users/[single].jsx","layer":null},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9793,"timestamp":49377728111,"id":618,"parentId":398,"tags":{"name":"/app/pages/su/users/new.jsx","layer":null},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15325,"timestamp":49377728143,"id":619,"parentId":416,"tags":{"name":"/app/package-shared/functions/backend/serverError.js","layer":"api"},"startTime":1733747121631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":34,"timestamp":49377752569,"id":626,"parentId":472,"tags":{"name":"util","layer":null},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17,"timestamp":49377752624,"id":627,"parentId":472,"tags":{"name":"url","layer":null},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":1147,"timestamp":49377752540,"id":625,"parentId":422,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":1215,"timestamp":49377752779,"id":631,"parentId":422,"tags":{"name":"/app/package-shared/data/presets/users.json","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5030,"timestamp":49377752251,"id":620,"parentId":420,"tags":{"name":"/app/functions/backend/checkUserRights.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5441,"timestamp":49377752366,"id":621,"parentId":420,"tags":{"name":"/app/functions/backend/grabDelegatedUserFromCookie.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5821,"timestamp":49377752423,"id":622,"parentId":414,"tags":{"name":"/app/layouts/GeneralLayout.jsx","layer":null},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6433,"timestamp":49377752466,"id":623,"parentId":423,"tags":{"name":"/app/package-shared/functions/backend/handleNodemailer.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6848,"timestamp":49377752504,"id":624,"parentId":414,"tags":{"name":"/app/components/general/PageHeadTags.jsx","layer":null},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7095,"timestamp":49377752653,"id":628,"parentId":427,"tags":{"name":"/app/functions/backend/copyFolderRecursively.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7507,"timestamp":49377752703,"id":629,"parentId":425,"tags":{"name":"/app/functions/backend/suAdminUserAuth.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11989,"timestamp":49377752742,"id":630,"parentId":415,"tags":{"name":"/app/package-shared/functions/backend/addAdminUserOnLogin.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12493,"timestamp":49377752811,"id":632,"parentId":475,"tags":{"name":"/app/package-shared/functions/dsql/encrypt.js","layer":"api"},"startTime":1733747121655,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6004,"timestamp":49377760762,"id":634,"parentId":416,"tags":{"name":"/app/package-shared/functions/backend/db/addDbEntry.js","layer":"api"},"startTime":1733747121663,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5580,"timestamp":49377767143,"id":637,"parentId":419,"tags":{"name":"/app/package-shared/functions/dsql/hashPassword.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6004,"timestamp":49377767099,"id":636,"parentId":420,"tags":{"name":"/app/functions/backend/handleTableEntryOrder.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6325,"timestamp":49377767190,"id":638,"parentId":435,"tags":{"name":"/app/functions/backend/admin/addDocPage.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6572,"timestamp":49377767224,"id":639,"parentId":435,"tags":{"name":"/app/functions/backend/admin/deleteDocPage.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7785,"timestamp":49377767017,"id":635,"parentId":418,"tags":{"name":"/app/package-shared/functions/backend/db/sanitizeSql.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7878,"timestamp":49377767255,"id":640,"parentId":435,"tags":{"name":"/app/functions/backend/admin/getSnippets.js","layer":"api"},"startTime":1733747121670,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6013,"timestamp":49377775565,"id":642,"parentId":435,"tags":{"name":"/app/functions/backend/admin/grabParentPages.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6510,"timestamp":49377775476,"id":641,"parentId":435,"tags":{"name":"/app/functions/backend/admin/grabChildPages.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6804,"timestamp":49377775641,"id":644,"parentId":424,"tags":{"name":"/app/package-shared/functions/backend/setUserSchemaData.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7324,"timestamp":49377775603,"id":643,"parentId":435,"tags":{"name":"/app/functions/backend/admin/persistDocs.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7520,"timestamp":49377775730,"id":647,"parentId":424,"tags":{"name":"/app/package-shared/functions/backend/grabUserSchemaData.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8035,"timestamp":49377775674,"id":645,"parentId":417,"tags":{"name":"/app/package-shared/utils/backend/global-db/DB_HANDLER.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9092,"timestamp":49377775702,"id":646,"parentId":420,"tags":{"name":"/app/package-shared/utils/backend/global-db/DSQL_USER_DB_HANDLER.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9708,"timestamp":49377775761,"id":648,"parentId":437,"tags":{"name":"/app/package-shared/functions/backend/varDatabaseDbHandler.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10137,"timestamp":49377775790,"id":649,"parentId":449,"tags":{"name":"/app/functions/backend/deleteFolderRecursively.js","layer":"api"},"startTime":1733747121678,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-cjs","duration":29527,"timestamp":49377760673,"id":633,"parentId":408,"tags":{"name":"/app/node_modules/@swc/helpers/cjs/_interop_require_default.cjs","layer":null},"startTime":1733747121663,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4851,"timestamp":49377786412,"id":650,"parentId":453,"tags":{"name":"/app/functions/backend/exportDb.js","layer":"api"},"startTime":1733747121689,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":31,"timestamp":49377791583,"id":653,"parentId":533,"tags":{"name":"http","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":13,"timestamp":49377791627,"id":654,"parentId":533,"tags":{"name":"crypto","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3594,"timestamp":49377791650,"id":655,"parentId":444,"tags":{"name":"/app/package-shared/functions/dsql/decrypt.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4168,"timestamp":49377791690,"id":656,"parentId":444,"tags":{"name":"/app/package-shared/functions/backend/api-cred.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1487662,"timestamp":49376308261,"id":135,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fwebhooks%2Fgithub-push&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fwebhooks%2Fgithub-push.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1488763,"timestamp":49376308116,"id":88,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6865,"timestamp":49377791445,"id":651,"parentId":468,"tags":{"name":"/app/functions/backend/createDbSchemaFromDb.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7179,"timestamp":49377791769,"id":658,"parentId":538,"tags":{"name":"/app/functions/backend/userAuth.js","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7753,"timestamp":49377791721,"id":657,"parentId":479,"tags":{"name":"/app/functions/backend/reAuthUser.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9441,"timestamp":49377791538,"id":652,"parentId":422,"tags":{"name":"/app/package-shared/shell/createDbFromSchema.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9630,"timestamp":49377791804,"id":659,"parentId":444,"tags":{"name":"/app/package-shared/functions/backend/db/deleteDbEntry.js","layer":"api"},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9892,"timestamp":49377791861,"id":661,"parentId":535,"tags":{"name":"/app/package-shared/utils/backend/global-db/DB_HANDLER.js","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10397,"timestamp":49377791835,"id":660,"parentId":535,"tags":{"name":"/app/package-shared/functions/dsql/decrypt.js","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11450,"timestamp":49377791919,"id":663,"parentId":538,"tags":{"name":"/app/package-shared/functions/backend/grabUserSchemaData.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11935,"timestamp":49377791887,"id":662,"parentId":538,"tags":{"name":"/app/package-shared/functions/backend/varDatabaseDbHandler.js","layer":null},"startTime":1733747121694,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12145,"timestamp":49377792088,"id":668,"parentId":540,"tags":{"name":"/app/functions/backend/grabDelegatedUserFromCookie.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8383,"timestamp":49377796158,"id":670,"parentId":447,"tags":{"name":"/app/package-shared/functions/backend/noDatabaseDbHandler.js","layer":"api"},"startTime":1733747121699,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8957,"timestamp":49377796065,"id":669,"parentId":451,"tags":{"name":"/app/functions/backend/grabPaths.js","layer":"api"},"startTime":1733747121699,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13006,"timestamp":49377796208,"id":671,"parentId":470,"tags":{"name":"/app/functions/backend/dbSchemaExec.js","layer":"api"},"startTime":1733747121699,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23448,"timestamp":49377791946,"id":664,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/get-page-files.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24143,"timestamp":49377791974,"id":665,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/htmlescape.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":27,"timestamp":49377817128,"id":687,"parentId":492,"tags":{"name":"google-auth-library","layer":null},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1508899,"timestamp":49376308412,"id":175,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28584,"timestamp":49377792037,"id":667,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/shared/lib/encode-uri-path.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":30921,"timestamp":49377791997,"id":666,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/shared/lib/constants.js","layer":null},"startTime":1733747121695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6728,"timestamp":49377816828,"id":676,"parentId":511,"tags":{"name":"/app/functions/backend/fsWriteImageToDisk.js","layer":"api"},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7470,"timestamp":49377816692,"id":673,"parentId":545,"tags":{"name":"/app/package-shared/functions/backend/serverError.js","layer":null},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8037,"timestamp":49377816757,"id":674,"parentId":472,"tags":{"name":"/app/package-shared/functions/backend/httpsRequest.js","layer":"api"},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8310,"timestamp":49377816910,"id":679,"parentId":494,"tags":{"name":"/app/package-shared/functions/api/social-login/githubLogin.js","layer":"api"},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9282,"timestamp":49377816796,"id":675,"parentId":480,"tags":{"name":"/app/package-shared/functions/backend/db/updateDbEntry.js","layer":"api"},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1517865,"timestamp":49376308249,"id":131,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11185,"timestamp":49377816972,"id":681,"parentId":494,"tags":{"name":"/app/package-shared/shell/utils/camelJoinedtoCamelSpace.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11321,"timestamp":49377817028,"id":683,"parentId":475,"tags":{"name":"/app/functions/backend/delay.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11705,"timestamp":49377817000,"id":682,"parentId":476,"tags":{"name":"/app/package-shared/functions/backend/cookies/get-auth-cookie-names.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11958,"timestamp":49377817169,"id":688,"parentId":490,"tags":{"name":"/app/functions/backend/delegatedUser.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12491,"timestamp":49377817056,"id":684,"parentId":480,"tags":{"name":"/app/package-shared/functions/backend/addMariadbUser.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12875,"timestamp":49377817209,"id":689,"parentId":490,"tags":{"name":"/app/functions/backend/importExportTableDataFn.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14736,"timestamp":49377816941,"id":680,"parentId":492,"tags":{"name":"/app/package-shared/functions/api/social-login/handleSocialDb.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14986,"timestamp":49377817241,"id":690,"parentId":555,"tags":{"name":"/app/package-shared/functions/backend/noDatabaseDbHandler.js","layer":null},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15892,"timestamp":49377817270,"id":691,"parentId":507,"tags":{"name":"/app/functions/backend/updateSchemaData.js","layer":"api"},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":491,"timestamp":49377839643,"id":698,"parentId":547,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":27758,"timestamp":49377816624,"id":672,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/utils.js","layer":null},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28049,"timestamp":49377816889,"id":678,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/lib/pretty-bytes.js","layer":null},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28679,"timestamp":49377816863,"id":677,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/lib/is-error.js","layer":null},"startTime":1733747121719,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":28655,"timestamp":49377817106,"id":686,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/utils.js","layer":null},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":31388,"timestamp":49377817083,"id":685,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/tracer.js","layer":null},"startTime":1733747121720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9552,"timestamp":49377839665,"id":699,"parentId":516,"tags":{"name":"/app/components/pages/homepage/BriefIntroSection.jsx","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10566,"timestamp":49377839265,"id":692,"parentId":545,"tags":{"name":"/app/functions/frontend/updateTableAfterFieldsUpdateFunctionExt.js","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11359,"timestamp":49377839383,"id":693,"parentId":538,"tags":{"name":"/app/layouts/AdminLayout.jsx","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11445,"timestamp":49377839697,"id":700,"parentId":516,"tags":{"name":"/app/components/pages/homepage/FooterCta.jsx","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":14197,"timestamp":49377839435,"id":694,"parentId":538,"tags":{"name":"/app/components/general/ExtraContentDatabase.jsx","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4221,"timestamp":49377861100,"id":704,"parentId":516,"tags":{"name":"/app/components/pages/about/Hero.jsx","layer":null},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5323,"timestamp":49377860917,"id":701,"parentId":516,"tags":{"name":"/app/components/pages/homepage/MainFeaturesSection.jsx","layer":null},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5954,"timestamp":49377861135,"id":705,"parentId":504,"tags":{"name":"/app/package-shared/functions/api/query/get.js","layer":"api"},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8094,"timestamp":49377861170,"id":706,"parentId":518,"tags":{"name":"/app/package-shared/functions/api/users/api-delete-user.js","layer":"api"},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1565030,"timestamp":49376308230,"id":125,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15921,"timestamp":49377861016,"id":702,"parentId":502,"tags":{"name":"/app/package-shared/shell/mariadb-users/refreshUsersAndGrants.js","layer":"api"},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":37736,"timestamp":49377839585,"id":697,"parentId":543,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-mode.js","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38728,"timestamp":49377839471,"id":695,"parentId":543,"tags":{"name":"/app/node_modules/next/dist/shared/lib/side-effect.js","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41543,"timestamp":49377839520,"id":696,"parentId":542,"tags":{"name":"/app/node_modules/next/dist/client/script.js","layer":null},"startTime":1733747121742,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10449,"timestamp":49377871562,"id":708,"parentId":520,"tags":{"name":"/app/package-shared/functions/api/users/api-get-user.js","layer":"api"},"startTime":1733747121774,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11551,"timestamp":49377871439,"id":707,"parentId":519,"tags":{"name":"/app/package-shared/functions/api/users/api-create-user.js","layer":"api"},"startTime":1733747121774,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12431,"timestamp":49377871618,"id":709,"parentId":522,"tags":{"name":"/app/package-shared/functions/api/users/api-login.js","layer":"api"},"startTime":1733747121774,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":27,"timestamp":49377890459,"id":724,"parentId":582,"tags":{"name":"next/head","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1582315,"timestamp":49376308242,"id":129,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6160,"timestamp":49377890098,"id":712,"parentId":566,"tags":{"name":"/app/functions/backend/grabPaths.js","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6672,"timestamp":49377890171,"id":714,"parentId":539,"tags":{"name":"/app/components/admin/databases/UserMediaPopup.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7595,"timestamp":49377889974,"id":710,"parentId":530,"tags":{"name":"/app/package-shared/functions/api/users/api-send-email-code.js","layer":"api"},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8714,"timestamp":49377890135,"id":713,"parentId":538,"tags":{"name":"/app/components/admin/databases/DatabaseShellContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":16674,"timestamp":49377890229,"id":716,"parentId":531,"tags":{"name":"/app/package-shared/functions/api/users/api-reauth-user.js","layer":"api"},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17542,"timestamp":49377890202,"id":715,"parentId":532,"tags":{"name":"/app/package-shared/functions/api/users/api-update-user.js","layer":"api"},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18122,"timestamp":49377890287,"id":718,"parentId":540,"tags":{"name":"/app/components/admin/databases/DeleteDatabaseConfirmationPopup.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18498,"timestamp":49377890342,"id":720,"parentId":539,"tags":{"name":"/app/components/admin/databases/EditDatabaseContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19693,"timestamp":49377890256,"id":717,"parentId":540,"tags":{"name":"/app/components/admin/databases/SingleDatabasesContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20239,"timestamp":49377890315,"id":719,"parentId":540,"tags":{"name":"/app/components/admin/databases/DeleteTableConfirmationPopup.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20917,"timestamp":49377890431,"id":723,"parentId":545,"tags":{"name":"/app/components/admin/databases/TableFieldsContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21679,"timestamp":49377890402,"id":722,"parentId":548,"tags":{"name":"/app/components/admin/databases/TablesContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22627,"timestamp":49377890506,"id":725,"parentId":583,"tags":{"name":"/app/package-shared/functions/backend/addAdminUserOnLogin.js","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23772,"timestamp":49377890368,"id":721,"parentId":541,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaContent.jsx","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":53449,"timestamp":49377861059,"id":703,"parentId":543,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils/warn-once.js","layer":null},"startTime":1733747121764,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1610947,"timestamp":49376308258,"id":134,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":37013,"timestamp":49377890065,"id":711,"parentId":534,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","layer":null},"startTime":1733747121793,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4893,"timestamp":49377939177,"id":726,"parentId":583,"tags":{"name":"/app/package-shared/functions/backend/cookies/get-auth-cookie-names.js","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5468,"timestamp":49377939272,"id":727,"parentId":521,"tags":{"name":"/app/package-shared/functions/api/users/social/api-github-login.js","layer":"api"},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5951,"timestamp":49377939320,"id":728,"parentId":523,"tags":{"name":"/app/package-shared/functions/api/users/social/api-google-login.js","layer":"api"},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8482,"timestamp":49377939353,"id":729,"parentId":545,"tags":{"name":"/app/functions/backend/grabTableSchemaData.js","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8797,"timestamp":49377939414,"id":731,"parentId":547,"tags":{"name":"/app/components/admin/databases/EditFieldPopup.jsx","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9224,"timestamp":49377939383,"id":730,"parentId":547,"tags":{"name":"/app/components/admin/databases/AddTableContent.jsx","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9732,"timestamp":49377939544,"id":735,"parentId":555,"tags":{"name":"/app/components/admin/databases/AddDatabaseContent.jsx","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10463,"timestamp":49377939510,"id":734,"parentId":549,"tags":{"name":"/app/components/admin/databases/SingleEntryContent.jsx","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10944,"timestamp":49377939579,"id":736,"parentId":550,"tags":{"name":"/app/components/admin/databases/AddTableEntryContent.jsx","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23868,"timestamp":49377939456,"id":732,"parentId":543,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23965,"timestamp":49377939485,"id":733,"parentId":543,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","layer":null},"startTime":1733747121842,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3357,"timestamp":49377965560,"id":738,"parentId":595,"tags":{"name":"/app/functions/backend/suAdminUserAuth.js","layer":null},"startTime":1733747121868,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8173,"timestamp":49377965462,"id":737,"parentId":551,"tags":{"name":"/app/components/admin/databases/TableEntriesContent.jsx","layer":null},"startTime":1733747121868,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5170,"timestamp":49377969150,"id":740,"parentId":535,"tags":{"name":"/app/components/admin/api-keys/TargetApiKeyPreviewPopup.jsx","layer":null},"startTime":1733747121872,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5600,"timestamp":49377969077,"id":739,"parentId":553,"tags":{"name":"/app/components/admin/dashboard/DashboardContent.jsx","layer":null},"startTime":1733747121872,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5834,"timestamp":49377969191,"id":741,"parentId":535,"tags":{"name":"/app/components/admin/api-keys/ApiKeysContent.jsx","layer":null},"startTime":1733747121872,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6739,"timestamp":49377969225,"id":742,"parentId":535,"tags":{"name":"/app/components/admin/api-keys/AddNewApiKeyPopup.jsx","layer":null},"startTime":1733747121872,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6320,"timestamp":49377993038,"id":744,"parentId":536,"tags":{"name":"/app/components/admin/connect/NewMariadbUserPopup.jsx","layer":null},"startTime":1733747121896,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6722,"timestamp":49377992938,"id":743,"parentId":536,"tags":{"name":"/app/components/admin/connect/ConnectContent.jsx","layer":null},"startTime":1733747121896,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7337,"timestamp":49377993077,"id":745,"parentId":536,"tags":{"name":"/app/components/admin/connect/EditMariadbUserPopup.jsx","layer":null},"startTime":1733747121896,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7768,"timestamp":49377993108,"id":746,"parentId":537,"tags":{"name":"/app/components/admin/databases/connect/DatabaseConnectContent.jsx","layer":null},"startTime":1733747121896,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5155,"timestamp":49378002470,"id":747,"parentId":544,"tags":{"name":"/app/components/admin/databases/EditTableContent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5477,"timestamp":49378002568,"id":748,"parentId":554,"tags":{"name":"/app/components/admin/databases/DatabasesContent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5933,"timestamp":49378002681,"id":751,"parentId":556,"tags":{"name":"/app/components/admin/settings/SettingsContent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6065,"timestamp":49378002781,"id":754,"parentId":562,"tags":{"name":"/app/components/general/VerificationBanner.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6437,"timestamp":49378002753,"id":753,"parentId":546,"tags":{"name":"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6683,"timestamp":49378002809,"id":755,"parentId":585,"tags":{"name":"/app/components/general/LoadingBlock.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8045,"timestamp":49378002609,"id":749,"parentId":546,"tags":{"name":"/app/components/admin/databases/SingleTableContent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14335,"timestamp":49378002722,"id":752,"parentId":572,"tags":{"name":"/app/functions/backend/fsWriteImageToDiskFromBase64.js","layer":"api"},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14739,"timestamp":49378002918,"id":759,"parentId":565,"tags":{"name":"/app/components/general/UploadFileComponent.jsx","layer":null},"startTime":1733747121906,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15234,"timestamp":49378002892,"id":758,"parentId":565,"tags":{"name":"/app/components/general/UploadImageComponent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16036,"timestamp":49378002866,"id":757,"parentId":562,"tags":{"name":"/app/components/general/Breadcrumbs.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17314,"timestamp":49378002952,"id":760,"parentId":585,"tags":{"name":"/app/functions/frontend/clearCaches.js","layer":null},"startTime":1733747121906,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18188,"timestamp":49378002839,"id":756,"parentId":562,"tags":{"name":"/app/components/admin/databases/UserSchemaContent.jsx","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-cjs","duration":31271,"timestamp":49378002643,"id":750,"parentId":543,"tags":{"name":"/app/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","layer":null},"startTime":1733747121905,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11247,"timestamp":49378034581,"id":764,"parentId":559,"tags":{"name":"/app/components/admin/users/DbUsersContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12087,"timestamp":49378034545,"id":763,"parentId":558,"tags":{"name":"/app/components/admin/users/DbAddNewUserContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12318,"timestamp":49378034625,"id":765,"parentId":569,"tags":{"name":"/app/components/admin/users/AllDatabasesUsersContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12822,"timestamp":49378034658,"id":766,"parentId":568,"tags":{"name":"/app/components/admin/users/UsersContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14269,"timestamp":49378034402,"id":761,"parentId":568,"tags":{"name":"/app/components/admin/users/TargetUserPreviewPopup.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15415,"timestamp":49378034502,"id":762,"parentId":557,"tags":{"name":"/app/components/admin/users/SocialLoginsContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15753,"timestamp":49378034722,"id":768,"parentId":565,"tags":{"name":"/app/components/admin/media/MediaContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16836,"timestamp":49378034758,"id":769,"parentId":565,"tags":{"name":"/app/components/admin/media/TargetMediaPreviewPopup.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18650,"timestamp":49378034691,"id":767,"parentId":567,"tags":{"name":"/app/components/admin/users/AddNewUserContent.jsx","layer":null},"startTime":1733747121937,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":38,"timestamp":49378082171,"id":774,"parentId":632,"tags":{"name":"buffer","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7131,"timestamp":49378082089,"id":772,"parentId":580,"tags":{"name":"/app/package-shared/functions/api/query/post.js","layer":"api"},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7929,"timestamp":49378082133,"id":773,"parentId":565,"tags":{"name":"/app/components/admin/media/NewFolderPopup.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8906,"timestamp":49378081914,"id":770,"parentId":565,"tags":{"name":"/app/components/admin/media/NewMediaPopup.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9127,"timestamp":49378082242,"id":775,"parentId":565,"tags":{"name":"/app/components/admin/media/ChooseMediaTypePopup.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9543,"timestamp":49378082335,"id":777,"parentId":571,"tags":{"name":"/app/components/admin/users/SingleDatabaseUsersContent.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9814,"timestamp":49378082405,"id":779,"parentId":582,"tags":{"name":"/app/components/general/Logo.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10584,"timestamp":49378082296,"id":776,"parentId":566,"tags":{"name":"/app/components/admin/media/MediaFolderContent.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10798,"timestamp":49378082444,"id":780,"parentId":579,"tags":{"name":"/app/components/pages/contact/ContactHero.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11241,"timestamp":49378082544,"id":783,"parentId":586,"tags":{"name":"/app/components/pages/homepage/FeaturesSummarySection.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11817,"timestamp":49378082510,"id":782,"parentId":586,"tags":{"name":"/app/components/pages/homepage/Hero2.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12717,"timestamp":49378082478,"id":781,"parentId":579,"tags":{"name":"/app/components/pages/contact/ContactForm.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1787356,"timestamp":49376307895,"id":48,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FloginSuUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FloginSuUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1787360,"timestamp":49376307916,"id":54,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Findex.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788346,"timestamp":49376307714,"id":34,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclearErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclearErrorLogs.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788352,"timestamp":49376307722,"id":35,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FcreateNewBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FcreateNewBackup.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788299,"timestamp":49376307789,"id":40,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabBackups.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788347,"timestamp":49376307749,"id":39,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserBackups.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788247,"timestamp":49376307855,"id":42,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabErrorLogs.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788238,"timestamp":49376307869,"id":43,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabFile&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabFile.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1788228,"timestamp":49376307885,"id":45,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FupdateEnv&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FupdateEnv.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19764,"timestamp":49378082371,"id":778,"parentId":570,"tags":{"name":"/app/components/admin/users/SingleDatabaseSingleUserContent.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20037,"timestamp":49378082577,"id":784,"parentId":565,"tags":{"name":"/app/components/general/UploadVideoComponent.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20249,"timestamp":49378082645,"id":786,"parentId":590,"tags":{"name":"/app/components/general/InfoBlock.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20509,"timestamp":49378082614,"id":785,"parentId":590,"tags":{"name":"/app/components/general/FormSuccessBlock.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":20953,"timestamp":49378082675,"id":787,"parentId":584,"tags":{"name":"/app/components/pages/privacy/PrivacyHero.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22398,"timestamp":49378082745,"id":789,"parentId":652,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":"api"},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23016,"timestamp":49378082706,"id":788,"parentId":584,"tags":{"name":"/app/components/pages/privacy/PrivacyBody.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23329,"timestamp":49378082778,"id":790,"parentId":595,"tags":{"name":"/app/layouts/SuAdminLayout.jsx","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":36790,"timestamp":49378082034,"id":771,"parentId":596,"tags":{"name":"/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1733747121985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4580,"timestamp":49378119453,"id":791,"parentId":662,"tags":{"name":"/app/package-shared/utils/backend/global-db/DSQL_USER_DB_HANDLER.js","layer":null},"startTime":1733747122022,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":34,"timestamp":49378125560,"id":792,"parentId":674,"tags":{"name":"https","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":18,"timestamp":49378126169,"id":805,"parentId":634,"tags":{"name":"sanitize-html","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15,"timestamp":49378126539,"id":814,"parentId":696,"tags":{"name":"react-dom","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":9,"timestamp":49378126568,"id":815,"parentId":623,"tags":{"name":"nodemailer","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":9,"timestamp":49378126588,"id":816,"parentId":645,"tags":{"name":"serverless-mysql","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5461,"timestamp":49378125615,"id":793,"parentId":592,"tags":{"name":"/app/package-shared/functions/backend/dbHandler.js","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6039,"timestamp":49378125810,"id":796,"parentId":582,"tags":{"name":"/app/components/pages/login/LoginForm.jsx","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6741,"timestamp":49378125706,"id":794,"parentId":560,"tags":{"name":"/app/components/admin/users/ChangeDbUserPassword.jsx","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1824235,"timestamp":49376308246,"id":130,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1824581,"timestamp":49376307919,"id":55,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fcontact.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1824779,"timestamp":49376307729,"id":36,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclientError&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclientError.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1824366,"timestamp":49376308149,"id":99,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FsendPasswordResetLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendPasswordResetLink.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1824328,"timestamp":49376308194,"id":113,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ftest%2Fmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fmail.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9821,"timestamp":49378125851,"id":797,"parentId":583,"tags":{"name":"/app/components/pages/create-account/Hero.jsx","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9984,"timestamp":49378125914,"id":799,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsHomeHero.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10465,"timestamp":49378125883,"id":798,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsAside.jsx","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10658,"timestamp":49378125950,"id":800,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsHomeLinks.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11879,"timestamp":49378125746,"id":795,"parentId":561,"tags":{"name":"/app/components/admin/users/SingleDbUserContent.jsx","layer":null},"startTime":1733747122028,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11734,"timestamp":49378126132,"id":804,"parentId":592,"tags":{"name":"/app/components/pages/docs/DocsGenereicHero.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11752,"timestamp":49378126354,"id":809,"parentId":587,"tags":{"name":"/app/components/pages/blog/BlogHero.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11904,"timestamp":49378126501,"id":813,"parentId":602,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12581,"timestamp":49378126388,"id":810,"parentId":595,"tags":{"name":"/app/components/su/SuErrorLogsContent.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13025,"timestamp":49378126440,"id":811,"parentId":595,"tags":{"name":"/app/components/su/SuBackupsContent.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14227,"timestamp":49378126472,"id":812,"parentId":597,"tags":{"name":"/app/components/su/SuDashboardContent.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14787,"timestamp":49378126605,"id":817,"parentId":582,"tags":{"name":"/app/components/general/LoadingScreen.jsx","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15127,"timestamp":49378126643,"id":818,"parentId":622,"tags":{"name":"/app/functions/frontend/updateNavLinks.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25318,"timestamp":49378126247,"id":807,"parentId":685,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/constants.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":27,"timestamp":49378152559,"id":825,"parentId":652,"tags":{"name":"dotenv","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17,"timestamp":49378152678,"id":828,"parentId":676,"tags":{"name":"node-fetch","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":20,"timestamp":49378152709,"id":829,"parentId":676,"tags":{"name":"sharp","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":33346,"timestamp":49378125982,"id":801,"parentId":666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/modern-browserslist-target.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":33659,"timestamp":49378126041,"id":802,"parentId":664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34027,"timestamp":49378126087,"id":803,"parentId":664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34194,"timestamp":49378126201,"id":806,"parentId":677,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-plain-object.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34456,"timestamp":49378126308,"id":808,"parentId":685,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-thenable.js","layer":null},"startTime":1733747122029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8924,"timestamp":49378152278,"id":820,"parentId":662,"tags":{"name":"/app/package-shared/utils/backend/global-db/LOCAL_DB_HANDLER.js","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9310,"timestamp":49378152178,"id":819,"parentId":630,"tags":{"name":"/app/package-shared/utils/backend/global-db/LOCAL_DB_HANDLER.js","layer":"api"},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9025,"timestamp":49378152604,"id":826,"parentId":638,"tags":{"name":"/app/package-shared/functions/backend/html/sanitizeHtmlOptions.js","layer":"api"},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9620,"timestamp":49378152526,"id":824,"parentId":600,"tags":{"name":"/app/components/su/docs/SuDocsPageListContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9611,"timestamp":49378152740,"id":830,"parentId":607,"tags":{"name":"/app/components/su/docs/SuSingleDocPageContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9807,"timestamp":49378152780,"id":831,"parentId":617,"tags":{"name":"/app/components/su/SuUsersContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11130,"timestamp":49378152483,"id":823,"parentId":598,"tags":{"name":"/app/components/su/docs/CreatePageContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11784,"timestamp":49378152645,"id":827,"parentId":725,"tags":{"name":"/app/package-shared/functions/backend/db/addDbEntry.js","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11966,"timestamp":49378152848,"id":833,"parentId":616,"tags":{"name":"/app/components/su/SuSingleUserContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12296,"timestamp":49378152877,"id":834,"parentId":648,"tags":{"name":"/app/package-shared/functions/backend/parseDbResults.js","layer":"api"},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12969,"timestamp":49378152813,"id":832,"parentId":596,"tags":{"name":"/app/components/su/SuConsoleContent.jsx","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13064,"timestamp":49378152931,"id":836,"parentId":645,"tags":{"name":"/app/package-shared/utils/backend/grabDbSSL.js","layer":"api"},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13227,"timestamp":49378152962,"id":837,"parentId":661,"tags":{"name":"/app/package-shared/utils/backend/grabDbSSL.js","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13583,"timestamp":49378152904,"id":835,"parentId":662,"tags":{"name":"/app/package-shared/functions/backend/parseDbResults.js","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13713,"timestamp":49378152989,"id":838,"parentId":605,"tags":{"name":"/app/components/pages/terms/TermsHero.jsx","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14032,"timestamp":49378153047,"id":840,"parentId":611,"tags":{"name":"/app/functions/isLocalSuperUser.js","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14184,"timestamp":49378153078,"id":841,"parentId":651,"tags":{"name":"/app/package-shared/shell/utils/slugToCamelTitle.js","layer":"api"},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14390,"timestamp":49378153107,"id":842,"parentId":602,"tags":{"name":"/app/functions/backend/su/get-servers.js","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14961,"timestamp":49378153185,"id":844,"parentId":622,"tags":{"name":"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15759,"timestamp":49378153015,"id":839,"parentId":605,"tags":{"name":"/app/components/pages/terms/TermsBody.jsx","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16590,"timestamp":49378153135,"id":843,"parentId":622,"tags":{"name":"/app/layouts/components/GeneralLayout/Header.jsx","layer":null},"startTime":1733747122056,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1864902,"timestamp":49376308255,"id":133,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1864924,"timestamp":49376308251,"id":132,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872730,"timestamp":49376308143,"id":97,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FresetPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetPassword.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873189,"timestamp":49376307707,"id":33,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FaddUserBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FaddUserBackup.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873101,"timestamp":49376307804,"id":41,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserData.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872749,"timestamp":49376308164,"id":103,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckEmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckEmail.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872753,"timestamp":49376308168,"id":104,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872758,"timestamp":49376308171,"id":105,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872517,"timestamp":49376308422,"id":178,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873422,"timestamp":49376307526,"id":26,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddNewMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddNewMediaFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873365,"timestamp":49376307588,"id":29,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddSocialLogin&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddSocialLogin.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873095,"timestamp":49376307889,"id":46,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FchangeDbUserPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FchangeDbUserPassword.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873093,"timestamp":49376307898,"id":49,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcheckExistingFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckExistingFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873096,"timestamp":49376307902,"id":50,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FclientSideAuth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FclientSideAuth.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873079,"timestamp":49376307925,"id":57,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteApiKey.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873084,"timestamp":49376307928,"id":58,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteInvitation.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873063,"timestamp":49376307954,"id":63,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873083,"timestamp":49376307940,"id":61,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873053,"timestamp":49376307976,"id":66,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdownloadDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdownloadDatabaseSchema.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873064,"timestamp":49376307970,"id":65,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873054,"timestamp":49376307986,"id":68,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FexportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873064,"timestamp":49376307981,"id":67,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteMediaFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873044,"timestamp":49376308006,"id":72,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873060,"timestamp":49376307996,"id":70,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDatabaseTables.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873069,"timestamp":49376307991,"id":69,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fget-authorized-databases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fget-authorized-databases.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872996,"timestamp":49376308071,"id":74,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabases.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872995,"timestamp":49376308077,"id":76,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabaseTables.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872997,"timestamp":49376308080,"id":77,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873008,"timestamp":49376308074,"id":75,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabases.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873003,"timestamp":49376308083,"id":78,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserSchemaData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserSchemaData.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873029,"timestamp":49376308062,"id":73,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDiskUsage&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDiskUsage.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872985,"timestamp":49376308113,"id":87,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FpurgeDb&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FpurgeDb.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872976,"timestamp":49376308128,"id":92,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FreAuthenticateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FreAuthenticateUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872973,"timestamp":49376308137,"id":95,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrenameMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrenameMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872975,"timestamp":49376308140,"id":96,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FresetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872970,"timestamp":49376308152,"id":100,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FsendEmailVerificationLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendEmailVerificationLink.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873025,"timestamp":49376308104,"id":84,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fmedia%2FaddPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FaddPrivateMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873223,"timestamp":49376307912,"id":53,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fverify&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fverify.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873231,"timestamp":49376307909,"id":52,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fhandshake&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fhandshake.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"}] -[{"name":"add-entry","duration":1873421,"timestamp":49376307905,"id":51,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fdisconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fdisconnect.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873224,"timestamp":49376308110,"id":86,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FlogoutUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FlogoutUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873167,"timestamp":49376308188,"id":111,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsync-table-data&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsync-table-data.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873253,"timestamp":49376308107,"id":85,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fmedia%2FgetPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FgetPrivateMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873159,"timestamp":49376308209,"id":118,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873159,"timestamp":49376308215,"id":120,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873155,"timestamp":49376308224,"id":123,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873210,"timestamp":49376308179,"id":108,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fdelete&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fdelete.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873007,"timestamp":49376308389,"id":172,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FexportTableData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportTableData.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873470,"timestamp":49376307934,"id":60,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873929,"timestamp":49376307483,"id":23,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddAdminUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddAdminUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873319,"timestamp":49376308099,"id":83,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FloginUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FloginUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873691,"timestamp":49376307736,"id":37,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873935,"timestamp":49376307498,"id":24,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddApiKey.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873897,"timestamp":49376307541,"id":27,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873934,"timestamp":49376307508,"id":25,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FacceptUserInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FacceptUserInvitation.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873772,"timestamp":49376307675,"id":31,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873269,"timestamp":49376308191,"id":112,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Funsubscribe.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873267,"timestamp":49376308200,"id":115,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateAdminUserAccess&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateAdminUserAccess.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873087,"timestamp":49376308386,"id":171,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873070,"timestamp":49376308408,"id":174,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873068,"timestamp":49376308415,"id":176,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873927,"timestamp":49376307562,"id":28,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873282,"timestamp":49376308212,"id":119,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1872984,"timestamp":49376308531,"id":210,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1873434,"timestamp":49376308086,"id":79,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FimportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9056,"timestamp":49378189577,"id":847,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/noDatabaseDbHandler.js","layer":"api"},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9668,"timestamp":49378189507,"id":846,"parentId":601,"tags":{"name":"/app/components/su/SuEnvContent.jsx","layer":null},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10289,"timestamp":49378189345,"id":845,"parentId":622,"tags":{"name":"/app/layouts/components/GeneralLayout/Footer.jsx","layer":null},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10290,"timestamp":49378189678,"id":849,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/varDatabaseDbHandler.js","layer":"api"},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11072,"timestamp":49378189632,"id":848,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/createTable.js","layer":"api"},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11286,"timestamp":49378189820,"id":851,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/dbHandler.js","layer":"api"},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11505,"timestamp":49378189925,"id":853,"parentId":670,"tags":{"name":"/app/package-shared/utils/backend/global-db/NO_DB_HANDLER.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11691,"timestamp":49378190012,"id":855,"parentId":618,"tags":{"name":"/app/components/su/SuNewUserContent.jsx","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12048,"timestamp":49378189970,"id":854,"parentId":690,"tags":{"name":"/app/package-shared/utils/backend/global-db/NO_DB_HANDLER.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12334,"timestamp":49378190079,"id":857,"parentId":694,"tags":{"name":"/app/functions/frontend/downloadApiStream.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12794,"timestamp":49378190045,"id":856,"parentId":693,"tags":{"name":"/app/components/general/DiskUsageComponent.jsx","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13458,"timestamp":49378190113,"id":858,"parentId":691,"tags":{"name":"/app/functions/backend/cleanUpSchemaData.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13968,"timestamp":49378190151,"id":859,"parentId":702,"tags":{"name":"/app/package-shared/shell/mariadb-users/handleGrants.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15919,"timestamp":49378189725,"id":850,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/updateTable.js","layer":"api"},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1898852,"timestamp":49376307946,"id":62,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1898685,"timestamp":49376308131,"id":93,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FregisterUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FregisterUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19917,"timestamp":49378190184,"id":860,"parentId":707,"tags":{"name":"/app/package-shared/functions/backend/addUsersTableToDb.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20362,"timestamp":49378190214,"id":861,"parentId":707,"tags":{"name":"/app/package-shared/functions/backend/updateUsersTableSchema.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20931,"timestamp":49378190250,"id":862,"parentId":680,"tags":{"name":"/app/package-shared/functions/api/social-login/loginSocialUser.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21255,"timestamp":49378190923,"id":868,"parentId":694,"tags":{"name":"/app/components/general/CopySlug.jsx","layer":null},"startTime":1733747122094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21460,"timestamp":49378190958,"id":869,"parentId":713,"tags":{"name":"/app/components/general/BackButton.jsx","layer":null},"startTime":1733747122094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22945,"timestamp":49378190299,"id":863,"parentId":705,"tags":{"name":"/app/package-shared/functions/backend/db/runQuery.js","layer":"api"},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":61484,"timestamp":49378152429,"id":822,"parentId":696,"tags":{"name":"/app/node_modules/next/dist/client/request-idle-callback.js","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":62090,"timestamp":49378152324,"id":821,"parentId":696,"tags":{"name":"/app/node_modules/next/dist/client/set-attributes-from-props.js","layer":null},"startTime":1733747122055,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1912986,"timestamp":49376308155,"id":101,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgoogle-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgoogle-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1913004,"timestamp":49376308158,"id":102,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Ffacebook-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Ffacebook-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1912993,"timestamp":49376308177,"id":107,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgithub-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgithub-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":1305,"timestamp":49378223453,"id":886,"parentId":734,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1921919,"timestamp":49376308182,"id":109,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fupdate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fupdate.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1921958,"timestamp":49376308174,"id":106,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fcreate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fcreate.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":53945,"timestamp":49378189872,"id":852,"parentId":685,"tags":{"name":"/app/node_modules/next/dist/compiled/@opentelemetry/api/index.js","layer":null},"startTime":1733747122092,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25854,"timestamp":49378222985,"id":871,"parentId":720,"tags":{"name":"/app/components/general/ActiveCloneDbBanner.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26516,"timestamp":49378223025,"id":872,"parentId":720,"tags":{"name":"/app/components/admin/databases/AddDatabaseForm.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27656,"timestamp":49378222874,"id":870,"parentId":714,"tags":{"name":"/app/components/general/GeneralPopup.jsx","layer":null},"startTime":1733747122125,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27940,"timestamp":49378223097,"id":874,"parentId":713,"tags":{"name":"/app/components/admin/databases/DatabaseShellQueryResult.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28868,"timestamp":49378223127,"id":875,"parentId":693,"tags":{"name":"/app/layouts/components/AdminLayout/Aside.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29666,"timestamp":49378223155,"id":876,"parentId":693,"tags":{"name":"/app/layouts/components/AdminLayout/AdminHeader.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":30164,"timestamp":49378223217,"id":878,"parentId":720,"tags":{"name":"/app/components/admin/databases/EditDatabaseForm.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":32876,"timestamp":49378223065,"id":873,"parentId":714,"tags":{"name":"/app/components/admin/databases/ExistingFieldEdit.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":33209,"timestamp":49378223309,"id":881,"parentId":717,"tags":{"name":"/app/components/general/DatabaseSlugCopy.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":34257,"timestamp":49378223245,"id":879,"parentId":722,"tags":{"name":"/app/components/admin/databases/TablesList.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35036,"timestamp":49378223280,"id":880,"parentId":717,"tags":{"name":"/app/components/admin/databases/DatabasesTablesList.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35506,"timestamp":49378223364,"id":883,"parentId":723,"tags":{"name":"/app/components/general/ActiveCloneTableBanner.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35927,"timestamp":49378223397,"id":884,"parentId":699,"tags":{"name":"/app/components/general/ScreenShotDescriptionCard.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":36661,"timestamp":49378223424,"id":885,"parentId":721,"tags":{"name":"/app/components/admin/databases/DatabaseTablesTablePreview.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":37149,"timestamp":49378223528,"id":889,"parentId":699,"tags":{"name":"/app/components/general/ContainedSection.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":37793,"timestamp":49378223475,"id":887,"parentId":727,"tags":{"name":"/app/package-shared/utils/camelJoinedtoCamelSpace.js","layer":"api"},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":40100,"timestamp":49378223337,"id":882,"parentId":723,"tags":{"name":"/app/components/admin/databases/TableFields.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41061,"timestamp":49378223554,"id":890,"parentId":721,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaVisualizer.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41621,"timestamp":49378223587,"id":891,"parentId":721,"tags":{"name":"/app/components/general/AceEditor.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":42248,"timestamp":49378223615,"id":892,"parentId":721,"tags":{"name":"/app/components/general/CodeBlock.jsx","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":89282,"timestamp":49378190897,"id":867,"parentId":717,"tags":{"name":"__barrel_optimize__?names=FolderOutput!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":93520,"timestamp":49378190338,"id":864,"parentId":700,"tags":{"name":"__barrel_optimize__?names=BookText!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":97010,"timestamp":49378190815,"id":865,"parentId":701,"tags":{"name":"__barrel_optimize__?names=Blocks!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":101973,"timestamp":49378190866,"id":866,"parentId":694,"tags":{"name":"__barrel_optimize__?names=ChevronDown,Download,FileInput,FolderOutput,SquareTerminal!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122093,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":74105,"timestamp":49378223190,"id":877,"parentId":753,"tags":{"name":"__barrel_optimize__?names=ChevronUp!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":78104,"timestamp":49378223505,"id":888,"parentId":769,"tags":{"name":"__barrel_optimize__?names=ChevronLeft,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122126,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1995730,"timestamp":49376308239,"id":128,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2897,"timestamp":49378310883,"id":897,"parentId":775,"tags":{"name":"__barrel_optimize__?names=FileVideo2,Files,Images!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122213,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3592,"timestamp":49378310915,"id":898,"parentId":779,"tags":{"name":"__barrel_optimize__?names=Menu!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4315,"timestamp":49378310941,"id":899,"parentId":776,"tags":{"name":"__barrel_optimize__?names=Copy!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5052,"timestamp":49378310978,"id":900,"parentId":783,"tags":{"name":"__barrel_optimize__?names=CopyCheck,EarthLock,FileKey2,FolderOutput,Sheet,SquareGanttChart!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10611,"timestamp":49378310593,"id":894,"parentId":717,"tags":{"name":"/app/components/general/ui/ButtonGroup.jsx","layer":null},"startTime":1733747122213,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11088,"timestamp":49378310485,"id":893,"parentId":730,"tags":{"name":"/app/components/admin/databases/AddTableForm.jsx","layer":null},"startTime":1733747122213,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11222,"timestamp":49378310801,"id":895,"parentId":721,"tags":{"name":"/app/components/form/FormCheckboxes.jsx","layer":null},"startTime":1733747122213,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11809,"timestamp":49378310845,"id":896,"parentId":721,"tags":{"name":"/app/components/form/FormSelect.jsx","layer":null},"startTime":1733747122213,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12199,"timestamp":49378311037,"id":902,"parentId":603,"tags":{"name":"/app/components/su/load-balancing/index.jsx","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12537,"timestamp":49378311005,"id":901,"parentId":602,"tags":{"name":"/app/components/su/servers/index.jsx","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13211,"timestamp":49378311070,"id":903,"parentId":734,"tags":{"name":"/app/components/admin/databases/TableEntriesList.jsx","layer":null},"startTime":1733747122214,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2533,"timestamp":49378333794,"id":908,"parentId":786,"tags":{"name":"__barrel_optimize__?names=Info!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3053,"timestamp":49378333917,"id":912,"parentId":811,"tags":{"name":"__barrel_optimize__?names=FolderSync!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9604,"timestamp":49378333761,"id":907,"parentId":742,"tags":{"name":"/app/functions/frontend/checkUniqueField.js","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10056,"timestamp":49378333720,"id":906,"parentId":734,"tags":{"name":"/app/components/admin/databases/SingleEntryPrevNext.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10861,"timestamp":49378333586,"id":904,"parentId":734,"tags":{"name":"/app/components/admin/databases/SelectNewEntry.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10973,"timestamp":49378333886,"id":911,"parentId":739,"tags":{"name":"/app/components/admin/dashboard/DatabasesSummary.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":11951,"timestamp":49378333822,"id":909,"parentId":737,"tags":{"name":"/app/components/admin/databases/ImportExportEntries.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12177,"timestamp":49378333940,"id":913,"parentId":737,"tags":{"name":"/app/components/admin/databases/MoreTableOptions.jsx","layer":null},"startTime":1733747122237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13193,"timestamp":49378333851,"id":910,"parentId":736,"tags":{"name":"/app/components/admin/databases/TableEntryForm.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13469,"timestamp":49378333967,"id":914,"parentId":739,"tags":{"name":"/app/components/admin/dashboard/Metrics.jsx","layer":null},"startTime":1733747122237,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15636,"timestamp":49378333681,"id":905,"parentId":734,"tags":{"name":"/app/components/admin/databases/UpdateEntryForm.jsx","layer":null},"startTime":1733747122236,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9353,"timestamp":49378358712,"id":916,"parentId":741,"tags":{"name":"/app/components/admin/api-keys/ApiKeysList.jsx","layer":null},"startTime":1733747122261,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10050,"timestamp":49378358610,"id":915,"parentId":739,"tags":{"name":"/app/components/admin/databases/DelegatedDatabasesSection.jsx","layer":null},"startTime":1733747122261,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10578,"timestamp":49378358757,"id":917,"parentId":743,"tags":{"name":"/app/components/admin/connect/ConnectionInfo.jsx","layer":null},"startTime":1733747122261,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11601,"timestamp":49378358790,"id":918,"parentId":744,"tags":{"name":"/app/components/admin/connect/MariDBUserForm.jsx","layer":null},"startTime":1733747122261,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":523,"timestamp":49378371062,"id":921,"parentId":763,"tags":{"name":"/app/jsonData/userPriviledges.json","layer":null},"startTime":1733747122274,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2612,"timestamp":49378371224,"id":924,"parentId":843,"tags":{"name":"__barrel_optimize__?names=ChevronDown!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122274,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11863,"timestamp":49378371101,"id":922,"parentId":827,"tags":{"name":"/app/package-shared/functions/backend/html/sanitizeHtmlOptions.js","layer":null},"startTime":1733747122274,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12523,"timestamp":49378370891,"id":919,"parentId":759,"tags":{"name":"/app/functions/frontend/inputFileToBase64.js","layer":null},"startTime":1733747122273,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12952,"timestamp":49378371016,"id":920,"parentId":759,"tags":{"name":"/app/functions/frontend/imageInputFileToBase64.js","layer":null},"startTime":1733747122274,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13594,"timestamp":49378371150,"id":923,"parentId":827,"tags":{"name":"/app/package-shared/functions/backend/db/updateDbEntry.js","layer":null},"startTime":1733747122274,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3077,"timestamp":49378385694,"id":938,"parentId":856,"tags":{"name":"__barrel_optimize__?names=ArrowLeft,HardDrive,RotateCw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3728,"timestamp":49378385724,"id":939,"parentId":869,"tags":{"name":"__barrel_optimize__?names=ArrowLeft!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4058,"timestamp":49378386038,"id":950,"parentId":870,"tags":{"name":"__barrel_optimize__?names=X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4765,"timestamp":49378386062,"id":951,"parentId":875,"tags":{"name":"__barrel_optimize__?names=BookText,CircleGauge,Database,FileKey2,Globe,Images,Plug2,ShieldEllipsis,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5511,"timestamp":49378386089,"id":952,"parentId":879,"tags":{"name":"__barrel_optimize__?names=Copy,CopyPlus,Edit,FileX2,Grid2X2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10477,"timestamp":49378385136,"id":925,"parentId":827,"tags":{"name":"/app/package-shared/functions/dsql/encrypt.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10954,"timestamp":49378385328,"id":928,"parentId":748,"tags":{"name":"/app/components/admin/databases/DatabasesList.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11566,"timestamp":49378385234,"id":926,"parentId":743,"tags":{"name":"/app/components/admin/connect/MariaDBUsers.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14490,"timestamp":49378385414,"id":930,"parentId":751,"tags":{"name":"/app/components/admin/databases/UserImage.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15647,"timestamp":49378385278,"id":927,"parentId":746,"tags":{"name":"/app/components/admin/databases/connect/ConnectForm.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15630,"timestamp":49378385473,"id":932,"parentId":761,"tags":{"name":"/app/functions/frontend/updateDiskUsage.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15818,"timestamp":49378385507,"id":933,"parentId":769,"tags":{"name":"/app/functions/frontend/downloadPrivateFile.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16828,"timestamp":49378385384,"id":929,"parentId":747,"tags":{"name":"/app/components/admin/databases/EditTableForm.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17046,"timestamp":49378385535,"id":934,"parentId":769,"tags":{"name":"/app/functions/frontend/downloadFile.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18159,"timestamp":49378385443,"id":931,"parentId":751,"tags":{"name":"/app/components/pages/create-account/CreateAccountForm.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18114,"timestamp":49378385808,"id":942,"parentId":765,"tags":{"name":"/app/components/admin/users/DatabaseUsers.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19070,"timestamp":49378385750,"id":940,"parentId":749,"tags":{"name":"/app/components/admin/databases/TableIndexes.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19861,"timestamp":49378385780,"id":941,"parentId":764,"tags":{"name":"/app/components/admin/users/DbUsersList.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20391,"timestamp":49378385837,"id":943,"parentId":756,"tags":{"name":"/app/components/admin/databases/UserSchemaVisualizer.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20930,"timestamp":49378385870,"id":944,"parentId":762,"tags":{"name":"/app/components/form/FormRadios.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21288,"timestamp":49378385924,"id":946,"parentId":766,"tags":{"name":"/app/components/admin/users/InvitationReceivedCard.jsx","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21764,"timestamp":49378385950,"id":947,"parentId":766,"tags":{"name":"/app/components/admin/users/UsersList.jsx","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23342,"timestamp":49378385982,"id":948,"parentId":768,"tags":{"name":"/app/components/admin/media/MediaList.jsx","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24501,"timestamp":49378385898,"id":945,"parentId":763,"tags":{"name":"/app/components/admin/users/DbCreateDbUserForm.jsx","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":27617,"timestamp":49378386009,"id":949,"parentId":796,"tags":{"name":"/app/functions/frontend/userLogin.js","layer":null},"startTime":1733747122289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2604,"timestamp":49378434274,"id":954,"parentId":896,"tags":{"name":"__barrel_optimize__?names=ChevronDown,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122337,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":56883,"timestamp":49378385651,"id":937,"parentId":803,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":57205,"timestamp":49378385606,"id":936,"parentId":802,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":58684,"timestamp":49378385564,"id":935,"parentId":803,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils.js","layer":null},"startTime":1733747122288,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10478,"timestamp":49378434329,"id":955,"parentId":770,"tags":{"name":"/app/components/admin/media/NewMediaCard.jsx","layer":null},"startTime":1733747122337,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3227,"timestamp":49378445529,"id":966,"parentId":903,"tags":{"name":"__barrel_optimize__?names=Grid2x2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3131,"timestamp":49378446341,"id":987,"parentId":913,"tags":{"name":"__barrel_optimize__?names=Ellipsis!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3765,"timestamp":49378446380,"id":988,"parentId":914,"tags":{"name":"__barrel_optimize__?names=Database,Images,Key,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8024,"timestamp":49378445298,"id":959,"parentId":832,"tags":{"name":"/app/components/su/xterm.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8348,"timestamp":49378445331,"id":960,"parentId":842,"tags":{"name":"/app/functions/backend/su/check-servers.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8796,"timestamp":49378445257,"id":958,"parentId":770,"tags":{"name":"/app/components/admin/media/NewFileCard.jsx","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9414,"timestamp":49378445161,"id":957,"parentId":777,"tags":{"name":"/app/components/admin/users/UserListCard.jsx","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9393,"timestamp":49378445368,"id":961,"parentId":834,"tags":{"name":"/app/package-shared/functions/backend/defaultFieldsRegexp.js","layer":"api"},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9513,"timestamp":49378445401,"id":962,"parentId":835,"tags":{"name":"/app/package-shared/functions/backend/defaultFieldsRegexp.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9702,"timestamp":49378445431,"id":963,"parentId":842,"tags":{"name":"/app/functions/backend/su/get-servers-json-path.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13407,"timestamp":49378446404,"id":989,"parentId":781,"tags":{"name":"/app/components/general/FormAlertBlock.jsx","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14731,"timestamp":49378445496,"id":965,"parentId":782,"tags":{"name":"/app/components/general/FadedImage.jsx","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15408,"timestamp":49378445462,"id":964,"parentId":769,"tags":{"name":"/app/components/admin/media/card/MediaMoreButton.jsx","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14849,"timestamp":49378446431,"id":990,"parentId":778,"tags":{"name":"/app/components/admin/users/UserImage.jsx","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":99,"timestamp":49378462773,"id":998,"parentId":832,"tags":{"name":"ansi-regex","layer":null},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155081,"timestamp":49376307892,"id":47,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcheckDuplicateData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckDuplicateData.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155066,"timestamp":49376307922,"id":56,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155032,"timestamp":49376307964,"id":64,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155002,"timestamp":49376308001,"id":71,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ffetch-entries-basic&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-entries-basic.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154914,"timestamp":49376308095,"id":82,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FinfiniteScroll&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FinfiniteScroll.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154896,"timestamp":49376308122,"id":90,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FqueryEntriesSearchTerm&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FqueryEntriesSearchTerm.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154890,"timestamp":49376308134,"id":94,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrefreshEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrefreshEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154884,"timestamp":49376308146,"id":98,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155296,"timestamp":49376307742,"id":38,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetTablesForUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetTablesForUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2155163,"timestamp":49376307881,"id":44,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154834,"timestamp":49376308218,"id":121,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2154822,"timestamp":49376308236,"id":127,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5926,"timestamp":49378462487,"id":992,"parentId":863,"tags":{"name":"/app/package-shared/utils/trim-sql.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6184,"timestamp":49378462621,"id":994,"parentId":848,"tags":{"name":"/app/package-shared/shell/utils/supplementTable.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6711,"timestamp":49378462540,"id":993,"parentId":848,"tags":{"name":"/app/package-shared/shell/utils/generateColumnDescription.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7410,"timestamp":49378462381,"id":991,"parentId":796,"tags":{"name":"/app/components/pages/login/SocialLogin.jsx","layer":null},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7444,"timestamp":49378462662,"id":995,"parentId":860,"tags":{"name":"/app/package-shared/functions/backend/grabNewUsersTableSchema.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8218,"timestamp":49378462739,"id":997,"parentId":863,"tags":{"name":"/app/package-shared/functions/backend/fullAccessDbHandler.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8789,"timestamp":49378462702,"id":996,"parentId":861,"tags":{"name":"/app/package-shared/functions/backend/grabSchemaFieldsFromData.js","layer":"api"},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17,"timestamp":49378472354,"id":1004,"parentId":882,"tags":{"name":"gsap/Flip","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":6,"timestamp":49378472385,"id":1005,"parentId":882,"tags":{"name":"gsap","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":15,"timestamp":49378472447,"id":1007,"parentId":868,"tags":{"name":"tailwind-merge","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2129,"timestamp":49378472211,"id":1001,"parentId":917,"tags":{"name":"__barrel_optimize__?names=Copy,Download!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2691,"timestamp":49378472402,"id":1006,"parentId":928,"tags":{"name":"__barrel_optimize__?names=PackagePlus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2169083,"timestamp":49376307604,"id":30,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUsersTableToDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUsersTableToDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2169007,"timestamp":49376307699,"id":32,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168783,"timestamp":49376307931,"id":59,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcreateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcreateUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168631,"timestamp":49376308092,"id":81,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FimportDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabaseSchema.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168528,"timestamp":49376308203,"id":116,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateClonedTableForeignKeys&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateClonedTableForeignKeys.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168538,"timestamp":49376308206,"id":117,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateDbSchemaDataForUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbSchemaDataForUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168529,"timestamp":49376308221,"id":122,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168530,"timestamp":49376308227,"id":124,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser-schema%2Freplace-database-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser-schema%2Freplace-database-schema.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2168639,"timestamp":49376308125,"id":91,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7886,"timestamp":49378472473,"id":1008,"parentId":882,"tags":{"name":"/app/functions/frontend/addNewTempField.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8568,"timestamp":49378472263,"id":1002,"parentId":863,"tags":{"name":"/app/package-shared/functions/backend/varReadOnlyDatabaseDbHandler.js","layer":"api"},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2175081,"timestamp":49376308119,"id":89,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2174805,"timestamp":49376308419,"id":177,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40028,"timestamp":49378445563,"id":967,"parentId":867,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-output.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40221,"timestamp":49378445607,"id":968,"parentId":864,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/book-text.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40324,"timestamp":49378445692,"id":970,"parentId":866,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-down.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40353,"timestamp":49378445846,"id":974,"parentId":877,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-up.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-js","duration":40861,"timestamp":49378445808,"id":973,"parentId":866,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-terminal.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40951,"timestamp":49378445886,"id":975,"parentId":888,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-left.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41084,"timestamp":49378445923,"id":976,"parentId":888,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-right.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41163,"timestamp":49378446002,"id":978,"parentId":897,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/files.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41373,"timestamp":49378445965,"id":977,"parentId":897,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-video-2.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41545,"timestamp":49378446038,"id":979,"parentId":897,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/images.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41699,"timestamp":49378446074,"id":980,"parentId":898,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/menu.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41828,"timestamp":49378446115,"id":981,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42387,"timestamp":49378445730,"id":971,"parentId":866,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-input.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42138,"timestamp":49378446152,"id":982,"parentId":900,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-check.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44034,"timestamp":49378446227,"id":984,"parentId":900,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-key-2.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44470,"timestamp":49378446189,"id":983,"parentId":900,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/earth-lock.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44665,"timestamp":49378446304,"id":986,"parentId":900,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44912,"timestamp":49378446269,"id":985,"parentId":900,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/sheet.js","layer":null},"startTime":1733747122349,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":46004,"timestamp":49378445648,"id":969,"parentId":865,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/blocks.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":46111,"timestamp":49378445766,"id":972,"parentId":866,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/download.js","layer":null},"startTime":1733747122348,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10640,"timestamp":49378481968,"id":1022,"parentId":790,"tags":{"name":"/app/layouts/components/SuAdminLayout/Aside.jsx","layer":null},"startTime":1733747122385,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11223,"timestamp":49378482005,"id":1023,"parentId":790,"tags":{"name":"/app/layouts/components/SuAdminLayout/AdminHeader.jsx","layer":null},"startTime":1733747122385,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-process","duration":29083,"timestamp":49378650443,"id":1027,"parentId":956,"tags":{},"startTime":1733747122553,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-loader","duration":245085,"timestamp":49378434484,"id":956,"parentId":953,"tags":{},"startTime":1733747122337,"traceId":"a901697cbe7cbd9f"},{"name":"css-loader","duration":24522,"timestamp":49378679723,"id":1028,"parentId":953,"tags":{"astUsed":"true"},"startTime":1733747122582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":271968,"timestamp":49378432667,"id":953,"parentId":782,"tags":{"name":"/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1733747122335,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":212642,"timestamp":49378493708,"id":1024,"parentId":800,"tags":{"name":"/app/components/cards/LinkCard.jsx","layer":null},"startTime":1733747122396,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":213444,"timestamp":49378493807,"id":1025,"parentId":812,"tags":{"name":"/app/components/su/components/UserCard.jsx","layer":null},"startTime":1733747122396,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":216469,"timestamp":49378493860,"id":1026,"parentId":823,"tags":{"name":"/app/components/form/FormInput.jsx","layer":null},"startTime":1733747122396,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-io-client","duration":39,"timestamp":49378711271,"id":1032,"parentId":832,"tags":{"name":"socket.io-client","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2001,"timestamp":49378711225,"id":1031,"parentId":948,"tags":{"name":"__barrel_optimize__?names=Plus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":253555,"timestamp":49378462889,"id":999,"parentId":908,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/info.js","layer":null},"startTime":1733747122365,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5441,"timestamp":49378711425,"id":1035,"parentId":783,"tags":{"name":"/app/components/general/IconText.jsx","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6268,"timestamp":49378711053,"id":1029,"parentId":833,"tags":{"name":"/app/components/su/components/UserBackups.jsx","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6449,"timestamp":49378711333,"id":1033,"parentId":843,"tags":{"name":"/app/components/general/ThemeSelector.jsx","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6982,"timestamp":49378711387,"id":1034,"parentId":824,"tags":{"name":"/app/components/su/components/PageCard.jsx","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":701,"timestamp":49378718874,"id":1042,"parentId":996,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":"api"},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2331,"timestamp":49378718948,"id":1044,"parentId":1022,"tags":{"name":"__barrel_optimize__?names=BookText,CloudUpload,DatabaseBackup,FileWarning,Home,LockKeyhole,Server,SquareChevronRight,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14661,"timestamp":49378711459,"id":1036,"parentId":843,"tags":{"name":"/app/layouts/components/AdminLayout/AdminUserBlock.jsx","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":253747,"timestamp":49378472568,"id":1010,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/hard-drive.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":253848,"timestamp":49378472619,"id":1011,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-cw.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":254458,"timestamp":49378472306,"id":1003,"parentId":802,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/index.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":254225,"timestamp":49378472706,"id":1013,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-gauge.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":255214,"timestamp":49378472519,"id":1009,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/arrow-left.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":255903,"timestamp":49378472050,"id":1000,"parentId":912,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-sync.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":255645,"timestamp":49378472664,"id":1012,"parentId":950,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/x.js","layer":null},"startTime":1733747122375,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10168,"timestamp":49378718909,"id":1043,"parentId":882,"tags":{"name":"/app/components/admin/databases/functions/generateTypeDefinition.js","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10822,"timestamp":49378718627,"id":1037,"parentId":833,"tags":{"name":"/app/components/su/components/UserData.jsx","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11086,"timestamp":49378718752,"id":1039,"parentId":823,"tags":{"name":"/app/components/su/components/RichText/DocsRichTextBlock.jsx","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11620,"timestamp":49378718715,"id":1038,"parentId":846,"tags":{"name":"/app/components/su/SuEnvCard.jsx","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11538,"timestamp":49378719037,"id":1047,"parentId":882,"tags":{"name":"/app/components/general/ExpandBlock.jsx","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11917,"timestamp":49378719008,"id":1046,"parentId":872,"tags":{"name":"/app/components/admin/databases/DatabaseImage.jsx","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12241,"timestamp":49378719072,"id":1048,"parentId":873,"tags":{"name":"/app/components/admin/databases/MoreOptionsModal.jsx","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13038,"timestamp":49378718978,"id":1045,"parentId":872,"tags":{"name":"/app/components/admin/databases/DatabaseForm.jsx","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13208,"timestamp":49378719178,"id":1051,"parentId":891,"tags":{"name":"/app/components/admin/databases/fields/text/ace-editor.js","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13884,"timestamp":49378719102,"id":1049,"parentId":879,"tags":{"name":"/app/components/admin/databases/TableListCard.jsx","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":258969,"timestamp":49378481503,"id":1014,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":258942,"timestamp":49378481700,"id":1016,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plug-2.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259178,"timestamp":49378481616,"id":1015,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/globe.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259182,"timestamp":49378481760,"id":1017,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259281,"timestamp":49378481802,"id":1018,"parentId":951,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/users.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259297,"timestamp":49378481929,"id":1021,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-x-2.js","layer":null},"startTime":1733747122385,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259536,"timestamp":49378481851,"id":1019,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-plus.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":259633,"timestamp":49378481889,"id":1020,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-pen.js","layer":null},"startTime":1733747122384,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":21,"timestamp":49378742594,"id":1052,"parentId":913,"tags":{"name":"react-tiny-popover","layer":null},"startTime":1733747122645,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1476,"timestamp":49378742723,"id":1054,"parentId":1034,"tags":{"name":"__barrel_optimize__?names=Layers,Newspaper!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122645,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6371,"timestamp":49378742795,"id":1056,"parentId":910,"tags":{"name":"/app/functions/frontend/defaultFieldsRegexp.js","layer":null},"startTime":1733747122645,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6941,"timestamp":49378742758,"id":1055,"parentId":879,"tags":{"name":"/app/components/admin/databases/ImportDbComponent.jsx","layer":null},"startTime":1733747122645,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":18,"timestamp":49378749988,"id":1057,"parentId":959,"tags":{"name":"xterm","layer":null},"startTime":1733747122653,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41484,"timestamp":49378711161,"id":1030,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/grid-2x2.js","layer":null},"startTime":1733747122614,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2144,"timestamp":49378755407,"id":1059,"parentId":1049,"tags":{"name":"__barrel_optimize__?names=ChevronRight,DatabaseBackup,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40104,"timestamp":49378718789,"id":1040,"parentId":987,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/ellipsis.js","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40266,"timestamp":49378718835,"id":1041,"parentId":988,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/key.js","layer":null},"startTime":1733747122621,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40192,"timestamp":49378719131,"id":1050,"parentId":1006,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/package-plus.js","layer":null},"startTime":1733747122622,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1299,"timestamp":49378760548,"id":1074,"parentId":1055,"tags":{"name":"__barrel_optimize__?names=Server!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122663,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7880,"timestamp":49378755562,"id":1061,"parentId":879,"tags":{"name":"/app/components/admin/databases/ImportSchemaComponent.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8441,"timestamp":49378755605,"id":1062,"parentId":893,"tags":{"name":"/app/components/admin/databases/NewTableForm.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8955,"timestamp":49378755692,"id":1063,"parentId":882,"tags":{"name":"/app/components/admin/databases/ClonedSingleTableFieldCard.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10014,"timestamp":49378755501,"id":1060,"parentId":893,"tags":{"name":"/app/components/admin/databases/CloneTableForm.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10848,"timestamp":49378755789,"id":1066,"parentId":909,"tags":{"name":"/app/components/admin/databases/functions/import-export-handler.js","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11818,"timestamp":49378755728,"id":1064,"parentId":882,"tags":{"name":"/app/components/admin/databases/NewFieldTemp.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12441,"timestamp":49378755759,"id":1065,"parentId":882,"tags":{"name":"/app/components/admin/databases/SingleTableFieldCard.jsx","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":33371,"timestamp":49378742631,"id":1053,"parentId":967,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/createLucideIcon.js","layer":null},"startTime":1733747122645,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8050,"timestamp":49378768928,"id":1077,"parentId":873,"tags":{"name":"/app/components/admin/databases/fields/text/JSONTextOption.jsx","layer":null},"startTime":1733747122672,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9795,"timestamp":49378769008,"id":1078,"parentId":903,"tags":{"name":"/app/components/admin/databases/SearchEntriesSection.jsx","layer":null},"startTime":1733747122672,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":36449,"timestamp":49378750022,"id":1058,"parentId":1031,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plus.js","layer":null},"startTime":1733747122653,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1651,"timestamp":49378787432,"id":1081,"parentId":1061,"tags":{"name":"__barrel_optimize__?names=FileCog!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":33962,"timestamp":49378755920,"id":1069,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-warning.js","layer":null},"startTime":1733747122659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34010,"timestamp":49378756053,"id":1072,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-chevron-right.js","layer":null},"startTime":1733747122659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34467,"timestamp":49378755825,"id":1067,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/cloud-upload.js","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34656,"timestamp":49378755875,"id":1068,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database-backup.js","layer":null},"startTime":1733747122658,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":35117,"timestamp":49378756013,"id":1071,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole.js","layer":null},"startTime":1733747122659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":35379,"timestamp":49378755964,"id":1070,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/home.js","layer":null},"startTime":1733747122659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":35949,"timestamp":49378756084,"id":1073,"parentId":1044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/server.js","layer":null},"startTime":1733747122659,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":22,"timestamp":49378792205,"id":1089,"parentId":959,"tags":{"name":"xterm-addon-fit","layer":null},"startTime":1733747122695,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6807,"timestamp":49378787508,"id":1082,"parentId":905,"tags":{"name":"/app/components/admin/databases/UpdateEntryMoreOptions.jsx","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7391,"timestamp":49378787628,"id":1085,"parentId":910,"tags":{"name":"/app/components/admin/databases/TableEntryField.jsx","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8474,"timestamp":49378787592,"id":1084,"parentId":915,"tags":{"name":"/app/components/admin/databases/DatabaseListCard.jsx","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8645,"timestamp":49378787688,"id":1087,"parentId":940,"tags":{"name":"/app/functions/frontend/addNewTemplateIndex.js","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9956,"timestamp":49378787560,"id":1083,"parentId":913,"tags":{"name":"/app/components/admin/databases/SyncDataButton.jsx","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10312,"timestamp":49378787659,"id":1086,"parentId":931,"tags":{"name":"/app/functions/frontend/submitNewUserForm.js","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11061,"timestamp":49378787714,"id":1088,"parentId":902,"tags":{"name":"/app/components/su/load-balancing/(partials)/ServerCard.jsx","layer":null},"startTime":1733747122690,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38613,"timestamp":49378760627,"id":1075,"parentId":1003,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","layer":null},"startTime":1733747122663,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40263,"timestamp":49378760704,"id":1076,"parentId":1003,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","layer":null},"startTime":1733747122663,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41350,"timestamp":49378769051,"id":1079,"parentId":1054,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/layers.js","layer":null},"startTime":1733747122672,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-js","duration":41748,"timestamp":49378769092,"id":1080,"parentId":1054,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/newspaper.js","layer":null},"startTime":1733747122672,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4060,"timestamp":49378811644,"id":1091,"parentId":916,"tags":{"name":"/app/components/admin/api-keys/ApiKeyListCard.jsx","layer":null},"startTime":1733747122714,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5525,"timestamp":49378811727,"id":1092,"parentId":918,"tags":{"name":"/app/components/admin/connect/MariDBUserFormGrantsSection.jsx","layer":null},"startTime":1733747122714,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":1127,"timestamp":49378817900,"id":1101,"parentId":996,"tags":{"name":"/app/package-shared/data/possibleFields.json","layer":"api"},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3267,"timestamp":49378817508,"id":1093,"parentId":1085,"tags":{"name":"__barrel_optimize__?names=Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3932,"timestamp":49378817578,"id":1094,"parentId":1084,"tags":{"name":"__barrel_optimize__?names=ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8263,"timestamp":49378817615,"id":1095,"parentId":910,"tags":{"name":"/app/functions/frontend/newEntryHandler.js","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8798,"timestamp":49378817746,"id":1097,"parentId":926,"tags":{"name":"/app/components/admin/connect/MariaDBUserCard.jsx","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9500,"timestamp":49378817778,"id":1098,"parentId":948,"tags":{"name":"/app/components/admin/media/card/MediaListCard.jsx","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10058,"timestamp":49378817811,"id":1099,"parentId":940,"tags":{"name":"/app/components/admin/databases/SingleTableIndexCard.jsx","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10396,"timestamp":49378817920,"id":1102,"parentId":1026,"tags":{"name":"/app/functions/frontend/numberFormatFloat.js","layer":null},"startTime":1733747122721,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11064,"timestamp":49378817868,"id":1100,"parentId":948,"tags":{"name":"/app/components/admin/media/MediaFolderCard.jsx","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12575,"timestamp":49378817708,"id":1096,"parentId":940,"tags":{"name":"/app/components/admin/databases/NewIndexFieldTemp.jsx","layer":null},"startTime":1733747122720,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12665,"timestamp":49378817949,"id":1103,"parentId":1026,"tags":{"name":"/app/functions/frontend/numberFormat.js","layer":null},"startTime":1733747122721,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2525007,"timestamp":49376308233,"id":126,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":43171,"timestamp":49378801681,"id":1090,"parentId":1053,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/defaultAttributes.js","layer":null},"startTime":1733747122704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1511,"timestamp":49378845011,"id":1107,"parentId":1097,"tags":{"name":"__barrel_optimize__?names=CircleX,Copy,Delete,Edit!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122748,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2208,"timestamp":49378845078,"id":1108,"parentId":1100,"tags":{"name":"__barrel_optimize__?names=Copy,Folder,X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122748,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6448,"timestamp":49378845114,"id":1109,"parentId":914,"tags":{"name":"/app/components/general/MetricCard.jsx","layer":null},"startTime":1733747122748,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6966,"timestamp":49378845159,"id":1110,"parentId":955,"tags":{"name":"/app/components/admin/media/TogglePrivacyButton.jsx","layer":null},"startTime":1733747122748,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34526,"timestamp":49378817983,"id":1104,"parentId":1081,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-cog.js","layer":null},"startTime":1733747122721,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8003,"timestamp":49378848744,"id":1114,"parentId":1036,"tags":{"name":"/app/layouts/components/AdminUserDropdown.jsx","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9425,"timestamp":49378848694,"id":1113,"parentId":991,"tags":{"name":"/app/components/pages/login/GithubLogin.jsx","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10498,"timestamp":49378848646,"id":1112,"parentId":991,"tags":{"name":"/app/components/pages/login/GoogleIdentityButton.jsx","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11121,"timestamp":49378848794,"id":1115,"parentId":1045,"tags":{"name":"/app/functions/frontend/submitNewDatabaseForm.js","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13179,"timestamp":49378848526,"id":1111,"parentId":991,"tags":{"name":"/app/components/pages/login/FacebookSignInButton.jsx","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22048,"timestamp":49378841701,"id":1106,"parentId":1075,"tags":{"name":"/app/node_modules/next/dist/server/lib/interception-routes.js","layer":null},"startTime":1733747122744,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":16053,"timestamp":49378848835,"id":1116,"parentId":1045,"tags":{"name":"/app/functions/frontend/submitUpdateDatabaseForm.js","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":16946,"timestamp":49378848874,"id":1117,"parentId":1063,"tags":{"name":"/app/functions/frontend/reorderField.js","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17256,"timestamp":49378848911,"id":1118,"parentId":1064,"tags":{"name":"/app/functions/frontend/addNewField.js","layer":null},"startTime":1733747122751,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":30842,"timestamp":49378841478,"id":1105,"parentId":1053,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/shared/src/utils.js","layer":null},"startTime":1733747122744,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6419,"timestamp":49378866877,"id":1121,"parentId":1037,"tags":{"name":"/app/components/su/components/UserFiles.jsx","layer":null},"startTime":1733747122769,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7520,"timestamp":49378866757,"id":1120,"parentId":1037,"tags":{"name":"/app/components/su/components/UserDbShell.jsx","layer":null},"startTime":1733747122769,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2566291,"timestamp":49376308509,"id":203,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2566298,"timestamp":49376308519,"id":206,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2566302,"timestamp":49376308522,"id":207,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers%2Fnew&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1276,"timestamp":49378874642,"id":1122,"parentId":1110,"tags":{"name":"__barrel_optimize__?names=Lock,LockKeyholeOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122777,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2569769,"timestamp":49376308506,"id":202,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fload-balancing&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2569775,"timestamp":49376308513,"id":204,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fservers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1452,"timestamp":49378879393,"id":1123,"parentId":1114,"tags":{"name":"__barrel_optimize__?names=CircleGauge!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":33345,"timestamp":49378848973,"id":1119,"parentId":1093,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock.js","layer":null},"startTime":1733747122752,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577168,"timestamp":49376308525,"id":208,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fterms&preferredRegion=&absolutePagePath=private-next-pages%2Fterms.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577190,"timestamp":49376308528,"id":209,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Funsubscribe.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577461,"timestamp":49376308264,"id":136,"parentId":18,"tags":{"request":"private-next-pages/_app.js"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2578760,"timestamp":49376306981,"id":19,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=next%2Fdist%2Fpages%2F_error&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2578286,"timestamp":49376307459,"id":21,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F404&preferredRegion=&absolutePagePath=private-next-pages%2F404.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2578278,"timestamp":49376307472,"id":22,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F500&preferredRegion=&absolutePagePath=private-next-pages%2F500.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577488,"timestamp":49376308268,"id":137,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fabout&preferredRegion=&absolutePagePath=private-next-pages%2Fabout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577344,"timestamp":49376308426,"id":179,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fblog&preferredRegion=&absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577345,"timestamp":49376308428,"id":180,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fcontact.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577345,"timestamp":49376308432,"id":181,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577347,"timestamp":49376308435,"id":182,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577347,"timestamp":49376308438,"id":183,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577349,"timestamp":49376308441,"id":184,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=private-next-pages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577349,"timestamp":49376308445,"id":185,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577349,"timestamp":49376308448,"id":186,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fcreate-account&preferredRegion=&absolutePagePath=private-next-pages%2Fcreate-account.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577350,"timestamp":49376308451,"id":187,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fprivacy&preferredRegion=&absolutePagePath=private-next-pages%2Fprivacy.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577350,"timestamp":49376308455,"id":188,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Flogout&preferredRegion=&absolutePagePath=private-next-pages%2Flogout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577346,"timestamp":49376308463,"id":189,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Femail-verification&preferredRegion=&absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577347,"timestamp":49376308466,"id":190,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fredirect&preferredRegion=&absolutePagePath=private-next-pages%2Fredirect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577349,"timestamp":49376308470,"id":191,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fbackups&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577350,"timestamp":49376308473,"id":192,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsend-password-reset-link&preferredRegion=&absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577348,"timestamp":49376308480,"id":194,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fconsole&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577347,"timestamp":49376308486,"id":196,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Freset-password&preferredRegion=&absolutePagePath=private-next-pages%2Freset-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577348,"timestamp":49376308490,"id":197,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577348,"timestamp":49376308493,"id":198,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Ferror-logs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577346,"timestamp":49376308500,"id":200,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577354,"timestamp":49376308497,"id":199,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fenvar&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577351,"timestamp":49376308503,"id":201,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577575,"timestamp":49376308285,"id":142,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577577,"timestamp":49376308288,"id":143,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577577,"timestamp":49376308292,"id":144,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577547,"timestamp":49376308328,"id":153,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577530,"timestamp":49376308351,"id":160,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577614,"timestamp":49376308271,"id":138,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577611,"timestamp":49376308278,"id":140,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577555,"timestamp":49376308341,"id":157,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577567,"timestamp":49376308334,"id":155,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577568,"timestamp":49376308338,"id":156,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577565,"timestamp":49376308344,"id":158,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577548,"timestamp":49376308366,"id":165,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577537,"timestamp":49376308383,"id":170,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577606,"timestamp":49376308322,"id":151,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577601,"timestamp":49376308331,"id":154,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577580,"timestamp":49376308357,"id":162,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577561,"timestamp":49376308379,"id":169,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577569,"timestamp":49376308376,"id":168,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577579,"timestamp":49376308369,"id":166,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2577580,"timestamp":49376308373,"id":167,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8834,"timestamp":49378879519,"id":1125,"parentId":1085,"tags":{"name":"/app/functions/frontend/generateFormElementsForEntry.js","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9855,"timestamp":49378879465,"id":1124,"parentId":1039,"tags":{"name":"/app/components/su/components/RichText/RichTextExtensionBlock.jsx","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7542,"timestamp":49378884560,"id":1132,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/AutoIncrement.jsx","layer":null},"startTime":1733747122787,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7971,"timestamp":49378884505,"id":1131,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/EncryptionSelect.jsx","layer":null},"startTime":1733747122787,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8826,"timestamp":49378884290,"id":1129,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/CSSFiles.jsx","layer":null},"startTime":1733747122787,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10188,"timestamp":49378884448,"id":1130,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/ForeignKey.jsx","layer":null},"startTime":1733747122787,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5055,"timestamp":49378895026,"id":1134,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/UniqueFieldSelect.jsx","layer":null},"startTime":1733747122798,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5518,"timestamp":49378895125,"id":1135,"parentId":1048,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/RegexPattern.jsx","layer":null},"startTime":1733747122798,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1676,"timestamp":49378900862,"id":1137,"parentId":1124,"tags":{"name":"__barrel_optimize__?names=CircleX,List,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122803,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24535,"timestamp":49378879601,"id":1127,"parentId":1107,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/delete.js","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24870,"timestamp":49378879644,"id":1128,"parentId":1108,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder.js","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25153,"timestamp":49378879553,"id":1126,"parentId":1107,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-x.js","layer":null},"startTime":1733747122782,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-js","duration":4427,"timestamp":49378901089,"id":1140,"parentId":1096,"tags":{"name":"/app/functions/frontend/addNewIndex.js","layer":null},"startTime":1733747122804,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2598067,"timestamp":49376308275,"id":139,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8190,"timestamp":49378901050,"id":1139,"parentId":1062,"tags":{"name":"/app/components/admin/databases/NewTableNameSlugAndDescSection.jsx","layer":null},"startTime":1733747122804,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9136,"timestamp":49378900990,"id":1138,"parentId":1064,"tags":{"name":"/app/components/admin/databases/NewFieldFormContent.jsx","layer":null},"startTime":1733747122804,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23945,"timestamp":49378889876,"id":1133,"parentId":1106,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js","layer":null},"startTime":1733747122792,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4518,"timestamp":49378910751,"id":1143,"parentId":1048,"tags":{"name":"/app/components/general/Modal.jsx","layer":null},"startTime":1733747122813,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6563,"timestamp":49378910714,"id":1142,"parentId":1085,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditor.jsx","layer":null},"startTime":1733747122813,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7233,"timestamp":49378910605,"id":1141,"parentId":1085,"tags":{"name":"/app/components/admin/databases/TableRichTextEntryField.jsx","layer":null},"startTime":1733747122813,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26236,"timestamp":49378895210,"id":1136,"parentId":1122,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js","layer":null},"startTime":1733747122798,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":3467,"timestamp":49378922085,"id":1147,"parentId":1098,"tags":{"name":"/app/components/admin/media/card/MediaPrivacyButton.jsx","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4074,"timestamp":49378921896,"id":1144,"parentId":1083,"tags":{"name":"/app/functions/frontend/syncTableDataFormHandler.js","layer":null},"startTime":1733747122824,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5019,"timestamp":49378921997,"id":1145,"parentId":1098,"tags":{"name":"/app/components/admin/media/card/MediaPreviewSection.jsx","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":23,"timestamp":49378927228,"id":1151,"parentId":1143,"tags":{"name":"react-dom/client","layer":null},"startTime":1733747122830,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6804,"timestamp":49378922120,"id":1148,"parentId":1098,"tags":{"name":"/app/components/admin/media/card/MediaLinksDropdown.jsx","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8104,"timestamp":49378922042,"id":1146,"parentId":1099,"tags":{"name":"/app/components/admin/databases/ExistingIndexEdit.jsx","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":18,"timestamp":49378930760,"id":1152,"parentId":1039,"tags":{"name":"@tinymce/tinymce-react","layer":null},"startTime":1733747122833,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1151,"timestamp":49378932164,"id":1153,"parentId":1147,"tags":{"name":"__barrel_optimize__?names=Lock,LockOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122835,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13276,"timestamp":49378922197,"id":1150,"parentId":1137,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13573,"timestamp":49378922151,"id":1149,"parentId":1137,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/list.js","layer":null},"startTime":1733747122825,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628214,"timestamp":49376308282,"id":141,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628164,"timestamp":49376308347,"id":159,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628182,"timestamp":49376308354,"id":161,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628231,"timestamp":49376308311,"id":148,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628222,"timestamp":49376308325,"id":152,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2628252,"timestamp":49376308299,"id":146,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4039,"timestamp":49378934064,"id":1155,"parentId":1124,"tags":{"name":"/app/components/su/components/RichText/fns.js","layer":null},"startTime":1733747122837,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":1840,"timestamp":49378938423,"id":1157,"parentId":1121,"tags":{"name":"/app/components/su/components/UserFolder.jsx","layer":null},"startTime":1733747122841,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":2513,"timestamp":49378938177,"id":1156,"parentId":1121,"tags":{"name":"/app/components/su/components/UserSingleFile.jsx","layer":null},"startTime":1733747122841,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10026,"timestamp":49378932234,"id":1154,"parentId":1133,"tags":{"name":"/app/node_modules/next/dist/shared/lib/segment.js","layer":null},"startTime":1733747122835,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2634909,"timestamp":49376307435,"id":20,"parentId":18,"tags":{"request":"private-next-pages/_document.js"},"startTime":1733747120210,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":2118,"timestamp":49378940824,"id":1159,"parentId":1120,"tags":{"name":"/app/components/su/components/UserDbShellQueryResult.jsx","layer":null},"startTime":1733747122843,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1504,"timestamp":49378943048,"id":1160,"parentId":1157,"tags":{"name":"__barrel_optimize__?names=Copy,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122846,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2278,"timestamp":49378943107,"id":1161,"parentId":1156,"tags":{"name":"__barrel_optimize__?names=HardDrive!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122846,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2640709,"timestamp":49376308516,"id":205,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10488,"timestamp":49378939230,"id":1158,"parentId":1153,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-open.js","layer":null},"startTime":1733747122842,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2641512,"timestamp":49376308360,"id":163,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2641521,"timestamp":49376308363,"id":164,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":3940,"timestamp":49378948610,"id":1162,"parentId":1124,"tags":{"name":"/app/components/su/components/RichText/ElementStyleModalContent.jsx","layer":null},"startTime":1733747122851,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":2954,"timestamp":49378950514,"id":1163,"parentId":1142,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditorHeader.jsx","layer":null},"startTime":1733747122853,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3480,"timestamp":49378950590,"id":1164,"parentId":1146,"tags":{"name":"/app/components/admin/databases/indexes/indexSelectChange.js","layer":null},"startTime":1733747122853,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1640,"timestamp":49378954186,"id":1165,"parentId":1141,"tags":{"name":"/app/functions/frontend/tinyMCEEditorSetup.js","layer":null},"startTime":1733747122857,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1219,"timestamp":49378955936,"id":1166,"parentId":1162,"tags":{"name":"__barrel_optimize__?names=CircleX!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":953,"timestamp":49378957352,"id":1167,"parentId":1163,"tags":{"name":"__barrel_optimize__?names=CircleMinus,CirclePlus,Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747122860,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2649967,"timestamp":49376308476,"id":193,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fcreate-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2649971,"timestamp":49376308483,"id":195,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fedit-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1319,"timestamp":49378959526,"id":1168,"parentId":1167,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-minus.js","layer":null},"startTime":1733747122862,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1896,"timestamp":49378959599,"id":1169,"parentId":1167,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-plus.js","layer":null},"startTime":1733747122862,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1163,"timestamp":49378960954,"id":1171,"parentId":1165,"tags":{"name":"/app/functions/frontend/handleCopyHTML.js","layer":null},"startTime":1733747122864,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1723,"timestamp":49378960902,"id":1170,"parentId":1165,"tags":{"name":"/app/functions/frontend/handleEditHTML.js","layer":null},"startTime":1733747122863,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1570,"timestamp":49378961547,"id":1172,"parentId":1165,"tags":{"name":"/app/functions/frontend/handleEmbed.js","layer":null},"startTime":1733747122864,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":1338,"timestamp":49378965513,"id":1173,"parentId":1171,"tags":{"name":"/app/components/general/EmbedPopupContent.jsx","layer":null},"startTime":1733747122868,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":1561,"timestamp":49378966122,"id":1174,"parentId":1170,"tags":{"name":"/app/components/general/EditHTMLPopupContent.jsx","layer":null},"startTime":1733747122869,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":17,"timestamp":49378969042,"id":1175,"parentId":1174,"tags":{"name":"html-prettify","layer":null},"startTime":1733747122872,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2660805,"timestamp":49376308304,"id":147,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2660824,"timestamp":49376308295,"id":145,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2660806,"timestamp":49376308319,"id":150,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":2660813,"timestamp":49376308315,"id":149,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1733747120211,"traceId":"a901697cbe7cbd9f"},{"name":"make","duration":2662617,"timestamp":49376306742,"id":18,"parentId":16,"tags":{},"startTime":1733747120209,"traceId":"a901697cbe7cbd9f"},{"name":"get-entries","duration":986,"timestamp":49378970513,"id":1177,"parentId":1176,"tags":{},"startTime":1733747122873,"traceId":"a901697cbe7cbd9f"},{"name":"node-file-trace-plugin","duration":17707934,"timestamp":49378982006,"id":1178,"parentId":1176,"tags":{"traceEntryCount":"382"},"startTime":1733747122885,"traceId":"a901697cbe7cbd9f"},{"name":"collect-traced-files","duration":25202,"timestamp":49396689960,"id":1179,"parentId":1176,"tags":{},"startTime":1733747140593,"traceId":"a901697cbe7cbd9f"},{"name":"finish-modules","duration":17744912,"timestamp":49378970270,"id":1176,"parentId":17,"tags":{},"startTime":1733747122873,"traceId":"a901697cbe7cbd9f"},{"name":"chunk-graph","duration":40092,"timestamp":49396781000,"id":1181,"parentId":1180,"tags":{},"startTime":1733747140684,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-modules","duration":32,"timestamp":49396821240,"id":1183,"parentId":1180,"tags":{},"startTime":1733747140724,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunks","duration":50720,"timestamp":49396821359,"id":1184,"parentId":1180,"tags":{},"startTime":1733747140724,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-tree","duration":138,"timestamp":49396872200,"id":1185,"parentId":1180,"tags":{},"startTime":1733747140775,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunk-modules","duration":88703,"timestamp":49396872445,"id":1186,"parentId":1180,"tags":{},"startTime":1733747140775,"traceId":"a901697cbe7cbd9f"},{"name":"optimize","duration":140150,"timestamp":49396821180,"id":1182,"parentId":1180,"tags":{},"startTime":1733747140724,"traceId":"a901697cbe7cbd9f"},{"name":"module-hash","duration":40527,"timestamp":49396980461,"id":1187,"parentId":1180,"tags":{},"startTime":1733747140883,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation","duration":410515,"timestamp":49397021082,"id":1188,"parentId":1180,"tags":{},"startTime":1733747140924,"traceId":"a901697cbe7cbd9f"},{"name":"hash","duration":22611,"timestamp":49397439792,"id":1189,"parentId":1180,"tags":{},"startTime":1733747141342,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation-jobs","duration":924,"timestamp":49397462401,"id":1190,"parentId":1180,"tags":{},"startTime":1733747141365,"traceId":"a901697cbe7cbd9f"},{"name":"module-assets","duration":460,"timestamp":49397463203,"id":1191,"parentId":1180,"tags":{},"startTime":1733747141366,"traceId":"a901697cbe7cbd9f"},{"name":"create-chunk-assets","duration":35099,"timestamp":49397463678,"id":1192,"parentId":1180,"tags":{},"startTime":1733747141366,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":153969,"timestamp":49397543035,"id":1195,"parentId":1193,"tags":{"name":"../pages/_document.js","cache":"MISS"},"startTime":1733747141446,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":153698,"timestamp":49397543378,"id":1196,"parentId":1193,"tags":{"name":"../pages/404.js","cache":"MISS"},"startTime":1733747141446,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":152922,"timestamp":49397544187,"id":1197,"parentId":1193,"tags":{"name":"../pages/500.js","cache":"MISS"},"startTime":1733747141447,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":156983,"timestamp":49397540161,"id":1194,"parentId":1193,"tags":{"name":"../pages/_error.js","cache":"MISS"},"startTime":1733747141443,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":152324,"timestamp":49397544855,"id":1198,"parentId":1193,"tags":{"name":"../pages/api/addAdminUserUser.js","cache":"MISS"},"startTime":1733747141447,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":151671,"timestamp":49397545545,"id":1199,"parentId":1193,"tags":{"name":"../pages/api/addApiKey.js","cache":"MISS"},"startTime":1733747141448,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":151246,"timestamp":49397546005,"id":1200,"parentId":1193,"tags":{"name":"../pages/api/acceptUserInvitation.js","cache":"MISS"},"startTime":1733747141449,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":146750,"timestamp":49397550532,"id":1202,"parentId":1193,"tags":{"name":"../pages/api/addDbUser.js","cache":"MISS"},"startTime":1733747141453,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":147166,"timestamp":49397550147,"id":1201,"parentId":1193,"tags":{"name":"../pages/api/addNewMediaFolder.js","cache":"MISS"},"startTime":1733747141453,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":146649,"timestamp":49397550702,"id":1203,"parentId":1193,"tags":{"name":"../pages/api/addTableEntry.js","cache":"MISS"},"startTime":1733747141453,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":146128,"timestamp":49397551249,"id":1205,"parentId":1193,"tags":{"name":"../pages/api/addUsersTableToDatabase.js","cache":"MISS"},"startTime":1733747141454,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":146416,"timestamp":49397550987,"id":1204,"parentId":1193,"tags":{"name":"../pages/api/addSocialLogin.js","cache":"MISS"},"startTime":1733747141454,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145952,"timestamp":49397551470,"id":1206,"parentId":1193,"tags":{"name":"../pages/api/addUserUser.js","cache":"MISS"},"startTime":1733747141454,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145292,"timestamp":49397552151,"id":1209,"parentId":1193,"tags":{"name":"../pages/api/admin/clearErrorLogs.js","cache":"MISS"},"startTime":1733747141455,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145787,"timestamp":49397551687,"id":1207,"parentId":1193,"tags":{"name":"../pages/api/addUserTable.js","cache":"MISS"},"startTime":1733747141454,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145549,"timestamp":49397551950,"id":1208,"parentId":1193,"tags":{"name":"../pages/api/admin/addUserBackup.js","cache":"MISS"},"startTime":1733747141455,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145049,"timestamp":49397552474,"id":1211,"parentId":1193,"tags":{"name":"../pages/api/admin/clientError.js","cache":"MISS"},"startTime":1733747141455,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145248,"timestamp":49397552300,"id":1210,"parentId":1193,"tags":{"name":"../pages/api/admin/createNewBackup.js","cache":"MISS"},"startTime":1733747141455,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144383,"timestamp":49397553183,"id":1214,"parentId":1193,"tags":{"name":"../pages/api/admin/getUserBackups.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144940,"timestamp":49397552646,"id":1212,"parentId":1193,"tags":{"name":"../pages/api/admin/docs/[action].js","cache":"MISS"},"startTime":1733747141455,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144302,"timestamp":49397553303,"id":1215,"parentId":1193,"tags":{"name":"../pages/api/admin/grabBackups.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144713,"timestamp":49397552918,"id":1213,"parentId":1193,"tags":{"name":"../pages/api/admin/getTablesForUserDatabase.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144077,"timestamp":49397553575,"id":1217,"parentId":1193,"tags":{"name":"../pages/api/admin/grabErrorLogs.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144242,"timestamp":49397553427,"id":1216,"parentId":1193,"tags":{"name":"../pages/api/admin/getUserData.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143995,"timestamp":49397553693,"id":1218,"parentId":1193,"tags":{"name":"../pages/api/admin/grabFile.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143696,"timestamp":49397554014,"id":1220,"parentId":1193,"tags":{"name":"../pages/api/admin/updateEnv.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143582,"timestamp":49397554148,"id":1221,"parentId":1193,"tags":{"name":"../pages/api/changeDbUserPassword.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"}] -[{"name":"minify-js","duration":143605,"timestamp":49397554461,"id":1223,"parentId":1193,"tags":{"name":"../pages/api/admin/loginSuUser.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144285,"timestamp":49397553819,"id":1219,"parentId":1193,"tags":{"name":"../pages/api/admin/runUserDbQuery.js","cache":"MISS"},"startTime":1733747141456,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143835,"timestamp":49397554298,"id":1222,"parentId":1193,"tags":{"name":"../pages/api/checkDuplicateData.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143505,"timestamp":49397554647,"id":1224,"parentId":1193,"tags":{"name":"../pages/api/checkExistingFolder.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143366,"timestamp":49397554806,"id":1225,"parentId":1193,"tags":{"name":"../pages/api/clientSideAuth.js","cache":"MISS"},"startTime":1733747141457,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142566,"timestamp":49397555632,"id":1229,"parentId":1193,"tags":{"name":"../pages/api/connect.js","cache":"MISS"},"startTime":1733747141458,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143288,"timestamp":49397554938,"id":1226,"parentId":1193,"tags":{"name":"../pages/api/connect/disconnect.js","cache":"MISS"},"startTime":1733747141458,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142811,"timestamp":49397555439,"id":1228,"parentId":1193,"tags":{"name":"../pages/api/connect/verify.js","cache":"MISS"},"startTime":1733747141458,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143058,"timestamp":49397555213,"id":1227,"parentId":1193,"tags":{"name":"../pages/api/connect/handshake.js","cache":"MISS"},"startTime":1733747141458,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142504,"timestamp":49397555789,"id":1230,"parentId":1193,"tags":{"name":"../pages/api/contact.js","cache":"MISS"},"startTime":1733747141458,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142006,"timestamp":49397556307,"id":1233,"parentId":1193,"tags":{"name":"../pages/api/deleteInvitation.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142421,"timestamp":49397555919,"id":1231,"parentId":1193,"tags":{"name":"../pages/api/deleteDbUser.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141925,"timestamp":49397556436,"id":1234,"parentId":1193,"tags":{"name":"../pages/api/createUserDatabase.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142293,"timestamp":49397556094,"id":1232,"parentId":1193,"tags":{"name":"../pages/api/deleteApiKey.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141777,"timestamp":49397556654,"id":1235,"parentId":1193,"tags":{"name":"../pages/api/deleteTableEntry.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141571,"timestamp":49397556885,"id":1236,"parentId":1193,"tags":{"name":"../pages/api/deleteUser.js","cache":"MISS"},"startTime":1733747141459,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141378,"timestamp":49397557103,"id":1237,"parentId":1193,"tags":{"name":"../pages/api/deleteUserDatabase.js","cache":"MISS"},"startTime":1733747141460,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141237,"timestamp":49397557271,"id":1238,"parentId":1193,"tags":{"name":"../pages/api/deleteUserMedia.js","cache":"MISS"},"startTime":1733747141460,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140816,"timestamp":49397557712,"id":1240,"parentId":1193,"tags":{"name":"../pages/api/deleteUserUser.js","cache":"MISS"},"startTime":1733747141460,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140702,"timestamp":49397557849,"id":1241,"parentId":1193,"tags":{"name":"../pages/api/downloadDatabaseSchema.js","cache":"MISS"},"startTime":1733747141460,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141072,"timestamp":49397557506,"id":1239,"parentId":1193,"tags":{"name":"../pages/api/deleteUserTable.js","cache":"MISS"},"startTime":1733747141460,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140577,"timestamp":49397558024,"id":1242,"parentId":1193,"tags":{"name":"../pages/api/deleteMediaFolder.js","cache":"MISS"},"startTime":1733747141461,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140431,"timestamp":49397558192,"id":1243,"parentId":1193,"tags":{"name":"../pages/api/exportDatabase.js","cache":"MISS"},"startTime":1733747141461,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140313,"timestamp":49397558342,"id":1244,"parentId":1193,"tags":{"name":"../pages/api/get-authorized-databases.js","cache":"MISS"},"startTime":1733747141461,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":140128,"timestamp":49397558549,"id":1245,"parentId":1193,"tags":{"name":"../pages/api/getDatabaseTables.js","cache":"MISS"},"startTime":1733747141461,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141692,"timestamp":49397558922,"id":1247,"parentId":1193,"tags":{"name":"../pages/api/getDelegatedDatabaseToken.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143823,"timestamp":49397558710,"id":1246,"parentId":1193,"tags":{"name":"../pages/api/fetch-entries-basic.js","cache":"MISS"},"startTime":1733747141461,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143327,"timestamp":49397559272,"id":1249,"parentId":1193,"tags":{"name":"../pages/api/getUserDatabases.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145330,"timestamp":49397559089,"id":1248,"parentId":1193,"tags":{"name":"../pages/api/getDiskUsage.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":146059,"timestamp":49397559415,"id":1250,"parentId":1193,"tags":{"name":"../pages/api/getDelegatedDatabases.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":147098,"timestamp":49397559703,"id":1252,"parentId":1193,"tags":{"name":"../pages/api/getUserMedia.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":147385,"timestamp":49397559563,"id":1251,"parentId":1193,"tags":{"name":"../pages/api/getUserDatabaseTables.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":147967,"timestamp":49397560250,"id":1255,"parentId":1193,"tags":{"name":"../pages/api/healthcheck.js","cache":"MISS"},"startTime":1733747141463,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":150433,"timestamp":49397559834,"id":1253,"parentId":1193,"tags":{"name":"../pages/api/getUserSchemaData.js","cache":"MISS"},"startTime":1733747141462,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":150999,"timestamp":49397560357,"id":1256,"parentId":1193,"tags":{"name":"../pages/api/importDatabaseSchema.js","cache":"MISS"},"startTime":1733747141463,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":154195,"timestamp":49397559994,"id":1254,"parentId":1193,"tags":{"name":"../pages/api/importDatabase.js","cache":"MISS"},"startTime":1733747141463,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":155954,"timestamp":49397560813,"id":1258,"parentId":1193,"tags":{"name":"../pages/api/loginUser.js","cache":"MISS"},"startTime":1733747141463,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":155965,"timestamp":49397561147,"id":1259,"parentId":1193,"tags":{"name":"../pages/api/media/addPrivateMedia.js","cache":"MISS"},"startTime":1733747141464,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":156838,"timestamp":49397560547,"id":1257,"parentId":1193,"tags":{"name":"../pages/api/infiniteScroll.js","cache":"MISS"},"startTime":1733747141463,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":157188,"timestamp":49397561341,"id":1260,"parentId":1193,"tags":{"name":"../pages/api/media/getPrivateMedia.js","cache":"MISS"},"startTime":1733747141464,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":159373,"timestamp":49397561493,"id":1261,"parentId":1193,"tags":{"name":"../pages/api/logoutUser.js","cache":"MISS"},"startTime":1733747141464,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":159305,"timestamp":49397561964,"id":1264,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/get.js","cache":"MISS"},"startTime":1733747141465,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":160430,"timestamp":49397561630,"id":1262,"parentId":1193,"tags":{"name":"../pages/api/purgeDb.js","cache":"MISS"},"startTime":1733747141464,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":160585,"timestamp":49397561801,"id":1263,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/get-schema.js","cache":"MISS"},"startTime":1733747141464,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":162553,"timestamp":49397562319,"id":1266,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/update-schema-from-single-database.js","cache":"MISS"},"startTime":1733747141465,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":166041,"timestamp":49397562454,"id":1267,"parentId":1193,"tags":{"name":"../pages/api/reAuthenticateUser.js","cache":"MISS"},"startTime":1733747141465,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":166368,"timestamp":49397562652,"id":1268,"parentId":1193,"tags":{"name":"../pages/api/registerUser.js","cache":"MISS"},"startTime":1733747141465,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":167332,"timestamp":49397562118,"id":1265,"parentId":1193,"tags":{"name":"../pages/api/queryEntriesSearchTerm.js","cache":"MISS"},"startTime":1733747141465,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":168667,"timestamp":49397563432,"id":1272,"parentId":1193,"tags":{"name":"../pages/api/resetPassword.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":169915,"timestamp":49397563300,"id":1271,"parentId":1193,"tags":{"name":"../pages/api/resetDelegatedDatabaseToken.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":170444,"timestamp":49397562918,"id":1269,"parentId":1193,"tags":{"name":"../pages/api/refreshEntry.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":172235,"timestamp":49397563115,"id":1270,"parentId":1193,"tags":{"name":"../pages/api/renameMedia.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":173127,"timestamp":49397563744,"id":1274,"parentId":1193,"tags":{"name":"../pages/api/sendPasswordResetLink.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":173459,"timestamp":49397564037,"id":1276,"parentId":1193,"tags":{"name":"../pages/api/social-login/google-auth.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":174468,"timestamp":49397564177,"id":1277,"parentId":1193,"tags":{"name":"../pages/api/social-login/facebook-auth.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":175075,"timestamp":49397563878,"id":1275,"parentId":1193,"tags":{"name":"../pages/api/sendEmailVerificationLink.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":175507,"timestamp":49397564303,"id":1278,"parentId":1193,"tags":{"name":"../pages/api/social-login/utils/checkEmail.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":176635,"timestamp":49397563545,"id":1273,"parentId":1193,"tags":{"name":"../pages/api/runUserDbQuery.js","cache":"MISS"},"startTime":1733747141466,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":176534,"timestamp":49397564423,"id":1279,"parentId":1193,"tags":{"name":"../pages/api/social-login/utils/getEmailFromSocialId.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":176612,"timestamp":49397564654,"id":1280,"parentId":1193,"tags":{"name":"../pages/api/social-login/utils/checkSocialId.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":177306,"timestamp":49397564768,"id":1281,"parentId":1193,"tags":{"name":"../pages/api/sql-users/create.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":178416,"timestamp":49397565233,"id":1284,"parentId":1193,"tags":{"name":"../pages/api/sql-users/update.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":178527,"timestamp":49397565440,"id":1285,"parentId":1193,"tags":{"name":"../pages/api/stream/[path].js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":179407,"timestamp":49397564893,"id":1282,"parentId":1193,"tags":{"name":"../pages/api/social-login/github-auth.js","cache":"MISS"},"startTime":1733747141467,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":179628,"timestamp":49397565713,"id":1287,"parentId":1193,"tags":{"name":"../pages/api/unsubscribe.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":181453,"timestamp":49397565079,"id":1283,"parentId":1193,"tags":{"name":"../pages/api/sql-users/delete.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":180954,"timestamp":49397565895,"id":1289,"parentId":1193,"tags":{"name":"../pages/api/test/cors.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":181897,"timestamp":49397565793,"id":1288,"parentId":1193,"tags":{"name":"../pages/api/test/mail.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":183922,"timestamp":49397566002,"id":1290,"parentId":1193,"tags":{"name":"../pages/api/updateAdminUserAccess.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":184942,"timestamp":49397565531,"id":1286,"parentId":1193,"tags":{"name":"../pages/api/sync-table-data.js","cache":"MISS"},"startTime":1733747141468,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":185835,"timestamp":49397566109,"id":1291,"parentId":1193,"tags":{"name":"../pages/api/updateClonedTableForeignKeys.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":189164,"timestamp":49397566242,"id":1292,"parentId":1193,"tags":{"name":"../pages/api/updateDbSchemaDataForUser.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":191423,"timestamp":49397566462,"id":1293,"parentId":1193,"tags":{"name":"../pages/api/updateDbUser.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":194585,"timestamp":49397566618,"id":1294,"parentId":1193,"tags":{"name":"../pages/api/updateTableEntry.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":195634,"timestamp":49397566826,"id":1295,"parentId":1193,"tags":{"name":"../pages/api/updateUser.js","cache":"MISS"},"startTime":1733747141469,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":199540,"timestamp":49397567035,"id":1296,"parentId":1193,"tags":{"name":"../pages/api/updateUserDatabase.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":199291,"timestamp":49397567576,"id":1299,"parentId":1193,"tags":{"name":"../pages/api/user-schema/replace-database-schema.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":200478,"timestamp":49397567238,"id":1297,"parentId":1193,"tags":{"name":"../pages/api/updateUserTable.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":201540,"timestamp":49397567430,"id":1298,"parentId":1193,"tags":{"name":"../pages/api/updateUserUser.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":205786,"timestamp":49397568245,"id":1303,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/github-login.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":206992,"timestamp":49397567698,"id":1300,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/delete-user.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":207561,"timestamp":49397567861,"id":1301,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/add-user.js","cache":"MISS"},"startTime":1733747141470,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":207373,"timestamp":49397568094,"id":1302,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/get-user.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":209248,"timestamp":49397568576,"id":1305,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/google-login.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":210767,"timestamp":49397568688,"id":1306,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/grab-google-user-from-token.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":214941,"timestamp":49397568409,"id":1304,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/login-user.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":214759,"timestamp":49397568789,"id":1307,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/reauth-user.js","cache":"MISS"},"startTime":1733747141471,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":214815,"timestamp":49397569442,"id":1311,"parentId":1193,"tags":{"name":"../pages/_app.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":216093,"timestamp":49397569353,"id":1310,"parentId":1193,"tags":{"name":"../pages/api/webhooks/github-push.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":216566,"timestamp":49397569484,"id":1312,"parentId":1193,"tags":{"name":"../pages/about.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":217763,"timestamp":49397568948,"id":1308,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/send-email-code.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":221439,"timestamp":49397569125,"id":1309,"parentId":1193,"tags":{"name":"../pages/api/user/[user_id]/update-user.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":227342,"timestamp":49397569670,"id":1313,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/api-keys.js","cache":"MISS"},"startTime":1733747141472,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":228442,"timestamp":49397571591,"id":1316,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/edit-database.js","cache":"MISS"},"startTime":1733747141474,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":230112,"timestamp":49397570344,"id":1314,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/connect.js","cache":"MISS"},"startTime":1733747141473,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":231637,"timestamp":49397571091,"id":1315,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/connect.js","cache":"MISS"},"startTime":1733747141474,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":235747,"timestamp":49397572321,"id":1318,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single].js","cache":"MISS"},"startTime":1733747141475,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":239192,"timestamp":49397571931,"id":1317,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/shell.js","cache":"MISS"},"startTime":1733747141475,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":239745,"timestamp":49397573139,"id":1320,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js","cache":"MISS"},"startTime":1733747141476,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":244075,"timestamp":49397572642,"id":1319,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/schema.js","cache":"MISS"},"startTime":1733747141475,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":244525,"timestamp":49397573536,"id":1321,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js","cache":"MISS"},"startTime":1733747141476,"traceId":"a901697cbe7cbd9f"}] -[{"name":"minify-js","duration":245808,"timestamp":49397573917,"id":1322,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js","cache":"MISS"},"startTime":1733747141477,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":247141,"timestamp":49397575486,"id":1325,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js","cache":"MISS"},"startTime":1733747141478,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":247993,"timestamp":49397575633,"id":1326,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js","cache":"MISS"},"startTime":1733747141478,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":250453,"timestamp":49397574221,"id":1323,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js","cache":"MISS"},"startTime":1733747141477,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":250030,"timestamp":49397576684,"id":1329,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/[user].js","cache":"MISS"},"startTime":1733747141479,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":256832,"timestamp":49397576396,"id":1328,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables.js","cache":"MISS"},"startTime":1733747141479,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":260504,"timestamp":49397574648,"id":1324,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table].js","cache":"MISS"},"startTime":1733747141477,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":254017,"timestamp":49397582514,"id":1332,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases.js","cache":"MISS"},"startTime":1733747141485,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":263656,"timestamp":49397576766,"id":1330,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/add-social-logins.js","cache":"MISS"},"startTime":1733747141479,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":265030,"timestamp":49397575799,"id":1327,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/add-table.js","cache":"MISS"},"startTime":1733747141478,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":259240,"timestamp":49397583145,"id":1335,"parentId":1193,"tags":{"name":"../pages/admin/[user_id].js","cache":"MISS"},"startTime":1733747141486,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":263252,"timestamp":49397582960,"id":1334,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/add-database.js","cache":"MISS"},"startTime":1733747141486,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":270549,"timestamp":49397577246,"id":1331,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/add-user.js","cache":"MISS"},"startTime":1733747141480,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":265698,"timestamp":49397582609,"id":1333,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users.js","cache":"MISS"},"startTime":1733747141485,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":266030,"timestamp":49397583253,"id":1336,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/settings.js","cache":"MISS"},"startTime":1733747141486,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":268095,"timestamp":49397584009,"id":1338,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/media.js","cache":"MISS"},"startTime":1733747141487,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":269948,"timestamp":49397584263,"id":1339,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/media/[...folder].js","cache":"MISS"},"startTime":1733747141487,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":274059,"timestamp":49397583618,"id":1337,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/users/add-user.js","cache":"MISS"},"startTime":1733747141486,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":276513,"timestamp":49397584579,"id":1340,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/schema.js","cache":"MISS"},"startTime":1733747141487,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":276588,"timestamp":49397584943,"id":1341,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/users/databases/[database]/[user].js","cache":"MISS"},"startTime":1733747141488,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":277778,"timestamp":49397585314,"id":1342,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/users/databases/[database].js","cache":"MISS"},"startTime":1733747141488,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":277393,"timestamp":49397586455,"id":1345,"parentId":1193,"tags":{"name":"../pages/admin.js","cache":"MISS"},"startTime":1733747141489,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":278977,"timestamp":49397585635,"id":1343,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/users/databases.js","cache":"MISS"},"startTime":1733747141488,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":279638,"timestamp":49397586955,"id":1348,"parentId":1193,"tags":{"name":"../pages/api/fetch-media.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":282408,"timestamp":49397586820,"id":1347,"parentId":1193,"tags":{"name":"../pages/api/exportTableData.js","cache":"MISS"},"startTime":1733747141489,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":285036,"timestamp":49397586620,"id":1346,"parentId":1193,"tags":{"name":"../pages/api/addUserMedia.js","cache":"MISS"},"startTime":1733747141489,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":285972,"timestamp":49397585987,"id":1344,"parentId":1193,"tags":{"name":"../pages/admin/[user_id]/users.js","cache":"MISS"},"startTime":1733747141489,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":286115,"timestamp":49397587038,"id":1349,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/add-file.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":287452,"timestamp":49397587474,"id":1352,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/post.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":288029,"timestamp":49397587187,"id":1350,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/get-private-file.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":290140,"timestamp":49397587834,"id":1354,"parentId":1193,"tags":{"name":"../pages/blog.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":291195,"timestamp":49397587310,"id":1351,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/add-image.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":291952,"timestamp":49397588007,"id":1355,"parentId":1193,"tags":{"name":"../pages/contact.js","cache":"MISS"},"startTime":1733747141491,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":292176,"timestamp":49397588588,"id":1357,"parentId":1193,"tags":{"name":"../pages/docs/[page].js","cache":"MISS"},"startTime":1733747141491,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":293295,"timestamp":49397587665,"id":1353,"parentId":1193,"tags":{"name":"../pages/api/query/[user_id]/delete-file.js","cache":"MISS"},"startTime":1733747141490,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":294430,"timestamp":49397589489,"id":1360,"parentId":1193,"tags":{"name":"../pages/docs/[page]/[sub-page].js","cache":"MISS"},"startTime":1733747141492,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":295678,"timestamp":49397588288,"id":1356,"parentId":1193,"tags":{"name":"../pages/docs.js","cache":"MISS"},"startTime":1733747141491,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":296482,"timestamp":49397589093,"id":1359,"parentId":1193,"tags":{"name":"../pages/index.js","cache":"MISS"},"startTime":1733747141492,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":300288,"timestamp":49397588756,"id":1358,"parentId":1193,"tags":{"name":"../pages/login.js","cache":"MISS"},"startTime":1733747141491,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":299788,"timestamp":49397590087,"id":1362,"parentId":1193,"tags":{"name":"../pages/privacy.js","cache":"MISS"},"startTime":1733747141493,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":302360,"timestamp":49397590924,"id":1365,"parentId":1193,"tags":{"name":"../pages/redirect.js","cache":"MISS"},"startTime":1733747141494,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":303213,"timestamp":49397590392,"id":1363,"parentId":1193,"tags":{"name":"../pages/logout.js","cache":"MISS"},"startTime":1733747141493,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":306556,"timestamp":49397591093,"id":1366,"parentId":1193,"tags":{"name":"../pages/su/backups.js","cache":"MISS"},"startTime":1733747141494,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":307421,"timestamp":49397590624,"id":1364,"parentId":1193,"tags":{"name":"../pages/email-verification.js","cache":"MISS"},"startTime":1733747141493,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":308417,"timestamp":49397591596,"id":1368,"parentId":1193,"tags":{"name":"../pages/su/docs/create-page.js","cache":"MISS"},"startTime":1733747141494,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":310504,"timestamp":49397589666,"id":1361,"parentId":1193,"tags":{"name":"../pages/create-account.js","cache":"MISS"},"startTime":1733747141492,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":310310,"timestamp":49397591985,"id":1370,"parentId":1193,"tags":{"name":"../pages/su/docs/edit-page.js","cache":"MISS"},"startTime":1733747141495,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":310922,"timestamp":49397591756,"id":1369,"parentId":1193,"tags":{"name":"../pages/su/console.js","cache":"MISS"},"startTime":1733747141494,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":311493,"timestamp":49397591335,"id":1367,"parentId":1193,"tags":{"name":"../pages/send-password-reset-link.js","cache":"MISS"},"startTime":1733747141494,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":312027,"timestamp":49397592433,"id":1372,"parentId":1193,"tags":{"name":"../pages/su/docs.js","cache":"MISS"},"startTime":1733747141495,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":313918,"timestamp":49397593041,"id":1375,"parentId":1193,"tags":{"name":"../pages/su/docs/pages.js","cache":"MISS"},"startTime":1733747141496,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":314389,"timestamp":49397592821,"id":1374,"parentId":1193,"tags":{"name":"../pages/su/envar.js","cache":"MISS"},"startTime":1733747141495,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":315904,"timestamp":49397592579,"id":1373,"parentId":1193,"tags":{"name":"../pages/su/error-logs.js","cache":"MISS"},"startTime":1733747141495,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":316623,"timestamp":49397593179,"id":1376,"parentId":1193,"tags":{"name":"../pages/su/docs/pages/[id].js","cache":"MISS"},"startTime":1733747141496,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":318799,"timestamp":49397592146,"id":1371,"parentId":1193,"tags":{"name":"../pages/reset-password.js","cache":"MISS"},"startTime":1733747141495,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":319868,"timestamp":49397593792,"id":1378,"parentId":1193,"tags":{"name":"../pages/su.js","cache":"MISS"},"startTime":1733747141496,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":323833,"timestamp":49397593377,"id":1377,"parentId":1193,"tags":{"name":"../pages/su/load-balancing.js","cache":"MISS"},"startTime":1733747141496,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":323420,"timestamp":49397594122,"id":1379,"parentId":1193,"tags":{"name":"../pages/su/servers.js","cache":"MISS"},"startTime":1733747141497,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":322991,"timestamp":49397595052,"id":1381,"parentId":1193,"tags":{"name":"../pages/su/users.js","cache":"MISS"},"startTime":1733747141498,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":325205,"timestamp":49397595282,"id":1382,"parentId":1193,"tags":{"name":"../pages/su/users/new.js","cache":"MISS"},"startTime":1733747141498,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":328802,"timestamp":49397595460,"id":1383,"parentId":1193,"tags":{"name":"../pages/terms.js","cache":"MISS"},"startTime":1733747141498,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":329777,"timestamp":49397595799,"id":1384,"parentId":1193,"tags":{"name":"../pages/unsubscribe.js","cache":"MISS"},"startTime":1733747141498,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":330860,"timestamp":49397596590,"id":1387,"parentId":1193,"tags":{"name":"../webpack-api-runtime.js","cache":"MISS"},"startTime":1733747141499,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":331324,"timestamp":49397596264,"id":1386,"parentId":1193,"tags":{"name":"../webpack-runtime.js","cache":"MISS"},"startTime":1733747141499,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":333957,"timestamp":49397594370,"id":1380,"parentId":1193,"tags":{"name":"../pages/su/users/[single].js","cache":"MISS"},"startTime":1733747141497,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":332352,"timestamp":49397596024,"id":1385,"parentId":1193,"tags":{"name":"../pages/su/login.js","cache":"MISS"},"startTime":1733747141499,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":334899,"timestamp":49397597579,"id":1390,"parentId":1193,"tags":{"name":"6521.js","cache":"MISS"},"startTime":1733747141500,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":337659,"timestamp":49397597361,"id":1389,"parentId":1193,"tags":{"name":"9821.js","cache":"MISS"},"startTime":1733747141500,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":342024,"timestamp":49397597766,"id":1391,"parentId":1193,"tags":{"name":"9600.js","cache":"MISS"},"startTime":1733747141500,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":343933,"timestamp":49397598341,"id":1392,"parentId":1193,"tags":{"name":"7070.js","cache":"MISS"},"startTime":1733747141501,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":343815,"timestamp":49397598759,"id":1393,"parentId":1193,"tags":{"name":"4050.js","cache":"MISS"},"startTime":1733747141501,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":346550,"timestamp":49397598872,"id":1394,"parentId":1193,"tags":{"name":"5134.js","cache":"MISS"},"startTime":1733747141501,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":347911,"timestamp":49397599043,"id":1395,"parentId":1193,"tags":{"name":"3737.js","cache":"MISS"},"startTime":1733747141502,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":350859,"timestamp":49397599196,"id":1396,"parentId":1193,"tags":{"name":"3932.js","cache":"MISS"},"startTime":1733747141502,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":357022,"timestamp":49397599847,"id":1398,"parentId":1193,"tags":{"name":"9621.js","cache":"MISS"},"startTime":1733747141502,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":358244,"timestamp":49397599570,"id":1397,"parentId":1193,"tags":{"name":"2451.js","cache":"MISS"},"startTime":1733747141502,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":362755,"timestamp":49397601027,"id":1401,"parentId":1193,"tags":{"name":"1614.js","cache":"MISS"},"startTime":1733747141504,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":364037,"timestamp":49397600187,"id":1399,"parentId":1193,"tags":{"name":"8613.js","cache":"MISS"},"startTime":1733747141503,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":365455,"timestamp":49397600856,"id":1400,"parentId":1193,"tags":{"name":"4385.js","cache":"MISS"},"startTime":1733747141503,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":376332,"timestamp":49397601169,"id":1402,"parentId":1193,"tags":{"name":"5421.js","cache":"MISS"},"startTime":1733747141504,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":375590,"timestamp":49397602244,"id":1404,"parentId":1193,"tags":{"name":"3460.js","cache":"MISS"},"startTime":1733747141505,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":376108,"timestamp":49397601765,"id":1403,"parentId":1193,"tags":{"name":"9732.js","cache":"MISS"},"startTime":1733747141504,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":382531,"timestamp":49397602679,"id":1405,"parentId":1193,"tags":{"name":"4312.js","cache":"MISS"},"startTime":1733747141505,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":392780,"timestamp":49397596652,"id":1388,"parentId":1193,"tags":{"name":"883.js","cache":"MISS"},"startTime":1733747141499,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":387318,"timestamp":49397604476,"id":1409,"parentId":1193,"tags":{"name":"2414.js","cache":"MISS"},"startTime":1733747141507,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":390472,"timestamp":49397603571,"id":1407,"parentId":1193,"tags":{"name":"5664.js","cache":"MISS"},"startTime":1733747141506,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":390250,"timestamp":49397604669,"id":1410,"parentId":1193,"tags":{"name":"3247.js","cache":"MISS"},"startTime":1733747141507,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":392186,"timestamp":49397604087,"id":1408,"parentId":1193,"tags":{"name":"2996.js","cache":"MISS"},"startTime":1733747141507,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":394659,"timestamp":49397606110,"id":1413,"parentId":1193,"tags":{"name":"5212.js","cache":"MISS"},"startTime":1733747141509,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":399930,"timestamp":49397602825,"id":1406,"parentId":1193,"tags":{"name":"8842.js","cache":"MISS"},"startTime":1733747141505,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":399977,"timestamp":49397605873,"id":1412,"parentId":1193,"tags":{"name":"9914.js","cache":"MISS"},"startTime":1733747141508,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":401489,"timestamp":49397606462,"id":1415,"parentId":1193,"tags":{"name":"5674.js","cache":"MISS"},"startTime":1733747141509,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":402855,"timestamp":49397606598,"id":1416,"parentId":1193,"tags":{"name":"45.js","cache":"MISS"},"startTime":1733747141509,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":403955,"timestamp":49397606332,"id":1414,"parentId":1193,"tags":{"name":"5264.js","cache":"MISS"},"startTime":1733747141509,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":399019,"timestamp":49397614146,"id":1418,"parentId":1193,"tags":{"name":"4333.js","cache":"MISS"},"startTime":1733747141517,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":399844,"timestamp":49397613858,"id":1417,"parentId":1193,"tags":{"name":"8540.js","cache":"MISS"},"startTime":1733747141516,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":412910,"timestamp":49397604883,"id":1411,"parentId":1193,"tags":{"name":"7640.js","cache":"MISS"},"startTime":1733747141507,"traceId":"a901697cbe7cbd9f"},{"name":"minify-webpack-plugin-optimize","duration":516159,"timestamp":49397501647,"id":1193,"parentId":16,"tags":{"compilationName":"server"},"startTime":1733747141404,"traceId":"a901697cbe7cbd9f"},{"name":"css-minimizer-plugin","duration":183,"timestamp":49398018036,"id":1419,"parentId":16,"tags":{},"startTime":1733747141921,"traceId":"a901697cbe7cbd9f"},{"name":"create-trace-assets","duration":14058,"timestamp":49398018488,"id":1420,"parentId":17,"tags":{},"startTime":1733747141921,"traceId":"a901697cbe7cbd9f"},{"name":"seal","duration":1293294,"timestamp":49396744942,"id":1180,"parentId":16,"tags":{},"startTime":1733747140648,"traceId":"a901697cbe7cbd9f"}] -[{"name":"webpack-compilation","duration":21741720,"timestamp":49376297015,"id":16,"parentId":13,"tags":{"name":"server"},"startTime":1733747120200,"traceId":"a901697cbe7cbd9f"},{"name":"emit","duration":26807,"timestamp":49398039029,"id":1421,"parentId":13,"tags":{},"startTime":1733747141942,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-close","duration":1518134,"timestamp":49398066502,"id":1422,"parentId":13,"tags":{"name":"server"},"startTime":1733747141969,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-generate-error-stats","duration":1925,"timestamp":49399584689,"id":1423,"parentId":1422,"tags":{},"startTime":1733747143487,"traceId":"a901697cbe7cbd9f"},{"name":"make","duration":135,"timestamp":49399613545,"id":1425,"parentId":1424,"tags":{},"startTime":1733747143516,"traceId":"a901697cbe7cbd9f"},{"name":"chunk-graph","duration":47,"timestamp":49399614449,"id":1427,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-modules","duration":10,"timestamp":49399614549,"id":1429,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunks","duration":88,"timestamp":49399614619,"id":1430,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-tree","duration":11,"timestamp":49399614755,"id":1431,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunk-modules","duration":80,"timestamp":49399614843,"id":1432,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"optimize","duration":448,"timestamp":49399614513,"id":1428,"parentId":1426,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"module-hash","duration":19,"timestamp":49399615223,"id":1433,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation","duration":14,"timestamp":49399615255,"id":1434,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"hash","duration":75,"timestamp":49399615321,"id":1435,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation-jobs","duration":118,"timestamp":49399615396,"id":1436,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"module-assets","duration":27,"timestamp":49399615498,"id":1437,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"create-chunk-assets","duration":17,"timestamp":49399615532,"id":1438,"parentId":1426,"tags":{},"startTime":1733747143518,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":592,"timestamp":49399617996,"id":1440,"parentId":1439,"tags":{"name":"interception-route-rewrite-manifest.js","cache":"MISS"},"startTime":1733747143521,"traceId":"a901697cbe7cbd9f"},{"name":"minify-webpack-plugin-optimize","duration":871,"timestamp":49399617728,"id":1439,"parentId":1424,"tags":{"compilationName":"edge-server"},"startTime":1733747143520,"traceId":"a901697cbe7cbd9f"},{"name":"css-minimizer-plugin","duration":8,"timestamp":49399618637,"id":1441,"parentId":1424,"tags":{},"startTime":1733747143521,"traceId":"a901697cbe7cbd9f"},{"name":"seal","duration":5566,"timestamp":49399614283,"id":1426,"parentId":1424,"tags":{},"startTime":1733747143517,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-compilation","duration":11512,"timestamp":49399608424,"id":1424,"parentId":13,"tags":{"name":"edge-server"},"startTime":1733747143511,"traceId":"a901697cbe7cbd9f"},{"name":"emit","duration":346,"timestamp":49399620078,"id":1442,"parentId":13,"tags":{},"startTime":1733747143523,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-close","duration":25615,"timestamp":49399620752,"id":1443,"parentId":13,"tags":{"name":"edge-server"},"startTime":1733747143523,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-generate-error-stats","duration":926,"timestamp":49399646388,"id":1444,"parentId":1443,"tags":{},"startTime":1733747143549,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":148,"timestamp":49399669350,"id":1520,"parentId":1519,"tags":{"absolutePagePath":"next/dist/pages/_error"},"startTime":1733747143572,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":1854,"timestamp":49399668510,"id":1519,"parentId":1448,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=next%2Fdist%2Fpages%2F_error&page=%2F_error!","layer":null},"startTime":1733747143571,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":15,"timestamp":49399670481,"id":1522,"parentId":1521,"tags":{"absolutePagePath":"private-next-pages/404.jsx"},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":209,"timestamp":49399670438,"id":1521,"parentId":1449,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F404.jsx&page=%2F404!","layer":null},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399670697,"id":1524,"parentId":1523,"tags":{"absolutePagePath":"private-next-pages/500.jsx"},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":181,"timestamp":49399670661,"id":1523,"parentId":1450,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F500.jsx&page=%2F500!","layer":null},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399670891,"id":1526,"parentId":1525,"tags":{"absolutePagePath":"private-next-pages/_app.js"},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":171,"timestamp":49399670857,"id":1525,"parentId":1451,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_app.js&page=%2F_app!","layer":null},"startTime":1733747143573,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399671073,"id":1528,"parentId":1527,"tags":{"absolutePagePath":"private-next-pages/about.jsx"},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399671042,"id":1527,"parentId":1453,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fabout.jsx&page=%2Fabout!","layer":null},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399671266,"id":1530,"parentId":1529,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/api-keys/index.jsx"},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":230,"timestamp":49399671233,"id":1529,"parentId":1454,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys!","layer":null},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399671523,"id":1532,"parentId":1531,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/connect/index.jsx"},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":182,"timestamp":49399671479,"id":1531,"parentId":1455,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect!","layer":null},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399671708,"id":1534,"parentId":1533,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/connect.jsx"},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":174,"timestamp":49399671674,"id":1533,"parentId":1456,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect!","layer":null},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":17,"timestamp":49399671896,"id":1536,"parentId":1535,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/edit-database.jsx"},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":176,"timestamp":49399671860,"id":1535,"parentId":1457,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database!","layer":null},"startTime":1733747143574,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":20,"timestamp":49399672089,"id":1538,"parentId":1537,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/shell.jsx"},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":243,"timestamp":49399672052,"id":1537,"parentId":1458,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell!","layer":null},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399672344,"id":1540,"parentId":1539,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/index.jsx"},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":176,"timestamp":49399672308,"id":1539,"parentId":1459,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D!","layer":null},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399672531,"id":1542,"parentId":1541,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/schema.jsx"},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399672498,"id":1541,"parentId":1460,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema!","layer":null},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":17,"timestamp":49399672702,"id":1544,"parentId":1543,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx"},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":175,"timestamp":49399672672,"id":1543,"parentId":1461,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D!","layer":null},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":19,"timestamp":49399672894,"id":1546,"parentId":1545,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx"},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":167,"timestamp":49399672860,"id":1545,"parentId":1462,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table!","layer":null},"startTime":1733747143575,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399673067,"id":1548,"parentId":1547,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":150,"timestamp":49399673039,"id":1547,"parentId":1463,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399673229,"id":1550,"parentId":1549,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399673201,"id":1549,"parentId":1464,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":15,"timestamp":49399673402,"id":1552,"parentId":1551,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":155,"timestamp":49399673375,"id":1551,"parentId":1465,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399673571,"id":1554,"parentId":1553,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":151,"timestamp":49399673542,"id":1553,"parentId":1466,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399673731,"id":1556,"parentId":1555,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":150,"timestamp":49399673704,"id":1555,"parentId":1467,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399673896,"id":1558,"parentId":1557,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/add-table.jsx"},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":150,"timestamp":49399673868,"id":1557,"parentId":1468,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table!","layer":null},"startTime":1733747143576,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399674058,"id":1560,"parentId":1559,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/index.jsx"},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":154,"timestamp":49399674031,"id":1559,"parentId":1469,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399674226,"id":1562,"parentId":1561,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx"},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":157,"timestamp":49399674197,"id":1561,"parentId":1470,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399674399,"id":1564,"parentId":1563,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx"},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":161,"timestamp":49399674367,"id":1563,"parentId":1471,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399674569,"id":1566,"parentId":1565,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/add-user.jsx"},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399674540,"id":1565,"parentId":1472,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399674747,"id":1568,"parentId":1567,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/index.jsx"},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":160,"timestamp":49399674715,"id":1567,"parentId":1473,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399674917,"id":1570,"parentId":1569,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/index.jsx"},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":199,"timestamp":49399674889,"id":1569,"parentId":1474,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers!","layer":null},"startTime":1733747143577,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399675137,"id":1572,"parentId":1571,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/add-database.jsx"},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":173,"timestamp":49399675103,"id":1571,"parentId":1475,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database!","layer":null},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399675326,"id":1574,"parentId":1573,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/index.jsx"},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":180,"timestamp":49399675291,"id":1573,"parentId":1476,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D!","layer":null},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":28,"timestamp":49399675518,"id":1576,"parentId":1575,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/settings.jsx"},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":194,"timestamp":49399675485,"id":1575,"parentId":1477,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings!","layer":null},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":29,"timestamp":49399675726,"id":1578,"parentId":1577,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/add-user.jsx"},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":199,"timestamp":49399675693,"id":1577,"parentId":1478,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user!","layer":null},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399675937,"id":1580,"parentId":1579,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/media/index.jsx"},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":171,"timestamp":49399675905,"id":1579,"parentId":1479,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia!","layer":null},"startTime":1733747143578,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399676127,"id":1582,"parentId":1581,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/media/[...folder].jsx"},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":174,"timestamp":49399676092,"id":1581,"parentId":1480,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D!","layer":null},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":16,"timestamp":49399676333,"id":1584,"parentId":1583,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/schema.jsx"},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":207,"timestamp":49399676300,"id":1583,"parentId":1481,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fschema!","layer":null},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399676561,"id":1586,"parentId":1585,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/[database]/[user].jsx"},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":193,"timestamp":49399676525,"id":1585,"parentId":1482,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D!","layer":null},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399676764,"id":1588,"parentId":1587,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/[database]/index.jsx"},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":179,"timestamp":49399676732,"id":1587,"parentId":1483,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D!","layer":null},"startTime":1733747143579,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399676962,"id":1590,"parentId":1589,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/index.jsx"},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":217,"timestamp":49399676927,"id":1589,"parentId":1484,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases!","layer":null},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":14,"timestamp":49399677196,"id":1592,"parentId":1591,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/index.jsx"},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":186,"timestamp":49399677160,"id":1591,"parentId":1485,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers!","layer":null},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399677392,"id":1594,"parentId":1593,"tags":{"absolutePagePath":"private-next-pages/admin/index.jsx"},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":177,"timestamp":49399677360,"id":1593,"parentId":1486,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&page=%2Fadmin!","layer":null},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"}] -[{"name":"next-client-pages-loader","duration":15,"timestamp":49399677821,"id":1596,"parentId":1595,"tags":{"absolutePagePath":"private-next-pages/blog/index.jsx"},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":207,"timestamp":49399677781,"id":1595,"parentId":1487,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&page=%2Fblog!","layer":null},"startTime":1733747143580,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399678039,"id":1598,"parentId":1597,"tags":{"absolutePagePath":"private-next-pages/contact.jsx"},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":183,"timestamp":49399678004,"id":1597,"parentId":1488,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fcontact.jsx&page=%2Fcontact!","layer":null},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399678239,"id":1600,"parentId":1599,"tags":{"absolutePagePath":"private-next-pages/docs/index.jsx"},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":241,"timestamp":49399678202,"id":1599,"parentId":1489,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&page=%2Fdocs!","layer":null},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":15,"timestamp":49399678500,"id":1602,"parentId":1601,"tags":{"absolutePagePath":"private-next-pages/docs/[page]/index.jsx"},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":202,"timestamp":49399678460,"id":1601,"parentId":1490,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D!","layer":null},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399678716,"id":1604,"parentId":1603,"tags":{"absolutePagePath":"private-next-pages/login.jsx"},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":194,"timestamp":49399678678,"id":1603,"parentId":1491,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Flogin.jsx&page=%2Flogin!","layer":null},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399678928,"id":1606,"parentId":1605,"tags":{"absolutePagePath":"private-next-pages/index.jsx"},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":197,"timestamp":49399678887,"id":1605,"parentId":1492,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Findex.jsx&page=%2F!","layer":null},"startTime":1733747143581,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":16,"timestamp":49399679187,"id":1608,"parentId":1607,"tags":{"absolutePagePath":"private-next-pages/docs/[page]/[sub-page]/index.jsx"},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":253,"timestamp":49399679099,"id":1607,"parentId":1493,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D!","layer":null},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399679398,"id":1610,"parentId":1609,"tags":{"absolutePagePath":"private-next-pages/create-account.jsx"},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":192,"timestamp":49399679365,"id":1609,"parentId":1494,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fcreate-account.jsx&page=%2Fcreate-account!","layer":null},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":13,"timestamp":49399679607,"id":1612,"parentId":1611,"tags":{"absolutePagePath":"private-next-pages/privacy.jsx"},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":174,"timestamp":49399679571,"id":1611,"parentId":1495,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fprivacy.jsx&page=%2Fprivacy!","layer":null},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399679790,"id":1614,"parentId":1613,"tags":{"absolutePagePath":"private-next-pages/logout.jsx"},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":169,"timestamp":49399679759,"id":1613,"parentId":1496,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Flogout.jsx&page=%2Flogout!","layer":null},"startTime":1733747143582,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399679974,"id":1616,"parentId":1615,"tags":{"absolutePagePath":"private-next-pages/email-verification/index.jsx"},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":166,"timestamp":49399679942,"id":1615,"parentId":1497,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&page=%2Femail-verification!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399680157,"id":1618,"parentId":1617,"tags":{"absolutePagePath":"private-next-pages/redirect.jsx"},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":172,"timestamp":49399680122,"id":1617,"parentId":1498,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fredirect.jsx&page=%2Fredirect!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399680338,"id":1620,"parentId":1619,"tags":{"absolutePagePath":"private-next-pages/su/backups.jsx"},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":163,"timestamp":49399680307,"id":1619,"parentId":1499,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&page=%2Fsu%2Fbackups!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399680517,"id":1622,"parentId":1621,"tags":{"absolutePagePath":"private-next-pages/send-password-reset-link.jsx"},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":204,"timestamp":49399680484,"id":1621,"parentId":1500,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&page=%2Fsend-password-reset-link!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399680733,"id":1624,"parentId":1623,"tags":{"absolutePagePath":"private-next-pages/su/docs/create-page.jsx"},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":171,"timestamp":49399680701,"id":1623,"parentId":1501,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&page=%2Fsu%2Fdocs%2Fcreate-page!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399680915,"id":1626,"parentId":1625,"tags":{"absolutePagePath":"private-next-pages/su/console.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":165,"timestamp":49399680885,"id":1625,"parentId":1502,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&page=%2Fsu%2Fconsole!","layer":null},"startTime":1733747143583,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399681096,"id":1628,"parentId":1627,"tags":{"absolutePagePath":"private-next-pages/su/docs/edit-page.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":167,"timestamp":49399681063,"id":1627,"parentId":1503,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&page=%2Fsu%2Fdocs%2Fedit-page!","layer":null},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399681275,"id":1630,"parentId":1629,"tags":{"absolutePagePath":"private-next-pages/reset-password.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":173,"timestamp":49399681244,"id":1629,"parentId":1504,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Freset-password.jsx&page=%2Freset-password!","layer":null},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399681465,"id":1632,"parentId":1631,"tags":{"absolutePagePath":"private-next-pages/su/docs/index.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":171,"timestamp":49399681433,"id":1631,"parentId":1505,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&page=%2Fsu%2Fdocs!","layer":null},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399681651,"id":1634,"parentId":1633,"tags":{"absolutePagePath":"private-next-pages/su/error-logs.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":194,"timestamp":49399681618,"id":1633,"parentId":1506,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&page=%2Fsu%2Ferror-logs!","layer":null},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399681857,"id":1636,"parentId":1635,"tags":{"absolutePagePath":"private-next-pages/su/envar.jsx"},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":170,"timestamp":49399681826,"id":1635,"parentId":1507,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&page=%2Fsu%2Fenvar!","layer":null},"startTime":1733747143584,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399682041,"id":1638,"parentId":1637,"tags":{"absolutePagePath":"private-next-pages/su/docs/pages/index.jsx"},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":173,"timestamp":49399682010,"id":1637,"parentId":1508,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&page=%2Fsu%2Fdocs%2Fpages!","layer":null},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399682231,"id":1640,"parentId":1639,"tags":{"absolutePagePath":"private-next-pages/su/docs/pages/[id].jsx"},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":190,"timestamp":49399682196,"id":1639,"parentId":1509,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D!","layer":null},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399682429,"id":1642,"parentId":1641,"tags":{"absolutePagePath":"private-next-pages/su/load-balancing.jsx"},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399682399,"id":1641,"parentId":1510,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&page=%2Fsu%2Fload-balancing!","layer":null},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399682606,"id":1644,"parentId":1643,"tags":{"absolutePagePath":"private-next-pages/su/index.jsx"},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":157,"timestamp":49399682574,"id":1643,"parentId":1511,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&page=%2Fsu!","layer":null},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399682775,"id":1646,"parentId":1645,"tags":{"absolutePagePath":"private-next-pages/su/servers.jsx"},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":158,"timestamp":49399682745,"id":1645,"parentId":1512,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&page=%2Fsu%2Fservers!","layer":null},"startTime":1733747143585,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":16,"timestamp":49399682944,"id":1648,"parentId":1647,"tags":{"absolutePagePath":"private-next-pages/su/users/[single].jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":160,"timestamp":49399682916,"id":1647,"parentId":1513,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&page=%2Fsu%2Fusers%2F%5Bsingle%5D!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399683128,"id":1650,"parentId":1649,"tags":{"absolutePagePath":"private-next-pages/su/users/index.jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":156,"timestamp":49399683098,"id":1649,"parentId":1514,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&page=%2Fsu%2Fusers!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399683299,"id":1652,"parentId":1651,"tags":{"absolutePagePath":"private-next-pages/su/users/new.jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":162,"timestamp":49399683267,"id":1651,"parentId":1515,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&page=%2Fsu%2Fusers%2Fnew!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399683472,"id":1654,"parentId":1653,"tags":{"absolutePagePath":"private-next-pages/terms.jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":159,"timestamp":49399683442,"id":1653,"parentId":1516,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fterms.jsx&page=%2Fterms!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":11,"timestamp":49399683646,"id":1656,"parentId":1655,"tags":{"absolutePagePath":"private-next-pages/unsubscribe.jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":159,"timestamp":49399683614,"id":1655,"parentId":1517,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Funsubscribe.jsx&page=%2Funsubscribe!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"next-client-pages-loader","duration":12,"timestamp":49399683816,"id":1658,"parentId":1657,"tags":{"absolutePagePath":"private-next-pages/su/login.jsx"},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":196,"timestamp":49399683787,"id":1657,"parentId":1518,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&page=%2Fsu%2Flogin!","layer":null},"startTime":1733747143586,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26120,"timestamp":49399684002,"id":1659,"parentId":1447,"tags":{"name":"/app/node_modules/next/dist/client/next.js","layer":null},"startTime":1733747143587,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5187,"timestamp":49399707490,"id":1660,"parentId":1519,"tags":{"name":"/app/node_modules/next/dist/pages/_error.js","layer":null},"startTime":1733747143610,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8588,"timestamp":49399708227,"id":1661,"parentId":1452,"tags":{"name":"/app/node_modules/next/dist/client/router.js","layer":null},"startTime":1733747143611,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5434,"timestamp":49399714475,"id":1662,"parentId":1660,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head.js","layer":null},"startTime":1733747143617,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":776,"timestamp":49399722765,"id":1665,"parentId":1661,"tags":{"name":"/app/node_modules/next/dist/lib/is-error.js","layer":null},"startTime":1733747143625,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1982,"timestamp":49399725625,"id":1669,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-mode.js","layer":null},"startTime":1733747143628,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2339,"timestamp":49399725665,"id":1670,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils/warn-once.js","layer":null},"startTime":1733747143628,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3906,"timestamp":49399725405,"id":1666,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/side-effect.js","layer":null},"startTime":1733747143628,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12587,"timestamp":49399717485,"id":1663,"parentId":1659,"tags":{"name":"/app/node_modules/next/dist/client/webpack.js","layer":null},"startTime":1733747143620,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6037,"timestamp":49399728319,"id":1676,"parentId":1665,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-plain-object.js","layer":null},"startTime":1733747143631,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22442,"timestamp":49399717575,"id":1664,"parentId":1659,"tags":{"name":"/app/node_modules/next/dist/client/index.js","layer":null},"startTime":1733747143620,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24000,"timestamp":49399726792,"id":1672,"parentId":1660,"tags":{"name":"/app/node_modules/react/index.js","layer":null},"startTime":1733747143629,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24277,"timestamp":49399726733,"id":1671,"parentId":1660,"tags":{"name":"/app/node_modules/react/jsx-runtime.js","layer":null},"startTime":1733747143629,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26283,"timestamp":49399725570,"id":1668,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","layer":null},"startTime":1733747143628,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26574,"timestamp":49399725503,"id":1667,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","layer":null},"startTime":1733747143628,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6998,"timestamp":49399745814,"id":1679,"parentId":1525,"tags":{"name":"/app/pages/_app.js","layer":null},"startTime":1733747143648,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7750,"timestamp":49399745653,"id":1677,"parentId":1521,"tags":{"name":"/app/pages/404.jsx","layer":null},"startTime":1733747143648,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8102,"timestamp":49399745854,"id":1680,"parentId":1527,"tags":{"name":"/app/pages/about.jsx","layer":null},"startTime":1733747143648,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8708,"timestamp":49399745772,"id":1678,"parentId":1523,"tags":{"name":"/app/pages/500.jsx","layer":null},"startTime":1733747143648,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9091,"timestamp":49399745890,"id":1681,"parentId":1597,"tags":{"name":"/app/pages/contact.jsx","layer":null},"startTime":1733747143648,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9531,"timestamp":49399745919,"id":1682,"parentId":1603,"tags":{"name":"/app/pages/login.jsx","layer":null},"startTime":1733747143649,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9978,"timestamp":49399745948,"id":1683,"parentId":1605,"tags":{"name":"/app/pages/index.jsx","layer":null},"startTime":1733747143649,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11028,"timestamp":49399746010,"id":1685,"parentId":1611,"tags":{"name":"/app/pages/privacy.jsx","layer":null},"startTime":1733747143649,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11744,"timestamp":49399745978,"id":1684,"parentId":1609,"tags":{"name":"/app/pages/create-account.jsx","layer":null},"startTime":1733747143649,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21256,"timestamp":49399746040,"id":1686,"parentId":1613,"tags":{"name":"/app/pages/logout.jsx","layer":null},"startTime":1733747143649,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40708,"timestamp":49399726888,"id":1674,"parentId":1661,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router-context.shared-runtime.js","layer":null},"startTime":1733747143629,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41220,"timestamp":49399726822,"id":1673,"parentId":1661,"tags":{"name":"/app/node_modules/next/dist/client/with-router.js","layer":null},"startTime":1733747143629,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":56449,"timestamp":49399726951,"id":1675,"parentId":1661,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/router.js","layer":null},"startTime":1733747143630,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6571,"timestamp":49399800677,"id":1687,"parentId":1617,"tags":{"name":"/app/pages/redirect.jsx","layer":null},"startTime":1733747143703,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6948,"timestamp":49399800864,"id":1690,"parentId":1653,"tags":{"name":"/app/pages/terms.jsx","layer":null},"startTime":1733747143703,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7875,"timestamp":49399800789,"id":1688,"parentId":1621,"tags":{"name":"/app/pages/send-password-reset-link.jsx","layer":null},"startTime":1733747143703,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8932,"timestamp":49399800829,"id":1689,"parentId":1629,"tags":{"name":"/app/pages/reset-password.jsx","layer":null},"startTime":1733747143703,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9370,"timestamp":49399800931,"id":1692,"parentId":1593,"tags":{"name":"/app/pages/admin/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9833,"timestamp":49399800963,"id":1693,"parentId":1595,"tags":{"name":"/app/pages/blog/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10605,"timestamp":49399800899,"id":1691,"parentId":1655,"tags":{"name":"/app/pages/unsubscribe.jsx","layer":null},"startTime":1733747143703,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11010,"timestamp":49399800991,"id":1694,"parentId":1599,"tags":{"name":"/app/pages/docs/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11250,"timestamp":49399801082,"id":1697,"parentId":1625,"tags":{"name":"/app/pages/su/console.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":11881,"timestamp":49399801053,"id":1696,"parentId":1619,"tags":{"name":"/app/pages/su/backups.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12200,"timestamp":49399801112,"id":1698,"parentId":1633,"tags":{"name":"/app/pages/su/error-logs.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12421,"timestamp":49399801198,"id":1701,"parentId":1643,"tags":{"name":"/app/pages/su/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12749,"timestamp":49399801141,"id":1699,"parentId":1635,"tags":{"name":"/app/pages/su/envar.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12990,"timestamp":49399801170,"id":1700,"parentId":1641,"tags":{"name":"/app/pages/su/load-balancing.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21082,"timestamp":49399801226,"id":1702,"parentId":1645,"tags":{"name":"/app/pages/su/servers.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22198,"timestamp":49399801023,"id":1695,"parentId":1615,"tags":{"name":"/app/pages/email-verification/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27656,"timestamp":49399801255,"id":1703,"parentId":1657,"tags":{"name":"/app/pages/su/login.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28115,"timestamp":49399801284,"id":1704,"parentId":1573,"tags":{"name":"/app/pages/admin/[user_id]/index.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28543,"timestamp":49399801316,"id":1705,"parentId":1575,"tags":{"name":"/app/pages/admin/[user_id]/settings.jsx","layer":null},"startTime":1733747143704,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8547,"timestamp":49399842946,"id":1708,"parentId":1623,"tags":{"name":"/app/pages/su/docs/create-page.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8986,"timestamp":49399842981,"id":1709,"parentId":1627,"tags":{"name":"/app/pages/su/docs/edit-page.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9915,"timestamp":49399842772,"id":1706,"parentId":1583,"tags":{"name":"/app/pages/admin/[user_id]/schema.jsx","layer":null},"startTime":1733747143745,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10466,"timestamp":49399842901,"id":1707,"parentId":1601,"tags":{"name":"/app/pages/docs/[page]/index.jsx","layer":null},"startTime":1733747143745,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10757,"timestamp":49399843016,"id":1710,"parentId":1631,"tags":{"name":"/app/pages/su/docs/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11078,"timestamp":49399843082,"id":1712,"parentId":1649,"tags":{"name":"/app/pages/su/users/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11505,"timestamp":49399843050,"id":1711,"parentId":1647,"tags":{"name":"/app/pages/su/users/[single].jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11761,"timestamp":49399843111,"id":1713,"parentId":1651,"tags":{"name":"/app/pages/su/users/new.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12185,"timestamp":49399843202,"id":1715,"parentId":1531,"tags":{"name":"/app/pages/admin/[user_id]/connect/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12701,"timestamp":49399843167,"id":1714,"parentId":1529,"tags":{"name":"/app/pages/admin/[user_id]/api-keys/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14594,"timestamp":49399843232,"id":1716,"parentId":1567,"tags":{"name":"/app/pages/admin/[user_id]/databases/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14995,"timestamp":49399843291,"id":1718,"parentId":1577,"tags":{"name":"/app/pages/admin/[user_id]/users/add-user.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15501,"timestamp":49399843261,"id":1717,"parentId":1571,"tags":{"name":"/app/pages/admin/[user_id]/databases/add-database.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15794,"timestamp":49399843376,"id":1721,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16404,"timestamp":49399843431,"id":1723,"parentId":1581,"tags":{"name":"/app/pages/admin/[user_id]/media/[...folder].jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17063,"timestamp":49399843404,"id":1722,"parentId":1579,"tags":{"name":"/app/pages/admin/[user_id]/media/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19026,"timestamp":49399843321,"id":1719,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/script.js","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20276,"timestamp":49399843348,"id":1720,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils.js","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20720,"timestamp":49399843457,"id":1724,"parentId":1591,"tags":{"name":"/app/pages/admin/[user_id]/users/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20988,"timestamp":49399843511,"id":1726,"parentId":1637,"tags":{"name":"/app/pages/su/docs/pages/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21249,"timestamp":49399843540,"id":1727,"parentId":1639,"tags":{"name":"/app/pages/su/docs/pages/[id].jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21773,"timestamp":49399843484,"id":1725,"parentId":1607,"tags":{"name":"/app/pages/docs/[page]/[sub-page]/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22060,"timestamp":49399843573,"id":1728,"parentId":1533,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/connect.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22379,"timestamp":49399843622,"id":1729,"parentId":1535,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/edit-database.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22725,"timestamp":49399843653,"id":1730,"parentId":1537,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/shell.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24242,"timestamp":49399843682,"id":1731,"parentId":1539,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24579,"timestamp":49399843736,"id":1733,"parentId":1589,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/index.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24970,"timestamp":49399843709,"id":1732,"parentId":1541,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/schema.jsx","layer":null},"startTime":1733747143746,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5007,"timestamp":49399904032,"id":1736,"parentId":1563,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5668,"timestamp":49399903986,"id":1735,"parentId":1559,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/index.jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6098,"timestamp":49399904067,"id":1737,"parentId":1565,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-user.jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7024,"timestamp":49399903870,"id":1734,"parentId":1557,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/add-table.jsx","layer":null},"startTime":1733747143806,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7239,"timestamp":49399904134,"id":1739,"parentId":1585,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/[user].jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7788,"timestamp":49399904165,"id":1740,"parentId":1587,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/index.jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8396,"timestamp":49399904100,"id":1738,"parentId":1569,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/index.jsx","layer":null},"startTime":1733747143807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1744,"timestamp":49399925259,"id":1744,"parentId":1679,"tags":{"name":"/app/node_modules/next/script.js","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5892,"timestamp":49399925336,"id":1746,"parentId":1555,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6950,"timestamp":49399925024,"id":1741,"parentId":1545,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7514,"timestamp":49399925171,"id":1742,"parentId":1549,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8078,"timestamp":49399925219,"id":1743,"parentId":1551,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8320,"timestamp":49399925377,"id":1747,"parentId":1561,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8654,"timestamp":49399925448,"id":1749,"parentId":1547,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9151,"timestamp":49399925413,"id":1748,"parentId":1543,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8839,"timestamp":49399926124,"id":1753,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14904,"timestamp":49399925480,"id":1750,"parentId":1553,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21508,"timestamp":49399925285,"id":1745,"parentId":1664,"tags":{"name":"/app/node_modules/react-dom/client.js","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21804,"timestamp":49399926081,"id":1752,"parentId":1662,"tags":{"name":"/app/node_modules/@swc/helpers/esm/_interop_require_wildcard.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22569,"timestamp":49399925511,"id":1751,"parentId":1660,"tags":{"name":"/app/node_modules/@swc/helpers/esm/_interop_require_default.js","layer":null},"startTime":1733747143828,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22428,"timestamp":49399926183,"id":1754,"parentId":1663,"tags":{"name":"/app/node_modules/next/dist/build/deployment-id.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":440,"timestamp":49399956545,"id":1769,"parentId":1675,"tags":{"layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":36554,"timestamp":49399926321,"id":1757,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/route-announcer.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38148,"timestamp":49399926219,"id":1755,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/head-manager.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":39571,"timestamp":49399926271,"id":1756,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/page-loader.js","layer":null},"startTime":1733747143829,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8888,"timestamp":49399957555,"id":1784,"parentId":1677,"tags":{"name":"/app/functions/frontend/clientAuthUser.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9405,"timestamp":49399957596,"id":1785,"parentId":1678,"tags":{"name":"/app/functions/frontend/fetchApi.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44106,"timestamp":49399929749,"id":1759,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/has-base-path.js","layer":null},"startTime":1733747143832,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44797,"timestamp":49399929607,"id":1758,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/remove-base-path.js","layer":null},"startTime":1733747143832,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44865,"timestamp":49399929912,"id":1761,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/mitt.js","layer":null},"startTime":1733747143833,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":45483,"timestamp":49399929816,"id":1760,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/pages/_app.js","layer":null},"startTime":1733747143832,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":45542,"timestamp":49399930019,"id":1763,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","layer":null},"startTime":1733747143833,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":45882,"timestamp":49399929969,"id":1762,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/runtime-config.external.js","layer":null},"startTime":1733747143833,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5992,"timestamp":49399970537,"id":1800,"parentId":1677,"tags":{"name":"/app/layouts/GeneralLayout.jsx","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6239,"timestamp":49399970604,"id":1802,"parentId":1680,"tags":{"name":"/app/components/pages/about/Hero.jsx","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6783,"timestamp":49399970570,"id":1801,"parentId":1677,"tags":{"name":"/app/components/general/PageHeadTags.jsx","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7626,"timestamp":49399970498,"id":1799,"parentId":1679,"tags":{"name":"/app/components/ErrorBoundary.jsx","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7871,"timestamp":49399970635,"id":1803,"parentId":1680,"tags":{"name":"/app/components/pages/homepage/BriefIntroSection.jsx","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6516,"timestamp":49399983093,"id":1806,"parentId":1681,"tags":{"name":"/app/components/pages/contact/ContactHero.jsx","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7144,"timestamp":49399982928,"id":1804,"parentId":1680,"tags":{"name":"/app/components/pages/homepage/FooterCta.jsx","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7159,"timestamp":49399983165,"id":1808,"parentId":1686,"tags":{"name":"/app/functions/frontend/clearCaches.js","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7813,"timestamp":49399983047,"id":1805,"parentId":1680,"tags":{"name":"/app/components/pages/homepage/MainFeaturesSection.jsx","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8559,"timestamp":49399983131,"id":1807,"parentId":1681,"tags":{"name":"/app/components/pages/contact/ContactForm.jsx","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9128,"timestamp":49399983200,"id":1809,"parentId":1682,"tags":{"name":"/app/components/general/Logo.jsx","layer":null},"startTime":1733747143886,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":43803,"timestamp":49399957007,"id":1770,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/build/polyfills/polyfill-module.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44552,"timestamp":49399957211,"id":1775,"parentId":1671,"tags":{"name":"/app/node_modules/react/cjs/react-jsx-runtime.production.min.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":47803,"timestamp":49399957183,"id":1774,"parentId":1672,"tags":{"name":"/app/node_modules/react/cjs/react.production.min.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11905,"timestamp":49399994985,"id":1810,"parentId":1686,"tags":{"name":"/app/components/general/LoadingBlock.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12169,"timestamp":49399995267,"id":1813,"parentId":1683,"tags":{"name":"/app/components/pages/homepage/FeaturesSummarySection.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12825,"timestamp":49399995225,"id":1812,"parentId":1683,"tags":{"name":"/app/components/pages/homepage/Hero2.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13906,"timestamp":49399995170,"id":1811,"parentId":1682,"tags":{"name":"/app/components/pages/login/LoginForm.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14324,"timestamp":49399995305,"id":1814,"parentId":1685,"tags":{"name":"/app/components/pages/privacy/PrivacyHero.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14709,"timestamp":49399995384,"id":1816,"parentId":1684,"tags":{"name":"/app/components/pages/create-account/Hero.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15489,"timestamp":49399995345,"id":1815,"parentId":1685,"tags":{"name":"/app/components/pages/privacy/PrivacyBody.jsx","layer":null},"startTime":1733747143898,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":61511,"timestamp":49399956314,"id":1765,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":61730,"timestamp":49399956411,"id":1767,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js","layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":62368,"timestamp":49399956455,"id":1768,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/querystring.js","layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":63105,"timestamp":49399956172,"id":1764,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":63943,"timestamp":49399956366,"id":1766,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/adapters.js","layer":null},"startTime":1733747143859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":63854,"timestamp":49399957051,"id":1771,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/react-client-callbacks/shared.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":64608,"timestamp":49399957099,"id":1772,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/tracing/tracer.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":65031,"timestamp":49399957141,"id":1773,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/tracing/report-to-socket.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":65131,"timestamp":49399957315,"id":1778,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-js","duration":65978,"timestamp":49399957275,"id":1777,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/detect-domain-locale.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":66414,"timestamp":49399957352,"id":1779,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":66837,"timestamp":49399957392,"id":1780,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/route-matcher.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":67809,"timestamp":49399957427,"id":1781,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/format-url.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":68153,"timestamp":49399957501,"id":1783,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/parse-path.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":68572,"timestamp":49399957663,"id":1787,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/remove-locale.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":69247,"timestamp":49399957628,"id":1786,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/add-locale.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":57299,"timestamp":49399970112,"id":1790,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/lib/is-api-route.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":59398,"timestamp":49399970153,"id":1791,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/lib/constants.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":75933,"timestamp":49399957462,"id":1782,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/route-regex.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":76419,"timestamp":49399957700,"id":1788,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/add-base-path.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":79843,"timestamp":49399957235,"id":1776,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/route-loader.js","layer":null},"startTime":1733747143860,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":73998,"timestamp":49399970234,"id":1793,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":74738,"timestamp":49399970187,"id":1792,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":75939,"timestamp":49399969947,"id":1789,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/client/resolve-href.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":75902,"timestamp":49399970329,"id":1795,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-local-url.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":78823,"timestamp":49399970283,"id":1794,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/compare-states.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":79092,"timestamp":49399970373,"id":1796,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-bot.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":79313,"timestamp":49399970414,"id":1797,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/omit.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":79864,"timestamp":49399970453,"id":1798,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js","layer":null},"startTime":1733747143873,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10479,"timestamp":49400052606,"id":1817,"parentId":1682,"tags":{"name":"/app/components/general/LoadingScreen.jsx","layer":null},"startTime":1733747143955,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4478,"timestamp":49400058932,"id":1826,"parentId":1688,"tags":{"name":"/app/components/general/FormSuccessBlock.jsx","layer":null},"startTime":1733747143962,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4696,"timestamp":49400058972,"id":1827,"parentId":1688,"tags":{"name":"/app/components/general/InfoBlock.jsx","layer":null},"startTime":1733747143962,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4930,"timestamp":49400059002,"id":1828,"parentId":1690,"tags":{"name":"/app/components/pages/terms/TermsHero.jsx","layer":null},"startTime":1733747143962,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5210,"timestamp":49400059063,"id":1830,"parentId":1693,"tags":{"name":"/app/components/pages/blog/BlogHero.jsx","layer":null},"startTime":1733747143962,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6128,"timestamp":49400059032,"id":1829,"parentId":1690,"tags":{"name":"/app/components/pages/terms/TermsBody.jsx","layer":null},"startTime":1733747143962,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2283,"timestamp":49400071179,"id":1834,"parentId":1721,"tags":{"name":"/app/node_modules/next/dist/server/lib/interception-routes.js","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9498,"timestamp":49400071100,"id":1832,"parentId":1692,"tags":{"name":"/app/components/admin/dashboard/DashboardContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10130,"timestamp":49400071142,"id":1833,"parentId":1692,"tags":{"name":"/app/components/admin/databases/DeleteDatabaseConfirmationPopup.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10803,"timestamp":49400071201,"id":1835,"parentId":1697,"tags":{"name":"/app/layouts/SuAdminLayout.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11851,"timestamp":49400070993,"id":1831,"parentId":1692,"tags":{"name":"/app/layouts/AdminLayout.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12221,"timestamp":49400071322,"id":1839,"parentId":1694,"tags":{"name":"/app/components/pages/docs/DocsAside.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12980,"timestamp":49400071264,"id":1837,"parentId":1696,"tags":{"name":"/app/components/su/SuBackupsContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13719,"timestamp":49400071234,"id":1836,"parentId":1696,"tags":{"name":"/app/components/su/SuErrorLogsContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16968,"timestamp":49400071293,"id":1838,"parentId":1698,"tags":{"name":"/app/components/su/SuDashboardContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17234,"timestamp":49400071378,"id":1841,"parentId":1694,"tags":{"name":"/app/components/pages/docs/DocsHomeLinks.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17527,"timestamp":49400071351,"id":1840,"parentId":1694,"tags":{"name":"/app/components/pages/docs/DocsHomeHero.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17760,"timestamp":49400071465,"id":1844,"parentId":1700,"tags":{"name":"/app/components/su/load-balancing/index.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18086,"timestamp":49400071495,"id":1845,"parentId":1702,"tags":{"name":"/app/components/su/servers/index.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26120,"timestamp":49400071435,"id":1843,"parentId":1699,"tags":{"name":"/app/components/su/SuEnvContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26743,"timestamp":49400071523,"id":1846,"parentId":1719,"tags":{"name":"/app/node_modules/next/dist/client/set-attributes-from-props.js","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":27320,"timestamp":49400071550,"id":1847,"parentId":1719,"tags":{"name":"/app/node_modules/next/dist/client/request-idle-callback.js","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28509,"timestamp":49400071406,"id":1842,"parentId":1697,"tags":{"name":"/app/components/su/SuConsoleContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28519,"timestamp":49400071684,"id":1851,"parentId":1706,"tags":{"name":"/app/components/general/VerificationBanner.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29000,"timestamp":49400071650,"id":1850,"parentId":1705,"tags":{"name":"/app/components/admin/databases/UserMediaPopup.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29661,"timestamp":49400071579,"id":1848,"parentId":1705,"tags":{"name":"/app/components/admin/settings/SettingsContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29715,"timestamp":49400071820,"id":1855,"parentId":1712,"tags":{"name":"/app/components/su/SuUsersContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":30679,"timestamp":49400071793,"id":1854,"parentId":1706,"tags":{"name":"/app/components/general/Breadcrumbs.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":31725,"timestamp":49400071761,"id":1853,"parentId":1706,"tags":{"name":"/app/components/admin/databases/UserSchemaContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":32063,"timestamp":49400071875,"id":1857,"parentId":1707,"tags":{"name":"/app/components/pages/docs/DocsGenereicHero.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":33544,"timestamp":49400071848,"id":1856,"parentId":1711,"tags":{"name":"/app/components/su/SuSingleUserContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":34035,"timestamp":49400071902,"id":1858,"parentId":1710,"tags":{"name":"/app/components/su/docs/SuDocsPageListContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35812,"timestamp":49400071714,"id":1852,"parentId":1708,"tags":{"name":"/app/components/su/docs/CreatePageContent.jsx","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":66709,"timestamp":49400052847,"id":1821,"parentId":1679,"tags":{"name":"/app/node_modules/next/head.js","layer":null},"startTime":1733747143955,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":118410,"timestamp":49400052715,"id":1818,"parentId":1689,"tags":{"name":"/app/node_modules/lodash/lodash.js","layer":null},"startTime":1733747143955,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":99994,"timestamp":49400071609,"id":1849,"parentId":1719,"tags":{"name":"/app/node_modules/react-dom/index.js","layer":null},"startTime":1733747143974,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":119278,"timestamp":49400052756,"id":1819,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","layer":null},"startTime":1733747143955,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":113603,"timestamp":49400058868,"id":1825,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/client/portal/index.js","layer":null},"startTime":1733747143961,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":120596,"timestamp":49400052801,"id":1820,"parentId":1675,"tags":{"name":"/app/node_modules/next/dist/shared/lib/bloom-filter.js","layer":null},"startTime":1733747143955,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":524544,"timestamp":49399657132,"id":1496,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Flogout.jsx&page=%2Flogout!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":524467,"timestamp":49399657224,"id":1518,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&page=%2Fsu%2Flogin!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5135,"timestamp":49400178622,"id":1862,"parentId":1715,"tags":{"name":"/app/components/admin/connect/NewMariadbUserPopup.jsx","layer":null},"startTime":1733747144081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5641,"timestamp":49400178388,"id":1859,"parentId":1713,"tags":{"name":"/app/components/su/SuNewUserContent.jsx","layer":null},"startTime":1733747144081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5811,"timestamp":49400178588,"id":1861,"parentId":1715,"tags":{"name":"/app/components/admin/connect/EditMariadbUserPopup.jsx","layer":null},"startTime":1733747144081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6109,"timestamp":49400178549,"id":1860,"parentId":1715,"tags":{"name":"/app/components/admin/connect/ConnectContent.jsx","layer":null},"startTime":1733747144081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7029,"timestamp":49400178651,"id":1863,"parentId":1714,"tags":{"name":"/app/components/admin/api-keys/ApiKeysContent.jsx","layer":null},"startTime":1733747144081,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8956,"timestamp":49400191154,"id":1864,"parentId":1714,"tags":{"name":"/app/components/admin/api-keys/TargetApiKeyPreviewPopup.jsx","layer":null},"startTime":1733747144094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9450,"timestamp":49400191296,"id":1866,"parentId":1716,"tags":{"name":"/app/components/admin/databases/DatabasesContent.jsx","layer":null},"startTime":1733747144094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10473,"timestamp":49400191356,"id":1868,"parentId":1723,"tags":{"name":"/app/components/general/UploadImageComponent.jsx","layer":null},"startTime":1733747144094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11943,"timestamp":49400191258,"id":1865,"parentId":1714,"tags":{"name":"/app/components/admin/api-keys/AddNewApiKeyPopup.jsx","layer":null},"startTime":1733747144094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14526,"timestamp":49400191327,"id":1867,"parentId":1718,"tags":{"name":"/app/components/admin/users/AddNewUserContent.jsx","layer":null},"startTime":1733747144094,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17350,"timestamp":49400196389,"id":1869,"parentId":1723,"tags":{"name":"/app/components/general/UploadFileComponent.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17667,"timestamp":49400196543,"id":1870,"parentId":1717,"tags":{"name":"/app/components/admin/databases/AddDatabaseContent.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18446,"timestamp":49400196594,"id":1871,"parentId":1723,"tags":{"name":"/app/components/admin/media/NewMediaPopup.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18956,"timestamp":49400196681,"id":1873,"parentId":1723,"tags":{"name":"/app/components/admin/media/NewFolderPopup.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19500,"timestamp":49400196720,"id":1874,"parentId":1723,"tags":{"name":"/app/components/admin/media/MediaFolderContent.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20978,"timestamp":49400196638,"id":1872,"parentId":1723,"tags":{"name":"/app/components/admin/media/TargetMediaPreviewPopup.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21616,"timestamp":49400196755,"id":1875,"parentId":1723,"tags":{"name":"/app/components/admin/media/ChooseMediaTypePopup.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22031,"timestamp":49400196790,"id":1876,"parentId":1723,"tags":{"name":"/app/components/general/UploadVideoComponent.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22463,"timestamp":49400196877,"id":1878,"parentId":1722,"tags":{"name":"/app/components/admin/media/MediaContent.jsx","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22607,"timestamp":49400196993,"id":1881,"parentId":1727,"tags":{"name":"/app/components/su/docs/SuSingleDocPageContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23267,"timestamp":49400196957,"id":1880,"parentId":1724,"tags":{"name":"/app/components/admin/users/UsersContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23745,"timestamp":49400197064,"id":1883,"parentId":1728,"tags":{"name":"/app/components/admin/databases/connect/DatabaseConnectContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24102,"timestamp":49400197099,"id":1884,"parentId":1729,"tags":{"name":"/app/components/admin/databases/EditDatabaseContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25654,"timestamp":49400196917,"id":1879,"parentId":1724,"tags":{"name":"/app/components/admin/users/TargetUserPreviewPopup.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25574,"timestamp":49400197206,"id":1887,"parentId":1753,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26961,"timestamp":49400197028,"id":1882,"parentId":1728,"tags":{"name":"/app/components/general/ExtraContentDatabase.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27669,"timestamp":49400197137,"id":1885,"parentId":1730,"tags":{"name":"/app/components/admin/databases/DatabaseShellContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":27889,"timestamp":49400197241,"id":1888,"parentId":1753,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/index.js","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29379,"timestamp":49400197172,"id":1886,"parentId":1731,"tags":{"name":"/app/components/admin/databases/SingleDatabasesContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29672,"timestamp":49400197274,"id":1889,"parentId":1731,"tags":{"name":"/app/components/admin/databases/DeleteTableConfirmationPopup.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29973,"timestamp":49400197311,"id":1890,"parentId":1733,"tags":{"name":"/app/components/admin/users/AllDatabasesUsersContent.jsx","layer":null},"startTime":1733747144100,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44928,"timestamp":49400196826,"id":1877,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/build/polyfills/process.js","layer":null},"startTime":1733747144099,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":3759,"timestamp":49400254483,"id":1893,"parentId":1735,"tags":{"name":"/app/components/admin/databases/TablesContent.jsx","layer":null},"startTime":1733747144157,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":4716,"timestamp":49400254511,"id":1894,"parentId":1737,"tags":{"name":"/app/components/admin/users/DbAddNewUserContent.jsx","layer":null},"startTime":1733747144157,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5768,"timestamp":49400254345,"id":1891,"parentId":1732,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaContent.jsx","layer":null},"startTime":1733747144157,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":593,"timestamp":49400266495,"id":1900,"parentId":1734,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16622,"timestamp":49400254447,"id":1892,"parentId":1736,"tags":{"name":"/app/components/admin/users/SocialLoginsContent.jsx","layer":null},"startTime":1733747144157,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5103,"timestamp":49400266392,"id":1897,"parentId":1734,"tags":{"name":"/app/components/admin/databases/EditFieldPopup.jsx","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5530,"timestamp":49400266345,"id":1896,"parentId":1734,"tags":{"name":"/app/components/admin/databases/AddTableContent.jsx","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":15815,"timestamp":49400266231,"id":1895,"parentId":1756,"tags":{"name":"/app/node_modules/next/dist/shared/lib/constants.js","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":16636,"timestamp":49400266464,"id":1899,"parentId":1740,"tags":{"name":"/app/components/admin/users/SingleDatabaseUsersContent.jsx","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18233,"timestamp":49400266430,"id":1898,"parentId":1739,"tags":{"name":"/app/components/admin/users/SingleDatabaseSingleUserContent.jsx","layer":null},"startTime":1733747144169,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7732,"timestamp":49400277552,"id":1903,"parentId":1742,"tags":{"name":"/app/functions/frontend/updateTableAfterFieldsUpdateFunctionExt.js","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8344,"timestamp":49400277368,"id":1901,"parentId":1738,"tags":{"name":"/app/components/admin/users/DbUsersContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16255,"timestamp":49400277589,"id":1904,"parentId":1742,"tags":{"name":"/app/components/admin/databases/TableFieldsContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17229,"timestamp":49400277624,"id":1905,"parentId":1746,"tags":{"name":"/app/components/admin/users/ChangeDbUserPassword.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":17398,"timestamp":49400277763,"id":1909,"parentId":1776,"tags":{"name":"/app/node_modules/next/dist/shared/lib/encode-uri-path.js","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18518,"timestamp":49400277658,"id":1906,"parentId":1741,"tags":{"name":"/app/components/admin/databases/EditTableContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21103,"timestamp":49400277799,"id":1910,"parentId":1749,"tags":{"name":"/app/components/admin/databases/AddTableEntryContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21466,"timestamp":49400277877,"id":1912,"parentId":1743,"tags":{"name":"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22616,"timestamp":49400277847,"id":1911,"parentId":1743,"tags":{"name":"/app/components/admin/databases/SingleTableContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23327,"timestamp":49400277932,"id":1914,"parentId":1748,"tags":{"name":"/app/components/admin/databases/SingleEntryContent.jsx","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24541,"timestamp":49400277960,"id":1915,"parentId":1750,"tags":{"name":"/app/components/admin/databases/TableEntriesContent.jsx","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25594,"timestamp":49400277904,"id":1913,"parentId":1747,"tags":{"name":"/app/components/admin/users/SingleDbUserContent.jsx","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13836,"timestamp":49400290283,"id":1922,"parentId":1834,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js","layer":null},"startTime":1733747144193,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38932,"timestamp":49400277493,"id":1902,"parentId":1756,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38955,"timestamp":49400277723,"id":1908,"parentId":1759,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38887,"timestamp":49400278063,"id":1918,"parentId":1771,"tags":{"name":"/app/node_modules/next/dist/client/react-client-callbacks/report-global-error.js","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":39543,"timestamp":49400277686,"id":1907,"parentId":1763,"tags":{"name":"/app/node_modules/next/dist/shared/lib/image-config.js","layer":null},"startTime":1733747144180,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":39305,"timestamp":49400278134,"id":1920,"parentId":1782,"tags":{"name":"/app/node_modules/next/dist/shared/lib/escape-regexp.js","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":39891,"timestamp":49400278099,"id":1919,"parentId":1788,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40295,"timestamp":49400278024,"id":1917,"parentId":1776,"tags":{"name":"/app/node_modules/next/dist/client/trusted-types.js","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41100,"timestamp":49400277988,"id":1916,"parentId":1786,"tags":{"name":"/app/node_modules/next/dist/client/normalize-trailing-slash.js","layer":null},"startTime":1733747144181,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34105,"timestamp":49400290179,"id":1921,"parentId":1766,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","layer":null},"startTime":1733747144193,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34282,"timestamp":49400290323,"id":1923,"parentId":1793,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","layer":null},"startTime":1733747144193,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34518,"timestamp":49400290358,"id":1924,"parentId":1793,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-locale.js","layer":null},"startTime":1733747144193,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":34707,"timestamp":49400290394,"id":1925,"parentId":1792,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","layer":null},"startTime":1733747144193,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4943,"timestamp":49400331679,"id":1935,"parentId":1809,"tags":{"name":"__barrel_optimize__?names=Menu!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6196,"timestamp":49400331723,"id":1936,"parentId":1827,"tags":{"name":"__barrel_optimize__?names=Info!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8822,"timestamp":49400331765,"id":1937,"parentId":1804,"tags":{"name":"__barrel_optimize__?names=BookText!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10089,"timestamp":49400331786,"id":1938,"parentId":1805,"tags":{"name":"__barrel_optimize__?names=Blocks!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11617,"timestamp":49400331806,"id":1939,"parentId":1813,"tags":{"name":"__barrel_optimize__?names=CopyCheck,EarthLock,FileKey2,FolderOutput,Sheet,SquareGanttChart!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12449,"timestamp":49400332258,"id":1949,"parentId":1837,"tags":{"name":"__barrel_optimize__?names=FolderSync!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20081,"timestamp":49400326207,"id":1929,"parentId":1800,"tags":{"name":"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx","layer":null},"startTime":1733747144229,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21058,"timestamp":49400326005,"id":1926,"parentId":1800,"tags":{"name":"/app/functions/frontend/updateNavLinks.js","layer":null},"startTime":1733747144229,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21608,"timestamp":49400326178,"id":1928,"parentId":1800,"tags":{"name":"/app/layouts/components/GeneralLayout/Footer.jsx","layer":null},"startTime":1733747144229,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21963,"timestamp":49400326234,"id":1930,"parentId":1803,"tags":{"name":"/app/components/general/ScreenShotDescriptionCard.jsx","layer":null},"startTime":1733747144229,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23445,"timestamp":49400326126,"id":1927,"parentId":1800,"tags":{"name":"/app/layouts/components/GeneralLayout/Header.jsx","layer":null},"startTime":1733747144229,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17964,"timestamp":49400331999,"id":1941,"parentId":1812,"tags":{"name":"/app/components/general/FadedImage.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":18677,"timestamp":49400331555,"id":1932,"parentId":1807,"tags":{"name":"/app/components/general/FormAlertBlock.jsx","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24449,"timestamp":49400331644,"id":1934,"parentId":1811,"tags":{"name":"/app/functions/frontend/userLogin.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25077,"timestamp":49400331448,"id":1931,"parentId":1803,"tags":{"name":"/app/components/general/ContainedSection.jsx","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24653,"timestamp":49400332097,"id":1944,"parentId":1813,"tags":{"name":"/app/components/general/IconText.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25183,"timestamp":49400332045,"id":1942,"parentId":1811,"tags":{"name":"/app/components/pages/login/SocialLogin.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25433,"timestamp":49400332121,"id":1945,"parentId":1812,"tags":{"name":"/app/components/general/CodeBlock.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25705,"timestamp":49400332315,"id":1951,"parentId":1831,"tags":{"name":"/app/components/general/DiskUsageComponent.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26271,"timestamp":49400332342,"id":1952,"parentId":1833,"tags":{"name":"/app/components/general/GeneralPopup.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27865,"timestamp":49400332072,"id":1943,"parentId":1816,"tags":{"name":"/app/components/pages/create-account/CreateAccountForm.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28319,"timestamp":49400332367,"id":1953,"parentId":1835,"tags":{"name":"/app/layouts/components/SuAdminLayout/Aside.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29098,"timestamp":49400332391,"id":1954,"parentId":1835,"tags":{"name":"/app/layouts/components/SuAdminLayout/AdminHeader.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":29690,"timestamp":49400332435,"id":1956,"parentId":1831,"tags":{"name":"/app/layouts/components/AdminLayout/AdminHeader.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":30716,"timestamp":49400332414,"id":1955,"parentId":1831,"tags":{"name":"/app/layouts/components/AdminLayout/Aside.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":30977,"timestamp":49400332459,"id":1957,"parentId":1832,"tags":{"name":"/app/components/admin/dashboard/DatabasesSummary.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":31410,"timestamp":49400332482,"id":1958,"parentId":1832,"tags":{"name":"/app/components/admin/databases/DelegatedDatabasesSection.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":31858,"timestamp":49400332503,"id":1959,"parentId":1832,"tags":{"name":"/app/components/admin/dashboard/Metrics.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":32401,"timestamp":49400332526,"id":1960,"parentId":1842,"tags":{"name":"/app/components/su/xterm.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":32690,"timestamp":49400332568,"id":1962,"parentId":1841,"tags":{"name":"/app/components/cards/LinkCard.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":33458,"timestamp":49400332547,"id":1961,"parentId":1843,"tags":{"name":"/app/components/su/SuEnvCard.jsx","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":16241,"timestamp":49400352559,"id":1963,"parentId":1838,"tags":{"name":"/app/components/su/components/UserCard.jsx","layer":null},"startTime":1733747144255,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-process","duration":5751,"timestamp":49400380204,"id":1969,"parentId":1968,"tags":{},"startTime":1733747144283,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-loader","duration":5961,"timestamp":49400380023,"id":1968,"parentId":1966,"tags":{},"startTime":1733747144283,"traceId":"a901697cbe7cbd9f"},{"name":"css-loader","duration":2182,"timestamp":49400386005,"id":1970,"parentId":1966,"tags":{"astUsed":"true"},"startTime":1733747144289,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":9010,"timestamp":49400379786,"id":1966,"parentId":1824,"tags":{"name":"/app/node_modules/xterm/css/xterm.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[10].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[10].use[2]!/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1733747144282,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":125735,"timestamp":49400332282,"id":1950,"parentId":1849,"tags":{"name":"/app/node_modules/react-dom/cjs/react-dom.production.min.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":79286,"timestamp":49400379633,"id":1964,"parentId":1844,"tags":{"name":"/app/components/su/load-balancing/(partials)/ServerCard.jsx","layer":null},"startTime":1733747144282,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":79603,"timestamp":49400379835,"id":1967,"parentId":1853,"tags":{"name":"/app/components/form/FormSelect.jsx","layer":null},"startTime":1733747144282,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2182,"timestamp":49400461540,"id":1979,"parentId":1882,"tags":{"name":"__barrel_optimize__?names=ChevronDown,Download,FileInput,FolderOutput,SquareTerminal!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2598,"timestamp":49400461589,"id":1981,"parentId":1886,"tags":{"name":"__barrel_optimize__?names=FolderOutput!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4570,"timestamp":49400461812,"id":1990,"parentId":1874,"tags":{"name":"__barrel_optimize__?names=Copy!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":137726,"timestamp":49400332213,"id":1948,"parentId":1842,"tags":{"name":"/app/node_modules/ansi-regex/index.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":138882,"timestamp":49400331594,"id":1933,"parentId":1771,"tags":{"name":"/app/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":139183,"timestamp":49400332147,"id":1946,"parentId":1773,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/pages/websocket.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":140009,"timestamp":49400332180,"id":1947,"parentId":1771,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stitched-error.js","layer":null},"startTime":1733747144235,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11095,"timestamp":49400461388,"id":1973,"parentId":1856,"tags":{"name":"/app/components/general/BackButton.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11670,"timestamp":49400461353,"id":1972,"parentId":1848,"tags":{"name":"/app/components/admin/databases/UserImage.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11883,"timestamp":49400461467,"id":1976,"parentId":1856,"tags":{"name":"/app/components/su/components/UserData.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12267,"timestamp":49400461443,"id":1975,"parentId":1856,"tags":{"name":"/app/components/su/components/UserBackups.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13814,"timestamp":49400461262,"id":1971,"parentId":1850,"tags":{"name":"/app/components/admin/databases/ExistingFieldEdit.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14092,"timestamp":49400461491,"id":1977,"parentId":1853,"tags":{"name":"/app/components/admin/databases/UserSchemaVisualizer.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1027,"timestamp":49400479633,"id":1991,"parentId":1872,"tags":{"name":"__barrel_optimize__?names=ChevronLeft,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144382,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1471,"timestamp":49400479706,"id":1992,"parentId":1875,"tags":{"name":"__barrel_optimize__?names=FileVideo2,Files,Images!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144382,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22926,"timestamp":49400461515,"id":1978,"parentId":1858,"tags":{"name":"/app/components/su/components/PageCard.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23269,"timestamp":49400461610,"id":1982,"parentId":1858,"tags":{"name":"/app/components/general/ui/ButtonGroup.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24689,"timestamp":49400461416,"id":1974,"parentId":1852,"tags":{"name":"/app/components/form/FormInput.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":24651,"timestamp":49400461657,"id":1984,"parentId":1853,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":24985,"timestamp":49400461634,"id":1983,"parentId":1852,"tags":{"name":"/app/components/su/components/RichText/DocsRichTextBlock.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":25263,"timestamp":49400461680,"id":1985,"parentId":1853,"tags":{"name":"/app/components/general/AceEditor.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":26488,"timestamp":49400461564,"id":1980,"parentId":1888,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":26640,"timestamp":49400461788,"id":1989,"parentId":1863,"tags":{"name":"/app/components/admin/api-keys/ApiKeysList.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":27734,"timestamp":49400461703,"id":1986,"parentId":1862,"tags":{"name":"/app/components/admin/connect/MariDBUserForm.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28093,"timestamp":49400461765,"id":1988,"parentId":1860,"tags":{"name":"/app/components/admin/connect/MariaDBUsers.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":28586,"timestamp":49400461733,"id":1987,"parentId":1860,"tags":{"name":"/app/components/admin/connect/ConnectionInfo.jsx","layer":null},"startTime":1733747144364,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":421,"timestamp":49400496108,"id":1996,"parentId":1867,"tags":{"name":"/app/jsonData/userPriviledges.json","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":121532,"timestamp":49400379743,"id":1965,"parentId":1842,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/index.js","layer":null},"startTime":1733747144282,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5580,"timestamp":49400496046,"id":1994,"parentId":1865,"tags":{"name":"/app/functions/frontend/checkUniqueField.js","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5834,"timestamp":49400496123,"id":1997,"parentId":1869,"tags":{"name":"/app/functions/frontend/inputFileToBase64.js","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6240,"timestamp":49400496080,"id":1995,"parentId":1866,"tags":{"name":"/app/components/admin/databases/DatabasesList.jsx","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6818,"timestamp":49400495942,"id":1993,"parentId":1868,"tags":{"name":"/app/functions/frontend/imageInputFileToBase64.js","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6748,"timestamp":49400496172,"id":1999,"parentId":1895,"tags":{"name":"/app/node_modules/next/dist/shared/lib/modern-browserslist-target.js","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6919,"timestamp":49400496148,"id":1998,"parentId":1871,"tags":{"name":"/app/functions/frontend/updateDiskUsage.js","layer":null},"startTime":1733747144399,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-process","duration":73559,"timestamp":49400505833,"id":2016,"parentId":2014,"tags":{},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"}] -[{"name":"postcss-process","duration":64415,"timestamp":49400515330,"id":2017,"parentId":2015,"tags":{},"startTime":1733747144418,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-loader","duration":74479,"timestamp":49400505296,"id":2014,"parentId":2003,"tags":{},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-loader","duration":74460,"timestamp":49400505317,"id":2015,"parentId":2004,"tags":{},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"css-loader","duration":9717,"timestamp":49400579807,"id":2018,"parentId":2003,"tags":{"astUsed":"true"},"startTime":1733747144482,"traceId":"a901697cbe7cbd9f"},{"name":"css-loader","duration":9702,"timestamp":49400579833,"id":2019,"parentId":2004,"tags":{"astUsed":"true"},"startTime":1733747144482,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":85953,"timestamp":49400504707,"id":2003,"parentId":1822,"tags":{"name":"/app/styles/less.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[2]!/app/styles/less.css","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":86973,"timestamp":49400504742,"id":2004,"parentId":1823,"tags":{"name":"/app/styles/tailwind.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[2]!/app/styles/tailwind.css","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":89033,"timestamp":49400504673,"id":2002,"parentId":1870,"tags":{"name":"/app/components/admin/databases/AddDatabaseForm.jsx","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":89562,"timestamp":49400504551,"id":2000,"parentId":1872,"tags":{"name":"/app/functions/frontend/downloadFile.js","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":89848,"timestamp":49400504640,"id":2001,"parentId":1867,"tags":{"name":"/app/components/form/FormCheckboxes.jsx","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":89856,"timestamp":49400504873,"id":2009,"parentId":1872,"tags":{"name":"/app/functions/frontend/downloadPrivateFile.js","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":90249,"timestamp":49400504823,"id":2007,"parentId":1871,"tags":{"name":"/app/components/admin/media/NewFileCard.jsx","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":90605,"timestamp":49400504849,"id":2008,"parentId":1874,"tags":{"name":"/app/components/admin/media/MediaList.jsx","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":91089,"timestamp":49400504793,"id":2006,"parentId":1871,"tags":{"name":"/app/components/admin/media/NewMediaCard.jsx","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":91232,"timestamp":49400504980,"id":2013,"parentId":1922,"tags":{"name":"/app/node_modules/next/dist/shared/lib/segment.js","layer":null},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":91605,"timestamp":49400504934,"id":2011,"parentId":1880,"tags":{"name":"/app/components/admin/users/InvitationReceivedCard.jsx","layer":null},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":92027,"timestamp":49400504958,"id":2012,"parentId":1872,"tags":{"name":"/app/components/admin/media/card/MediaMoreButton.jsx","layer":null},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":92437,"timestamp":49400504913,"id":2010,"parentId":1880,"tags":{"name":"/app/components/admin/users/UsersList.jsx","layer":null},"startTime":1733747144408,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8183,"timestamp":49400602647,"id":2020,"parentId":1922,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","layer":null},"startTime":1733747144505,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8400,"timestamp":49400602812,"id":2022,"parentId":1882,"tags":{"name":"/app/components/general/CopySlug.jsx","layer":null},"startTime":1733747144505,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8734,"timestamp":49400602845,"id":2023,"parentId":1884,"tags":{"name":"/app/components/general/ActiveCloneDbBanner.jsx","layer":null},"startTime":1733747144505,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9258,"timestamp":49400602775,"id":2021,"parentId":1882,"tags":{"name":"/app/functions/frontend/downloadApiStream.js","layer":null},"startTime":1733747144505,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9433,"timestamp":49400602920,"id":2025,"parentId":1885,"tags":{"name":"/app/components/admin/databases/DatabaseShellQueryResult.jsx","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9811,"timestamp":49400602891,"id":2024,"parentId":1884,"tags":{"name":"/app/components/admin/databases/EditDatabaseForm.jsx","layer":null},"startTime":1733747144505,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9987,"timestamp":49400602973,"id":2027,"parentId":1886,"tags":{"name":"/app/components/general/DatabaseSlugCopy.jsx","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10111,"timestamp":49400603056,"id":2030,"parentId":1935,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/menu.js","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10452,"timestamp":49400603026,"id":2029,"parentId":1890,"tags":{"name":"/app/components/admin/users/DatabaseUsers.jsx","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10570,"timestamp":49400603083,"id":2031,"parentId":1936,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/info.js","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11262,"timestamp":49400603001,"id":2028,"parentId":1886,"tags":{"name":"/app/components/admin/databases/DatabasesTablesList.jsx","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11331,"timestamp":49400603110,"id":2032,"parentId":1937,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/book-text.js","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12530,"timestamp":49400602948,"id":2026,"parentId":1883,"tags":{"name":"/app/components/admin/databases/connect/ConnectForm.jsx","layer":null},"startTime":1733747144506,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3645,"timestamp":49400621808,"id":2041,"parentId":1951,"tags":{"name":"__barrel_optimize__?names=ArrowLeft,HardDrive,RotateCw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4140,"timestamp":49400621840,"id":2042,"parentId":1952,"tags":{"name":"__barrel_optimize__?names=X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4491,"timestamp":49400622057,"id":2050,"parentId":1959,"tags":{"name":"__barrel_optimize__?names=Database,Images,Key,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5051,"timestamp":49400622083,"id":2051,"parentId":1912,"tags":{"name":"__barrel_optimize__?names=ChevronUp!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5632,"timestamp":49400622105,"id":2052,"parentId":1927,"tags":{"name":"__barrel_optimize__?names=ChevronDown!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5943,"timestamp":49400622365,"id":2061,"parentId":1973,"tags":{"name":"__barrel_optimize__?names=ArrowLeft!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11471,"timestamp":49400621567,"id":2034,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-check.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11854,"timestamp":49400621461,"id":2033,"parentId":1938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/blocks.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11942,"timestamp":49400621637,"id":2036,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-key-2.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12241,"timestamp":49400621604,"id":2035,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/earth-lock.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12388,"timestamp":49400621724,"id":2039,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12696,"timestamp":49400621696,"id":2038,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/sheet.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12981,"timestamp":49400621666,"id":2037,"parentId":1939,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-output.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13142,"timestamp":49400621778,"id":2040,"parentId":1949,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-sync.js","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13713,"timestamp":49400621918,"id":2045,"parentId":1891,"tags":{"name":"/app/components/admin/databases/DatabaseTablesTablePreview.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14919,"timestamp":49400621864,"id":2043,"parentId":1893,"tags":{"name":"/app/components/admin/databases/TablesList.jsx","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":17707,"timestamp":49400621947,"id":2046,"parentId":1891,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaVisualizer.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-json","duration":1197,"timestamp":49400644917,"id":2067,"parentId":1911,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3432,"timestamp":49400645264,"id":2078,"parentId":1987,"tags":{"name":"__barrel_optimize__?names=Copy,Download!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4068,"timestamp":49400645297,"id":2079,"parentId":1995,"tags":{"name":"__barrel_optimize__?names=PackagePlus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4544,"timestamp":49400645452,"id":2084,"parentId":1953,"tags":{"name":"__barrel_optimize__?names=BookText,CloudUpload,DatabaseBackup,FileWarning,Home,LockKeyhole,Server,SquareChevronRight,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5151,"timestamp":49400645477,"id":2085,"parentId":1955,"tags":{"name":"__barrel_optimize__?names=BookText,CircleGauge,Database,FileKey2,Globe,Images,Plug2,ShieldEllipsis,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5658,"timestamp":49400645500,"id":2086,"parentId":2008,"tags":{"name":"__barrel_optimize__?names=Plus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":32479,"timestamp":49400622002,"id":2048,"parentId":1896,"tags":{"name":"/app/components/admin/databases/AddTableForm.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":33949,"timestamp":49400621891,"id":2044,"parentId":1894,"tags":{"name":"/app/components/admin/users/DbCreateDbUserForm.jsx","layer":null},"startTime":1733747144524,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":34480,"timestamp":49400621975,"id":2047,"parentId":1892,"tags":{"name":"/app/components/form/FormRadios.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":34735,"timestamp":49400622216,"id":2056,"parentId":1898,"tags":{"name":"/app/components/admin/users/UserImage.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":35528,"timestamp":49400622185,"id":2055,"parentId":1899,"tags":{"name":"/app/components/admin/users/UserListCard.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":36111,"timestamp":49400622259,"id":2057,"parentId":1901,"tags":{"name":"/app/components/admin/users/DbUsersList.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":36583,"timestamp":49400622286,"id":2058,"parentId":1904,"tags":{"name":"/app/components/general/ActiveCloneTableBanner.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":38292,"timestamp":49400622031,"id":2049,"parentId":1896,"tags":{"name":"/app/components/admin/databases/TableFields.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38193,"timestamp":49400622390,"id":2062,"parentId":1979,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-down.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":38431,"timestamp":49400622414,"id":2063,"parentId":1979,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/download.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":157041,"timestamp":49400504767,"id":2005,"parentId":1843,"tags":{"name":"/app/node_modules/next/dist/compiled/os-browserify/browser.js","layer":null},"startTime":1733747144407,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":39753,"timestamp":49400622441,"id":2064,"parentId":1979,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-input.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41037,"timestamp":49400622338,"id":2060,"parentId":1910,"tags":{"name":"/app/components/admin/databases/TableEntryForm.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":42163,"timestamp":49400622311,"id":2059,"parentId":1906,"tags":{"name":"/app/components/admin/databases/EditTableForm.jsx","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19918,"timestamp":49400644870,"id":2066,"parentId":1990,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy.js","layer":null},"startTime":1733747144547,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20258,"timestamp":49400644739,"id":2065,"parentId":1979,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-terminal.js","layer":null},"startTime":1733747144547,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20422,"timestamp":49400645030,"id":2071,"parentId":1914,"tags":{"name":"/app/components/admin/databases/SingleEntryPrevNext.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21528,"timestamp":49400644938,"id":2068,"parentId":1911,"tags":{"name":"/app/components/admin/databases/TableEntriesList.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22597,"timestamp":49400644970,"id":2069,"parentId":1911,"tags":{"name":"/app/components/admin/databases/TableIndexes.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22792,"timestamp":49400645075,"id":2072,"parentId":1991,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-left.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22983,"timestamp":49400645110,"id":2073,"parentId":1991,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-right.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23165,"timestamp":49400645167,"id":2075,"parentId":1992,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/files.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23435,"timestamp":49400645140,"id":2074,"parentId":1992,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-video-2.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":23637,"timestamp":49400645194,"id":2076,"parentId":1992,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/images.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1590,"timestamp":49400681574,"id":2097,"parentId":1978,"tags":{"name":"__barrel_optimize__?names=Layers,Newspaper!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1864,"timestamp":49400681824,"id":2100,"parentId":1967,"tags":{"name":"__barrel_optimize__?names=ChevronDown,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":43394,"timestamp":49400645395,"id":2082,"parentId":1915,"tags":{"name":"/app/components/admin/databases/ImportExportEntries.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":43682,"timestamp":49400645423,"id":2083,"parentId":1915,"tags":{"name":"/app/components/admin/databases/MoreTableOptions.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":44349,"timestamp":49400645363,"id":2081,"parentId":1914,"tags":{"name":"/app/components/admin/databases/SelectNewEntry.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":44476,"timestamp":49400645689,"id":2093,"parentId":1943,"tags":{"name":"/app/functions/frontend/submitNewUserForm.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":45138,"timestamp":49400645619,"id":2091,"parentId":1927,"tags":{"name":"/app/components/general/ThemeSelector.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":45774,"timestamp":49400645656,"id":2092,"parentId":1927,"tags":{"name":"/app/layouts/components/AdminLayout/AdminUserBlock.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":46346,"timestamp":49400645719,"id":2094,"parentId":1942,"tags":{"name":"/app/components/pages/login/GoogleIdentityButton.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":49083,"timestamp":49400645745,"id":2095,"parentId":1942,"tags":{"name":"/app/components/pages/login/GithubLogin.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":51549,"timestamp":49400645002,"id":2070,"parentId":1914,"tags":{"name":"/app/components/admin/databases/UpdateEntryForm.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":51647,"timestamp":49400645770,"id":2096,"parentId":1942,"tags":{"name":"/app/components/pages/login/FacebookSignInButton.jsx","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":16348,"timestamp":49400681692,"id":2098,"parentId":2030,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/createLucideIcon.js","layer":null},"startTime":1733747144584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1953,"timestamp":49400704678,"id":2101,"parentId":1964,"tags":{"name":"__barrel_optimize__?names=Server!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144607,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2608,"timestamp":49400704912,"id":2105,"parentId":2043,"tags":{"name":"__barrel_optimize__?names=Copy,CopyPlus,Edit,FileX2,Grid2X2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144608,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":90911,"timestamp":49400622163,"id":2054,"parentId":1960,"tags":{"name":"/app/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":211560,"timestamp":49400622126,"id":2053,"parentId":1960,"tags":{"name":"/app/node_modules/xterm/lib/xterm.js","layer":null},"startTime":1733747144525,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":129363,"timestamp":49400704941,"id":2106,"parentId":2041,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/arrow-left.js","layer":null},"startTime":1733747144608,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":129910,"timestamp":49400704835,"id":2103,"parentId":1955,"tags":{"name":"/app/functions/isLocalSuperUser.js","layer":null},"startTime":1733747144607,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":130150,"timestamp":49400704875,"id":2104,"parentId":1959,"tags":{"name":"/app/components/general/MetricCard.jsx","layer":null},"startTime":1733747144607,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":130246,"timestamp":49400704972,"id":2107,"parentId":2041,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/hard-drive.js","layer":null},"startTime":1733747144608,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":131348,"timestamp":49400704776,"id":2102,"parentId":1958,"tags":{"name":"/app/components/admin/databases/DatabaseListCard.jsx","layer":null},"startTime":1733747144607,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2449,"timestamp":49400838258,"id":2113,"parentId":2068,"tags":{"name":"__barrel_optimize__?names=Grid2x2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-js","duration":200818,"timestamp":49400645520,"id":2087,"parentId":1966,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":201420,"timestamp":49400645546,"id":2088,"parentId":1965,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/url.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":202965,"timestamp":49400645572,"id":2089,"parentId":1965,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/manager.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-mjs","duration":208942,"timestamp":49400645221,"id":2077,"parentId":1985,"tags":{"name":"/app/node_modules/tailwind-merge/dist/bundle-mjs.mjs","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":210652,"timestamp":49400645593,"id":2090,"parentId":1965,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/socket.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18399,"timestamp":49400838140,"id":2109,"parentId":2042,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/x.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18547,"timestamp":49400838175,"id":2110,"parentId":2050,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18696,"timestamp":49400838201,"id":2111,"parentId":2050,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/key.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19001,"timestamp":49400838052,"id":2108,"parentId":2041,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-cw.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18979,"timestamp":49400838229,"id":2112,"parentId":2051,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-up.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19088,"timestamp":49400838323,"id":2115,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/cloud-upload.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19245,"timestamp":49400838345,"id":2116,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database-backup.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19501,"timestamp":49400838299,"id":2114,"parentId":2079,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/package-plus.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19683,"timestamp":49400838368,"id":2117,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-warning.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19804,"timestamp":49400838390,"id":2118,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/home.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19917,"timestamp":49400838435,"id":2119,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20077,"timestamp":49400838461,"id":2120,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/server.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20203,"timestamp":49400838485,"id":2121,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-chevron-right.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20344,"timestamp":49400838508,"id":2122,"parentId":2084,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/users.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20465,"timestamp":49400838530,"id":2123,"parentId":2085,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-gauge.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20582,"timestamp":49400838551,"id":2124,"parentId":2085,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/globe.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20716,"timestamp":49400838573,"id":2125,"parentId":2085,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plug-2.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20831,"timestamp":49400838594,"id":2126,"parentId":2085,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":20943,"timestamp":49400838615,"id":2127,"parentId":2086,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plus.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21302,"timestamp":49400838698,"id":2131,"parentId":1971,"tags":{"name":"/app/components/admin/databases/fields/text/JSONTextOption.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21777,"timestamp":49400838678,"id":2130,"parentId":1971,"tags":{"name":"/app/components/admin/databases/MoreOptionsModal.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":22258,"timestamp":49400838635,"id":2128,"parentId":1976,"tags":{"name":"/app/components/su/components/UserFiles.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22477,"timestamp":49400838720,"id":2132,"parentId":1974,"tags":{"name":"/app/functions/frontend/numberFormat.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":22851,"timestamp":49400838740,"id":2133,"parentId":1974,"tags":{"name":"/app/functions/frontend/numberFormatFloat.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":23736,"timestamp":49400838656,"id":2129,"parentId":1976,"tags":{"name":"/app/components/su/components/UserDbShell.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":25607,"timestamp":49400838761,"id":2134,"parentId":1985,"tags":{"name":"/app/components/admin/databases/fields/text/ace-editor.js","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2101,"timestamp":49400868456,"id":2139,"parentId":2083,"tags":{"name":"__barrel_optimize__?names=Ellipsis!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":815764,"timestamp":49400058774,"id":1824,"parentId":1697,"tags":{"name":"/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1733747143961,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":822112,"timestamp":49400052991,"id":1822,"parentId":1679,"tags":{"name":"/app/styles/less.css","layer":null},"startTime":1733747143956,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":817070,"timestamp":49400058610,"id":1823,"parentId":1679,"tags":{"name":"/app/styles/tailwind.css","layer":null},"startTime":1733747143961,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":39858,"timestamp":49400838783,"id":2135,"parentId":1989,"tags":{"name":"/app/components/admin/api-keys/ApiKeyListCard.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":40450,"timestamp":49400838825,"id":2137,"parentId":1988,"tags":{"name":"/app/components/admin/connect/MariaDBUserCard.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":41644,"timestamp":49400838804,"id":2136,"parentId":1986,"tags":{"name":"/app/components/admin/connect/MariDBUserFormGrantsSection.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":42245,"timestamp":49400838846,"id":2138,"parentId":1983,"tags":{"name":"/app/components/su/components/RichText/RichTextExtensionBlock.jsx","layer":null},"startTime":1733747144741,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":199592,"timestamp":49400681771,"id":2099,"parentId":1946,"tags":{"name":"/app/node_modules/next/dist/server/dev/hot-reloader-types.js","layer":null},"startTime":1733747144584,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":236514,"timestamp":49400645321,"id":2080,"parentId":1946,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-socket-url.js","layer":null},"startTime":1733747144548,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13637,"timestamp":49400868630,"id":2143,"parentId":2098,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/shared/src/utils.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13881,"timestamp":49400868532,"id":2140,"parentId":2098,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/defaultAttributes.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14000,"timestamp":49400868577,"id":2141,"parentId":2097,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/layers.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":14126,"timestamp":49400868606,"id":2142,"parentId":2097,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/newspaper.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1827,"timestamp":49400885466,"id":2146,"parentId":2102,"tags":{"name":"__barrel_optimize__?names=ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5457,"timestamp":49400885581,"id":2148,"parentId":2105,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-pen.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5577,"timestamp":49400885643,"id":2150,"parentId":2105,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/grid-2x2.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5840,"timestamp":49400885610,"id":2149,"parentId":2105,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-x-2.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6112,"timestamp":49400885536,"id":2147,"parentId":2105,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-plus.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6211,"timestamp":49400885810,"id":2155,"parentId":2007,"tags":{"name":"/app/components/admin/media/TogglePrivacyButton.jsx","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6708,"timestamp":49400885756,"id":2154,"parentId":2002,"tags":{"name":"/app/components/admin/databases/DatabaseImage.jsx","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9744,"timestamp":49400885840,"id":2156,"parentId":2008,"tags":{"name":"/app/components/admin/media/MediaFolderCard.jsx","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10812,"timestamp":49400885725,"id":2153,"parentId":2002,"tags":{"name":"/app/components/admin/databases/DatabaseForm.jsx","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":11538,"timestamp":49400885869,"id":2157,"parentId":2008,"tags":{"name":"/app/components/admin/media/card/MediaListCard.jsx","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":120,"timestamp":49400904323,"id":2158,"parentId":1824,"tags":{},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":20,"timestamp":49400904459,"id":2159,"parentId":1822,"tags":{},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":16,"timestamp":49400904485,"id":2160,"parentId":1823,"tags":{},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1522,"timestamp":49400904515,"id":2161,"parentId":2137,"tags":{"name":"__barrel_optimize__?names=CircleX,Copy,Delete,Edit!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1930,"timestamp":49400904644,"id":2163,"parentId":2138,"tags":{"name":"__barrel_optimize__?names=CircleX,List,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-process","duration":1512,"timestamp":49400906657,"id":2167,"parentId":2166,"tags":{},"startTime":1733747144809,"traceId":"a901697cbe7cbd9f"},{"name":"postcss-loader","duration":2936,"timestamp":49400905250,"id":2166,"parentId":2165,"tags":{},"startTime":1733747144808,"traceId":"a901697cbe7cbd9f"},{"name":"css-loader","duration":4993,"timestamp":49400908200,"id":2168,"parentId":2165,"tags":{"astUsed":"true"},"startTime":1733747144811,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":8878,"timestamp":49400904702,"id":2165,"parentId":1940,"tags":{"name":"/app/components/pages/homepage/Home.module.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[7].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[7].use[2]!/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256833,"timestamp":49399657118,"id":1491,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Flogin.jsx&page=%2Flogin!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256827,"timestamp":49399657141,"id":1499,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&page=%2Fsu%2Fbackups!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256814,"timestamp":49399657160,"id":1506,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&page=%2Fsu%2Ferror-logs!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256804,"timestamp":49399657175,"id":1511,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&page=%2Fsu!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256820,"timestamp":49399657163,"id":1507,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&page=%2Fsu%2Fenvar!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256816,"timestamp":49399657171,"id":1510,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&page=%2Fsu%2Fload-balancing!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256812,"timestamp":49399657179,"id":1512,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&page=%2Fsu%2Fservers!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256845,"timestamp":49399657157,"id":1505,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&page=%2Fsu%2Fdocs!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256821,"timestamp":49399657185,"id":1514,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&page=%2Fsu%2Fusers!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256797,"timestamp":49399657214,"id":1515,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&page=%2Fsu%2Fusers%2Fnew!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256852,"timestamp":49399657166,"id":1508,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&page=%2Fsu%2Fdocs%2Fpages!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1256853,"timestamp":49399657169,"id":1509,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":47117,"timestamp":49400868688,"id":2145,"parentId":2083,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/Popover.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":56550,"timestamp":49400868657,"id":2144,"parentId":2049,"tags":{"name":"/app/node_modules/gsap/Flip.js","layer":null},"startTime":1733747144771,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":21521,"timestamp":49400904590,"id":2162,"parentId":2139,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/ellipsis.js","layer":null},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1270742,"timestamp":49399656967,"id":1451,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app.js&page=%2F_app!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1911,"timestamp":49400928618,"id":2169,"parentId":2155,"tags":{"name":"__barrel_optimize__?names=Lock,LockKeyholeOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2309,"timestamp":49400928690,"id":2170,"parentId":2156,"tags":{"name":"__barrel_optimize__?names=Copy,Folder,X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-css","duration":602132,"timestamp":49400331829,"id":1940,"parentId":1812,"tags":{"name":"/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1733747144234,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":48942,"timestamp":49400885672,"id":2151,"parentId":2049,"tags":{"name":"/app/node_modules/gsap/index.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":49756,"timestamp":49400885701,"id":2152,"parentId":1877,"tags":{"name":"/app/node_modules/next/dist/compiled/process/browser.js","layer":null},"startTime":1733747144788,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6932,"timestamp":49400928825,"id":2174,"parentId":2049,"tags":{"name":"/app/functions/frontend/addNewTempField.js","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7389,"timestamp":49400928797,"id":2173,"parentId":2043,"tags":{"name":"/app/components/admin/databases/ImportSchemaComponent.jsx","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7834,"timestamp":49400928769,"id":2172,"parentId":2043,"tags":{"name":"/app/components/admin/databases/ImportDbComponent.jsx","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8756,"timestamp":49400928722,"id":2171,"parentId":2043,"tags":{"name":"/app/components/admin/databases/TableListCard.jsx","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8956,"timestamp":49400928851,"id":2175,"parentId":2060,"tags":{"name":"/app/functions/frontend/defaultFieldsRegexp.js","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9197,"timestamp":49400928875,"id":2176,"parentId":2069,"tags":{"name":"/app/functions/frontend/addNewTemplateIndex.js","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9804,"timestamp":49400928900,"id":2177,"parentId":2049,"tags":{"name":"/app/components/general/ExpandBlock.jsx","layer":null},"startTime":1733747144831,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10328,"timestamp":49400928926,"id":2178,"parentId":2049,"tags":{"name":"/app/components/admin/databases/functions/generateTypeDefinition.js","layer":null},"startTime":1733747144832,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10957,"timestamp":49400928954,"id":2179,"parentId":2048,"tags":{"name":"/app/components/admin/databases/NewTableForm.jsx","layer":null},"startTime":1733747144832,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1287775,"timestamp":49399656952,"id":1448,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=next%2Fdist%2Fpages%2F_error&page=%2F_error!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7749,"timestamp":49400944511,"id":2184,"parentId":2049,"tags":{"name":"/app/components/admin/databases/NewFieldTemp.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8663,"timestamp":49400944539,"id":2185,"parentId":2049,"tags":{"name":"/app/components/admin/databases/SingleTableFieldCard.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":9578,"timestamp":49400944466,"id":2183,"parentId":2049,"tags":{"name":"/app/components/admin/databases/ClonedSingleTableFieldCard.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13782,"timestamp":49400944428,"id":2182,"parentId":2048,"tags":{"name":"/app/components/admin/databases/CloneTableForm.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14706,"timestamp":49400944565,"id":2186,"parentId":2060,"tags":{"name":"/app/components/admin/databases/TableEntryField.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":15280,"timestamp":49400944640,"id":2189,"parentId":2069,"tags":{"name":"/app/components/admin/databases/SingleTableIndexCard.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":16508,"timestamp":49400944590,"id":2187,"parentId":2068,"tags":{"name":"/app/components/admin/databases/SearchEntriesSection.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":56767,"timestamp":49400904671,"id":2164,"parentId":2089,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/on.js","layer":null},"startTime":1733747144807,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18260,"timestamp":49400944667,"id":2190,"parentId":2060,"tags":{"name":"/app/functions/frontend/newEntryHandler.js","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":19499,"timestamp":49400944615,"id":2188,"parentId":2069,"tags":{"name":"/app/components/admin/databases/NewIndexFieldTemp.jsx","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":19736,"timestamp":49400944692,"id":2191,"parentId":2082,"tags":{"name":"/app/components/admin/databases/functions/import-export-handler.js","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8602,"timestamp":49400955986,"id":2195,"parentId":2163,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8896,"timestamp":49400955835,"id":2192,"parentId":2161,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-x.js","layer":null},"startTime":1733747144858,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8974,"timestamp":49400955926,"id":2193,"parentId":2161,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/delete.js","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9139,"timestamp":49400955958,"id":2194,"parentId":2163,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/list.js","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module","duration":44,"timestamp":49400972713,"id":2199,"parentId":1940,"tags":{},"startTime":1733747144875,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1203,"timestamp":49400972777,"id":2200,"parentId":2173,"tags":{"name":"__barrel_optimize__?names=FileCog!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144875,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1560,"timestamp":49400972856,"id":2201,"parentId":2171,"tags":{"name":"__barrel_optimize__?names=ChevronRight,DatabaseBackup,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144875,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20288,"timestamp":49400956030,"id":2196,"parentId":2092,"tags":{"name":"/app/layouts/components/AdminUserDropdown.jsx","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20690,"timestamp":49400956085,"id":2198,"parentId":2070,"tags":{"name":"/app/components/admin/databases/UpdateEntryMoreOptions.jsx","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21412,"timestamp":49400956060,"id":2197,"parentId":2083,"tags":{"name":"/app/components/admin/databases/SyncDataButton.jsx","layer":null},"startTime":1733747144859,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5746,"timestamp":49400972951,"id":2204,"parentId":2170,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder.js","layer":null},"startTime":1733747144876,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5953,"timestamp":49400972924,"id":2203,"parentId":2169,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js","layer":null},"startTime":1733747144876,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6145,"timestamp":49400972883,"id":2202,"parentId":2169,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock.js","layer":null},"startTime":1733747144875,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42601,"timestamp":49400944261,"id":2180,"parentId":2089,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/contrib/backo2.js","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5497,"timestamp":49400982101,"id":2215,"parentId":2129,"tags":{"name":"/app/components/su/components/UserDbShellQueryResult.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":5942,"timestamp":49400982072,"id":2214,"parentId":2128,"tags":{"name":"/app/components/su/components/UserSingleFile.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6426,"timestamp":49400982025,"id":2213,"parentId":2128,"tags":{"name":"/app/components/su/components/UserFolder.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":6803,"timestamp":49400982127,"id":2216,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/CSSFiles.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7117,"timestamp":49400982149,"id":2217,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/EncryptionSelect.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7494,"timestamp":49400982194,"id":2219,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/AutoIncrement.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":7847,"timestamp":49400982224,"id":2220,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/RegexPattern.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8124,"timestamp":49400982268,"id":2221,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/UniqueFieldSelect.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":8586,"timestamp":49400982296,"id":2222,"parentId":2130,"tags":{"name":"/app/components/general/Modal.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1912,"timestamp":49400993978,"id":2225,"parentId":2186,"tags":{"name":"__barrel_optimize__?names=Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":18584,"timestamp":49400982319,"id":2223,"parentId":2138,"tags":{"name":"/app/components/su/components/RichText/fns.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":20147,"timestamp":49400982171,"id":2218,"parentId":2130,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/ForeignKey.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":21238,"timestamp":49400982340,"id":2224,"parentId":2138,"tags":{"name":"/app/components/su/components/RichText/ElementStyleModalContent.jsx","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":59693,"timestamp":49400944348,"id":2181,"parentId":2080,"tags":{"name":"/app/node_modules/next/dist/shared/lib/normalized-asset-prefix.js","layer":null},"startTime":1733747144847,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10204,"timestamp":49400994278,"id":2231,"parentId":2157,"tags":{"name":"/app/components/admin/media/card/MediaPreviewSection.jsx","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10638,"timestamp":49400994243,"id":2230,"parentId":2153,"tags":{"name":"/app/functions/frontend/submitNewDatabaseForm.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":10953,"timestamp":49400994312,"id":2232,"parentId":2157,"tags":{"name":"/app/components/admin/media/card/MediaLinksDropdown.jsx","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11535,"timestamp":49400994164,"id":2229,"parentId":2153,"tags":{"name":"/app/functions/frontend/submitUpdateDatabaseForm.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11485,"timestamp":49400994402,"id":2235,"parentId":2184,"tags":{"name":"/app/functions/frontend/addNewField.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12111,"timestamp":49400994343,"id":2233,"parentId":2157,"tags":{"name":"/app/components/admin/media/card/MediaPrivacyButton.jsx","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":12965,"timestamp":49400994373,"id":2234,"parentId":2179,"tags":{"name":"/app/components/admin/databases/NewTableNameSlugAndDescSection.jsx","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1170,"timestamp":49401013014,"id":2237,"parentId":2196,"tags":{"name":"__barrel_optimize__?names=CircleGauge!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3320,"timestamp":49401012919,"id":2236,"parentId":2200,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-cog.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3803,"timestamp":49401013076,"id":2239,"parentId":2185,"tags":{"name":"/app/functions/frontend/reorderField.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3922,"timestamp":49401013170,"id":2242,"parentId":2188,"tags":{"name":"/app/functions/frontend/addNewIndex.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363407,"timestamp":49399656959,"id":1449,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F404.jsx&page=%2F404!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363389,"timestamp":49399656987,"id":1453,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fabout.jsx&page=%2Fabout!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363417,"timestamp":49399656963,"id":1450,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F500.jsx&page=%2F500!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363275,"timestamp":49399657109,"id":1488,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fcontact.jsx&page=%2Fcontact!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363268,"timestamp":49399657121,"id":1492,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Findex.jsx&page=%2F!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363264,"timestamp":49399657129,"id":1495,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fprivacy.jsx&page=%2Fprivacy!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363270,"timestamp":49399657127,"id":1494,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fcreate-account.jsx&page=%2Fcreate-account!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363262,"timestamp":49399657138,"id":1498,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fredirect.jsx&page=%2Fredirect!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363186,"timestamp":49399657218,"id":1516,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fterms.jsx&page=%2Fterms!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363266,"timestamp":49399657143,"id":1500,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&page=%2Fsend-password-reset-link!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363259,"timestamp":49399657154,"id":1504,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Freset-password.jsx&page=%2Freset-password!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363195,"timestamp":49399657222,"id":1517,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Funsubscribe.jsx&page=%2Funsubscribe!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363315,"timestamp":49399657105,"id":1487,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&page=%2Fblog!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363312,"timestamp":49399657112,"id":1489,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&page=%2Fdocs!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363292,"timestamp":49399657135,"id":1497,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&page=%2Femail-verification!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363316,"timestamp":49399657115,"id":1490,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363310,"timestamp":49399657123,"id":1493,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363335,"timestamp":49399657102,"id":1486,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&page=%2Fadmin!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363369,"timestamp":49399657072,"id":1476,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363358,"timestamp":49399657087,"id":1481,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fschema!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363456,"timestamp":49399656994,"id":1455,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363462,"timestamp":49399656990,"id":1454,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363393,"timestamp":49399657063,"id":1473,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363382,"timestamp":49399657077,"id":1478,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363364,"timestamp":49399657099,"id":1485,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363465,"timestamp":49399657001,"id":1456,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363462,"timestamp":49399657009,"id":1458,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363379,"timestamp":49399657095,"id":1484,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363421,"timestamp":49399657058,"id":1471,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363421,"timestamp":49399657060,"id":1472,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363399,"timestamp":49399657090,"id":1482,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363399,"timestamp":49399657092,"id":1483,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363449,"timestamp":49399657046,"id":1467,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363444,"timestamp":49399657055,"id":1470,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363491,"timestamp":49399657013,"id":1459,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363456,"timestamp":49399657052,"id":1469,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363496,"timestamp":49399657016,"id":1460,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1363450,"timestamp":49399657066,"id":1474,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1746,"timestamp":49401019311,"id":2243,"parentId":2214,"tags":{"name":"__barrel_optimize__?names=HardDrive!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2061,"timestamp":49401019407,"id":2244,"parentId":2213,"tags":{"name":"__barrel_optimize__?names=Copy,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1364736,"timestamp":49399657074,"id":1477,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1364749,"timestamp":49399657069,"id":1475,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1364817,"timestamp":49399657005,"id":1457,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40417,"timestamp":49400981848,"id":2205,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/PopoverPortal.js","layer":null},"startTime":1733747144884,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":40569,"timestamp":49400981945,"id":2208,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useMemoizedArray.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":41598,"timestamp":49400981926,"id":2207,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/usePopover.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42275,"timestamp":49400981979,"id":2210,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useArrowContainer.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":42682,"timestamp":49400981994,"id":2211,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/ArrowContainer.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":43606,"timestamp":49400981903,"id":2206,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/util.js","layer":null},"startTime":1733747144884,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":43644,"timestamp":49400982009,"id":2212,"parentId":1983,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/index.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":43975,"timestamp":49400981962,"id":2209,"parentId":2145,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useHandlePrevValues.js","layer":null},"startTime":1733747144885,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13757,"timestamp":49401013129,"id":2241,"parentId":2186,"tags":{"name":"/app/functions/frontend/generateFormElementsForEntry.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14478,"timestamp":49401013104,"id":2240,"parentId":2184,"tags":{"name":"/app/components/admin/databases/NewFieldFormContent.jsx","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1372719,"timestamp":49399657183,"id":1513,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&page=%2Fsu%2Fusers%2F%5Bsingle%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":927,"timestamp":49401029460,"id":2249,"parentId":2224,"tags":{"name":"__barrel_optimize__?names=CircleX!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144932,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1310,"timestamp":49401029535,"id":2250,"parentId":2233,"tags":{"name":"__barrel_optimize__?names=Lock,LockOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144932,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12349,"timestamp":49401019612,"id":2248,"parentId":2197,"tags":{"name":"/app/functions/frontend/syncTableDataFormHandler.js","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"}] -[{"name":"build-module-jsx","duration":13191,"timestamp":49401019562,"id":2247,"parentId":2186,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditor.jsx","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":13715,"timestamp":49401019475,"id":2245,"parentId":2186,"tags":{"name":"/app/components/admin/databases/TableRichTextEntryField.jsx","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":14958,"timestamp":49401019528,"id":2246,"parentId":2189,"tags":{"name":"/app/components/admin/databases/ExistingIndexEdit.jsx","layer":null},"startTime":1733747144922,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":49807,"timestamp":49400994109,"id":2227,"parentId":2151,"tags":{"name":"/app/node_modules/gsap/CSSPlugin.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":51652,"timestamp":49400994138,"id":2228,"parentId":2144,"tags":{"name":"/app/node_modules/gsap/utils/matrix.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":72728,"timestamp":49400994065,"id":2226,"parentId":2151,"tags":{"name":"/app/node_modules/gsap/gsap-core.js","layer":null},"startTime":1733747144897,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1412065,"timestamp":49399657049,"id":1468,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1412087,"timestamp":49399657037,"id":1464,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1412102,"timestamp":49399657027,"id":1462,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":58323,"timestamp":49401013044,"id":2238,"parentId":1950,"tags":{"name":"/app/node_modules/scheduler/index.js","layer":null},"startTime":1733747144916,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1705,"timestamp":49401075262,"id":2251,"parentId":2250,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-open.js","layer":null},"startTime":1733747144978,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1420364,"timestamp":49399657084,"id":1480,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1420383,"timestamp":49399657080,"id":1479,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2204,"timestamp":49401075730,"id":2254,"parentId":2245,"tags":{"name":"/app/functions/frontend/tinyMCEEditorSetup.js","layer":null},"startTime":1733747144978,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":2583,"timestamp":49401075693,"id":2253,"parentId":2247,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditorHeader.jsx","layer":null},"startTime":1733747144978,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":3063,"timestamp":49401075634,"id":2252,"parentId":2246,"tags":{"name":"/app/components/admin/databases/indexes/indexSelectChange.js","layer":null},"startTime":1733747144978,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5407,"timestamp":49401075757,"id":2255,"parentId":2207,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useElementRef.js","layer":null},"startTime":1733747144978,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":903,"timestamp":49401082169,"id":2260,"parentId":2253,"tags":{"name":"__barrel_optimize__?names=CircleMinus,CirclePlus,Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1733747144985,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8152,"timestamp":49401077383,"id":2256,"parentId":2212,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.js","layer":null},"startTime":1733747144980,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10129,"timestamp":49401079830,"id":2257,"parentId":2238,"tags":{"name":"/app/node_modules/scheduler/cjs/scheduler.production.min.js","layer":null},"startTime":1733747144982,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4526,"timestamp":49401085866,"id":2261,"parentId":2254,"tags":{"name":"/app/functions/frontend/handleCopyHTML.js","layer":null},"startTime":1733747144988,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4617,"timestamp":49401086059,"id":2263,"parentId":2254,"tags":{"name":"/app/functions/frontend/handleEmbed.js","layer":null},"startTime":1733747144989,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":4969,"timestamp":49401085974,"id":2262,"parentId":2254,"tags":{"name":"/app/functions/frontend/handleEditHTML.js","layer":null},"startTime":1733747144989,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1434517,"timestamp":49399656983,"id":1452,"parentId":1446,"tags":{"request":"/app/node_modules/next/dist/client/router.js"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1434619,"timestamp":49399656889,"id":1447,"parentId":1446,"tags":{"request":"./node_modules/next/dist/client/next.js"},"startTime":1733747143559,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12496,"timestamp":49401081520,"id":2258,"parentId":1965,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/index.js","layer":null},"startTime":1733747144984,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12784,"timestamp":49401081563,"id":2259,"parentId":1965,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/index.js","layer":null},"startTime":1733747144984,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2569,"timestamp":49401094810,"id":2265,"parentId":2260,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-plus.js","layer":null},"startTime":1733747144997,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":2828,"timestamp":49401094715,"id":2264,"parentId":2260,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-minus.js","layer":null},"startTime":1733747144997,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":3413,"timestamp":49401100309,"id":2266,"parentId":2261,"tags":{"name":"/app/components/general/EmbedPopupContent.jsx","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-jsx","duration":3805,"timestamp":49401100402,"id":2267,"parentId":2262,"tags":{"name":"/app/components/general/EditHTMLPopupContent.jsx","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":5463,"timestamp":49401100457,"id":2269,"parentId":2256,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.js","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6188,"timestamp":49401100433,"id":2268,"parentId":2256,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.js","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":6986,"timestamp":49401100495,"id":2271,"parentId":2256,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.js","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":7575,"timestamp":49401100477,"id":2270,"parentId":2256,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.js","layer":null},"startTime":1733747145003,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":8074,"timestamp":49401101215,"id":2273,"parentId":2258,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/binary.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10217,"timestamp":49401101244,"id":2274,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/socket.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10676,"timestamp":49401101265,"id":2275,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transport.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11161,"timestamp":49401101158,"id":2272,"parentId":2258,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/is-binary.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11255,"timestamp":49401101338,"id":2277,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/globals.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11730,"timestamp":49401101302,"id":2276,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/util.js","layer":null},"startTime":1733747145004,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":10769,"timestamp":49401105025,"id":2279,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling-xhr.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11206,"timestamp":49401104985,"id":2278,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling-fetch.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11523,"timestamp":49401105105,"id":2282,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/webtransport.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":11708,"timestamp":49401105049,"id":2280,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/index.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12245,"timestamp":49401105123,"id":2283,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/parseuri.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":12955,"timestamp":49401105077,"id":2281,"parentId":2259,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/websocket.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":13356,"timestamp":49401105145,"id":2284,"parentId":2089,"tags":{"name":"/app/node_modules/@socket.io/component-emitter/lib/esm/index.js","layer":null},"startTime":1733747145008,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":9559,"timestamp":49401114161,"id":2285,"parentId":2267,"tags":{"name":"/app/node_modules/html-prettify/src/index.js","layer":null},"startTime":1733747145017,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1111,"timestamp":49401124238,"id":2286,"parentId":2274,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/parseqs.js","layer":null},"startTime":1733747145027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1684,"timestamp":49401124482,"id":2287,"parentId":2279,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling.js","layer":null},"startTime":1733747145027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1834,"timestamp":49401124511,"id":2288,"parentId":2279,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/has-cors.js","layer":null},"startTime":1733747145027,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":780,"timestamp":49401126900,"id":2289,"parentId":2285,"tags":{"name":"/app/node_modules/html-prettify/src/utils/addIndentation.js","layer":null},"startTime":1733747145029,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1055,"timestamp":49401126933,"id":2290,"parentId":2285,"tags":{"name":"/app/node_modules/html-prettify/src/utils/toLines.js","layer":null},"startTime":1733747145030,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1471019,"timestamp":49399657033,"id":1463,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1471033,"timestamp":49399657040,"id":1465,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1471057,"timestamp":49399657021,"id":1461,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1471037,"timestamp":49399657043,"id":1466,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":360,"timestamp":49401128166,"id":2291,"parentId":2271,"tags":{"name":"/app/node_modules/prop-types/index.js","layer":null},"startTime":1733747145031,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":409,"timestamp":49401129444,"id":2292,"parentId":2291,"tags":{"name":"/app/node_modules/prop-types/factoryWithThrowingShims.js","layer":null},"startTime":1733747145032,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1436,"timestamp":49401129518,"id":2293,"parentId":2274,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/index.js","layer":null},"startTime":1733747145032,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":913,"timestamp":49401131894,"id":2294,"parentId":2293,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/encodePacket.browser.js","layer":null},"startTime":1733747145034,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1414,"timestamp":49401131979,"id":2295,"parentId":2293,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/decodePacket.browser.js","layer":null},"startTime":1733747145035,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1885,"timestamp":49401132008,"id":2296,"parentId":2293,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/commons.js","layer":null},"startTime":1733747145035,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":1882,"timestamp":49401132221,"id":2297,"parentId":2292,"tags":{"name":"/app/node_modules/prop-types/lib/ReactPropTypesSecret.js","layer":null},"startTime":1733747145035,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1477015,"timestamp":49399657146,"id":1501,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&page=%2Fsu%2Fdocs%2Fcreate-page!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1477018,"timestamp":49399657151,"id":1503,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&page=%2Fsu%2Fdocs%2Fedit-page!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"build-module-js","duration":620,"timestamp":49401134456,"id":2298,"parentId":2295,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js","layer":null},"startTime":1733747145037,"traceId":"a901697cbe7cbd9f"},{"name":"add-entry","duration":1477985,"timestamp":49399657149,"id":1502,"parentId":1446,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&page=%2Fsu%2Fconsole!"},"startTime":1733747143560,"traceId":"a901697cbe7cbd9f"},{"name":"make","duration":1478560,"timestamp":49399656638,"id":1446,"parentId":1445,"tags":{},"startTime":1733747143559,"traceId":"a901697cbe7cbd9f"},{"name":"chunk-graph","duration":25863,"timestamp":49401178067,"id":2300,"parentId":2299,"tags":{},"startTime":1733747145081,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-modules","duration":8,"timestamp":49401203998,"id":2302,"parentId":2299,"tags":{},"startTime":1733747145107,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunks","duration":16768,"timestamp":49401204145,"id":2303,"parentId":2299,"tags":{},"startTime":1733747145107,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-tree","duration":13,"timestamp":49401220967,"id":2304,"parentId":2299,"tags":{},"startTime":1733747145124,"traceId":"a901697cbe7cbd9f"},{"name":"optimize-chunk-modules","duration":31953,"timestamp":49401221118,"id":2305,"parentId":2299,"tags":{},"startTime":1733747145124,"traceId":"a901697cbe7cbd9f"},{"name":"optimize","duration":49135,"timestamp":49401203977,"id":2301,"parentId":2299,"tags":{},"startTime":1733747145107,"traceId":"a901697cbe7cbd9f"},{"name":"module-hash","duration":27799,"timestamp":49401261988,"id":2306,"parentId":2299,"tags":{},"startTime":1733747145165,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation","duration":277025,"timestamp":49401289826,"id":2307,"parentId":2299,"tags":{},"startTime":1733747145192,"traceId":"a901697cbe7cbd9f"},{"name":"hash","duration":7465,"timestamp":49401577965,"id":2308,"parentId":2299,"tags":{},"startTime":1733747145481,"traceId":"a901697cbe7cbd9f"},{"name":"code-generation-jobs","duration":203,"timestamp":49401585428,"id":2309,"parentId":2299,"tags":{},"startTime":1733747145488,"traceId":"a901697cbe7cbd9f"},{"name":"module-assets","duration":355,"timestamp":49401585570,"id":2310,"parentId":2299,"tags":{},"startTime":1733747145488,"traceId":"a901697cbe7cbd9f"},{"name":"create-chunk-assets","duration":13364,"timestamp":49401585936,"id":2311,"parentId":2299,"tags":{},"startTime":1733747145489,"traceId":"a901697cbe7cbd9f"},{"name":"NextJsBuildManifest-generateClientManifest","duration":2090,"timestamp":49401609047,"id":2313,"parentId":1445,"tags":{},"startTime":1733747145512,"traceId":"a901697cbe7cbd9f"},{"name":"NextJsBuildManifest-createassets","duration":3475,"timestamp":49401607676,"id":2312,"parentId":1445,"tags":{},"startTime":1733747145510,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":108378,"timestamp":49401630003,"id":2316,"parentId":2314,"tags":{"name":"static/chunks/pages/_error-158556db7d796075.js","cache":"MISS"},"startTime":1733747145533,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":108406,"timestamp":49401630039,"id":2317,"parentId":2314,"tags":{"name":"static/chunks/pages/404-d3be0a86fd3678cf.js","cache":"MISS"},"startTime":1733747145533,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":108318,"timestamp":49401630150,"id":2318,"parentId":2314,"tags":{"name":"static/chunks/pages/500-f11e82ac7d66d7bb.js","cache":"MISS"},"startTime":1733747145533,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":107404,"timestamp":49401631085,"id":2320,"parentId":2314,"tags":{"name":"static/chunks/pages/about-c047a055959f9e36.js","cache":"MISS"},"startTime":1733747145534,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":107278,"timestamp":49401631252,"id":2321,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/api-keys-f28946cc6963ccf9.js","cache":"MISS"},"startTime":1733747145534,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":108322,"timestamp":49401630240,"id":2319,"parentId":2314,"tags":{"name":"static/chunks/pages/_app-44c7242e74015da3.js","cache":"MISS"},"startTime":1733747145533,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":106540,"timestamp":49401632071,"id":2322,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/connect-e50451186e58599d.js","cache":"MISS"},"startTime":1733747145535,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":105052,"timestamp":49401633586,"id":2324,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-6aa37f085c32fb31.js","cache":"MISS"},"startTime":1733747145536,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":105577,"timestamp":49401633081,"id":2323,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/connect-1dba75ac7cb9ebad.js","cache":"MISS"},"startTime":1733747145536,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":104803,"timestamp":49401633875,"id":2325,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/shell-7eb89b5c12b99925.js","cache":"MISS"},"startTime":1733747145536,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":104440,"timestamp":49401634264,"id":2326,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]-6e864b78c360dc49.js","cache":"MISS"},"startTime":1733747145537,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":103300,"timestamp":49401635427,"id":2328,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-4cc1adf18787829a.js","cache":"MISS"},"startTime":1733747145538,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":103913,"timestamp":49401634833,"id":2327,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/schema-95e8dd03ad7c6a06.js","cache":"MISS"},"startTime":1733747145537,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":102383,"timestamp":49401636384,"id":2330,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8024b2e1401983d0.js","cache":"MISS"},"startTime":1733747145539,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":102880,"timestamp":49401635906,"id":2329,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-57698ade1c7f0765.js","cache":"MISS"},"startTime":1733747145538,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":102112,"timestamp":49401636694,"id":2331,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-945538ec0fc0b0a7.js","cache":"MISS"},"startTime":1733747145539,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":100773,"timestamp":49401638052,"id":2333,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ff447534e3b2bafc.js","cache":"MISS"},"startTime":1733747145541,"traceId":"a901697cbe7cbd9f"}] -[{"name":"minify-js","duration":100991,"timestamp":49401638193,"id":2334,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-a94b66837c400d17.js","cache":"MISS"},"startTime":1733747145541,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":96228,"timestamp":49401642981,"id":2336,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables-dcf740bfd5b6043a.js","cache":"MISS"},"startTime":1733747145546,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":102240,"timestamp":49401637015,"id":2332,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-200b750a1d54ab23.js","cache":"MISS"},"startTime":1733747145540,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":101752,"timestamp":49401638471,"id":2335,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-89f86ad8d27962ba.js","cache":"MISS"},"startTime":1733747145541,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":98433,"timestamp":49401643283,"id":2337,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-4c92ed1d49bb3ade.js","cache":"MISS"},"startTime":1733747145546,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":98066,"timestamp":49401644065,"id":2340,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases-ab3ab0465518f781.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":103007,"timestamp":49401643853,"id":2339,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-8638f09e55b93d73.js","cache":"MISS"},"startTime":1733747145546,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":104586,"timestamp":49401643516,"id":2338,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-cfed17c2c3dbdc2a.js","cache":"MISS"},"startTime":1733747145546,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":104086,"timestamp":49401644438,"id":2343,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]-8cd567a45d19f285.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":104669,"timestamp":49401644088,"id":2341,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users-2c07a215e8b1844b.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":105481,"timestamp":49401644367,"id":2342,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/add-database-ab8db775e056ed0b.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":107329,"timestamp":49401644932,"id":2346,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/media-40ea936905622f51.js","cache":"MISS"},"startTime":1733747145548,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":108960,"timestamp":49401644460,"id":2344,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/settings-342a5e743fad8482.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":110480,"timestamp":49401645094,"id":2347,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/media/[...folder]-6b62e8d93e0375ac.js","cache":"MISS"},"startTime":1733747145548,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":113050,"timestamp":49401644669,"id":2345,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/add-user-ab482f93dfcbcad0.js","cache":"MISS"},"startTime":1733747145547,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":117179,"timestamp":49401645271,"id":2348,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/schema-d80b040d32aa39ec.js","cache":"MISS"},"startTime":1733747145548,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":118133,"timestamp":49401645769,"id":2350,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases/[database]-fceda461648030cf.js","cache":"MISS"},"startTime":1733747145548,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":120006,"timestamp":49401645540,"id":2349,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-8995148ebfecac95.js","cache":"MISS"},"startTime":1733747145548,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":119931,"timestamp":49401645946,"id":2351,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases-3db26019e8f19ba3.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":120274,"timestamp":49401646426,"id":2353,"parentId":2314,"tags":{"name":"static/chunks/pages/admin-94357d2bafa89374.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":120244,"timestamp":49401646497,"id":2354,"parentId":2314,"tags":{"name":"static/chunks/pages/blog-a8a33a7d5621105d.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":122415,"timestamp":49401646590,"id":2355,"parentId":2314,"tags":{"name":"static/chunks/pages/contact-3869bcc89874f637.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":123018,"timestamp":49401646800,"id":2356,"parentId":2314,"tags":{"name":"static/chunks/pages/docs-7c4791ef7bc1770a.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":124683,"timestamp":49401646108,"id":2352,"parentId":2314,"tags":{"name":"static/chunks/pages/admin/[user_id]/users-5bce6df1085f95c2.js","cache":"MISS"},"startTime":1733747145549,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":124827,"timestamp":49401647005,"id":2357,"parentId":2314,"tags":{"name":"static/chunks/pages/docs/[page]-cc4ca4653a2d03ad.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":126064,"timestamp":49401647128,"id":2358,"parentId":2314,"tags":{"name":"static/chunks/pages/login-a5ec360e993a8c69.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":126986,"timestamp":49401647287,"id":2359,"parentId":2314,"tags":{"name":"static/chunks/pages/index-2cd214ffbfab8c5f.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":126878,"timestamp":49401647553,"id":2360,"parentId":2314,"tags":{"name":"static/chunks/pages/docs/[page]/[sub-page]-eef188f5189b6cd5.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":127862,"timestamp":49401647644,"id":2361,"parentId":2314,"tags":{"name":"static/chunks/pages/create-account-4811a08ebba7a216.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":129408,"timestamp":49401647964,"id":2363,"parentId":2314,"tags":{"name":"static/chunks/pages/logout-baf174c366113e34.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":129434,"timestamp":49401648033,"id":2364,"parentId":2314,"tags":{"name":"static/chunks/pages/email-verification-911373dc605e3680.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":129936,"timestamp":49401647759,"id":2362,"parentId":2314,"tags":{"name":"static/chunks/pages/privacy-cf61eebe523439da.js","cache":"MISS"},"startTime":1733747145550,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":130465,"timestamp":49401648115,"id":2365,"parentId":2314,"tags":{"name":"static/chunks/pages/redirect-bc1ef797a5958a5d.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":130985,"timestamp":49401648484,"id":2368,"parentId":2314,"tags":{"name":"static/chunks/pages/su/docs/create-page-bc6278bfecd56b48.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":131698,"timestamp":49401648363,"id":2367,"parentId":2314,"tags":{"name":"static/chunks/pages/send-password-reset-link-8e28cf664ab914f4.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":132284,"timestamp":49401648647,"id":2370,"parentId":2314,"tags":{"name":"static/chunks/pages/su/docs/edit-page-6f303c8b5bff2569.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":133369,"timestamp":49401648163,"id":2366,"parentId":2314,"tags":{"name":"static/chunks/pages/su/backups-dd8d348bd7552c26.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":133628,"timestamp":49401648771,"id":2372,"parentId":2314,"tags":{"name":"static/chunks/pages/su/docs-f2445eeeae7f9a23.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":133923,"timestamp":49401648525,"id":2369,"parentId":2314,"tags":{"name":"static/chunks/pages/su/console-3b0fd9864c5e6c0f.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":134887,"timestamp":49401648687,"id":2371,"parentId":2314,"tags":{"name":"static/chunks/pages/reset-password-96d3c466c04d3b40.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":135306,"timestamp":49401649130,"id":2375,"parentId":2314,"tags":{"name":"static/chunks/pages/su/docs/pages-12382c470c6b6e5a.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":136306,"timestamp":49401649169,"id":2376,"parentId":2314,"tags":{"name":"static/chunks/pages/su/docs/pages/[id]-acc29f791359a531.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":137704,"timestamp":49401648980,"id":2374,"parentId":2314,"tags":{"name":"static/chunks/pages/su/envar-ac5c5fcaa60cda05.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":139072,"timestamp":49401648813,"id":2373,"parentId":2314,"tags":{"name":"static/chunks/pages/su/error-logs-131243ff0bc8350a.js","cache":"MISS"},"startTime":1733747145551,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":141879,"timestamp":49401649454,"id":2378,"parentId":2314,"tags":{"name":"static/chunks/pages/su-f5c1d2829ae62d3b.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":142241,"timestamp":49401649566,"id":2379,"parentId":2314,"tags":{"name":"static/chunks/pages/su/servers-7dfae349147e2b04.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":143859,"timestamp":49401649237,"id":2377,"parentId":2314,"tags":{"name":"static/chunks/pages/su/load-balancing-829115d5381c27b3.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":144988,"timestamp":49401650136,"id":2381,"parentId":2314,"tags":{"name":"static/chunks/pages/su/users-7dfea8108f059169.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":145948,"timestamp":49401650262,"id":2382,"parentId":2314,"tags":{"name":"static/chunks/pages/su/users/new-e33e6730ca9a68fd.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":170293,"timestamp":49401627018,"id":2315,"parentId":2314,"tags":{"name":"static/chunks/main-06cc9931c10fd0dd.js","cache":"MISS"},"startTime":1733747145530,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":147309,"timestamp":49401650627,"id":2384,"parentId":2314,"tags":{"name":"static/chunks/pages/unsubscribe-6f2a5aa3a43f81a8.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":148007,"timestamp":49401650692,"id":2385,"parentId":2314,"tags":{"name":"static/chunks/pages/su/login-386aae5d3f48c201.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":148644,"timestamp":49401650380,"id":2383,"parentId":2314,"tags":{"name":"static/chunks/pages/terms-d8e2638761c13c64.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":149646,"timestamp":49401650758,"id":2386,"parentId":2314,"tags":{"name":"static/chunks/webpack-810c18afc07353bc.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":152727,"timestamp":49401649690,"id":2380,"parentId":2314,"tags":{"name":"static/chunks/pages/su/users/[single]-f5e0e39f5c37ad38.js","cache":"MISS"},"startTime":1733747145552,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":244366,"timestamp":49401652775,"id":2389,"parentId":2314,"tags":{"name":"static/chunks/94726e6d-32f68157960855f5.js","cache":"MISS"},"startTime":1733747145555,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":266797,"timestamp":49401653883,"id":2391,"parentId":2314,"tags":{"name":"static/chunks/8717-6b744eb0e3603e7d.js","cache":"MISS"},"startTime":1733747145556,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":282338,"timestamp":49401654245,"id":2392,"parentId":2314,"tags":{"name":"static/chunks/1391-080ec9229321da22.js","cache":"MISS"},"startTime":1733747145557,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":286935,"timestamp":49401651165,"id":2388,"parentId":2314,"tags":{"name":"static/chunks/29107295-4162eac4082347dd.js","cache":"MISS"},"startTime":1733747145554,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":301304,"timestamp":49401655743,"id":2394,"parentId":2314,"tags":{"name":"static/chunks/2004-989bd6ee1a0836e5.js","cache":"MISS"},"startTime":1733747145558,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":331089,"timestamp":49401650806,"id":2387,"parentId":2314,"tags":{"name":"static/chunks/framework-efef230bfc598a3c.js","cache":"MISS"},"startTime":1733747145553,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":330319,"timestamp":49401657452,"id":2396,"parentId":2314,"tags":{"name":"static/chunks/8779-2595622178479c7a.js","cache":"MISS"},"startTime":1733747145560,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":338738,"timestamp":49401657605,"id":2397,"parentId":2314,"tags":{"name":"static/chunks/9799-c09327b5d8f911bf.js","cache":"MISS"},"startTime":1733747145560,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":344699,"timestamp":49401658113,"id":2398,"parentId":2314,"tags":{"name":"static/chunks/304-b8d7a7206704a9e8.js","cache":"MISS"},"startTime":1733747145561,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":347953,"timestamp":49401656096,"id":2395,"parentId":2314,"tags":{"name":"static/chunks/2793-2d190b821661fe93.js","cache":"MISS"},"startTime":1733747145559,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":352471,"timestamp":49401654678,"id":2393,"parentId":2314,"tags":{"name":"static/chunks/2413-88143337cfbee401.js","cache":"MISS"},"startTime":1733747145557,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":349147,"timestamp":49401658515,"id":2400,"parentId":2314,"tags":{"name":"static/chunks/2016-ab83fcf9773fa412.js","cache":"MISS"},"startTime":1733747145561,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":349703,"timestamp":49401658327,"id":2399,"parentId":2314,"tags":{"name":"static/chunks/5414-e39e0295d31af343.js","cache":"MISS"},"startTime":1733747145561,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":359722,"timestamp":49401658851,"id":2401,"parentId":2314,"tags":{"name":"static/chunks/6836-69ac9f41016d4890.js","cache":"MISS"},"startTime":1733747145561,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":365263,"timestamp":49401660040,"id":2403,"parentId":2314,"tags":{"name":"static/chunks/6156-fc2cb87802851b6a.js","cache":"MISS"},"startTime":1733747145563,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":366584,"timestamp":49401659350,"id":2402,"parentId":2314,"tags":{"name":"static/chunks/5160-c0011c74520be311.js","cache":"MISS"},"startTime":1733747145562,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":369338,"timestamp":49401660847,"id":2404,"parentId":2314,"tags":{"name":"static/chunks/3616-433a6ce04bdfe74c.js","cache":"MISS"},"startTime":1733747145563,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":371846,"timestamp":49401662080,"id":2406,"parentId":2314,"tags":{"name":"static/chunks/3857-5fdc9fdbc2ceb616.js","cache":"MISS"},"startTime":1733747145565,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":373006,"timestamp":49401662352,"id":2407,"parentId":2314,"tags":{"name":"static/chunks/4565-fa373900e5abcc2e.js","cache":"MISS"},"startTime":1733747145565,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":376971,"timestamp":49401661402,"id":2405,"parentId":2314,"tags":{"name":"static/chunks/2163-39dbea13be99f540.js","cache":"MISS"},"startTime":1733747145564,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":376589,"timestamp":49401662494,"id":2408,"parentId":2314,"tags":{"name":"static/chunks/3061-aee06042dd421240.js","cache":"MISS"},"startTime":1733747145565,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":381225,"timestamp":49401671491,"id":2410,"parentId":2314,"tags":{"name":"static/chunks/6803-b0a26b8f89e9e859.js","cache":"MISS"},"startTime":1733747145574,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":380611,"timestamp":49401672182,"id":2411,"parentId":2314,"tags":{"name":"static/chunks/6052-982ccd1835268374.js","cache":"MISS"},"startTime":1733747145575,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":383309,"timestamp":49401672813,"id":2413,"parentId":2314,"tags":{"name":"static/chunks/820-8d322b018f353254.js","cache":"MISS"},"startTime":1733747145575,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":383547,"timestamp":49401672613,"id":2412,"parentId":2314,"tags":{"name":"static/chunks/9907-dc7dcf5051f39917.js","cache":"MISS"},"startTime":1733747145575,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":385473,"timestamp":49401673936,"id":2415,"parentId":2314,"tags":{"name":"static/chunks/9654-14672554e04b07a1.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":398736,"timestamp":49401662634,"id":2409,"parentId":2314,"tags":{"name":"static/chunks/6460-e917713dc5c7b593.js","cache":"MISS"},"startTime":1733747145565,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":390573,"timestamp":49401674129,"id":2416,"parentId":2314,"tags":{"name":"static/chunks/5165-5987c77b92545418.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":390272,"timestamp":49401674471,"id":2418,"parentId":2314,"tags":{"name":"server/middleware-react-loadable-manifest.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":390376,"timestamp":49401674498,"id":2419,"parentId":2314,"tags":{"name":"static/HcU1grNdeICz9zVVD_7aa/_ssgManifest.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":391449,"timestamp":49401674322,"id":2417,"parentId":2314,"tags":{"name":"static/chunks/4147-e7e7f44833e9033a.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":392051,"timestamp":49401674510,"id":2420,"parentId":2314,"tags":{"name":"server/middleware-build-manifest.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":392059,"timestamp":49401674532,"id":2422,"parentId":2314,"tags":{"name":"server/next-font-manifest.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":392950,"timestamp":49401674521,"id":2421,"parentId":2314,"tags":{"name":"static/HcU1grNdeICz9zVVD_7aa/_buildManifest.js","cache":"MISS"},"startTime":1733747145577,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":408953,"timestamp":49401673025,"id":2414,"parentId":2314,"tags":{"name":"static/chunks/5256-94c62ad4f1f6dabc.js","cache":"MISS"},"startTime":1733747145576,"traceId":"a901697cbe7cbd9f"},{"name":"minify-js","duration":447557,"timestamp":49401653393,"id":2390,"parentId":2314,"tags":{"name":"static/chunks/ed150ef9-4bae487078acc5bf.js","cache":"MISS"},"startTime":1733747145556,"traceId":"a901697cbe7cbd9f"},{"name":"minify-webpack-plugin-optimize","duration":489339,"timestamp":49401611636,"id":2314,"parentId":1445,"tags":{"compilationName":"client"},"startTime":1733747145514,"traceId":"a901697cbe7cbd9f"},{"name":"minify-css","duration":369247,"timestamp":49402101180,"id":2424,"parentId":2423,"tags":{"file":"static/css/6c8d5d8aa134f06a.css","cache":"MISS"},"startTime":1733747146004,"traceId":"a901697cbe7cbd9f"},{"name":"minify-css","duration":369219,"timestamp":49402101230,"id":2425,"parentId":2423,"tags":{"file":"static/css/9b1cffe2c89f6bb5.css","cache":"MISS"},"startTime":1733747146004,"traceId":"a901697cbe7cbd9f"},{"name":"minify-css","duration":369216,"timestamp":49402101235,"id":2426,"parentId":2423,"tags":{"file":"static/css/2c3db85a1d7310ee.css","cache":"MISS"},"startTime":1733747146004,"traceId":"a901697cbe7cbd9f"},{"name":"css-minimizer-plugin","duration":369344,"timestamp":49402101111,"id":2423,"parentId":1445,"tags":{},"startTime":1733747146004,"traceId":"a901697cbe7cbd9f"},{"name":"seal","duration":1324108,"timestamp":49401158875,"id":2299,"parentId":1445,"tags":{},"startTime":1733747145061,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-compilation","duration":2827936,"timestamp":49399655170,"id":1445,"parentId":13,"tags":{"name":"client"},"startTime":1733747143558,"traceId":"a901697cbe7cbd9f"},{"name":"emit","duration":6190,"timestamp":49402483179,"id":2427,"parentId":13,"tags":{},"startTime":1733747146386,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-close","duration":794299,"timestamp":49402489516,"id":2428,"parentId":13,"tags":{"name":"client"},"startTime":1733747146392,"traceId":"a901697cbe7cbd9f"},{"name":"webpack-generate-error-stats","duration":1131,"timestamp":49403283842,"id":2429,"parentId":2428,"tags":{},"startTime":1733747147186,"traceId":"a901697cbe7cbd9f"}] -[{"name":"run-webpack-compiler","duration":27410351,"timestamp":49375875484,"id":13,"parentId":1,"tags":{},"startTime":1733747119778,"traceId":"a901697cbe7cbd9f"},{"name":"format-webpack-messages","duration":129,"timestamp":49403285845,"id":2430,"parentId":1,"tags":{},"startTime":1733747147188,"traceId":"a901697cbe7cbd9f"},{"name":"check-static-error-page","duration":8123,"timestamp":49403524530,"id":2433,"parentId":2432,"tags":{},"startTime":1733747147427,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":10234,"timestamp":49403570606,"id":2435,"parentId":2432,"tags":{"page":"/_error"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":51232,"timestamp":49403569695,"id":2434,"parentId":2432,"tags":{"page":"/_app"},"startTime":1733747147472,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":50292,"timestamp":49403570673,"id":2436,"parentId":2432,"tags":{"page":"/_document"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49064,"timestamp":49403571927,"id":2473,"parentId":2432,"tags":{"page":"/api/acceptUserInvitation"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49065,"timestamp":49403571959,"id":2474,"parentId":2432,"tags":{"page":"/api/addAdminUserUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49066,"timestamp":49403571983,"id":2475,"parentId":2432,"tags":{"page":"/api/addApiKey"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49062,"timestamp":49403572002,"id":2476,"parentId":2432,"tags":{"page":"/api/addDbUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49051,"timestamp":49403572035,"id":2478,"parentId":2432,"tags":{"page":"/api/addSocialLogin"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49053,"timestamp":49403572051,"id":2479,"parentId":2432,"tags":{"page":"/api/addTableEntry"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49097,"timestamp":49403572019,"id":2477,"parentId":2432,"tags":{"page":"/api/addNewMediaFolder"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49267,"timestamp":49403572068,"id":2480,"parentId":2432,"tags":{"page":"/api/addUserMedia"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49289,"timestamp":49403572084,"id":2481,"parentId":2432,"tags":{"page":"/api/addUserTable"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49294,"timestamp":49403572100,"id":2482,"parentId":2432,"tags":{"page":"/api/addUserUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49296,"timestamp":49403572118,"id":2483,"parentId":2432,"tags":{"page":"/api/addUsersTableToDatabase"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49289,"timestamp":49403572142,"id":2484,"parentId":2432,"tags":{"page":"/api/admin/addUserBackup"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49284,"timestamp":49403572159,"id":2485,"parentId":2432,"tags":{"page":"/api/admin/clearErrorLogs"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49266,"timestamp":49403572191,"id":2487,"parentId":2432,"tags":{"page":"/api/admin/createNewBackup"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49293,"timestamp":49403572175,"id":2486,"parentId":2432,"tags":{"page":"/api/admin/clientError"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49278,"timestamp":49403572206,"id":2488,"parentId":2432,"tags":{"page":"/api/admin/docs/[action]"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49245,"timestamp":49403572256,"id":2491,"parentId":2432,"tags":{"page":"/api/admin/getUserData"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49293,"timestamp":49403572222,"id":2489,"parentId":2432,"tags":{"page":"/api/admin/getTablesForUserDatabase"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49253,"timestamp":49403572274,"id":2492,"parentId":2432,"tags":{"page":"/api/admin/grabBackups"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49246,"timestamp":49403572290,"id":2493,"parentId":2432,"tags":{"page":"/api/admin/grabErrorLogs"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49242,"timestamp":49403572306,"id":2494,"parentId":2432,"tags":{"page":"/api/admin/grabFile"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49237,"timestamp":49403572324,"id":2495,"parentId":2432,"tags":{"page":"/api/admin/loginSuUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49333,"timestamp":49403572237,"id":2490,"parentId":2432,"tags":{"page":"/api/admin/getUserBackups"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49244,"timestamp":49403572340,"id":2496,"parentId":2432,"tags":{"page":"/api/admin/runUserDbQuery"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49239,"timestamp":49403572356,"id":2497,"parentId":2432,"tags":{"page":"/api/admin/updateEnv"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49236,"timestamp":49403572373,"id":2498,"parentId":2432,"tags":{"page":"/api/changeDbUserPassword"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49232,"timestamp":49403572391,"id":2499,"parentId":2432,"tags":{"page":"/api/checkDuplicateData"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49227,"timestamp":49403572409,"id":2500,"parentId":2432,"tags":{"page":"/api/checkExistingFolder"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49219,"timestamp":49403572426,"id":2501,"parentId":2432,"tags":{"page":"/api/clientSideAuth"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49218,"timestamp":49403572443,"id":2502,"parentId":2432,"tags":{"page":"/api/connect/disconnect"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49215,"timestamp":49403572461,"id":2503,"parentId":2432,"tags":{"page":"/api/connect/handshake"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49190,"timestamp":49403572498,"id":2505,"parentId":2432,"tags":{"page":"/api/connect/verify"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49184,"timestamp":49403572516,"id":2506,"parentId":2432,"tags":{"page":"/api/contact"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49189,"timestamp":49403572533,"id":2507,"parentId":2432,"tags":{"page":"/api/createUserDatabase"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49209,"timestamp":49403572550,"id":2508,"parentId":2432,"tags":{"page":"/api/deleteApiKey"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49204,"timestamp":49403572568,"id":2509,"parentId":2432,"tags":{"page":"/api/deleteDbUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49197,"timestamp":49403572584,"id":2510,"parentId":2432,"tags":{"page":"/api/deleteInvitation"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49196,"timestamp":49403572602,"id":2511,"parentId":2432,"tags":{"page":"/api/deleteMediaFolder"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49333,"timestamp":49403572479,"id":2504,"parentId":2432,"tags":{"page":"/api/connect"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49207,"timestamp":49403572619,"id":2512,"parentId":2432,"tags":{"page":"/api/deleteTableEntry"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49206,"timestamp":49403572638,"id":2513,"parentId":2432,"tags":{"page":"/api/deleteUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49204,"timestamp":49403572655,"id":2514,"parentId":2432,"tags":{"page":"/api/deleteUserDatabase"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49188,"timestamp":49403572691,"id":2516,"parentId":2432,"tags":{"page":"/api/deleteUserTable"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49221,"timestamp":49403572673,"id":2515,"parentId":2432,"tags":{"page":"/api/deleteUserMedia"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49196,"timestamp":49403572709,"id":2517,"parentId":2432,"tags":{"page":"/api/deleteUserUser"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49190,"timestamp":49403572727,"id":2518,"parentId":2432,"tags":{"page":"/api/downloadDatabaseSchema"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49182,"timestamp":49403572744,"id":2519,"parentId":2432,"tags":{"page":"/api/exportDatabase"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49243,"timestamp":49403572764,"id":2520,"parentId":2432,"tags":{"page":"/api/exportTableData"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49245,"timestamp":49403572781,"id":2521,"parentId":2432,"tags":{"page":"/api/fetch-entries-basic"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49290,"timestamp":49403572798,"id":2522,"parentId":2432,"tags":{"page":"/api/fetch-media"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49293,"timestamp":49403572814,"id":2523,"parentId":2432,"tags":{"page":"/api/get-authorized-databases"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49290,"timestamp":49403572830,"id":2524,"parentId":2432,"tags":{"page":"/api/getDatabaseTables"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49289,"timestamp":49403572846,"id":2525,"parentId":2432,"tags":{"page":"/api/getDelegatedDatabaseToken"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49276,"timestamp":49403572877,"id":2527,"parentId":2432,"tags":{"page":"/api/getDiskUsage"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49304,"timestamp":49403572861,"id":2526,"parentId":2432,"tags":{"page":"/api/getDelegatedDatabases"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49285,"timestamp":49403572892,"id":2528,"parentId":2432,"tags":{"page":"/api/getUserDatabaseTables"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49281,"timestamp":49403572907,"id":2529,"parentId":2432,"tags":{"page":"/api/getUserDatabases"},"startTime":1733747147475,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49260,"timestamp":49403572941,"id":2531,"parentId":2432,"tags":{"page":"/api/getUserSchemaData"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49286,"timestamp":49403572924,"id":2530,"parentId":2432,"tags":{"page":"/api/getUserMedia"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49248,"timestamp":49403572974,"id":2533,"parentId":2432,"tags":{"page":"/api/importDatabase"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49273,"timestamp":49403572958,"id":2532,"parentId":2432,"tags":{"page":"/api/healthcheck"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49255,"timestamp":49403572992,"id":2534,"parentId":2432,"tags":{"page":"/api/importDatabaseSchema"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49252,"timestamp":49403573009,"id":2535,"parentId":2432,"tags":{"page":"/api/infiniteScroll"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49260,"timestamp":49403573026,"id":2536,"parentId":2432,"tags":{"page":"/api/loginUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49258,"timestamp":49403573041,"id":2537,"parentId":2432,"tags":{"page":"/api/logoutUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49263,"timestamp":49403573057,"id":2538,"parentId":2432,"tags":{"page":"/api/media/addPrivateMedia"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49258,"timestamp":49403573073,"id":2539,"parentId":2432,"tags":{"page":"/api/media/getPrivateMedia"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49257,"timestamp":49403573088,"id":2540,"parentId":2432,"tags":{"page":"/api/purgeDb"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49329,"timestamp":49403573103,"id":2541,"parentId":2432,"tags":{"page":"/api/query/[user_id]/add-file"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49379,"timestamp":49403573126,"id":2542,"parentId":2432,"tags":{"page":"/api/query/[user_id]/add-image"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49424,"timestamp":49403573152,"id":2543,"parentId":2432,"tags":{"page":"/api/query/[user_id]/delete-file"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49474,"timestamp":49403573169,"id":2544,"parentId":2432,"tags":{"page":"/api/query/[user_id]/get-private-file"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49479,"timestamp":49403573185,"id":2545,"parentId":2432,"tags":{"page":"/api/query/[user_id]/get-schema"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49503,"timestamp":49403573221,"id":2547,"parentId":2432,"tags":{"page":"/api/query/[user_id]/post"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49505,"timestamp":49403573238,"id":2548,"parentId":2432,"tags":{"page":"/api/query/[user_id]/update-schema-from-single-database"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49554,"timestamp":49403573202,"id":2546,"parentId":2432,"tags":{"page":"/api/query/[user_id]/get"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49514,"timestamp":49403573256,"id":2549,"parentId":2432,"tags":{"page":"/api/queryEntriesSearchTerm"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49509,"timestamp":49403573272,"id":2550,"parentId":2432,"tags":{"page":"/api/reAuthenticateUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49506,"timestamp":49403573289,"id":2551,"parentId":2432,"tags":{"page":"/api/refreshEntry"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49518,"timestamp":49403573306,"id":2552,"parentId":2432,"tags":{"page":"/api/registerUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49518,"timestamp":49403573323,"id":2553,"parentId":2432,"tags":{"page":"/api/renameMedia"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49509,"timestamp":49403573341,"id":2554,"parentId":2432,"tags":{"page":"/api/resetDelegatedDatabaseToken"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49502,"timestamp":49403573358,"id":2555,"parentId":2432,"tags":{"page":"/api/resetPassword"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49484,"timestamp":49403573390,"id":2557,"parentId":2432,"tags":{"page":"/api/sendEmailVerificationLink"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49482,"timestamp":49403573405,"id":2558,"parentId":2432,"tags":{"page":"/api/sendPasswordResetLink"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49482,"timestamp":49403573421,"id":2559,"parentId":2432,"tags":{"page":"/api/social-login/facebook-auth"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49477,"timestamp":49403573439,"id":2560,"parentId":2432,"tags":{"page":"/api/social-login/github-auth"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49472,"timestamp":49403573458,"id":2561,"parentId":2432,"tags":{"page":"/api/social-login/google-auth"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49465,"timestamp":49403573475,"id":2562,"parentId":2432,"tags":{"page":"/api/social-login/utils/checkEmail"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49575,"timestamp":49403573374,"id":2556,"parentId":2432,"tags":{"page":"/api/runUserDbQuery"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49468,"timestamp":49403573491,"id":2563,"parentId":2432,"tags":{"page":"/api/social-login/utils/checkSocialId"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49462,"timestamp":49403573507,"id":2564,"parentId":2432,"tags":{"page":"/api/social-login/utils/getEmailFromSocialId"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49444,"timestamp":49403573539,"id":2566,"parentId":2432,"tags":{"page":"/api/sql-users/delete"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49474,"timestamp":49403573523,"id":2565,"parentId":2432,"tags":{"page":"/api/sql-users/create"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49457,"timestamp":49403573553,"id":2567,"parentId":2432,"tags":{"page":"/api/sql-users/update"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"}] -[{"name":"check-page","duration":49607,"timestamp":49403573568,"id":2568,"parentId":2432,"tags":{"page":"/api/stream/[path]"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49612,"timestamp":49403573584,"id":2569,"parentId":2432,"tags":{"page":"/api/sync-table-data"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49595,"timestamp":49403573615,"id":2571,"parentId":2432,"tags":{"page":"/api/test/mail"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49619,"timestamp":49403573600,"id":2570,"parentId":2432,"tags":{"page":"/api/test/cors"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49596,"timestamp":49403573632,"id":2572,"parentId":2432,"tags":{"page":"/api/unsubscribe"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49592,"timestamp":49403573648,"id":2573,"parentId":2432,"tags":{"page":"/api/updateAdminUserAccess"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49575,"timestamp":49403573681,"id":2575,"parentId":2432,"tags":{"page":"/api/updateDbSchemaDataForUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49570,"timestamp":49403573698,"id":2576,"parentId":2432,"tags":{"page":"/api/updateDbUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49569,"timestamp":49403573714,"id":2577,"parentId":2432,"tags":{"page":"/api/updateTableEntry"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49566,"timestamp":49403573732,"id":2578,"parentId":2432,"tags":{"page":"/api/updateUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49567,"timestamp":49403573749,"id":2579,"parentId":2432,"tags":{"page":"/api/updateUserDatabase"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49663,"timestamp":49403573665,"id":2574,"parentId":2432,"tags":{"page":"/api/updateClonedTableForeignKeys"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49581,"timestamp":49403573765,"id":2580,"parentId":2432,"tags":{"page":"/api/updateUserTable"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49579,"timestamp":49403573780,"id":2581,"parentId":2432,"tags":{"page":"/api/updateUserUser"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49577,"timestamp":49403573795,"id":2582,"parentId":2432,"tags":{"page":"/api/user-schema/replace-database-schema"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49574,"timestamp":49403573811,"id":2583,"parentId":2432,"tags":{"page":"/api/user/[user_id]/add-user"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49567,"timestamp":49403573828,"id":2584,"parentId":2432,"tags":{"page":"/api/user/[user_id]/delete-user"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49562,"timestamp":49403573845,"id":2585,"parentId":2432,"tags":{"page":"/api/user/[user_id]/get-user"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49556,"timestamp":49403573863,"id":2586,"parentId":2432,"tags":{"page":"/api/user/[user_id]/github-login"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49547,"timestamp":49403573882,"id":2587,"parentId":2432,"tags":{"page":"/api/user/[user_id]/google-login"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49540,"timestamp":49403573900,"id":2588,"parentId":2432,"tags":{"page":"/api/user/[user_id]/grab-google-user-from-token"},"startTime":1733747147476,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49533,"timestamp":49403573918,"id":2589,"parentId":2432,"tags":{"page":"/api/user/[user_id]/login-user"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49510,"timestamp":49403573954,"id":2591,"parentId":2432,"tags":{"page":"/api/user/[user_id]/send-email-code"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49537,"timestamp":49403573937,"id":2590,"parentId":2432,"tags":{"page":"/api/user/[user_id]/reauth-user"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49497,"timestamp":49403573990,"id":2593,"parentId":2432,"tags":{"page":"/api/webhooks/github-push"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":49526,"timestamp":49403573973,"id":2592,"parentId":2432,"tags":{"page":"/api/user/[user_id]/update-user"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":377671,"timestamp":49403626903,"id":2639,"parentId":2450,"tags":{},"startTime":1733747147529,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":433473,"timestamp":49403571201,"id":2450,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":386966,"timestamp":49403627319,"id":2641,"parentId":2454,"tags":{},"startTime":1733747147530,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":442836,"timestamp":49403571483,"id":2454,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":390447,"timestamp":49403627120,"id":2640,"parentId":2451,"tags":{},"startTime":1733747147530,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":446247,"timestamp":49403571355,"id":2451,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":396806,"timestamp":49403627640,"id":2643,"parentId":2455,"tags":{},"startTime":1733747147530,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":452974,"timestamp":49403571507,"id":2455,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":399146,"timestamp":49403627823,"id":2644,"parentId":2456,"tags":{},"startTime":1733747147530,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":455486,"timestamp":49403571530,"id":2456,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/users/[user]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":403818,"timestamp":49403627994,"id":2645,"parentId":2457,"tags":{},"startTime":1733747147531,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":460290,"timestamp":49403571553,"id":2457,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":407964,"timestamp":49403628181,"id":2646,"parentId":2458,"tags":{},"startTime":1733747147531,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":464599,"timestamp":49403571578,"id":2458,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/users/add-user"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":414799,"timestamp":49403627500,"id":2642,"parentId":2453,"tags":{},"startTime":1733747147530,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":470877,"timestamp":49403571454,"id":2453,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/add-table"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":423499,"timestamp":49403628589,"id":2648,"parentId":2459,"tags":{},"startTime":1733747147531,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":480522,"timestamp":49403571605,"id":2459,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/users"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":428491,"timestamp":49403628768,"id":2649,"parentId":2460,"tags":{},"startTime":1733747147531,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":485666,"timestamp":49403571628,"id":2460,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/add-database"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":440566,"timestamp":49403628940,"id":2650,"parentId":2461,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":497889,"timestamp":49403571652,"id":2461,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":443863,"timestamp":49403629101,"id":2651,"parentId":2462,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":501323,"timestamp":49403571673,"id":2462,"parentId":2432,"tags":{"page":"/admin/[user_id]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":447717,"timestamp":49403628373,"id":2647,"parentId":2452,"tags":{},"startTime":1733747147531,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":504708,"timestamp":49403571415,"id":2452,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":450893,"timestamp":49403629279,"id":2652,"parentId":2463,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":508509,"timestamp":49403571695,"id":2463,"parentId":2432,"tags":{"page":"/admin/[user_id]/media/[...folder]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":454305,"timestamp":49403629431,"id":2653,"parentId":2464,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":512053,"timestamp":49403571715,"id":2464,"parentId":2432,"tags":{"page":"/admin/[user_id]/media"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":455110,"timestamp":49403629555,"id":2654,"parentId":2465,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":512949,"timestamp":49403571746,"id":2465,"parentId":2432,"tags":{"page":"/admin/[user_id]/schema"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":458190,"timestamp":49403629821,"id":2656,"parentId":2467,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":516242,"timestamp":49403571803,"id":2467,"parentId":2432,"tags":{"page":"/admin/[user_id]/users/add-user"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":462056,"timestamp":49403629687,"id":2655,"parentId":2466,"tags":{},"startTime":1733747147532,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":520002,"timestamp":49403571772,"id":2466,"parentId":2432,"tags":{"page":"/admin/[user_id]/settings"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":462425,"timestamp":49403629976,"id":2657,"parentId":2468,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":520597,"timestamp":49403571827,"id":2468,"parentId":2432,"tags":{"page":"/admin/[user_id]/users/databases/[database]/[user]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":464939,"timestamp":49403630320,"id":2659,"parentId":2470,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":523421,"timestamp":49403571868,"id":2470,"parentId":2432,"tags":{"page":"/admin/[user_id]/users/databases"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":465833,"timestamp":49403630156,"id":2658,"parentId":2469,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":524168,"timestamp":49403571847,"id":2469,"parentId":2432,"tags":{"page":"/admin/[user_id]/users/databases/[database]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":467466,"timestamp":49403630639,"id":2661,"parentId":2472,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":526225,"timestamp":49403571908,"id":2472,"parentId":2432,"tags":{"page":"/admin"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":468162,"timestamp":49403630482,"id":2660,"parentId":2471,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":526780,"timestamp":49403571888,"id":2471,"parentId":2432,"tags":{"page":"/admin/[user_id]/users"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":469473,"timestamp":49403630799,"id":2662,"parentId":2594,"tags":{},"startTime":1733747147533,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":526291,"timestamp":49403574009,"id":2594,"parentId":2432,"tags":{"page":"/blog"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":469888,"timestamp":49403630955,"id":2663,"parentId":2595,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":526832,"timestamp":49403574029,"id":2595,"parentId":2432,"tags":{"page":"/contact"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":481447,"timestamp":49403623925,"id":2628,"parentId":2440,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":534568,"timestamp":49403570837,"id":2440,"parentId":2432,"tags":{"page":"/admin/[user_id]/api-keys"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":502110,"timestamp":49403624112,"id":2629,"parentId":2439,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":555454,"timestamp":49403570807,"id":2439,"parentId":2432,"tags":{"page":"/about"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":498684,"timestamp":49403631616,"id":2667,"parentId":2599,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":556229,"timestamp":49403574105,"id":2599,"parentId":2432,"tags":{"page":"/docs"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":505696,"timestamp":49403631848,"id":2668,"parentId":2600,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":563457,"timestamp":49403574123,"id":2600,"parentId":2432,"tags":{"page":"/email-verification"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":515144,"timestamp":49403631999,"id":2669,"parentId":2601,"tags":{},"startTime":1733747147535,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":573038,"timestamp":49403574140,"id":2601,"parentId":2432,"tags":{"page":"/"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":526587,"timestamp":49403623742,"id":2627,"parentId":2438,"tags":{},"startTime":1733747147526,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":579597,"timestamp":49403570766,"id":2438,"parentId":2432,"tags":{"page":"/500"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":525122,"timestamp":49403632350,"id":2671,"parentId":2603,"tags":{},"startTime":1733747147535,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":583331,"timestamp":49403574176,"id":2603,"parentId":2432,"tags":{"page":"/logout"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":527080,"timestamp":49403631133,"id":2664,"parentId":2596,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":584194,"timestamp":49403574048,"id":2596,"parentId":2432,"tags":{"page":"/create-account"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":535508,"timestamp":49403623518,"id":2626,"parentId":2437,"tags":{},"startTime":1733747147526,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":588341,"timestamp":49403570713,"id":2437,"parentId":2432,"tags":{"page":"/404"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":527681,"timestamp":49403632673,"id":2673,"parentId":2605,"tags":{},"startTime":1733747147535,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":586173,"timestamp":49403574211,"id":2605,"parentId":2432,"tags":{"page":"/redirect"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":529883,"timestamp":49403633132,"id":2675,"parentId":2607,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":588797,"timestamp":49403574250,"id":2607,"parentId":2432,"tags":{"page":"/send-password-reset-link"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":541903,"timestamp":49403624501,"id":2631,"parentId":2441,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":595570,"timestamp":49403570865,"id":2441,"parentId":2432,"tags":{"page":"/admin/[user_id]/connect"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":537195,"timestamp":49403632165,"id":2670,"parentId":2602,"tags":{},"startTime":1733747147535,"traceId":"a901697cbe7cbd9f"}] -[{"name":"check-page","duration":595587,"timestamp":49403574158,"id":2602,"parentId":2432,"tags":{"page":"/login"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":537381,"timestamp":49403632518,"id":2672,"parentId":2604,"tags":{},"startTime":1733747147535,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":595728,"timestamp":49403574193,"id":2604,"parentId":2432,"tags":{"page":"/privacy"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":551124,"timestamp":49403624312,"id":2630,"parentId":2442,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":604576,"timestamp":49403570892,"id":2442,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/connect"},"startTime":1733747147473,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":542115,"timestamp":49403633481,"id":2677,"parentId":2608,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":601344,"timestamp":49403574269,"id":2608,"parentId":2432,"tags":{"page":"/su/backups"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":548285,"timestamp":49403633949,"id":2680,"parentId":2612,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":607919,"timestamp":49403574356,"id":2612,"parentId":2432,"tags":{"page":"/su/docs"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":574955,"timestamp":49403633643,"id":2678,"parentId":2610,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":634327,"timestamp":49403574308,"id":2610,"parentId":2432,"tags":{"page":"/su/docs/create-page"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":575019,"timestamp":49403633798,"id":2679,"parentId":2611,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":634509,"timestamp":49403574332,"id":2611,"parentId":2432,"tags":{"page":"/su/docs/edit-page"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":574725,"timestamp":49403634263,"id":2682,"parentId":2613,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":634635,"timestamp":49403574374,"id":2613,"parentId":2432,"tags":{"page":"/su/docs/pages/[id]"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":575018,"timestamp":49403634113,"id":2681,"parentId":2614,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":634751,"timestamp":49403574396,"id":2614,"parentId":2432,"tags":{"page":"/su/docs/pages"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":576333,"timestamp":49403632925,"id":2674,"parentId":2606,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":635045,"timestamp":49403574229,"id":2606,"parentId":2432,"tags":{"page":"/reset-password"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":586031,"timestamp":49403624686,"id":2632,"parentId":2443,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":639807,"timestamp":49403570933,"id":2443,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/edit-database"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":578289,"timestamp":49403634562,"id":2684,"parentId":2616,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":638445,"timestamp":49403574433,"id":2616,"parentId":2432,"tags":{"page":"/su/error-logs"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":579242,"timestamp":49403634406,"id":2683,"parentId":2615,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":639255,"timestamp":49403574415,"id":2615,"parentId":2432,"tags":{"page":"/su/envar"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":581482,"timestamp":49403634722,"id":2685,"parentId":2617,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":641781,"timestamp":49403574450,"id":2617,"parentId":2432,"tags":{"page":"/su"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":582202,"timestamp":49403635209,"id":2688,"parentId":2620,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":642733,"timestamp":49403574701,"id":2620,"parentId":2432,"tags":{"page":"/su/servers"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":592162,"timestamp":49403625684,"id":2635,"parentId":2446,"tags":{},"startTime":1733747147528,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":646816,"timestamp":49403571052,"id":2446,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/shell"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":585676,"timestamp":49403635677,"id":2691,"parentId":2622,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":646647,"timestamp":49403574739,"id":2622,"parentId":2432,"tags":{"page":"/su/users"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":585938,"timestamp":49403635523,"id":2690,"parentId":2623,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":646720,"timestamp":49403574755,"id":2623,"parentId":2432,"tags":{"page":"/su/users/new"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":586206,"timestamp":49403636112,"id":2693,"parentId":2625,"tags":{},"startTime":1733747147539,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":647548,"timestamp":49403574796,"id":2625,"parentId":2432,"tags":{"page":"/unsubscribe"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":587833,"timestamp":49403635033,"id":2687,"parentId":2619,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":648218,"timestamp":49403574669,"id":2619,"parentId":2432,"tags":{"page":"/su/login"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":600499,"timestamp":49403635895,"id":2692,"parentId":2624,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":661658,"timestamp":49403574777,"id":2624,"parentId":2432,"tags":{"page":"/terms"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":601702,"timestamp":49403634859,"id":2686,"parentId":2618,"tags":{},"startTime":1733747147537,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":662114,"timestamp":49403574466,"id":2618,"parentId":2432,"tags":{"page":"/su/load-balancing"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":601280,"timestamp":49403635369,"id":2689,"parentId":2621,"tags":{},"startTime":1733747147538,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":661943,"timestamp":49403574721,"id":2621,"parentId":2432,"tags":{"page":"/su/users/[single]"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":610615,"timestamp":49403626119,"id":2636,"parentId":2448,"tags":{},"startTime":1733747147529,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":665638,"timestamp":49403571111,"id":2448,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":611914,"timestamp":49403624908,"id":2633,"parentId":2444,"tags":{},"startTime":1733747147527,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":665862,"timestamp":49403570975,"id":2444,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":612629,"timestamp":49403625384,"id":2634,"parentId":2445,"tags":{},"startTime":1733747147528,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":667025,"timestamp":49403571012,"id":2445,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/schema"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":619793,"timestamp":49403626399,"id":2637,"parentId":2449,"tags":{},"startTime":1733747147529,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":675058,"timestamp":49403571161,"id":2449,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":626610,"timestamp":49403631314,"id":2665,"parentId":2597,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":683942,"timestamp":49403574068,"id":2597,"parentId":2432,"tags":{"page":"/docs/[page]/[sub-page]"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":633997,"timestamp":49403633321,"id":2676,"parentId":2609,"tags":{},"startTime":1733747147536,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":693058,"timestamp":49403574287,"id":2609,"parentId":2432,"tags":{"page":"/su/console"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":640537,"timestamp":49403631470,"id":2666,"parentId":2598,"tags":{},"startTime":1733747147534,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":697951,"timestamp":49403574087,"id":2598,"parentId":2432,"tags":{"page":"/docs/[page]"},"startTime":1733747147477,"traceId":"a901697cbe7cbd9f"},{"name":"is-page-static","duration":648473,"timestamp":49403626643,"id":2638,"parentId":2447,"tags":{},"startTime":1733747147529,"traceId":"a901697cbe7cbd9f"},{"name":"check-page","duration":704059,"timestamp":49403571078,"id":2447,"parentId":2432,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table"},"startTime":1733747147474,"traceId":"a901697cbe7cbd9f"},{"name":"static-check","duration":751119,"timestamp":49403524082,"id":2432,"parentId":1,"tags":{},"startTime":1733747147427,"traceId":"a901697cbe7cbd9f"},{"name":"generate-required-server-files","duration":364,"timestamp":49404275335,"id":2695,"parentId":1,"tags":{},"startTime":1733747148178,"traceId":"a901697cbe7cbd9f"},{"name":"write-routes-manifest","duration":10533,"timestamp":49404285418,"id":2697,"parentId":1,"tags":{},"startTime":1733747148188,"traceId":"a901697cbe7cbd9f"},{"name":"load-dotenv","duration":99,"timestamp":49404694351,"id":2700,"parentId":2699,"tags":{},"startTime":1733747148597,"traceId":"a901697cbe7cbd9f"},{"name":"run-export-path-map","duration":330,"timestamp":49406428283,"id":2701,"parentId":2699,"tags":{},"startTime":1733747150331,"traceId":"a901697cbe7cbd9f"},{"name":"next-export","duration":2764869,"timestamp":49404693801,"id":2699,"parentId":1,"tags":{},"startTime":1733747148596,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":76750,"timestamp":49407629853,"id":2702,"parentId":2698,"tags":{},"startTime":1733747151532,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":71689,"timestamp":49407706683,"id":2703,"parentId":2698,"tags":{},"startTime":1733747151609,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":58335,"timestamp":49407778436,"id":2704,"parentId":2698,"tags":{},"startTime":1733747151681,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":58422,"timestamp":49407836819,"id":2705,"parentId":2698,"tags":{},"startTime":1733747151739,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":75571,"timestamp":49407895299,"id":2706,"parentId":2698,"tags":{},"startTime":1733747151798,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":80679,"timestamp":49407970925,"id":2707,"parentId":2698,"tags":{},"startTime":1733747151874,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":141966,"timestamp":49408051670,"id":2708,"parentId":2698,"tags":{},"startTime":1733747151954,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":28105,"timestamp":49408193692,"id":2709,"parentId":2698,"tags":{},"startTime":1733747152096,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":191705,"timestamp":49408221861,"id":2710,"parentId":2698,"tags":{},"startTime":1733747152124,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":28533,"timestamp":49408413665,"id":2711,"parentId":2698,"tags":{},"startTime":1733747152316,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":18504,"timestamp":49408442216,"id":2712,"parentId":2698,"tags":{},"startTime":1733747152345,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":33734,"timestamp":49408460782,"id":2713,"parentId":2698,"tags":{},"startTime":1733747152363,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":43158,"timestamp":49408494535,"id":2714,"parentId":2698,"tags":{},"startTime":1733747152397,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":9233,"timestamp":49408537751,"id":2715,"parentId":2698,"tags":{},"startTime":1733747152440,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":13930,"timestamp":49408546995,"id":2716,"parentId":2698,"tags":{},"startTime":1733747152450,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":10778,"timestamp":49408560974,"id":2717,"parentId":2698,"tags":{},"startTime":1733747152464,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":86386,"timestamp":49408571768,"id":2718,"parentId":2698,"tags":{},"startTime":1733747152474,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":8567,"timestamp":49408658207,"id":2719,"parentId":2698,"tags":{},"startTime":1733747152561,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":276252,"timestamp":49408666787,"id":2720,"parentId":2698,"tags":{},"startTime":1733747152569,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":18946,"timestamp":49408943095,"id":2721,"parentId":2698,"tags":{},"startTime":1733747152846,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":222363,"timestamp":49408962054,"id":2722,"parentId":2698,"tags":{},"startTime":1733747152865,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":16938,"timestamp":49409184498,"id":2723,"parentId":2698,"tags":{},"startTime":1733747153087,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":36994,"timestamp":49409201451,"id":2724,"parentId":2698,"tags":{},"startTime":1733747153104,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":42079,"timestamp":49409238501,"id":2725,"parentId":2698,"tags":{},"startTime":1733747153141,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":48929,"timestamp":49409280594,"id":2726,"parentId":2698,"tags":{},"startTime":1733747153183,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":78440,"timestamp":49409329580,"id":2727,"parentId":2698,"tags":{},"startTime":1733747153232,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":20040,"timestamp":49409408039,"id":2728,"parentId":2698,"tags":{},"startTime":1733747153311,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":34470,"timestamp":49409428147,"id":2729,"parentId":2698,"tags":{},"startTime":1733747153331,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":20252,"timestamp":49409462635,"id":2730,"parentId":2698,"tags":{},"startTime":1733747153365,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":22662,"timestamp":49409482945,"id":2731,"parentId":2698,"tags":{},"startTime":1733747153386,"traceId":"a901697cbe7cbd9f"},{"name":"move-exported-page","duration":36272,"timestamp":49409505624,"id":2732,"parentId":2698,"tags":{},"startTime":1733747153408,"traceId":"a901697cbe7cbd9f"},{"name":"static-generation","duration":5715933,"timestamp":49404691832,"id":2698,"parentId":1,"tags":{},"startTime":1733747148594,"traceId":"a901697cbe7cbd9f"},{"name":"node-file-trace-build","duration":10318135,"timestamp":49404276866,"id":2696,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1733747148179,"traceId":"a901697cbe7cbd9f"},{"name":"apply-include-excludes","duration":1283,"timestamp":49414595021,"id":2733,"parentId":1,"tags":{},"startTime":1733747158498,"traceId":"a901697cbe7cbd9f"}] -[{"name":"print-tree-view","duration":7799,"timestamp":49414596655,"id":2734,"parentId":1,"tags":{},"startTime":1733747158499,"traceId":"a901697cbe7cbd9f"},{"name":"telemetry-flush","duration":53,"timestamp":49414604476,"id":2735,"parentId":1,"tags":{},"startTime":1733747158507,"traceId":"a901697cbe7cbd9f"},{"name":"next-build","duration":39136226,"timestamp":49375468310,"id":1,"tags":{"buildMode":"default","isTurboBuild":"false","version":"15.0.3","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1733747119371,"traceId":"a901697cbe7cbd9f"}] +[{"name":"generate-buildid","duration":181,"timestamp":123226037002,"id":4,"parentId":1,"tags":{},"startTime":1734261936296,"traceId":"ce91546a398efcef"},{"name":"load-custom-routes","duration":230,"timestamp":123226037276,"id":5,"parentId":1,"tags":{},"startTime":1734261936296,"traceId":"ce91546a398efcef"},{"name":"create-dist-dir","duration":36822,"timestamp":123226093467,"id":6,"parentId":1,"tags":{},"startTime":1734261936352,"traceId":"ce91546a398efcef"},{"name":"verify-typescript-setup","duration":202369,"timestamp":123226131402,"id":7,"parentId":1,"tags":{},"startTime":1734261936390,"traceId":"ce91546a398efcef"},{"name":"collect-pages","duration":6011,"timestamp":123226334032,"id":8,"parentId":1,"tags":{},"startTime":1734261936593,"traceId":"ce91546a398efcef"},{"name":"create-pages-mapping","duration":1265,"timestamp":123226341604,"id":9,"parentId":1,"tags":{},"startTime":1734261936600,"traceId":"ce91546a398efcef"},{"name":"public-dir-conflict-check","duration":8037,"timestamp":123226343058,"id":10,"parentId":1,"tags":{},"startTime":1734261936602,"traceId":"ce91546a398efcef"},{"name":"generate-routes-manifest","duration":4171,"timestamp":123226351323,"id":11,"parentId":1,"tags":{},"startTime":1734261936610,"traceId":"ce91546a398efcef"},{"name":"create-entrypoints","duration":143263,"timestamp":123226360695,"id":14,"parentId":1,"tags":{},"startTime":1734261936619,"traceId":"ce91546a398efcef"},{"name":"generate-webpack-config","duration":217105,"timestamp":123226504013,"id":15,"parentId":13,"tags":{},"startTime":1734261936763,"traceId":"ce91546a398efcef"},{"name":"next-trace-entrypoint-plugin","duration":1755,"timestamp":123226806629,"id":17,"parentId":16,"tags":{},"startTime":1734261937065,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":84723,"timestamp":123226960090,"id":211,"parentId":20,"tags":{"name":"/app/pages/_document.js","layer":null},"startTime":1734261937219,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":102202,"timestamp":123226962231,"id":212,"parentId":19,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=next%2Fdist%2Fpages%2F_error&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937221,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":102303,"timestamp":123226964050,"id":214,"parentId":22,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F404&preferredRegion=&absolutePagePath=private-next-pages%2F404.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937223,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":102981,"timestamp":123226964211,"id":215,"parentId":23,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FacceptUserInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FacceptUserInvitation.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937223,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":104882,"timestamp":123226963874,"id":213,"parentId":21,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F500&preferredRegion=&absolutePagePath=private-next-pages%2F500.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937223,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":104628,"timestamp":123226964807,"id":216,"parentId":24,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddAdminUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddAdminUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937224,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":105150,"timestamp":123226964960,"id":217,"parentId":25,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddApiKey.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937224,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":105647,"timestamp":123226965086,"id":218,"parentId":26,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddNewMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddNewMediaFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937224,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":26129,"timestamp":123227049912,"id":219,"parentId":27,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937309,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":26606,"timestamp":123227050247,"id":220,"parentId":28,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddSocialLogin&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddSocialLogin.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937309,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":27048,"timestamp":123227050616,"id":222,"parentId":30,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937309,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28063,"timestamp":123227050474,"id":221,"parentId":29,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937309,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28404,"timestamp":123227050814,"id":223,"parentId":31,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28850,"timestamp":123227050987,"id":224,"parentId":32,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUsersTableToDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUsersTableToDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":29404,"timestamp":123227051141,"id":225,"parentId":33,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclientError&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclientError.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":30019,"timestamp":123227051279,"id":226,"parentId":34,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclearErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclearErrorLogs.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":30584,"timestamp":123227051457,"id":227,"parentId":35,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FaddUserBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FaddUserBackup.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":30974,"timestamp":123227051682,"id":229,"parentId":37,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetTablesForUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetTablesForUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":31692,"timestamp":123227051574,"id":228,"parentId":36,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FcreateNewBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FcreateNewBackup.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937310,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":32114,"timestamp":123227051815,"id":230,"parentId":38,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":32512,"timestamp":123227051925,"id":231,"parentId":39,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserBackups.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":32926,"timestamp":123227052037,"id":232,"parentId":40,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":33261,"timestamp":123227052146,"id":233,"parentId":41,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabBackups.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":33582,"timestamp":123227052232,"id":234,"parentId":42,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabErrorLogs.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":33979,"timestamp":123227052317,"id":235,"parentId":43,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":34417,"timestamp":123227052414,"id":236,"parentId":44,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabFile&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabFile.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":34753,"timestamp":123227052537,"id":237,"parentId":45,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FupdateEnv&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FupdateEnv.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":35048,"timestamp":123227052624,"id":238,"parentId":46,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fadmin%2FloginSuUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FloginSuUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":35435,"timestamp":123227052700,"id":239,"parentId":47,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FchangeDbUserPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FchangeDbUserPassword.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937311,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":35891,"timestamp":123227052792,"id":240,"parentId":48,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcheckDuplicateData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckDuplicateData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":36340,"timestamp":123227052868,"id":241,"parentId":49,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcheckExistingFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckExistingFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":36767,"timestamp":123227052944,"id":242,"parentId":50,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FclientSideAuth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FclientSideAuth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":37286,"timestamp":123227053016,"id":243,"parentId":51,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fhandshake&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fhandshake.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":37698,"timestamp":123227053097,"id":244,"parentId":52,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fdisconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fdisconnect.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":38223,"timestamp":123227053167,"id":245,"parentId":53,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Findex.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":38731,"timestamp":123227053241,"id":246,"parentId":54,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fverify&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fverify.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":39221,"timestamp":123227053313,"id":247,"parentId":55,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fcontact.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":39606,"timestamp":123227053450,"id":248,"parentId":56,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FcreateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcreateUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":40165,"timestamp":123227053537,"id":249,"parentId":57,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteApiKey.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":40510,"timestamp":123227053617,"id":250,"parentId":58,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":40956,"timestamp":123227053705,"id":251,"parentId":59,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteInvitation.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937312,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":41368,"timestamp":123227053786,"id":252,"parentId":60,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":41773,"timestamp":123227053863,"id":253,"parentId":61,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteMediaFolder.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":42251,"timestamp":123227053933,"id":254,"parentId":62,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":42763,"timestamp":123227054010,"id":255,"parentId":63,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":43270,"timestamp":123227054082,"id":256,"parentId":64,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":43666,"timestamp":123227054173,"id":257,"parentId":65,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":44053,"timestamp":123227054249,"id":258,"parentId":66,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdeleteUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":44399,"timestamp":123227054322,"id":259,"parentId":67,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FdownloadDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdownloadDatabaseSchema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":44690,"timestamp":123227054414,"id":260,"parentId":68,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FexportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":45037,"timestamp":123227054493,"id":261,"parentId":69,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ffetch-entries-basic&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-entries-basic.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":45324,"timestamp":123227054567,"id":262,"parentId":70,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fget-authorized-databases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fget-authorized-databases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":45610,"timestamp":123227054642,"id":263,"parentId":71,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDatabaseTables.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":45852,"timestamp":123227054714,"id":264,"parentId":72,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937313,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":46108,"timestamp":123227054789,"id":265,"parentId":73,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":46387,"timestamp":123227054862,"id":266,"parentId":74,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetDiskUsage&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDiskUsage.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":46629,"timestamp":123227054936,"id":267,"parentId":75,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabaseTables.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":46868,"timestamp":123227055014,"id":268,"parentId":76,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabases.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":47102,"timestamp":123227055089,"id":269,"parentId":77,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":47341,"timestamp":123227055163,"id":270,"parentId":78,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FgetUserSchemaData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserSchemaData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":47554,"timestamp":123227055260,"id":271,"parentId":79,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fhealthcheck&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fhealthcheck.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":47787,"timestamp":123227055336,"id":272,"parentId":80,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FimportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":48047,"timestamp":123227055410,"id":273,"parentId":81,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FimportDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabaseSchema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":48279,"timestamp":123227055484,"id":274,"parentId":82,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FinfiniteScroll&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FinfiniteScroll.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":48511,"timestamp":123227055558,"id":275,"parentId":83,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FlogoutUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FlogoutUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":48796,"timestamp":123227055631,"id":276,"parentId":84,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FloginUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FloginUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":49028,"timestamp":123227055706,"id":277,"parentId":85,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fmedia%2FaddPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FaddPrivateMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":49276,"timestamp":123227055780,"id":278,"parentId":86,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fmedia%2FgetPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FgetPrivateMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937314,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":49462,"timestamp":123227055898,"id":279,"parentId":87,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FpurgeDb&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FpurgeDb.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":49695,"timestamp":123227055977,"id":280,"parentId":88,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":49927,"timestamp":123227056056,"id":281,"parentId":89,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":50230,"timestamp":123227056140,"id":282,"parentId":90,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FqueryEntriesSearchTerm&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FqueryEntriesSearchTerm.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":50487,"timestamp":123227056219,"id":283,"parentId":91,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":50759,"timestamp":123227056303,"id":284,"parentId":92,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FreAuthenticateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FreAuthenticateUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":51028,"timestamp":123227056382,"id":285,"parentId":93,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FregisterUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FregisterUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":51269,"timestamp":123227056464,"id":286,"parentId":94,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrefreshEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrefreshEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":51386,"timestamp":123227056646,"id":287,"parentId":95,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrenameMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrenameMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":51604,"timestamp":123227056749,"id":288,"parentId":96,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FresetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937315,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":51884,"timestamp":123227056833,"id":289,"parentId":97,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FresetPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetPassword.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":52186,"timestamp":123227056915,"id":290,"parentId":98,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":52429,"timestamp":123227056997,"id":291,"parentId":99,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FsendEmailVerificationLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendEmailVerificationLink.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":52669,"timestamp":123227057075,"id":292,"parentId":100,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FsendPasswordResetLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendPasswordResetLink.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":52899,"timestamp":123227057163,"id":293,"parentId":101,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Ffacebook-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Ffacebook-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":53128,"timestamp":123227057238,"id":294,"parentId":102,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgithub-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgithub-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":53340,"timestamp":123227057321,"id":295,"parentId":103,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgoogle-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgoogle-auth.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":53554,"timestamp":123227057395,"id":296,"parentId":104,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckEmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckEmail.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":53789,"timestamp":123227057477,"id":297,"parentId":105,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":54011,"timestamp":123227057551,"id":298,"parentId":106,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":54245,"timestamp":123227057625,"id":299,"parentId":107,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fcreate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fcreate.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":54453,"timestamp":123227057718,"id":300,"parentId":108,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fdelete&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fdelete.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937316,"traceId":"ce91546a398efcef"}] +[{"name":"build-module","duration":54930,"timestamp":123227057792,"id":301,"parentId":109,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fupdate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fupdate.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":55244,"timestamp":123227057865,"id":302,"parentId":110,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fstream%2F%5Bpath%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fstream%2F%5Bpath%5D.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":55521,"timestamp":123227057936,"id":303,"parentId":111,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fsync-table-data&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsync-table-data.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":55714,"timestamp":123227058083,"id":304,"parentId":112,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Funsubscribe.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":55942,"timestamp":123227058175,"id":305,"parentId":113,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ftest%2Fmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fmail.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":56207,"timestamp":123227058251,"id":306,"parentId":114,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateAdminUserAccess&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateAdminUserAccess.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":56452,"timestamp":123227058351,"id":307,"parentId":115,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ftest%2Fcors&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fcors.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937317,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":63707,"timestamp":123227060267,"id":308,"parentId":116,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateClonedTableForeignKeys&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateClonedTableForeignKeys.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937319,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12829,"timestamp":123227192417,"id":309,"parentId":117,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateDbSchemaDataForUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbSchemaDataForUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937451,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13008,"timestamp":123227192638,"id":310,"parentId":118,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937451,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11349,"timestamp":123227196754,"id":311,"parentId":119,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateTableEntry.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937455,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11556,"timestamp":123227196912,"id":312,"parentId":120,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11781,"timestamp":123227197003,"id":313,"parentId":121,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserDatabase.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12008,"timestamp":123227197085,"id":314,"parentId":122,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserUser.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12274,"timestamp":123227197171,"id":315,"parentId":123,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FupdateUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserTable.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12728,"timestamp":123227197248,"id":316,"parentId":124,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser-schema%2Freplace-database-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser-schema%2Freplace-database-schema.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13045,"timestamp":123227197323,"id":317,"parentId":125,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13345,"timestamp":123227197404,"id":318,"parentId":126,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13647,"timestamp":123227197468,"id":319,"parentId":127,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13946,"timestamp":123227197542,"id":320,"parentId":128,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14345,"timestamp":123227197610,"id":321,"parentId":129,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14671,"timestamp":123227197690,"id":322,"parentId":130,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14979,"timestamp":123227197772,"id":323,"parentId":131,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937456,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":16978,"timestamp":123227199689,"id":324,"parentId":132,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937458,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":17265,"timestamp":123227199784,"id":325,"parentId":133,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937459,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":17540,"timestamp":123227199860,"id":326,"parentId":134,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937459,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":17831,"timestamp":123227199929,"id":327,"parentId":135,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fwebhooks%2Fgithub-push&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fwebhooks%2Fgithub-push.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937459,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":18414,"timestamp":123227200002,"id":328,"parentId":137,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937459,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":18931,"timestamp":123227200083,"id":329,"parentId":138,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fabout&preferredRegion=&absolutePagePath=private-next-pages%2Fabout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937459,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20212,"timestamp":123227202522,"id":330,"parentId":139,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937461,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":4675,"timestamp":123227239130,"id":331,"parentId":140,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937498,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":5353,"timestamp":123227239333,"id":332,"parentId":141,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937498,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":6143,"timestamp":123227239431,"id":333,"parentId":142,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937498,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":6829,"timestamp":123227239526,"id":334,"parentId":143,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937498,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":7480,"timestamp":123227239638,"id":335,"parentId":144,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937498,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13089,"timestamp":123227242143,"id":336,"parentId":145,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937501,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13714,"timestamp":123227242249,"id":337,"parentId":146,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937501,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14377,"timestamp":123227242333,"id":338,"parentId":147,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937501,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":15202,"timestamp":123227242401,"id":339,"parentId":148,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937501,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":7940,"timestamp":123227260872,"id":340,"parentId":149,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937520,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":7623,"timestamp":123227263714,"id":341,"parentId":150,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937522,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":8141,"timestamp":123227263892,"id":342,"parentId":151,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":8726,"timestamp":123227263985,"id":343,"parentId":152,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":9231,"timestamp":123227264079,"id":344,"parentId":153,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":9829,"timestamp":123227264161,"id":345,"parentId":154,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":10474,"timestamp":123227264239,"id":346,"parentId":155,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11319,"timestamp":123227264321,"id":347,"parentId":156,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12000,"timestamp":123227264417,"id":348,"parentId":157,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12825,"timestamp":123227264511,"id":349,"parentId":158,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13668,"timestamp":123227264588,"id":350,"parentId":159,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937523,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19450,"timestamp":123227266014,"id":351,"parentId":160,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19956,"timestamp":123227266127,"id":352,"parentId":161,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20444,"timestamp":123227266229,"id":353,"parentId":162,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21045,"timestamp":123227266308,"id":354,"parentId":163,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21618,"timestamp":123227266381,"id":355,"parentId":164,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22310,"timestamp":123227266459,"id":356,"parentId":165,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":23018,"timestamp":123227266550,"id":357,"parentId":166,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937525,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28136,"timestamp":123227267406,"id":358,"parentId":167,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937526,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28657,"timestamp":123227267513,"id":359,"parentId":168,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937526,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":9876,"timestamp":123227306669,"id":360,"parentId":169,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937565,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":10405,"timestamp":123227306843,"id":361,"parentId":170,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fadmin&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":10658,"timestamp":123227306923,"id":362,"parentId":171,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FaddUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserMedia.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11024,"timestamp":123227306999,"id":363,"parentId":172,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2FexportTableData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportTableData.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11455,"timestamp":123227307068,"id":364,"parentId":173,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Ffetch-media&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-media.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":11828,"timestamp":123227307132,"id":365,"parentId":174,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12136,"timestamp":123227307202,"id":366,"parentId":175,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12521,"timestamp":123227307264,"id":367,"parentId":176,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12810,"timestamp":123227307329,"id":368,"parentId":177,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13098,"timestamp":123227307398,"id":369,"parentId":178,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost.js&middlewareConfigBase64=e30%3D!","layer":"api"},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":13616,"timestamp":123227307459,"id":370,"parentId":179,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fblog&preferredRegion=&absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14098,"timestamp":123227307520,"id":371,"parentId":180,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fcontact.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14575,"timestamp":123227307589,"id":372,"parentId":181,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":15125,"timestamp":123227307660,"id":373,"parentId":182,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":15568,"timestamp":123227307757,"id":374,"parentId":183,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=private-next-pages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937566,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":16041,"timestamp":123227307828,"id":375,"parentId":184,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fcreate-account&preferredRegion=&absolutePagePath=private-next-pages%2Fcreate-account.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937567,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":16494,"timestamp":123227307898,"id":376,"parentId":185,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Femail-verification&preferredRegion=&absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937567,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":18539,"timestamp":123227311058,"id":377,"parentId":186,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Flogout&preferredRegion=&absolutePagePath=private-next-pages%2Flogout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19011,"timestamp":123227311241,"id":378,"parentId":187,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19566,"timestamp":123227311342,"id":379,"parentId":188,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fprivacy&preferredRegion=&absolutePagePath=private-next-pages%2Fprivacy.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20037,"timestamp":123227311445,"id":380,"parentId":189,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20549,"timestamp":123227311537,"id":381,"parentId":190,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fredirect&preferredRegion=&absolutePagePath=private-next-pages%2Fredirect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21088,"timestamp":123227311624,"id":382,"parentId":191,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fconsole&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21630,"timestamp":123227311742,"id":383,"parentId":192,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fbackups&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937570,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22295,"timestamp":123227311821,"id":384,"parentId":193,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsend-password-reset-link&preferredRegion=&absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22938,"timestamp":123227311895,"id":385,"parentId":194,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fcreate-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":23543,"timestamp":123227311975,"id":386,"parentId":195,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fedit-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":24096,"timestamp":123227312049,"id":387,"parentId":196,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":24647,"timestamp":123227312121,"id":388,"parentId":197,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":25313,"timestamp":123227312200,"id":389,"parentId":198,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":26002,"timestamp":123227312274,"id":390,"parentId":199,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Freset-password&preferredRegion=&absolutePagePath=private-next-pages%2Freset-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":31651,"timestamp":123227312346,"id":391,"parentId":200,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fenvar&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937571,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":248,"timestamp":123227374187,"id":402,"parentId":211,"tags":{"name":"react/jsx-runtime","layer":null},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19,"timestamp":123227374466,"id":403,"parentId":211,"tags":{"name":"react","layer":null},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6565,"timestamp":123227374501,"id":404,"parentId":136,"tags":{"name":"/app/pages/_app.js","layer":null},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6201,"timestamp":123227377327,"id":416,"parentId":216,"tags":{"name":"/app/pages/api/addAdminUserUser.js","layer":"api"},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10492,"timestamp":123227377271,"id":415,"parentId":215,"tags":{"name":"/app/pages/api/acceptUserInvitation.js","layer":"api"},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12661,"timestamp":123227377215,"id":414,"parentId":214,"tags":{"name":"/app/pages/404.jsx","layer":null},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14273,"timestamp":123227377131,"id":413,"parentId":213,"tags":{"name":"/app/pages/500.jsx","layer":null},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22055,"timestamp":123227370206,"id":392,"parentId":201,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Ferror-logs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22858,"timestamp":123227370403,"id":393,"parentId":202,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fload-balancing&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":23737,"timestamp":123227370500,"id":394,"parentId":203,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"}] +[{"name":"build-module","duration":25267,"timestamp":123227370581,"id":395,"parentId":204,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fservers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":26299,"timestamp":123227370660,"id":396,"parentId":205,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":27470,"timestamp":123227370773,"id":397,"parentId":206,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937629,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28582,"timestamp":123227370925,"id":398,"parentId":207,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937630,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":31457,"timestamp":123227371008,"id":399,"parentId":208,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fsu%2Fusers%2Fnew&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937630,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":32204,"timestamp":123227371119,"id":400,"parentId":209,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Fterms&preferredRegion=&absolutePagePath=private-next-pages%2Fterms.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937630,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":32945,"timestamp":123227371199,"id":401,"parentId":210,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js?kind=PAGES&page=%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Funsubscribe.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!","layer":null},"startTime":1734261937630,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34194,"timestamp":123227374640,"id":406,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/server/route-kind.js","layer":null},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34621,"timestamp":123227374673,"id":407,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/server/route-kind.js","layer":"api"},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":35174,"timestamp":123227374591,"id":405,"parentId":211,"tags":{"name":"/app/node_modules/next/document.js","layer":null},"startTime":1734261937633,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36478,"timestamp":123227376843,"id":409,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/build/templates/helpers.js","layer":null},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36996,"timestamp":123227376924,"id":410,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/build/templates/helpers.js","layer":"api"},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38032,"timestamp":123227376957,"id":411,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/module.compiled.js","layer":null},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38504,"timestamp":123227377070,"id":412,"parentId":215,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js","layer":"api"},"startTime":1734261937636,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":44823,"timestamp":123227375128,"id":408,"parentId":212,"tags":{"name":"/app/node_modules/next/dist/pages/_error.js","layer":null},"startTime":1734261937634,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5249,"timestamp":123227443441,"id":417,"parentId":218,"tags":{"name":"/app/pages/api/addNewMediaFolder.js","layer":"api"},"startTime":1734261937702,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5907,"timestamp":123227445416,"id":419,"parentId":219,"tags":{"name":"/app/pages/api/addDbUser.js","layer":"api"},"startTime":1734261937704,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9442,"timestamp":123227445257,"id":418,"parentId":217,"tags":{"name":"/app/pages/api/addApiKey.js","layer":"api"},"startTime":1734261937704,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5116,"timestamp":123227460019,"id":420,"parentId":220,"tags":{"name":"/app/pages/api/addSocialLogin.js","layer":"api"},"startTime":1734261937719,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6193,"timestamp":123227460131,"id":421,"parentId":222,"tags":{"name":"/app/pages/api/addTableEntry.js","layer":"api"},"startTime":1734261937719,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4816,"timestamp":123227468806,"id":422,"parentId":223,"tags":{"name":"/app/pages/api/addUserUser.js","layer":"api"},"startTime":1734261937728,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4822,"timestamp":123227476154,"id":425,"parentId":225,"tags":{"name":"/app/pages/api/admin/clientError.js","layer":"api"},"startTime":1734261937735,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5523,"timestamp":123227476207,"id":426,"parentId":226,"tags":{"name":"/app/pages/api/admin/clearErrorLogs.js","layer":"api"},"startTime":1734261937735,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8628,"timestamp":123227476098,"id":424,"parentId":224,"tags":{"name":"/app/pages/api/addUsersTableToDatabase.js","layer":"api"},"startTime":1734261937735,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12265,"timestamp":123227475981,"id":423,"parentId":221,"tags":{"name":"/app/pages/api/addUserTable.js","layer":"api"},"startTime":1734261937735,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10131,"timestamp":123227479048,"id":428,"parentId":229,"tags":{"name":"/app/pages/api/admin/getTablesForUserDatabase.js","layer":"api"},"startTime":1734261937738,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11685,"timestamp":123227478917,"id":427,"parentId":227,"tags":{"name":"/app/pages/api/admin/addUserBackup.js","layer":"api"},"startTime":1734261937738,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3613,"timestamp":123227504774,"id":429,"parentId":228,"tags":{"name":"/app/pages/api/admin/createNewBackup.js","layer":"api"},"startTime":1734261937763,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5515,"timestamp":123227509536,"id":432,"parentId":233,"tags":{"name":"/app/pages/api/admin/grabBackups.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6120,"timestamp":123227509588,"id":433,"parentId":234,"tags":{"name":"/app/pages/api/admin/grabErrorLogs.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7136,"timestamp":123227509365,"id":430,"parentId":231,"tags":{"name":"/app/pages/api/admin/getUserBackups.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8384,"timestamp":123227509482,"id":431,"parentId":232,"tags":{"name":"/app/pages/api/admin/getUserData.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9175,"timestamp":123227509632,"id":434,"parentId":235,"tags":{"name":"/app/pages/api/admin/runUserDbQuery.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9967,"timestamp":123227509711,"id":436,"parentId":240,"tags":{"name":"/app/pages/api/checkDuplicateData.js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11417,"timestamp":123227509672,"id":435,"parentId":230,"tags":{"name":"/app/pages/api/admin/docs/[action].js","layer":"api"},"startTime":1734261937768,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10465,"timestamp":123227513548,"id":437,"parentId":242,"tags":{"name":"/app/pages/api/clientSideAuth.js","layer":"api"},"startTime":1734261937772,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3657,"timestamp":123227531546,"id":438,"parentId":239,"tags":{"name":"/app/pages/api/changeDbUserPassword.js","layer":"api"},"startTime":1734261937790,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4263,"timestamp":123227532679,"id":439,"parentId":241,"tags":{"name":"/app/pages/api/checkExistingFolder.js","layer":"api"},"startTime":1734261937791,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3674,"timestamp":123227539749,"id":441,"parentId":236,"tags":{"name":"/app/pages/api/admin/grabFile.js","layer":"api"},"startTime":1734261937798,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4596,"timestamp":123227539663,"id":440,"parentId":247,"tags":{"name":"/app/pages/api/contact.js","layer":"api"},"startTime":1734261937798,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5642,"timestamp":123227539820,"id":443,"parentId":238,"tags":{"name":"/app/pages/api/admin/loginSuUser.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6480,"timestamp":123227539788,"id":442,"parentId":237,"tags":{"name":"/app/pages/api/admin/updateEnv.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7655,"timestamp":123227539915,"id":446,"parentId":251,"tags":{"name":"/app/pages/api/deleteInvitation.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8133,"timestamp":123227539946,"id":447,"parentId":250,"tags":{"name":"/app/pages/api/deleteDbUser.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9078,"timestamp":123227539887,"id":445,"parentId":249,"tags":{"name":"/app/pages/api/deleteApiKey.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10879,"timestamp":123227539856,"id":444,"parentId":248,"tags":{"name":"/app/pages/api/createUserDatabase.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11453,"timestamp":123227540008,"id":449,"parentId":252,"tags":{"name":"/app/pages/api/deleteTableEntry.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12706,"timestamp":123227540035,"id":450,"parentId":254,"tags":{"name":"/app/pages/api/deleteUser.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14409,"timestamp":123227539979,"id":448,"parentId":253,"tags":{"name":"/app/pages/api/deleteMediaFolder.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15658,"timestamp":123227540067,"id":451,"parentId":255,"tags":{"name":"/app/pages/api/deleteUserDatabase.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16793,"timestamp":123227540121,"id":453,"parentId":256,"tags":{"name":"/app/pages/api/deleteUserMedia.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15452,"timestamp":123227542040,"id":454,"parentId":258,"tags":{"name":"/app/pages/api/deleteUserUser.js","layer":"api"},"startTime":1734261937801,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16232,"timestamp":123227542110,"id":455,"parentId":259,"tags":{"name":"/app/pages/api/downloadDatabaseSchema.js","layer":"api"},"startTime":1734261937801,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19642,"timestamp":123227540095,"id":452,"parentId":257,"tags":{"name":"/app/pages/api/deleteUserTable.js","layer":"api"},"startTime":1734261937799,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4186,"timestamp":123227577745,"id":456,"parentId":260,"tags":{"name":"/app/pages/api/exportDatabase.js","layer":"api"},"startTime":1734261937836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5032,"timestamp":123227577853,"id":457,"parentId":261,"tags":{"name":"/app/pages/api/fetch-entries-basic.js","layer":"api"},"startTime":1734261937837,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6725,"timestamp":123227577898,"id":458,"parentId":262,"tags":{"name":"/app/pages/api/get-authorized-databases.js","layer":"api"},"startTime":1734261937837,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3083,"timestamp":123227590572,"id":461,"parentId":267,"tags":{"name":"/app/pages/api/getUserDatabaseTables.js","layer":"api"},"startTime":1734261937849,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3886,"timestamp":123227590435,"id":459,"parentId":263,"tags":{"name":"/app/pages/api/getDatabaseTables.js","layer":"api"},"startTime":1734261937849,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4711,"timestamp":123227590528,"id":460,"parentId":264,"tags":{"name":"/app/pages/api/getDelegatedDatabaseToken.js","layer":"api"},"startTime":1734261937849,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5117,"timestamp":123227592008,"id":464,"parentId":268,"tags":{"name":"/app/pages/api/getUserDatabases.js","layer":"api"},"startTime":1734261937851,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5499,"timestamp":123227592046,"id":465,"parentId":269,"tags":{"name":"/app/pages/api/getUserMedia.js","layer":"api"},"startTime":1734261937851,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7789,"timestamp":123227591913,"id":462,"parentId":265,"tags":{"name":"/app/pages/api/getDelegatedDatabases.js","layer":"api"},"startTime":1734261937851,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9322,"timestamp":123227591969,"id":463,"parentId":266,"tags":{"name":"/app/pages/api/getDiskUsage.js","layer":"api"},"startTime":1734261937851,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10110,"timestamp":123227592079,"id":466,"parentId":272,"tags":{"name":"/app/pages/api/importDatabase.js","layer":"api"},"startTime":1734261937851,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2747,"timestamp":123227609632,"id":469,"parentId":271,"tags":{"name":"/app/pages/api/healthcheck.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3612,"timestamp":123227609493,"id":467,"parentId":270,"tags":{"name":"/app/pages/api/getUserSchemaData.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5465,"timestamp":123227609665,"id":470,"parentId":244,"tags":{"name":"/app/pages/api/connect/disconnect.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6455,"timestamp":123227609593,"id":468,"parentId":273,"tags":{"name":"/app/pages/api/importDatabaseSchema.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7018,"timestamp":123227609728,"id":472,"parentId":245,"tags":{"name":"/app/pages/api/connect/index.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8934,"timestamp":123227609699,"id":471,"parentId":243,"tags":{"name":"/app/pages/api/connect/handshake.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9515,"timestamp":123227609756,"id":473,"parentId":246,"tags":{"name":"/app/pages/api/connect/verify.js","layer":"api"},"startTime":1734261937868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10484,"timestamp":123227609784,"id":474,"parentId":274,"tags":{"name":"/app/pages/api/infiniteScroll.js","layer":"api"},"startTime":1734261937869,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13094,"timestamp":123227613318,"id":475,"parentId":275,"tags":{"name":"/app/pages/api/logoutUser.js","layer":"api"},"startTime":1734261937872,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13788,"timestamp":123227613428,"id":476,"parentId":279,"tags":{"name":"/app/pages/api/purgeDb.js","layer":"api"},"startTime":1734261937872,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15706,"timestamp":123227613474,"id":477,"parentId":276,"tags":{"name":"/app/pages/api/loginUser.js","layer":"api"},"startTime":1734261937872,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15630,"timestamp":123227634810,"id":478,"parentId":284,"tags":{"name":"/app/pages/api/reAuthenticateUser.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16302,"timestamp":123227634981,"id":481,"parentId":282,"tags":{"name":"/app/pages/api/queryEntriesSearchTerm.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17486,"timestamp":123227634908,"id":479,"parentId":287,"tags":{"name":"/app/pages/api/renameMedia.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17870,"timestamp":123227635020,"id":482,"parentId":288,"tags":{"name":"/app/pages/api/resetDelegatedDatabaseToken.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":18247,"timestamp":123227635082,"id":484,"parentId":289,"tags":{"name":"/app/pages/api/resetPassword.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20356,"timestamp":123227634947,"id":480,"parentId":285,"tags":{"name":"/app/pages/api/registerUser.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":21089,"timestamp":123227635052,"id":483,"parentId":286,"tags":{"name":"/app/pages/api/refreshEntry.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":21632,"timestamp":123227635110,"id":485,"parentId":290,"tags":{"name":"/app/pages/api/runUserDbQuery.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22189,"timestamp":123227635144,"id":486,"parentId":291,"tags":{"name":"/app/pages/api/sendEmailVerificationLink.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22865,"timestamp":123227635174,"id":487,"parentId":292,"tags":{"name":"/app/pages/api/sendPasswordResetLink.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23305,"timestamp":123227635237,"id":489,"parentId":304,"tags":{"name":"/app/pages/api/unsubscribe.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23957,"timestamp":123227635292,"id":491,"parentId":278,"tags":{"name":"/app/pages/api/media/getPrivateMedia.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":25184,"timestamp":123227635320,"id":492,"parentId":308,"tags":{"name":"/app/pages/api/updateClonedTableForeignKeys.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27330,"timestamp":123227635265,"id":490,"parentId":277,"tags":{"name":"/app/pages/api/media/addPrivateMedia.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27964,"timestamp":123227635353,"id":493,"parentId":306,"tags":{"name":"/app/pages/api/updateAdminUserAccess.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29308,"timestamp":123227635204,"id":488,"parentId":303,"tags":{"name":"/app/pages/api/sync-table-data.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29643,"timestamp":123227635382,"id":494,"parentId":293,"tags":{"name":"/app/pages/api/social-login/facebook-auth.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29981,"timestamp":123227635468,"id":497,"parentId":296,"tags":{"name":"/app/pages/api/social-login/utils/checkEmail.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31035,"timestamp":123227635410,"id":495,"parentId":294,"tags":{"name":"/app/pages/api/social-login/github-auth.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31895,"timestamp":123227635437,"id":496,"parentId":295,"tags":{"name":"/app/pages/api/social-login/google-auth.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32261,"timestamp":123227635495,"id":498,"parentId":297,"tags":{"name":"/app/pages/api/social-login/utils/getEmailFromSocialId.js","layer":"api"},"startTime":1734261937894,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7762,"timestamp":123227685071,"id":499,"parentId":298,"tags":{"name":"/app/pages/api/social-login/utils/checkSocialId.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8637,"timestamp":123227685221,"id":501,"parentId":280,"tags":{"name":"/app/pages/api/query/[user_id]/get.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9684,"timestamp":123227685255,"id":502,"parentId":281,"tags":{"name":"/app/pages/api/query/[user_id]/get-schema.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10737,"timestamp":123227685180,"id":500,"parentId":299,"tags":{"name":"/app/pages/api/sql-users/create.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":11805,"timestamp":123227685285,"id":503,"parentId":283,"tags":{"name":"/app/pages/api/query/[user_id]/update-schema-from-single-database.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12197,"timestamp":123227685377,"id":506,"parentId":302,"tags":{"name":"/app/pages/api/stream/[path].js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12932,"timestamp":123227685319,"id":504,"parentId":300,"tags":{"name":"/app/pages/api/sql-users/delete.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13768,"timestamp":123227685350,"id":505,"parentId":301,"tags":{"name":"/app/pages/api/sql-users/update.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14603,"timestamp":123227685403,"id":507,"parentId":309,"tags":{"name":"/app/pages/api/updateDbSchemaDataForUser.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15226,"timestamp":123227685463,"id":509,"parentId":310,"tags":{"name":"/app/pages/api/updateDbUser.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16081,"timestamp":123227685436,"id":508,"parentId":311,"tags":{"name":"/app/pages/api/updateTableEntry.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16885,"timestamp":123227685501,"id":510,"parentId":312,"tags":{"name":"/app/pages/api/updateUser.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20832,"timestamp":123227685588,"id":513,"parentId":305,"tags":{"name":"/app/pages/api/test/mail.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":21576,"timestamp":123227685561,"id":512,"parentId":314,"tags":{"name":"/app/pages/api/updateUserUser.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22838,"timestamp":123227685531,"id":511,"parentId":313,"tags":{"name":"/app/pages/api/updateUserDatabase.js","layer":"api"},"startTime":1734261937944,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7986,"timestamp":123227729974,"id":514,"parentId":307,"tags":{"name":"/app/pages/api/test/cors.js","layer":"api"},"startTime":1734261937989,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11020,"timestamp":123227730118,"id":515,"parentId":315,"tags":{"name":"/app/pages/api/updateUserTable.js","layer":"api"},"startTime":1734261937989,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":55,"timestamp":123227742393,"id":516,"parentId":415,"tags":{"name":"fs","layer":null},"startTime":1734261938001,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6003,"timestamp":123227742669,"id":519,"parentId":317,"tags":{"name":"/app/pages/api/user/[user_id]/add-user.js","layer":"api"},"startTime":1734261938001,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6627,"timestamp":123227742710,"id":520,"parentId":318,"tags":{"name":"/app/pages/api/user/[user_id]/delete-user.js","layer":"api"},"startTime":1734261938001,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7966,"timestamp":123227742486,"id":517,"parentId":329,"tags":{"name":"/app/pages/about.jsx","layer":null},"startTime":1734261938001,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8759,"timestamp":123227742610,"id":518,"parentId":316,"tags":{"name":"/app/pages/api/user-schema/replace-database-schema.js","layer":"api"},"startTime":1734261938001,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6565,"timestamp":123227752114,"id":523,"parentId":321,"tags":{"name":"/app/pages/api/user/[user_id]/google-login.js","layer":"api"},"startTime":1734261938011,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7325,"timestamp":123227751937,"id":521,"parentId":319,"tags":{"name":"/app/pages/api/user/[user_id]/get-user.js","layer":"api"},"startTime":1734261938011,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7703,"timestamp":123227752057,"id":522,"parentId":320,"tags":{"name":"/app/pages/api/user/[user_id]/github-login.js","layer":"api"},"startTime":1734261938011,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":40,"timestamp":123227761753,"id":530,"parentId":411,"tags":{"name":"next/dist/compiled/next-server/pages.runtime.prod.js","layer":null},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17,"timestamp":123227761822,"id":531,"parentId":412,"tags":{"name":"next/dist/compiled/next-server/pages-api.runtime.prod.js","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20,"timestamp":123227762130,"id":538,"parentId":417,"tags":{"name":"path","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22,"timestamp":123227762290,"id":541,"parentId":418,"tags":{"name":"child_process","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21,"timestamp":123227762644,"id":549,"parentId":415,"tags":{"name":"lodash","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11459,"timestamp":123227761565,"id":526,"parentId":323,"tags":{"name":"/app/pages/api/user/[user_id]/login-user.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12212,"timestamp":123227761383,"id":524,"parentId":322,"tags":{"name":"/app/pages/api/user/[user_id]/grab-google-user-from-token.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12550,"timestamp":123227761508,"id":525,"parentId":324,"tags":{"name":"/app/pages/api/user/[user_id]/reauth-user.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12951,"timestamp":123227761612,"id":527,"parentId":325,"tags":{"name":"/app/pages/api/user/[user_id]/send-email-code.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13378,"timestamp":123227761654,"id":528,"parentId":326,"tags":{"name":"/app/pages/api/user/[user_id]/update-user.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16058,"timestamp":123227761708,"id":529,"parentId":327,"tags":{"name":"/app/pages/api/webhooks/github-push.js","layer":"api"},"startTime":1734261938020,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17513,"timestamp":123227761850,"id":532,"parentId":328,"tags":{"name":"/app/pages/admin/[user_id]/api-keys/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18417,"timestamp":123227761907,"id":533,"parentId":330,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/edit-database.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19612,"timestamp":123227761952,"id":534,"parentId":331,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/connect.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20967,"timestamp":123227762003,"id":535,"parentId":333,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22170,"timestamp":123227762045,"id":536,"parentId":334,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/schema.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":23144,"timestamp":123227762085,"id":537,"parentId":335,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/shell.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":23948,"timestamp":123227762338,"id":542,"parentId":332,"tags":{"name":"/app/pages/admin/[user_id]/connect/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24892,"timestamp":123227762391,"id":543,"parentId":336,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25892,"timestamp":123227762444,"id":544,"parentId":343,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26948,"timestamp":123227762524,"id":546,"parentId":337,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28078,"timestamp":123227762486,"id":545,"parentId":340,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29211,"timestamp":123227762559,"id":547,"parentId":338,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":30139,"timestamp":123227762605,"id":548,"parentId":339,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":978425,"timestamp":123226814850,"id":79,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fhealthcheck&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fhealthcheck.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":978366,"timestamp":123226814942,"id":115,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ftest%2Fcors&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fcors.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":978406,"timestamp":123226814929,"id":110,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fstream%2F%5Bpath%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fstream%2F%5Bpath%5D.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":41828,"timestamp":123227762743,"id":551,"parentId":341,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":42366,"timestamp":123227762929,"id":553,"parentId":348,"tags":{"name":"/app/pages/admin/[user_id]/databases/add-database.jsx","layer":null},"startTime":1734261938022,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":43792,"timestamp":123227762792,"id":552,"parentId":344,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/add-table.jsx","layer":null},"startTime":1734261938022,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":56918,"timestamp":123227762178,"id":539,"parentId":404,"tags":{"name":"/app/node_modules/next/script.js","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":69277,"timestamp":123227762684,"id":550,"parentId":408,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head.js","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":82922,"timestamp":123227762230,"id":540,"parentId":405,"tags":{"name":"/app/node_modules/next/dist/pages/_document.js","layer":null},"startTime":1734261938021,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11294,"timestamp":123227923112,"id":554,"parentId":352,"tags":{"name":"/app/pages/admin/[user_id]/settings.jsx","layer":null},"startTime":1734261938182,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10402,"timestamp":123227926162,"id":556,"parentId":349,"tags":{"name":"/app/pages/admin/[user_id]/databases/index.jsx","layer":null},"startTime":1734261938185,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11310,"timestamp":123227926060,"id":555,"parentId":350,"tags":{"name":"/app/pages/admin/[user_id]/index.jsx","layer":null},"startTime":1734261938185,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12206,"timestamp":123227926208,"id":557,"parentId":354,"tags":{"name":"/app/pages/admin/[user_id]/schema.jsx","layer":null},"startTime":1734261938185,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13313,"timestamp":123227926246,"id":558,"parentId":345,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx","layer":null},"startTime":1734261938185,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14375,"timestamp":123227926279,"id":559,"parentId":347,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-user.jsx","layer":null},"startTime":1734261938185,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":39,"timestamp":123227955577,"id":566,"parentId":418,"tags":{"name":"generate-password","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":17,"timestamp":123227955934,"id":576,"parentId":427,"tags":{"name":"os","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8963,"timestamp":123227955474,"id":563,"parentId":342,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10283,"timestamp":123227955436,"id":562,"parentId":355,"tags":{"name":"/app/pages/admin/[user_id]/media/index.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11738,"timestamp":123227955278,"id":560,"parentId":351,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/index.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13056,"timestamp":123227955386,"id":561,"parentId":353,"tags":{"name":"/app/pages/admin/[user_id]/media/[...folder].jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13693,"timestamp":123227955637,"id":567,"parentId":361,"tags":{"name":"/app/pages/admin/index.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14540,"timestamp":123227955539,"id":565,"parentId":356,"tags":{"name":"/app/pages/admin/[user_id]/users/add-user.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15788,"timestamp":123227955507,"id":564,"parentId":346,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16030,"timestamp":123227955785,"id":571,"parentId":364,"tags":{"name":"/app/pages/api/fetch-media.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16604,"timestamp":123227955754,"id":570,"parentId":363,"tags":{"name":"/app/pages/api/exportTableData.js","layer":"api"},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18010,"timestamp":123227955716,"id":569,"parentId":360,"tags":{"name":"/app/pages/admin/[user_id]/users/index.jsx","layer":null},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20383,"timestamp":123227955681,"id":568,"parentId":362,"tags":{"name":"/app/pages/api/addUserMedia.js","layer":"api"},"startTime":1734261938214,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21151,"timestamp":123227955814,"id":572,"parentId":359,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/index.jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21797,"timestamp":123227955843,"id":573,"parentId":358,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/index.jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22459,"timestamp":123227955876,"id":574,"parentId":357,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/[user].jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":23120,"timestamp":123227955904,"id":575,"parentId":371,"tags":{"name":"/app/pages/contact.jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":26025,"timestamp":123227955965,"id":577,"parentId":366,"tags":{"name":"/app/pages/api/query/[user_id]/get-private-file.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26798,"timestamp":123227956062,"id":580,"parentId":374,"tags":{"name":"/app/pages/index.jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27819,"timestamp":123227956005,"id":578,"parentId":367,"tags":{"name":"/app/pages/api/query/[user_id]/delete-file.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":28716,"timestamp":123227956035,"id":579,"parentId":365,"tags":{"name":"/app/pages/api/query/[user_id]/add-image.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36636,"timestamp":123227956122,"id":582,"parentId":369,"tags":{"name":"/app/pages/api/query/[user_id]/post.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":38000,"timestamp":123227956090,"id":581,"parentId":375,"tags":{"name":"/app/pages/create-account.jsx","layer":null},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38874,"timestamp":123227956150,"id":583,"parentId":368,"tags":{"name":"/app/pages/api/query/[user_id]/add-file.js","layer":"api"},"startTime":1734261938215,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1193611,"timestamp":123226815084,"id":173,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ffetch-media&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-media.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9633,"timestamp":123228043379,"id":586,"parentId":379,"tags":{"name":"/app/pages/privacy.jsx","layer":null},"startTime":1734261938302,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10532,"timestamp":123228043412,"id":587,"parentId":381,"tags":{"name":"/app/pages/redirect.jsx","layer":null},"startTime":1734261938302,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11363,"timestamp":123228043240,"id":584,"parentId":378,"tags":{"name":"/app/pages/login.jsx","layer":null},"startTime":1734261938302,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12997,"timestamp":123228043338,"id":585,"parentId":377,"tags":{"name":"/app/pages/logout.jsx","layer":null},"startTime":1734261938302,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":2003,"timestamp":123228066372,"id":605,"parentId":404,"tags":{"name":"/app/styles/less.css","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":1732,"timestamp":123228066728,"id":606,"parentId":404,"tags":{"name":"/app/styles/tailwind.css","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7490,"timestamp":123228065678,"id":588,"parentId":370,"tags":{"name":"/app/pages/blog/index.jsx","layer":null},"startTime":1734261938324,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8117,"timestamp":123228065786,"id":589,"parentId":372,"tags":{"name":"/app/pages/docs/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9008,"timestamp":123228065872,"id":591,"parentId":373,"tags":{"name":"/app/pages/docs/[page]/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10395,"timestamp":123228065835,"id":590,"parentId":376,"tags":{"name":"/app/pages/email-verification/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10691,"timestamp":123228065996,"id":594,"parentId":382,"tags":{"name":"/app/pages/su/console.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11618,"timestamp":123228065906,"id":592,"parentId":384,"tags":{"name":"/app/pages/send-password-reset-link.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11918,"timestamp":123228066033,"id":595,"parentId":383,"tags":{"name":"/app/pages/su/backups.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13451,"timestamp":123228065941,"id":593,"parentId":390,"tags":{"name":"/app/pages/reset-password.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14259,"timestamp":123228066101,"id":597,"parentId":391,"tags":{"name":"/app/pages/su/envar.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14729,"timestamp":123228066140,"id":598,"parentId":385,"tags":{"name":"/app/pages/su/docs/create-page.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":16532,"timestamp":123228066067,"id":596,"parentId":380,"tags":{"name":"/app/pages/docs/[page]/[sub-page]/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":23527,"timestamp":123228066174,"id":599,"parentId":386,"tags":{"name":"/app/pages/su/docs/edit-page.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24017,"timestamp":123228066207,"id":600,"parentId":387,"tags":{"name":"/app/pages/su/docs/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24513,"timestamp":123228066276,"id":602,"parentId":389,"tags":{"name":"/app/pages/su/docs/pages/index.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25060,"timestamp":123228066239,"id":601,"parentId":388,"tags":{"name":"/app/pages/su/docs/pages/[id].jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":24832,"timestamp":123228066775,"id":607,"parentId":414,"tags":{"name":"/app/functions/frontend/clientAuthUser.js","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25639,"timestamp":123228066341,"id":604,"parentId":392,"tags":{"name":"/app/pages/su/error-logs.jsx","layer":null},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27337,"timestamp":123228066308,"id":603,"parentId":416,"tags":{"name":"/app/functions/backend/userAuth.js","layer":"api"},"startTime":1734261938325,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27485,"timestamp":123228066820,"id":608,"parentId":413,"tags":{"name":"/app/functions/frontend/fetchApi.js","layer":null},"startTime":1734261938326,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":28352,"timestamp":123228066859,"id":609,"parentId":415,"tags":{"name":"/app/package-shared/functions/backend/serverError.js","layer":"api"},"startTime":1734261938326,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5313,"timestamp":123228132182,"id":610,"parentId":394,"tags":{"name":"/app/pages/su/index.jsx","layer":null},"startTime":1734261938391,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5792,"timestamp":123228132319,"id":612,"parentId":395,"tags":{"name":"/app/pages/su/servers.jsx","layer":null},"startTime":1734261938391,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6300,"timestamp":123228132281,"id":611,"parentId":393,"tags":{"name":"/app/pages/su/load-balancing.jsx","layer":null},"startTime":1734261938391,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7318,"timestamp":123228132356,"id":613,"parentId":397,"tags":{"name":"/app/pages/su/login.jsx","layer":null},"startTime":1734261938391,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8244,"timestamp":123228132386,"id":614,"parentId":404,"tags":{"name":"/app/components/ErrorBoundary.jsx","layer":null},"startTime":1734261938391,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5455,"timestamp":123228154085,"id":615,"parentId":414,"tags":{"name":"/app/layouts/GeneralLayout.jsx","layer":null},"startTime":1734261938413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5834,"timestamp":123228154227,"id":617,"parentId":421,"tags":{"name":"/app/functions/backend/checkUserRights.js","layer":"api"},"startTime":1734261938413,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6493,"timestamp":123228154261,"id":618,"parentId":400,"tags":{"name":"/app/pages/terms.jsx","layer":null},"startTime":1734261938413,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7108,"timestamp":123228154187,"id":616,"parentId":414,"tags":{"name":"/app/components/general/PageHeadTags.jsx","layer":null},"startTime":1734261938413,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":37,"timestamp":123228176535,"id":628,"parentId":470,"tags":{"name":"util","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":14,"timestamp":123228176598,"id":629,"parentId":470,"tags":{"name":"url","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4945,"timestamp":123228176274,"id":620,"parentId":421,"tags":{"name":"/app/functions/backend/grabDelegatedUserFromCookie.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5584,"timestamp":123228176349,"id":622,"parentId":396,"tags":{"name":"/app/pages/su/users/[single].jsx","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6560,"timestamp":123228176315,"id":621,"parentId":416,"tags":{"name":"/app/package-shared/functions/backend/addAdminUserOnLogin.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7981,"timestamp":123228176169,"id":619,"parentId":401,"tags":{"name":"/app/pages/unsubscribe.jsx","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8295,"timestamp":123228176414,"id":624,"parentId":399,"tags":{"name":"/app/pages/su/users/new.jsx","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8839,"timestamp":123228176384,"id":623,"parentId":398,"tags":{"name":"/app/pages/su/users/index.jsx","layer":null},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12195,"timestamp":123228176442,"id":625,"parentId":422,"tags":{"name":"/app/package-shared/functions/backend/handleNodemailer.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12659,"timestamp":123228176623,"id":630,"parentId":426,"tags":{"name":"/app/functions/backend/suAdminUserAuth.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14003,"timestamp":123228176505,"id":627,"parentId":417,"tags":{"name":"/app/package-shared/functions/backend/db/sanitizeSql.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15818,"timestamp":123228176470,"id":626,"parentId":415,"tags":{"name":"/app/package-shared/functions/backend/db/addDbEntry.js","layer":"api"},"startTime":1734261938435,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":938,"timestamp":123228203032,"id":632,"parentId":424,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":1018,"timestamp":123228203060,"id":633,"parentId":424,"tags":{"name":"/app/package-shared/data/presets/users.json","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4102,"timestamp":123228203080,"id":634,"parentId":477,"tags":{"name":"/app/package-shared/functions/dsql/encrypt.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4836,"timestamp":123228202887,"id":631,"parentId":415,"tags":{"name":"/app/package-shared/utils/backend/global-db/DB_HANDLER.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4922,"timestamp":123228203116,"id":635,"parentId":419,"tags":{"name":"/app/package-shared/functions/dsql/hashPassword.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7139,"timestamp":123228203170,"id":636,"parentId":421,"tags":{"name":"/app/package-shared/utils/backend/global-db/DSQL_USER_DB_HANDLER.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7521,"timestamp":123228203218,"id":637,"parentId":429,"tags":{"name":"/app/functions/backend/copyFolderRecursively.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7998,"timestamp":123228203251,"id":638,"parentId":435,"tags":{"name":"/app/functions/backend/admin/addDocPage.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8297,"timestamp":123228203282,"id":639,"parentId":435,"tags":{"name":"/app/functions/backend/admin/getSnippets.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9321,"timestamp":123228203349,"id":641,"parentId":435,"tags":{"name":"/app/functions/backend/admin/grabChildPages.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9602,"timestamp":123228203320,"id":640,"parentId":435,"tags":{"name":"/app/functions/backend/admin/deleteDocPage.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9777,"timestamp":123228203378,"id":642,"parentId":435,"tags":{"name":"/app/functions/backend/admin/grabParentPages.js","layer":"api"},"startTime":1734261938462,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5019,"timestamp":123228208448,"id":647,"parentId":423,"tags":{"name":"/app/package-shared/functions/backend/setUserSchemaData.js","layer":"api"},"startTime":1734261938467,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5337,"timestamp":123228208408,"id":646,"parentId":423,"tags":{"name":"/app/package-shared/functions/backend/grabUserSchemaData.js","layer":"api"},"startTime":1734261938467,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5799,"timestamp":123228208370,"id":645,"parentId":421,"tags":{"name":"/app/functions/backend/handleTableEntryOrder.js","layer":"api"},"startTime":1734261938467,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9512,"timestamp":123228208227,"id":643,"parentId":435,"tags":{"name":"/app/functions/backend/admin/persistDocs.js","layer":"api"},"startTime":1734261938467,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":42,"timestamp":123228220093,"id":653,"parentId":529,"tags":{"name":"http","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":16,"timestamp":123228220158,"id":654,"parentId":529,"tags":{"name":"crypto","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4944,"timestamp":123228219790,"id":648,"parentId":450,"tags":{"name":"/app/functions/backend/deleteFolderRecursively.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5523,"timestamp":123228219917,"id":649,"parentId":455,"tags":{"name":"/app/functions/backend/exportDb.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6055,"timestamp":123228220016,"id":651,"parentId":436,"tags":{"name":"/app/package-shared/functions/backend/varDatabaseDbHandler.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7113,"timestamp":123228219967,"id":650,"parentId":466,"tags":{"name":"/app/functions/backend/createDbSchemaFromDb.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7506,"timestamp":123228220187,"id":655,"parentId":533,"tags":{"name":"/app/functions/backend/userAuth.js","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7989,"timestamp":123228220246,"id":656,"parentId":478,"tags":{"name":"/app/functions/backend/reAuthUser.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1413317,"timestamp":123226814990,"id":135,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fwebhooks%2Fgithub-push&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fwebhooks%2Fgithub-push.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11099,"timestamp":123228220288,"id":657,"parentId":445,"tags":{"name":"/app/package-shared/functions/dsql/decrypt.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11558,"timestamp":123228220325,"id":658,"parentId":495,"tags":{"name":"/app/package-shared/shell/utils/camelJoinedtoCamelSpace.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12013,"timestamp":123228220362,"id":659,"parentId":535,"tags":{"name":"/app/functions/backend/grabDelegatedUserFromCookie.js","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-cjs","duration":25099,"timestamp":123228208328,"id":644,"parentId":408,"tags":{"name":"/app/node_modules/@swc/helpers/cjs/_interop_require_default.cjs","layer":null},"startTime":1734261938467,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13848,"timestamp":123228220397,"id":660,"parentId":532,"tags":{"name":"/app/package-shared/functions/dsql/decrypt.js","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15988,"timestamp":123228220055,"id":652,"parentId":424,"tags":{"name":"/app/package-shared/shell/createDbFromSchema.js","layer":"api"},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16052,"timestamp":123228220426,"id":661,"parentId":534,"tags":{"name":"/app/package-shared/functions/backend/grabUserSchemaData.js","layer":null},"startTime":1734261938479,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6318,"timestamp":123228237240,"id":664,"parentId":453,"tags":{"name":"/app/functions/backend/grabPaths.js","layer":"api"},"startTime":1734261938496,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6764,"timestamp":123228237192,"id":663,"parentId":532,"tags":{"name":"/app/package-shared/utils/backend/global-db/DB_HANDLER.js","layer":null},"startTime":1734261938496,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7397,"timestamp":123228237067,"id":662,"parentId":534,"tags":{"name":"/app/package-shared/functions/backend/varDatabaseDbHandler.js","layer":null},"startTime":1734261938496,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7757,"timestamp":123228237279,"id":665,"parentId":445,"tags":{"name":"/app/package-shared/functions/backend/api-cred.js","layer":"api"},"startTime":1734261938496,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28,"timestamp":123228247631,"id":674,"parentId":496,"tags":{"name":"google-auth-library","layer":null},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1435441,"timestamp":123226814877,"id":89,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-schema.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1435246,"timestamp":123226815089,"id":175,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget-private-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4629,"timestamp":123228247239,"id":666,"parentId":444,"tags":{"name":"/app/package-shared/functions/backend/noDatabaseDbHandler.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5037,"timestamp":123228247350,"id":667,"parentId":445,"tags":{"name":"/app/package-shared/functions/backend/db/deleteDbEntry.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5553,"timestamp":123228247441,"id":668,"parentId":510,"tags":{"name":"/app/functions/backend/fsWriteImageToDisk.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5983,"timestamp":123228247479,"id":669,"parentId":495,"tags":{"name":"/app/package-shared/functions/api/social-login/githubLogin.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6505,"timestamp":123228247572,"id":672,"parentId":471,"tags":{"name":"/app/functions/backend/dbSchemaExec.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1439135,"timestamp":123226814978,"id":130,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgrab-google-user-from-token.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8964,"timestamp":123228247599,"id":673,"parentId":475,"tags":{"name":"/app/package-shared/functions/backend/cookies/get-auth-cookie-names.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9726,"timestamp":123228247544,"id":671,"parentId":546,"tags":{"name":"/app/package-shared/functions/backend/serverError.js","layer":null},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10140,"timestamp":123228247675,"id":675,"parentId":488,"tags":{"name":"/app/functions/backend/delegatedUser.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11390,"timestamp":123228247514,"id":670,"parentId":494,"tags":{"name":"/app/package-shared/functions/api/social-login/handleSocialDb.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11787,"timestamp":123228247733,"id":676,"parentId":488,"tags":{"name":"/app/functions/backend/importExportTableDataFn.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11983,"timestamp":123228247764,"id":677,"parentId":477,"tags":{"name":"/app/functions/backend/delay.js","layer":"api"},"startTime":1734261938506,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12279,"timestamp":123228247798,"id":678,"parentId":553,"tags":{"name":"/app/package-shared/functions/backend/noDatabaseDbHandler.js","layer":null},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12776,"timestamp":123228247826,"id":679,"parentId":480,"tags":{"name":"/app/package-shared/functions/backend/addMariadbUser.js","layer":"api"},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14149,"timestamp":123228247907,"id":682,"parentId":507,"tags":{"name":"/app/functions/backend/updateSchemaData.js","layer":"api"},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14857,"timestamp":123228247877,"id":681,"parentId":473,"tags":{"name":"/app/package-shared/functions/backend/httpsRequest.js","layer":"api"},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15938,"timestamp":123228247852,"id":680,"parentId":480,"tags":{"name":"/app/package-shared/functions/backend/db/updateDbEntry.js","layer":"api"},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7135,"timestamp":123228268079,"id":693,"parentId":551,"tags":{"name":"/app/functions/frontend/updateTableAfterFieldsUpdateFunctionExt.js","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8126,"timestamp":123228268014,"id":691,"parentId":533,"tags":{"name":"/app/layouts/AdminLayout.jsx","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22235,"timestamp":123228254439,"id":684,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/get-page-files.js","layer":null},"startTime":1734261938513,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22828,"timestamp":123228254510,"id":685,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/htmlescape.js","layer":null},"startTime":1734261938513,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11339,"timestamp":123228268047,"id":692,"parentId":533,"tags":{"name":"/app/components/general/ExtraContentDatabase.jsx","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32126,"timestamp":123228247934,"id":683,"parentId":550,"tags":{"name":"/app/node_modules/next/dist/shared/lib/side-effect.js","layer":null},"startTime":1734261938507,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7510,"timestamp":123228273008,"id":698,"parentId":517,"tags":{"name":"/app/components/pages/homepage/BriefIntroSection.jsx","layer":null},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7843,"timestamp":123228273043,"id":699,"parentId":517,"tags":{"name":"/app/components/pages/homepage/FooterCta.jsx","layer":null},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11402,"timestamp":123228273079,"id":700,"parentId":517,"tags":{"name":"/app/components/pages/homepage/MainFeaturesSection.jsx","layer":null},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12776,"timestamp":123228272957,"id":697,"parentId":500,"tags":{"name":"/app/package-shared/shell/mariadb-users/refreshUsersAndGrants.js","layer":"api"},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31747,"timestamp":123228254612,"id":687,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/shared/lib/encode-uri-path.js","layer":null},"startTime":1734261938513,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33506,"timestamp":123228254547,"id":686,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/shared/lib/constants.js","layer":null},"startTime":1734261938513,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23712,"timestamp":123228267982,"id":690,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/utils.js","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27367,"timestamp":123228267834,"id":688,"parentId":550,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-mode.js","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":23300,"timestamp":123228272778,"id":694,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/lib/is-error.js","layer":null},"startTime":1734261938531,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23925,"timestamp":123228272853,"id":695,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/lib/pretty-bytes.js","layer":null},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31494,"timestamp":123228267937,"id":689,"parentId":539,"tags":{"name":"/app/node_modules/next/dist/client/script.js","layer":null},"startTime":1734261938527,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33983,"timestamp":123228272887,"id":696,"parentId":550,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils/warn-once.js","layer":null},"startTime":1734261938532,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":796,"timestamp":123228307890,"id":711,"parentId":552,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5248,"timestamp":123228307720,"id":706,"parentId":521,"tags":{"name":"/app/package-shared/functions/api/users/api-get-user.js","layer":"api"},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5639,"timestamp":123228307674,"id":705,"parentId":520,"tags":{"name":"/app/package-shared/functions/api/users/api-delete-user.js","layer":"api"},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6267,"timestamp":123228307573,"id":703,"parentId":501,"tags":{"name":"/app/package-shared/functions/api/query/get.js","layer":"api"},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6951,"timestamp":123228307636,"id":704,"parentId":519,"tags":{"name":"/app/package-shared/functions/api/users/api-create-user.js","layer":"api"},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7343,"timestamp":123228307798,"id":708,"parentId":525,"tags":{"name":"/app/package-shared/functions/api/users/api-reauth-user.js","layer":"api"},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8147,"timestamp":123228307829,"id":709,"parentId":527,"tags":{"name":"/app/package-shared/functions/api/users/api-send-email-code.js","layer":"api"},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9080,"timestamp":123228307767,"id":707,"parentId":526,"tags":{"name":"/app/package-shared/functions/api/users/api-login.js","layer":"api"},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9619,"timestamp":123228307857,"id":710,"parentId":528,"tags":{"name":"/app/package-shared/functions/api/users/api-update-user.js","layer":"api"},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10059,"timestamp":123228307909,"id":712,"parentId":561,"tags":{"name":"/app/functions/backend/grabPaths.js","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1504991,"timestamp":123226814969,"id":126,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fdelete-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13886,"timestamp":123228307936,"id":713,"parentId":517,"tags":{"name":"/app/components/pages/about/Hero.jsx","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14674,"timestamp":123228307964,"id":714,"parentId":535,"tags":{"name":"/app/components/admin/databases/DeleteDatabaseConfirmationPopup.jsx","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15208,"timestamp":123228307997,"id":715,"parentId":533,"tags":{"name":"/app/components/admin/databases/UserMediaPopup.jsx","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18121,"timestamp":123228308024,"id":716,"parentId":535,"tags":{"name":"/app/components/admin/databases/SingleDatabasesContent.jsx","layer":null},"startTime":1734261938567,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1512519,"timestamp":123226814980,"id":131,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Flogin-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1514148,"timestamp":123226814987,"id":134,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fupdate-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36508,"timestamp":123228307471,"id":701,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/tracer.js","layer":null},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36703,"timestamp":123228307537,"id":702,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/utils.js","layer":null},"startTime":1734261938566,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8845,"timestamp":123228336352,"id":717,"parentId":533,"tags":{"name":"/app/components/admin/databases/EditDatabaseContent.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9073,"timestamp":123228336553,"id":720,"parentId":535,"tags":{"name":"/app/components/admin/databases/DeleteTableConfirmationPopup.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9981,"timestamp":123228336514,"id":719,"parentId":536,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaContent.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11040,"timestamp":123228336463,"id":718,"parentId":537,"tags":{"name":"/app/components/admin/databases/DatabaseShellContent.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11516,"timestamp":123228336586,"id":721,"parentId":522,"tags":{"name":"/app/package-shared/functions/api/users/social/api-github-login.js","layer":"api"},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12092,"timestamp":123228336630,"id":722,"parentId":523,"tags":{"name":"/app/package-shared/functions/api/users/social/api-google-login.js","layer":"api"},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13102,"timestamp":123228336664,"id":723,"parentId":545,"tags":{"name":"/app/functions/backend/grabTableSchemaData.js","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14046,"timestamp":123228336693,"id":724,"parentId":544,"tags":{"name":"/app/components/admin/databases/TablesContent.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14929,"timestamp":123228336721,"id":725,"parentId":547,"tags":{"name":"/app/components/admin/databases/SingleEntryContent.jsx","layer":null},"startTime":1734261938595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5146,"timestamp":123228378315,"id":729,"parentId":581,"tags":{"name":"/app/package-shared/functions/backend/cookies/get-auth-cookie-names.js","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5995,"timestamp":123228378043,"id":726,"parentId":546,"tags":{"name":"/app/components/admin/databases/AddTableEntryContent.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6332,"timestamp":123228378258,"id":728,"parentId":581,"tags":{"name":"/app/package-shared/functions/backend/addAdminUserOnLogin.js","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6492,"timestamp":123228378413,"id":730,"parentId":552,"tags":{"name":"/app/components/admin/databases/EditFieldPopup.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6759,"timestamp":123228378471,"id":731,"parentId":552,"tags":{"name":"/app/components/admin/databases/AddTableContent.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8218,"timestamp":123228378192,"id":727,"parentId":548,"tags":{"name":"/app/components/admin/databases/TableEntriesContent.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8253,"timestamp":123228378516,"id":732,"parentId":553,"tags":{"name":"/app/components/admin/databases/AddDatabaseContent.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8803,"timestamp":123228378559,"id":733,"parentId":551,"tags":{"name":"/app/components/admin/databases/TableFieldsContent.jsx","layer":null},"startTime":1734261938637,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":42,"timestamp":123228409965,"id":734,"parentId":584,"tags":{"name":"next/head","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3797,"timestamp":123228410034,"id":735,"parentId":594,"tags":{"name":"/app/functions/backend/suAdminUserAuth.js","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4053,"timestamp":123228410283,"id":741,"parentId":532,"tags":{"name":"/app/components/admin/api-keys/ApiKeysContent.jsx","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4731,"timestamp":123228410221,"id":739,"parentId":543,"tags":{"name":"/app/components/admin/databases/EditTableContent.jsx","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17456,"timestamp":123228410129,"id":736,"parentId":550,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17552,"timestamp":123228410192,"id":738,"parentId":540,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17691,"timestamp":123228410165,"id":737,"parentId":550,"tags":{"name":"/app/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-cjs","duration":18215,"timestamp":123228410258,"id":740,"parentId":550,"tags":{"name":"/app/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","layer":null},"startTime":1734261938669,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5705,"timestamp":123228423262,"id":745,"parentId":542,"tags":{"name":"/app/components/admin/connect/ConnectContent.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6049,"timestamp":123228423184,"id":743,"parentId":532,"tags":{"name":"/app/components/admin/api-keys/TargetApiKeyPreviewPopup.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6456,"timestamp":123228423226,"id":744,"parentId":534,"tags":{"name":"/app/components/admin/databases/connect/DatabaseConnectContent.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6602,"timestamp":123228423332,"id":747,"parentId":542,"tags":{"name":"/app/components/admin/connect/NewMariadbUserPopup.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7729,"timestamp":123228423079,"id":742,"parentId":532,"tags":{"name":"/app/components/admin/api-keys/AddNewApiKeyPopup.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7875,"timestamp":123228423301,"id":746,"parentId":542,"tags":{"name":"/app/components/admin/connect/EditMariadbUserPopup.jsx","layer":null},"startTime":1734261938682,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7739,"timestamp":123228436971,"id":749,"parentId":557,"tags":{"name":"/app/components/general/VerificationBanner.jsx","layer":null},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8539,"timestamp":123228437018,"id":750,"parentId":557,"tags":{"name":"/app/components/general/Breadcrumbs.jsx","layer":null},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9262,"timestamp":123228437057,"id":751,"parentId":557,"tags":{"name":"/app/components/admin/databases/UserSchemaContent.jsx","layer":null},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10646,"timestamp":123228436862,"id":748,"parentId":545,"tags":{"name":"/app/components/admin/databases/SingleTableContent.jsx","layer":null},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11019,"timestamp":123228437132,"id":753,"parentId":554,"tags":{"name":"/app/components/admin/settings/SettingsContent.jsx","layer":null},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11708,"timestamp":123228437094,"id":752,"parentId":568,"tags":{"name":"/app/functions/backend/fsWriteImageToDiskFromBase64.js","layer":"api"},"startTime":1734261938696,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8870,"timestamp":123228460054,"id":754,"parentId":555,"tags":{"name":"/app/components/admin/dashboard/DashboardContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9013,"timestamp":123228460230,"id":756,"parentId":562,"tags":{"name":"/app/components/general/LoadingBlock.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9502,"timestamp":123228460184,"id":755,"parentId":562,"tags":{"name":"/app/components/general/UploadFileComponent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9782,"timestamp":123228460267,"id":757,"parentId":562,"tags":{"name":"/app/components/general/UploadImageComponent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9896,"timestamp":123228460344,"id":759,"parentId":585,"tags":{"name":"/app/functions/frontend/clearCaches.js","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10236,"timestamp":123228460309,"id":758,"parentId":545,"tags":{"name":"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10462,"timestamp":123228460528,"id":764,"parentId":560,"tags":{"name":"/app/components/admin/users/DbUsersContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11279,"timestamp":123228460494,"id":763,"parentId":559,"tags":{"name":"/app/components/admin/users/DbAddNewUserContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11565,"timestamp":123228460559,"id":765,"parentId":556,"tags":{"name":"/app/components/admin/databases/DatabasesContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13077,"timestamp":123228460377,"id":760,"parentId":569,"tags":{"name":"/app/components/admin/users/TargetUserPreviewPopup.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14239,"timestamp":123228460454,"id":762,"parentId":558,"tags":{"name":"/app/components/admin/users/SocialLoginsContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14579,"timestamp":123228460598,"id":766,"parentId":562,"tags":{"name":"/app/components/admin/media/MediaContent.jsx","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":41,"timestamp":123228494293,"id":772,"parentId":634,"tags":{"name":"buffer","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":40701,"timestamp":123228460409,"id":761,"parentId":594,"tags":{"name":"/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1734261938719,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8060,"timestamp":123228494173,"id":769,"parentId":562,"tags":{"name":"/app/components/admin/media/NewFolderPopup.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8936,"timestamp":123228494001,"id":767,"parentId":562,"tags":{"name":"/app/components/admin/media/NewMediaPopup.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9256,"timestamp":123228494213,"id":770,"parentId":562,"tags":{"name":"/app/components/admin/media/ChooseMediaTypePopup.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10450,"timestamp":123228494125,"id":768,"parentId":562,"tags":{"name":"/app/components/admin/media/TargetMediaPreviewPopup.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10545,"timestamp":123228494375,"id":773,"parentId":572,"tags":{"name":"/app/components/admin/users/AllDatabasesUsersContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11218,"timestamp":123228494251,"id":771,"parentId":561,"tags":{"name":"/app/components/admin/media/MediaFolderContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11635,"timestamp":123228494431,"id":774,"parentId":569,"tags":{"name":"/app/components/admin/users/UsersContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12011,"timestamp":123228494516,"id":776,"parentId":582,"tags":{"name":"/app/package-shared/functions/api/query/post.js","layer":"api"},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13045,"timestamp":123228494599,"id":778,"parentId":573,"tags":{"name":"/app/components/admin/users/SingleDatabaseUsersContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14420,"timestamp":123228494557,"id":777,"parentId":574,"tags":{"name":"/app/components/admin/users/SingleDatabaseSingleUserContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16455,"timestamp":123228494481,"id":775,"parentId":565,"tags":{"name":"/app/components/admin/users/AddNewUserContent.jsx","layer":null},"startTime":1734261938753,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1696605,"timestamp":123226814763,"id":46,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FloginSuUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FloginSuUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1696610,"timestamp":123226814782,"id":53,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Findex.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697377,"timestamp":123226814605,"id":34,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclearErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclearErrorLogs.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697378,"timestamp":123226814616,"id":36,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FcreateNewBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FcreateNewBackup.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697306,"timestamp":123226814699,"id":41,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabBackups.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697268,"timestamp":123226814742,"id":42,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabErrorLogs&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabErrorLogs.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697379,"timestamp":123226814636,"id":39,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserBackups&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserBackups.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697260,"timestamp":123226814758,"id":44,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgrabFile&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgrabFile.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1697261,"timestamp":123226814761,"id":45,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FupdateEnv&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FupdateEnv.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5168,"timestamp":123228529852,"id":779,"parentId":562,"tags":{"name":"/app/components/general/UploadVideoComponent.jsx","layer":null},"startTime":1734261938789,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6952,"timestamp":123228530035,"id":782,"parentId":584,"tags":{"name":"/app/components/general/Logo.jsx","layer":null},"startTime":1734261938789,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7341,"timestamp":123228529997,"id":781,"parentId":580,"tags":{"name":"/app/components/pages/homepage/FeaturesSummarySection.jsx","layer":null},"startTime":1734261938789,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7812,"timestamp":123228529958,"id":780,"parentId":580,"tags":{"name":"/app/components/pages/homepage/Hero2.jsx","layer":null},"startTime":1734261938789,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8098,"timestamp":123228530067,"id":783,"parentId":594,"tags":{"name":"/app/layouts/SuAdminLayout.jsx","layer":null},"startTime":1734261938789,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5856,"timestamp":123228542410,"id":786,"parentId":652,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":"api"},"startTime":1734261938801,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6122,"timestamp":123228542444,"id":787,"parentId":575,"tags":{"name":"/app/components/pages/contact/ContactHero.jsx","layer":null},"startTime":1734261938801,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":7026,"timestamp":123228542372,"id":785,"parentId":563,"tags":{"name":"/app/components/admin/users/ChangeDbUserPassword.jsx","layer":null},"startTime":1734261938801,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7547,"timestamp":123228542473,"id":788,"parentId":575,"tags":{"name":"/app/components/pages/contact/ContactForm.jsx","layer":null},"startTime":1734261938801,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8045,"timestamp":123228542508,"id":789,"parentId":662,"tags":{"name":"/app/package-shared/utils/backend/global-db/DSQL_USER_DB_HANDLER.js","layer":null},"startTime":1734261938801,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9224,"timestamp":123228542274,"id":784,"parentId":564,"tags":{"name":"/app/components/admin/users/SingleDbUserContent.jsx","layer":null},"startTime":1734261938801,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":62,"timestamp":123228558478,"id":791,"parentId":681,"tags":{"name":"https","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":18,"timestamp":123228558910,"id":799,"parentId":626,"tags":{"name":"sanitize-html","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12,"timestamp":123228559197,"id":808,"parentId":689,"tags":{"name":"react-dom","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":8,"timestamp":123228559219,"id":809,"parentId":625,"tags":{"name":"nodemailer","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":6,"timestamp":123228559234,"id":810,"parentId":631,"tags":{"name":"serverless-mysql","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5714,"timestamp":123228558569,"id":792,"parentId":586,"tags":{"name":"/app/components/pages/privacy/PrivacyHero.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6514,"timestamp":123228558359,"id":790,"parentId":581,"tags":{"name":"/app/components/pages/create-account/Hero.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7140,"timestamp":123228558680,"id":794,"parentId":584,"tags":{"name":"/app/components/pages/login/LoginForm.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7799,"timestamp":123228558627,"id":793,"parentId":586,"tags":{"name":"/app/components/pages/privacy/PrivacyBody.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7952,"timestamp":123228558723,"id":795,"parentId":588,"tags":{"name":"/app/components/pages/blog/BlogHero.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8013,"timestamp":123228558875,"id":798,"parentId":592,"tags":{"name":"/app/components/general/InfoBlock.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8569,"timestamp":123228558777,"id":796,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsAside.jsx","layer":null},"startTime":1734261938817,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8641,"timestamp":123228558943,"id":800,"parentId":612,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8825,"timestamp":123228558986,"id":801,"parentId":592,"tags":{"name":"/app/components/general/FormSuccessBlock.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9387,"timestamp":123228558837,"id":797,"parentId":591,"tags":{"name":"/app/package-shared/functions/backend/dbHandler.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9438,"timestamp":123228559027,"id":802,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsHomeHero.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1753530,"timestamp":123226814975,"id":129,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgoogle-login.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1753739,"timestamp":123226814788,"id":55,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fcontact.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1753935,"timestamp":123226814599,"id":33,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FclientError&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FclientError.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1753640,"timestamp":123226814903,"id":100,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FsendPasswordResetLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendPasswordResetLink.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1753612,"timestamp":123226814937,"id":113,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ftest%2Fmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ftest%2Fmail.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13372,"timestamp":123228559057,"id":803,"parentId":589,"tags":{"name":"/app/components/pages/docs/DocsHomeLinks.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13643,"timestamp":123228559084,"id":804,"parentId":591,"tags":{"name":"/app/components/pages/docs/DocsGenereicHero.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13997,"timestamp":123228559112,"id":805,"parentId":615,"tags":{"name":"/app/functions/frontend/updateNavLinks.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13852,"timestamp":123228559474,"id":816,"parentId":581,"tags":{"name":"/app/components/general/LoadingScreen.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14634,"timestamp":123228559143,"id":806,"parentId":595,"tags":{"name":"/app/components/su/SuErrorLogsContent.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15091,"timestamp":123228559171,"id":807,"parentId":595,"tags":{"name":"/app/components/su/SuBackupsContent.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15503,"timestamp":123228559440,"id":815,"parentId":604,"tags":{"name":"/app/components/su/SuDashboardContent.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15834,"timestamp":123228559501,"id":817,"parentId":621,"tags":{"name":"/app/package-shared/utils/backend/global-db/LOCAL_DB_HANDLER.js","layer":"api"},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16711,"timestamp":123228559529,"id":818,"parentId":662,"tags":{"name":"/app/package-shared/utils/backend/global-db/LOCAL_DB_HANDLER.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17115,"timestamp":123228559592,"id":820,"parentId":600,"tags":{"name":"/app/components/su/docs/SuDocsPageListContent.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18085,"timestamp":123228559564,"id":819,"parentId":598,"tags":{"name":"/app/components/su/docs/CreatePageContent.jsx","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":33,"timestamp":123228586224,"id":824,"parentId":652,"tags":{"name":"dotenv","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":10,"timestamp":123228586274,"id":825,"parentId":668,"tags":{"name":"node-fetch","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20,"timestamp":123228586359,"id":826,"parentId":668,"tags":{"name":"sharp","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8082,"timestamp":123228586471,"id":829,"parentId":615,"tags":{"name":"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8760,"timestamp":123228586032,"id":821,"parentId":601,"tags":{"name":"/app/components/su/docs/SuSingleDocPageContent.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8797,"timestamp":123228586390,"id":827,"parentId":613,"tags":{"name":"/app/functions/isLocalSuperUser.js","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9074,"timestamp":123228586438,"id":828,"parentId":615,"tags":{"name":"/app/layouts/components/GeneralLayout/Footer.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9360,"timestamp":123228586501,"id":830,"parentId":597,"tags":{"name":"/app/components/su/SuEnvContent.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9748,"timestamp":123228586529,"id":831,"parentId":622,"tags":{"name":"/app/components/su/SuSingleUserContent.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9940,"timestamp":123228586613,"id":834,"parentId":631,"tags":{"name":"/app/package-shared/utils/backend/grabDbSSL.js","layer":"api"},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10734,"timestamp":123228586561,"id":832,"parentId":594,"tags":{"name":"/app/components/su/SuConsoleContent.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10886,"timestamp":123228586641,"id":835,"parentId":663,"tags":{"name":"/app/package-shared/utils/backend/grabDbSSL.js","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11787,"timestamp":123228586588,"id":833,"parentId":615,"tags":{"name":"/app/layouts/components/GeneralLayout/Header.jsx","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784519,"timestamp":123226814611,"id":35,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FaddUserBackup&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FaddUserBackup.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784457,"timestamp":123226814686,"id":40,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetUserData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetUserData.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784257,"timestamp":123226814895,"id":97,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FresetPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetPassword.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784248,"timestamp":123226814915,"id":104,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckEmail&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckEmail.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784251,"timestamp":123226814917,"id":105,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FgetEmailFromSocialId.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784255,"timestamp":123226814919,"id":106,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Futils%2FcheckSocialId.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784736,"timestamp":123226814451,"id":26,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddNewMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddNewMediaFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784712,"timestamp":123226814481,"id":28,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddSocialLogin&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddSocialLogin.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784427,"timestamp":123226814773,"id":50,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FclientSideAuth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FclientSideAuth.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784442,"timestamp":123226814766,"id":47,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FchangeDbUserPassword&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FchangeDbUserPassword.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784442,"timestamp":123226814771,"id":49,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcheckExistingFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckExistingFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784423,"timestamp":123226814797,"id":59,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteInvitation.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784423,"timestamp":123226814805,"id":62,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784434,"timestamp":123226814803,"id":61,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteMediaFolder&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteMediaFolder.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784427,"timestamp":123226814815,"id":66,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784430,"timestamp":123226814817,"id":67,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdownloadDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdownloadDatabaseSchema.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784433,"timestamp":123226814820,"id":68,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FexportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784434,"timestamp":123226814824,"id":70,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fget-authorized-databases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fget-authorized-databases.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784425,"timestamp":123226814840,"id":75,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabaseTables.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784443,"timestamp":123226814827,"id":71,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDatabaseTables&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDatabaseTables.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784446,"timestamp":123226814829,"id":72,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784438,"timestamp":123226814842,"id":76,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserDatabases.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784440,"timestamp":123226814845,"id":77,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784456,"timestamp":123226814833,"id":73,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDelegatedDatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDelegatedDatabases.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784457,"timestamp":123226814837,"id":74,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetDiskUsage&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetDiskUsage.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784453,"timestamp":123226814847,"id":78,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FgetUserSchemaData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FgetUserSchemaData.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784435,"timestamp":123226814871,"id":87,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FpurgeDb&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FpurgeDb.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784428,"timestamp":123226814884,"id":92,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FreAuthenticateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FreAuthenticateUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784427,"timestamp":123226814891,"id":95,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrenameMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrenameMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784430,"timestamp":123226814893,"id":96,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FresetDelegatedDatabaseToken&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FresetDelegatedDatabaseToken.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784428,"timestamp":123226814900,"id":99,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FsendEmailVerificationLink&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FsendEmailVerificationLink.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784402,"timestamp":123226814932,"id":111,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsync-table-data&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsync-table-data.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784471,"timestamp":123226814869,"id":86,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fmedia%2FgetPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FgetPrivateMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784478,"timestamp":123226814867,"id":85,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fmedia%2FaddPrivateMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fmedia%2FaddPrivateMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784492,"timestamp":123226814861,"id":83,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FlogoutUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FlogoutUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784574,"timestamp":123226814785,"id":54,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fverify&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fverify.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784440,"timestamp":123226814924,"id":108,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fdelete&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fdelete.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784294,"timestamp":123226815081,"id":172,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FexportTableData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FexportTableData.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784598,"timestamp":123226814792,"id":57,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteApiKey.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784596,"timestamp":123226814799,"id":60,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784591,"timestamp":123226814810,"id":64,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784329,"timestamp":123226815091,"id":176,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fdelete-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784447,"timestamp":123226814983,"id":132,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Freauth-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784300,"timestamp":123226815164,"id":206,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1784297,"timestamp":123226815173,"id":210,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Funsubscribe.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47310,"timestamp":123228559248,"id":811,"parentId":684,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47559,"timestamp":123228559397,"id":814,"parentId":686,"tags":{"name":"/app/node_modules/next/dist/shared/lib/modern-browserslist-target.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":48082,"timestamp":123228559303,"id":812,"parentId":684,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":48352,"timestamp":123228559343,"id":813,"parentId":694,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-plain-object.js","layer":null},"startTime":1734261938818,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6036,"timestamp":123228608398,"id":838,"parentId":638,"tags":{"name":"/app/package-shared/functions/backend/html/sanitizeHtmlOptions.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6175,"timestamp":123228608581,"id":841,"parentId":650,"tags":{"name":"/app/package-shared/shell/utils/slugToCamelTitle.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6635,"timestamp":123228608547,"id":840,"parentId":623,"tags":{"name":"/app/components/su/SuUsersContent.jsx","layer":null},"startTime":1734261938867,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":7137,"timestamp":123228608613,"id":842,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/noDatabaseDbHandler.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7422,"timestamp":123228608642,"id":843,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/varDatabaseDbHandler.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8521,"timestamp":123228608504,"id":839,"parentId":728,"tags":{"name":"/app/package-shared/functions/backend/db/addDbEntry.js","layer":null},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8702,"timestamp":123228608705,"id":845,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/dbHandler.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9370,"timestamp":123228608677,"id":844,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/createTable.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9490,"timestamp":123228608819,"id":849,"parentId":618,"tags":{"name":"/app/components/pages/terms/TermsHero.jsx","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9899,"timestamp":123228608760,"id":847,"parentId":651,"tags":{"name":"/app/package-shared/functions/backend/parseDbResults.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10187,"timestamp":123228608792,"id":848,"parentId":662,"tags":{"name":"/app/package-shared/functions/backend/parseDbResults.js","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10388,"timestamp":123228608847,"id":850,"parentId":612,"tags":{"name":"/app/functions/backend/su/get-servers.js","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10552,"timestamp":123228608927,"id":852,"parentId":624,"tags":{"name":"/app/components/su/SuNewUserContent.jsx","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805356,"timestamp":123226814627,"id":38,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2Fdocs%2F%5Baction%5D.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805051,"timestamp":123226814949,"id":118,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805056,"timestamp":123226814951,"id":119,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805059,"timestamp":123226814954,"id":120,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805060,"timestamp":123226814959,"id":122,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805246,"timestamp":123226814780,"id":52,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fdisconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fdisconnect.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805255,"timestamp":123226814776,"id":51,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fconnect%2Fhandshake&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fconnect%2Fhandshake.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805621,"timestamp":123226814419,"id":23,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FacceptUserInvitation&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FacceptUserInvitation.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805583,"timestamp":123226814464,"id":27,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805612,"timestamp":123226814440,"id":25,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddApiKey&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddApiKey.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805541,"timestamp":123226814517,"id":30,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddTableEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddTableEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805493,"timestamp":123226814572,"id":31,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805138,"timestamp":123226814935,"id":112,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Funsubscribe&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Funsubscribe.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805139,"timestamp":123226814940,"id":114,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateAdminUserAccess&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateAdminUserAccess.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805006,"timestamp":123226815079,"id":171,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserMedia&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserMedia.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805005,"timestamp":123226815087,"id":174,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-image.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805003,"timestamp":123226815094,"id":177,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fadd-file.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805672,"timestamp":123226814432,"id":24,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddAdminUserUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddAdminUserUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805246,"timestamp":123226814864,"id":84,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FloginUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FloginUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1805265,"timestamp":123226814852,"id":80,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FimportDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15345,"timestamp":123228608984,"id":854,"parentId":692,"tags":{"name":"/app/functions/frontend/downloadApiStream.js","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16183,"timestamp":123228608893,"id":851,"parentId":618,"tags":{"name":"/app/components/pages/terms/TermsBody.jsx","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19825,"timestamp":123228608733,"id":846,"parentId":652,"tags":{"name":"/app/package-shared/shell/utils/updateTable.js","layer":"api"},"startTime":1734261938867,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20331,"timestamp":123228608956,"id":853,"parentId":682,"tags":{"name":"/app/functions/backend/cleanUpSchemaData.js","layer":"api"},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20454,"timestamp":123228609105,"id":858,"parentId":666,"tags":{"name":"/app/package-shared/utils/backend/global-db/NO_DB_HANDLER.js","layer":"api"},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":21061,"timestamp":123228609012,"id":855,"parentId":697,"tags":{"name":"/app/package-shared/shell/mariadb-users/handleGrants.js","layer":"api"},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":21886,"timestamp":123228609043,"id":856,"parentId":704,"tags":{"name":"/app/package-shared/functions/backend/addUsersTableToDb.js","layer":"api"},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23144,"timestamp":123228609076,"id":857,"parentId":704,"tags":{"name":"/app/package-shared/functions/backend/updateUsersTableSchema.js","layer":"api"},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23574,"timestamp":123228609136,"id":859,"parentId":678,"tags":{"name":"/app/package-shared/utils/backend/global-db/NO_DB_HANDLER.js","layer":null},"startTime":1734261938868,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1821119,"timestamp":123226814808,"id":63,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1821058,"timestamp":123226814886,"id":93,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FregisterUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FregisterUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1823221,"timestamp":123226814922,"id":107,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fcreate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fcreate.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1823230,"timestamp":123226814927,"id":109,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsql-users%2Fupdate&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsql-users%2Fupdate.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":40479,"timestamp":123228599024,"id":837,"parentId":701,"tags":{"name":"/app/node_modules/next/dist/server/lib/trace/constants.js","layer":null},"startTime":1734261938858,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":53194,"timestamp":123228586672,"id":836,"parentId":701,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-thenable.js","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":54136,"timestamp":123228586179,"id":823,"parentId":689,"tags":{"name":"/app/node_modules/next/dist/client/request-idle-callback.js","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":54622,"timestamp":123228586133,"id":822,"parentId":689,"tags":{"name":"/app/node_modules/next/dist/client/set-attributes-from-props.js","layer":null},"startTime":1734261938845,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":898,"timestamp":123228642134,"id":868,"parentId":725,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5459,"timestamp":123228642101,"id":867,"parentId":692,"tags":{"name":"/app/components/general/CopySlug.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10598,"timestamp":123228642070,"id":866,"parentId":691,"tags":{"name":"/app/components/general/DiskUsageComponent.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11892,"timestamp":123228641412,"id":860,"parentId":670,"tags":{"name":"/app/package-shared/functions/api/social-login/loginSocialUser.js","layer":"api"},"startTime":1734261938900,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12441,"timestamp":123228641509,"id":861,"parentId":703,"tags":{"name":"/app/package-shared/functions/backend/db/runQuery.js","layer":"api"},"startTime":1734261938900,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12102,"timestamp":123228642153,"id":869,"parentId":709,"tags":{"name":"/app/package-shared/utils/serialize-cookies.js","layer":"api"},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12403,"timestamp":123228642179,"id":870,"parentId":721,"tags":{"name":"/app/package-shared/utils/camelJoinedtoCamelSpace.js","layer":"api"},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12859,"timestamp":123228642234,"id":872,"parentId":691,"tags":{"name":"/app/layouts/components/AdminLayout/Aside.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13289,"timestamp":123228642263,"id":873,"parentId":691,"tags":{"name":"/app/layouts/components/AdminLayout/AdminHeader.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13484,"timestamp":123228642315,"id":875,"parentId":716,"tags":{"name":"/app/components/general/DatabaseSlugCopy.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13639,"timestamp":123228642345,"id":876,"parentId":716,"tags":{"name":"/app/components/general/BackButton.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14303,"timestamp":123228642290,"id":874,"parentId":714,"tags":{"name":"/app/components/general/GeneralPopup.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14470,"timestamp":123228642396,"id":878,"parentId":717,"tags":{"name":"/app/components/general/ActiveCloneDbBanner.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14955,"timestamp":123228642371,"id":877,"parentId":716,"tags":{"name":"/app/components/admin/databases/DatabasesTablesList.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15193,"timestamp":123228642420,"id":879,"parentId":717,"tags":{"name":"/app/components/admin/databases/EditDatabaseForm.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15550,"timestamp":123228642450,"id":880,"parentId":719,"tags":{"name":"/app/components/admin/databases/DatabaseTablesTablePreview.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15803,"timestamp":123228642499,"id":882,"parentId":717,"tags":{"name":"/app/components/admin/databases/AddDatabaseForm.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16194,"timestamp":123228642523,"id":883,"parentId":719,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaVisualizer.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16544,"timestamp":123228642552,"id":884,"parentId":716,"tags":{"name":"/app/components/general/ui/ButtonGroup.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17291,"timestamp":123228642601,"id":886,"parentId":719,"tags":{"name":"/app/components/general/AceEditor.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18134,"timestamp":123228642628,"id":887,"parentId":719,"tags":{"name":"/app/components/general/CodeBlock.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19444,"timestamp":123228642475,"id":881,"parentId":715,"tags":{"name":"/app/components/admin/databases/ExistingFieldEdit.jsx","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12680,"timestamp":123228649521,"id":889,"parentId":718,"tags":{"name":"/app/components/admin/databases/DatabaseShellQueryResult.jsx","layer":null},"startTime":1734261938908,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13153,"timestamp":123228649394,"id":888,"parentId":698,"tags":{"name":"/app/components/general/ScreenShotDescriptionCard.jsx","layer":null},"startTime":1734261938908,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13649,"timestamp":123228649573,"id":890,"parentId":725,"tags":{"name":"/app/components/admin/databases/TableEntriesList.jsx","layer":null},"startTime":1734261938908,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14107,"timestamp":123228649663,"id":892,"parentId":724,"tags":{"name":"/app/components/admin/databases/TablesList.jsx","layer":null},"startTime":1734261938908,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1849447,"timestamp":123226814985,"id":133,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fsend-email-code.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1849474,"timestamp":123226814973,"id":128,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fgithub-login.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1852806,"timestamp":123226814905,"id":101,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Ffacebook-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Ffacebook-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1852817,"timestamp":123226814908,"id":102,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgithub-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgithub-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1852819,"timestamp":123226814912,"id":103,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fsocial-login%2Fgoogle-auth&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fsocial-login%2Fgoogle-auth.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24434,"timestamp":123228649623,"id":891,"parentId":725,"tags":{"name":"/app/components/admin/databases/UpdateEntryForm.jsx","layer":null},"startTime":1734261938908,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47462,"timestamp":123228642206,"id":871,"parentId":701,"tags":{"name":"/app/node_modules/next/dist/compiled/@opentelemetry/api/index.js","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":69472,"timestamp":123228642014,"id":864,"parentId":700,"tags":{"name":"__barrel_optimize__?names=Blocks!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":72769,"timestamp":123228641974,"id":863,"parentId":699,"tags":{"name":"__barrel_optimize__?names=BookText!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":76739,"timestamp":123228642046,"id":865,"parentId":716,"tags":{"name":"__barrel_optimize__?names=FolderOutput!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":80722,"timestamp":123228641553,"id":862,"parentId":692,"tags":{"name":"__barrel_optimize__?names=ChevronDown,Download,FileInput,FolderOutput,SquareTerminal!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938900,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3694,"timestamp":123228724904,"id":895,"parentId":770,"tags":{"name":"__barrel_optimize__?names=FileVideo2,Files,Images!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4844,"timestamp":123228724938,"id":896,"parentId":768,"tags":{"name":"__barrel_optimize__?names=ChevronLeft,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5935,"timestamp":123228724971,"id":897,"parentId":771,"tags":{"name":"__barrel_optimize__?names=Copy!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7035,"timestamp":123228724998,"id":898,"parentId":782,"tags":{"name":"__barrel_optimize__?names=Menu!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8210,"timestamp":123228725026,"id":899,"parentId":781,"tags":{"name":"__barrel_optimize__?names=CopyCheck,EarthLock,FileKey2,FolderOutput,Sheet,SquareGanttChart!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":97906,"timestamp":123228642580,"id":885,"parentId":758,"tags":{"name":"__barrel_optimize__?names=ChevronUp!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261938901,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16382,"timestamp":123228725088,"id":901,"parentId":725,"tags":{"name":"/app/components/admin/databases/SingleEntryPrevNext.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16803,"timestamp":123228725053,"id":900,"parentId":698,"tags":{"name":"/app/components/general/ContainedSection.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17727,"timestamp":123228724566,"id":893,"parentId":719,"tags":{"name":"/app/components/form/FormCheckboxes.jsx","layer":null},"startTime":1734261938983,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18247,"timestamp":123228724704,"id":894,"parentId":719,"tags":{"name":"/app/components/form/FormSelect.jsx","layer":null},"startTime":1734261938983,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18180,"timestamp":123228725119,"id":902,"parentId":612,"tags":{"name":"/app/components/su/servers/index.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18588,"timestamp":123228725150,"id":903,"parentId":726,"tags":{"name":"/app/components/general/ActiveCloneTableBanner.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18882,"timestamp":123228725225,"id":905,"parentId":731,"tags":{"name":"/app/components/admin/databases/AddTableForm.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21204,"timestamp":123228725196,"id":904,"parentId":725,"tags":{"name":"/app/components/admin/databases/SelectNewEntry.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21828,"timestamp":123228725282,"id":907,"parentId":727,"tags":{"name":"/app/components/admin/databases/ImportExportEntries.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":27028,"timestamp":123228725254,"id":906,"parentId":731,"tags":{"name":"/app/components/admin/databases/TableFields.jsx","layer":null},"startTime":1734261938984,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7363,"timestamp":123228756530,"id":910,"parentId":727,"tags":{"name":"/app/components/admin/databases/MoreTableOptions.jsx","layer":null},"startTime":1734261939015,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":7954,"timestamp":123228756486,"id":909,"parentId":611,"tags":{"name":"/app/components/su/load-balancing/index.jsx","layer":null},"startTime":1734261939015,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8228,"timestamp":123228756566,"id":911,"parentId":741,"tags":{"name":"/app/components/admin/api-keys/ApiKeysList.jsx","layer":null},"startTime":1734261939015,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9418,"timestamp":123228756380,"id":908,"parentId":726,"tags":{"name":"/app/components/admin/databases/TableEntryForm.jsx","layer":null},"startTime":1734261939015,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10282,"timestamp":123228756598,"id":912,"parentId":739,"tags":{"name":"/app/components/admin/databases/EditTableForm.jsx","layer":null},"startTime":1734261939015,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":651,"timestamp":123228772149,"id":917,"parentId":763,"tags":{"name":"/app/jsonData/userPriviledges.json","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2306,"timestamp":123228772170,"id":918,"parentId":798,"tags":{"name":"__barrel_optimize__?names=Info!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2693,"timestamp":123228772196,"id":919,"parentId":807,"tags":{"name":"__barrel_optimize__?names=FolderSync!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3129,"timestamp":123228772263,"id":920,"parentId":833,"tags":{"name":"__barrel_optimize__?names=ChevronDown!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9901,"timestamp":123228772117,"id":916,"parentId":760,"tags":{"name":"/app/functions/frontend/updateDiskUsage.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10237,"timestamp":123228772078,"id":915,"parentId":742,"tags":{"name":"/app/functions/frontend/checkUniqueField.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10649,"timestamp":123228772040,"id":914,"parentId":755,"tags":{"name":"/app/functions/frontend/inputFileToBase64.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11284,"timestamp":123228771944,"id":913,"parentId":755,"tags":{"name":"/app/functions/frontend/imageInputFileToBase64.js","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11258,"timestamp":123228772352,"id":923,"parentId":745,"tags":{"name":"/app/components/admin/connect/MariaDBUsers.jsx","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12032,"timestamp":123228772294,"id":921,"parentId":745,"tags":{"name":"/app/components/admin/connect/ConnectionInfo.jsx","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12801,"timestamp":123228772324,"id":922,"parentId":747,"tags":{"name":"/app/components/admin/connect/MariDBUserForm.jsx","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13926,"timestamp":123228772389,"id":924,"parentId":744,"tags":{"name":"/app/components/admin/databases/connect/ConnectForm.jsx","layer":null},"startTime":1734261939031,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3258,"timestamp":123228800290,"id":938,"parentId":866,"tags":{"name":"__barrel_optimize__?names=ArrowLeft,HardDrive,RotateCw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3712,"timestamp":123228800327,"id":939,"parentId":876,"tags":{"name":"__barrel_optimize__?names=ArrowLeft!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4263,"timestamp":123228800376,"id":940,"parentId":872,"tags":{"name":"__barrel_optimize__?names=BookText,CircleGauge,Database,FileKey2,Globe,Images,Plug2,ShieldEllipsis,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4407,"timestamp":123228800660,"id":949,"parentId":874,"tags":{"name":"__barrel_optimize__?names=X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4855,"timestamp":123228800690,"id":950,"parentId":890,"tags":{"name":"__barrel_optimize__?names=Grid2x2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5308,"timestamp":123228800741,"id":952,"parentId":892,"tags":{"name":"__barrel_optimize__?names=Copy,CopyPlus,Edit,FileX2,Grid2X2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11604,"timestamp":123228799933,"id":928,"parentId":754,"tags":{"name":"/app/components/admin/dashboard/DatabasesSummary.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12350,"timestamp":123228799735,"id":925,"parentId":753,"tags":{"name":"/app/components/admin/databases/UserImage.jsx","layer":null},"startTime":1734261939058,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14072,"timestamp":123228799898,"id":927,"parentId":751,"tags":{"name":"/app/components/admin/databases/UserSchemaVisualizer.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14979,"timestamp":123228799852,"id":926,"parentId":748,"tags":{"name":"/app/components/admin/databases/TableIndexes.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15291,"timestamp":123228799995,"id":930,"parentId":768,"tags":{"name":"/app/functions/frontend/downloadFile.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15416,"timestamp":123228800061,"id":932,"parentId":839,"tags":{"name":"/app/package-shared/functions/backend/html/sanitizeHtmlOptions.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15871,"timestamp":123228800030,"id":931,"parentId":839,"tags":{"name":"/app/package-shared/functions/dsql/encrypt.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16212,"timestamp":123228800118,"id":934,"parentId":754,"tags":{"name":"/app/components/admin/dashboard/Metrics.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17088,"timestamp":123228800090,"id":933,"parentId":839,"tags":{"name":"/app/package-shared/functions/backend/db/updateDbEntry.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18334,"timestamp":123228799964,"id":929,"parentId":753,"tags":{"name":"/app/components/pages/create-account/CreateAccountForm.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18565,"timestamp":123228800397,"id":941,"parentId":764,"tags":{"name":"/app/components/admin/users/DbUsersList.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19006,"timestamp":123228800435,"id":942,"parentId":762,"tags":{"name":"/app/components/form/FormRadios.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19504,"timestamp":123228800468,"id":943,"parentId":754,"tags":{"name":"/app/components/admin/databases/DelegatedDatabasesSection.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19970,"timestamp":123228800514,"id":944,"parentId":765,"tags":{"name":"/app/components/admin/databases/DatabasesList.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20569,"timestamp":123228800543,"id":945,"parentId":766,"tags":{"name":"/app/components/admin/media/MediaList.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21066,"timestamp":123228800603,"id":947,"parentId":767,"tags":{"name":"/app/components/admin/media/NewMediaCard.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22309,"timestamp":123228800631,"id":948,"parentId":768,"tags":{"name":"/app/functions/frontend/downloadPrivateFile.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22878,"timestamp":123228800712,"id":951,"parentId":767,"tags":{"name":"/app/components/admin/media/NewFileCard.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24083,"timestamp":123228800575,"id":946,"parentId":763,"tags":{"name":"/app/components/admin/users/DbCreateDbUserForm.jsx","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46015,"timestamp":123228800196,"id":936,"parentId":811,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46169,"timestamp":123228800236,"id":937,"parentId":812,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47651,"timestamp":123228800151,"id":935,"parentId":812,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils.js","layer":null},"startTime":1734261939059,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":68,"timestamp":123228848946,"id":964,"parentId":832,"tags":{"name":"ansi-regex","layer":null},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5176,"timestamp":123228848529,"id":953,"parentId":894,"tags":{"name":"__barrel_optimize__?names=ChevronDown,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12520,"timestamp":123228848663,"id":955,"parentId":773,"tags":{"name":"/app/components/admin/users/DatabaseUsers.jsx","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12905,"timestamp":123228848734,"id":957,"parentId":777,"tags":{"name":"/app/components/admin/users/UserImage.jsx","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13465,"timestamp":123228848610,"id":954,"parentId":774,"tags":{"name":"/app/components/admin/users/UsersList.jsx","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13983,"timestamp":123228848698,"id":956,"parentId":778,"tags":{"name":"/app/components/admin/users/UserListCard.jsx","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14138,"timestamp":123228848793,"id":959,"parentId":780,"tags":{"name":"/app/components/general/FadedImage.jsx","layer":null},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14494,"timestamp":123228848764,"id":958,"parentId":774,"tags":{"name":"/app/components/admin/users/InvitationReceivedCard.jsx","layer":null},"startTime":1734261939107,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14883,"timestamp":123228848821,"id":960,"parentId":832,"tags":{"name":"/app/components/su/xterm.js","layer":null},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15341,"timestamp":123228848854,"id":961,"parentId":794,"tags":{"name":"/app/functions/frontend/userLogin.js","layer":null},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15774,"timestamp":123228848884,"id":962,"parentId":844,"tags":{"name":"/app/package-shared/shell/utils/generateColumnDescription.js","layer":"api"},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15992,"timestamp":123228848913,"id":963,"parentId":844,"tags":{"name":"/app/package-shared/shell/utils/supplementTable.js","layer":"api"},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2051482,"timestamp":123226815171,"id":209,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fterms&preferredRegion=&absolutePagePath=private-next-pages%2Fterms.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053724,"timestamp":123226814591,"id":32,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUsersTableToDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUsersTableToDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053825,"timestamp":123226814503,"id":29,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FaddUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FaddUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053547,"timestamp":123226814790,"id":56,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcreateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcreateUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053489,"timestamp":123226814855,"id":81,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FimportDatabaseSchema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FimportDatabaseSchema.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053407,"timestamp":123226814944,"id":116,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateClonedTableForeignKeys&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateClonedTableForeignKeys.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053412,"timestamp":123226814946,"id":117,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateDbSchemaDataForUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateDbSchemaDataForUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053404,"timestamp":123226814961,"id":123,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053489,"timestamp":123226814882,"id":91,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fupdate-schema-from-single-database.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2053412,"timestamp":123226814963,"id":124,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser-schema%2Freplace-database-schema&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser-schema%2Freplace-database-schema.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":24,"timestamp":123228872080,"id":1001,"parentId":867,"tags":{"name":"tailwind-merge","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-io-client","duration":8,"timestamp":123228872124,"id":1002,"parentId":832,"tags":{"name":"socket.io-client","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3426,"timestamp":123228871564,"id":987,"parentId":910,"tags":{"name":"__barrel_optimize__?names=Ellipsis!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3587,"timestamp":123228871873,"id":996,"parentId":921,"tags":{"name":"__barrel_optimize__?names=Copy,Download!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5860,"timestamp":123228871640,"id":989,"parentId":850,"tags":{"name":"/app/functions/backend/su/get-servers-json-path.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6276,"timestamp":123228871600,"id":988,"parentId":788,"tags":{"name":"/app/components/general/FormAlertBlock.jsx","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6592,"timestamp":123228871707,"id":991,"parentId":850,"tags":{"name":"/app/functions/backend/su/check-servers.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7053,"timestamp":123228871674,"id":990,"parentId":856,"tags":{"name":"/app/package-shared/functions/backend/grabNewUsersTableSchema.js","layer":"api"},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11000,"timestamp":123228871738,"id":992,"parentId":847,"tags":{"name":"/app/package-shared/functions/backend/defaultFieldsRegexp.js","layer":"api"},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11184,"timestamp":123228871775,"id":993,"parentId":848,"tags":{"name":"/app/package-shared/functions/backend/defaultFieldsRegexp.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11762,"timestamp":123228871840,"id":995,"parentId":768,"tags":{"name":"/app/components/admin/media/card/MediaMoreButton.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12404,"timestamp":123228871808,"id":994,"parentId":857,"tags":{"name":"/app/package-shared/functions/backend/grabSchemaFieldsFromData.js","layer":"api"},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12894,"timestamp":123228872037,"id":1000,"parentId":783,"tags":{"name":"/app/layouts/components/SuAdminLayout/Aside.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13575,"timestamp":123228872142,"id":1003,"parentId":783,"tags":{"name":"/app/layouts/components/SuAdminLayout/AdminHeader.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16981,"timestamp":123228872187,"id":1004,"parentId":794,"tags":{"name":"/app/components/pages/login/SocialLogin.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17654,"timestamp":123228872222,"id":1005,"parentId":830,"tags":{"name":"/app/components/su/SuEnvCard.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18315,"timestamp":123228872302,"id":1007,"parentId":833,"tags":{"name":"/app/layouts/components/AdminLayout/AdminUserBlock.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18868,"timestamp":123228872340,"id":1008,"parentId":833,"tags":{"name":"/app/components/general/ThemeSelector.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19201,"timestamp":123228872376,"id":1009,"parentId":861,"tags":{"name":"/app/package-shared/utils/trim-sql.js","layer":"api"},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22180,"timestamp":123228872415,"id":1010,"parentId":861,"tags":{"name":"/app/package-shared/functions/backend/varReadOnlyDatabaseDbHandler.js","layer":"api"},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22539,"timestamp":123228872447,"id":1011,"parentId":861,"tags":{"name":"/app/package-shared/functions/backend/fullAccessDbHandler.js","layer":"api"},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24428,"timestamp":123228872262,"id":1006,"parentId":819,"tags":{"name":"/app/components/form/FormInput.jsx","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082580,"timestamp":123226814768,"id":48,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FcheckDuplicateData&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FcheckDuplicateData.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082571,"timestamp":123226814795,"id":58,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteDbUser&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteDbUser.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082562,"timestamp":123226814812,"id":65,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FdeleteUserTable&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FdeleteUserTable.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082561,"timestamp":123226814822,"id":69,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Ffetch-entries-basic&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Ffetch-entries-basic.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082534,"timestamp":123226814857,"id":82,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FinfiniteScroll&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FinfiniteScroll.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082521,"timestamp":123226814879,"id":90,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FqueryEntriesSearchTerm&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FqueryEntriesSearchTerm.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082518,"timestamp":123226814889,"id":94,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrefreshEntry&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrefreshEntry.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082515,"timestamp":123226814898,"id":98,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082469,"timestamp":123226814956,"id":121,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2FupdateUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2FupdateUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082811,"timestamp":123226814621,"id":37,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FgetTablesForUserDatabase&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FgetTablesForUserDatabase.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082685,"timestamp":123226814754,"id":43,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fadmin%2FrunUserDbQuery&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fadmin%2FrunUserDbQuery.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2082475,"timestamp":123226814971,"id":127,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fget-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":51519,"timestamp":123228850577,"id":967,"parentId":863,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/book-text.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":52160,"timestamp":123228850509,"id":966,"parentId":864,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/blocks.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":52221,"timestamp":123228850626,"id":968,"parentId":865,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-output.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":52342,"timestamp":123228850671,"id":969,"parentId":862,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-down.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":52515,"timestamp":123228850901,"id":974,"parentId":895,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/files.js","layer":null},"startTime":1734261939110,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":52763,"timestamp":123228850843,"id":973,"parentId":895,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-video-2.js","layer":null},"startTime":1734261939110,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":53084,"timestamp":123228850942,"id":975,"parentId":895,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/images.js","layer":null},"startTime":1734261939110,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":53480,"timestamp":123228850728,"id":970,"parentId":862,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/download.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":53764,"timestamp":123228850766,"id":971,"parentId":862,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-input.js","layer":null},"startTime":1734261939109,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":54086,"timestamp":123228850804,"id":972,"parentId":862,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-terminal.js","layer":null},"startTime":1734261939110,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2091976,"timestamp":123226814874,"id":88,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fget.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2091772,"timestamp":123226815096,"id":178,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fquery%2F%5Buser_id%5D%2Fpost.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45571,"timestamp":123228865462,"id":977,"parentId":896,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-right.js","layer":null},"startTime":1734261939124,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":23,"timestamp":123228913584,"id":1029,"parentId":906,"tags":{"name":"gsap/Flip","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":39,"timestamp":123228913678,"id":1030,"parentId":906,"tags":{"name":"gsap","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":1264,"timestamp":123228914029,"id":1039,"parentId":994,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":"api"},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2937,"timestamp":123228912906,"id":1018,"parentId":934,"tags":{"name":"__barrel_optimize__?names=Database,Images,Key,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2741,"timestamp":123228913495,"id":1027,"parentId":944,"tags":{"name":"__barrel_optimize__?names=PackagePlus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4934,"timestamp":123228913538,"id":1028,"parentId":945,"tags":{"name":"__barrel_optimize__?names=Plus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5046,"timestamp":123228914002,"id":1038,"parentId":1000,"tags":{"name":"__barrel_optimize__?names=BookText,CloudUpload,DatabaseBackup,FileWarning,Home,LockKeyhole,Server,SquareChevronRight,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"postcss-process","duration":26991,"timestamp":123229067347,"id":1041,"parentId":976,"tags":{},"startTime":1734261939326,"traceId":"ce91546a398efcef"},{"name":"postcss-loader","duration":242431,"timestamp":123228851969,"id":976,"parentId":965,"tags":{},"startTime":1734261939111,"traceId":"ce91546a398efcef"},{"name":"css-loader","duration":23619,"timestamp":123229094551,"id":1042,"parentId":965,"tags":{"astUsed":"true"},"startTime":1734261939353,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":269502,"timestamp":123228849027,"id":965,"parentId":780,"tags":{"name":"/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1734261939108,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":247723,"timestamp":123228871207,"id":979,"parentId":897,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":247889,"timestamp":123228871308,"id":981,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-check.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":248277,"timestamp":123228871099,"id":978,"parentId":896,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-left.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":248328,"timestamp":123228871262,"id":980,"parentId":898,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/menu.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":248431,"timestamp":123228871398,"id":983,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-key-2.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":248760,"timestamp":123228871355,"id":982,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/earth-lock.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":249004,"timestamp":123228871437,"id":984,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/sheet.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":249263,"timestamp":123228871478,"id":985,"parentId":899,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":249423,"timestamp":123228871522,"id":986,"parentId":885,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-up.js","layer":null},"startTime":1734261939130,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":248712,"timestamp":123228872478,"id":1012,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/arrow-left.js","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":252337,"timestamp":123228871907,"id":997,"parentId":918,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/info.js","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":252703,"timestamp":123228871993,"id":999,"parentId":811,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/index.js","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":253007,"timestamp":123228871949,"id":998,"parentId":919,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-sync.js","layer":null},"startTime":1734261939131,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":211627,"timestamp":123228913788,"id":1032,"parentId":891,"tags":{"name":"/app/functions/frontend/defaultFieldsRegexp.js","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":211937,"timestamp":123228913732,"id":1031,"parentId":781,"tags":{"name":"/app/components/general/IconText.jsx","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":212087,"timestamp":123228913832,"id":1033,"parentId":803,"tags":{"name":"/app/components/cards/LinkCard.jsx","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":216203,"timestamp":123228913868,"id":1034,"parentId":815,"tags":{"name":"/app/components/su/components/UserCard.jsx","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":216773,"timestamp":123228913968,"id":1037,"parentId":831,"tags":{"name":"/app/components/su/components/UserData.jsx","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":217437,"timestamp":123228913901,"id":1035,"parentId":831,"tags":{"name":"/app/components/su/components/UserBackups.jsx","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":218078,"timestamp":123228913932,"id":1036,"parentId":820,"tags":{"name":"/app/components/su/components/PageCard.jsx","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":252933,"timestamp":123228879433,"id":1016,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database.js","layer":null},"startTime":1734261939138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":253205,"timestamp":123228879374,"id":1015,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-gauge.js","layer":null},"startTime":1734261939138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":253667,"timestamp":123228879130,"id":1013,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/hard-drive.js","layer":null},"startTime":1734261939138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":253783,"timestamp":123228879265,"id":1014,"parentId":938,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-cw.js","layer":null},"startTime":1734261939138,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":20,"timestamp":123229134177,"id":1049,"parentId":910,"tags":{"name":"react-tiny-popover","layer":null},"startTime":1734261939393,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11076,"timestamp":123229126654,"id":1043,"parentId":819,"tags":{"name":"/app/components/su/components/RichText/DocsRichTextBlock.jsx","layer":null},"startTime":1734261939385,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11220,"timestamp":123229126909,"id":1046,"parentId":881,"tags":{"name":"/app/components/admin/databases/MoreOptionsModal.jsx","layer":null},"startTime":1734261939386,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11638,"timestamp":123229126853,"id":1045,"parentId":879,"tags":{"name":"/app/components/admin/databases/DatabaseImage.jsx","layer":null},"startTime":1734261939386,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12572,"timestamp":123229126796,"id":1044,"parentId":879,"tags":{"name":"/app/components/admin/databases/DatabaseForm.jsx","layer":null},"startTime":1734261939386,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12705,"timestamp":123229126955,"id":1047,"parentId":891,"tags":{"name":"/app/components/general/ExpandBlock.jsx","layer":null},"startTime":1734261939386,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6381,"timestamp":123229134035,"id":1048,"parentId":906,"tags":{"name":"/app/functions/frontend/addNewTempField.js","layer":null},"startTime":1734261939393,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6540,"timestamp":123229134214,"id":1050,"parentId":886,"tags":{"name":"/app/components/admin/databases/fields/text/ace-editor.js","layer":null},"startTime":1734261939393,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21,"timestamp":123229148594,"id":1053,"parentId":960,"tags":{"name":"xterm","layer":null},"startTime":1734261939407,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1069,"timestamp":123229148504,"id":1052,"parentId":1036,"tags":{"name":"__barrel_optimize__?names=Layers,Newspaper!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939407,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":238095,"timestamp":123228913434,"id":1026,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-x-2.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":238980,"timestamp":123228912742,"id":1017,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/globe.js","layer":null},"startTime":1734261939171,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":238877,"timestamp":123228913029,"id":1020,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239125,"timestamp":123228912963,"id":1019,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plug-2.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239064,"timestamp":123228913179,"id":1022,"parentId":950,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/grid-2x2.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239008,"timestamp":123228913371,"id":1025,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-pen.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239285,"timestamp":123228913237,"id":1023,"parentId":949,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/x.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239650,"timestamp":123228913090,"id":1021,"parentId":940,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/users.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239757,"timestamp":123228913296,"id":1024,"parentId":952,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-plus.js","layer":null},"startTime":1734261939172,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":239157,"timestamp":123228914049,"id":1040,"parentId":987,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/ellipsis.js","layer":null},"startTime":1734261939173,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7885,"timestamp":123229148642,"id":1054,"parentId":890,"tags":{"name":"/app/components/admin/databases/SearchEntriesSection.jsx","layer":null},"startTime":1734261939407,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7560,"timestamp":123229153501,"id":1055,"parentId":892,"tags":{"name":"/app/components/admin/databases/ImportDbComponent.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8146,"timestamp":123229153631,"id":1058,"parentId":891,"tags":{"name":"/app/components/admin/databases/TableEntryField.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8639,"timestamp":123229153568,"id":1056,"parentId":892,"tags":{"name":"/app/components/admin/databases/ImportSchemaComponent.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9210,"timestamp":123229153602,"id":1057,"parentId":892,"tags":{"name":"/app/components/admin/databases/TableListCard.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9629,"timestamp":123229153691,"id":1060,"parentId":891,"tags":{"name":"/app/components/admin/databases/UpdateEntryMoreOptions.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11252,"timestamp":123229153663,"id":1059,"parentId":905,"tags":{"name":"/app/components/admin/databases/NewTableForm.jsx","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11278,"timestamp":123229154097,"id":1071,"parentId":907,"tags":{"name":"/app/components/admin/databases/functions/import-export-handler.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11627,"timestamp":123229154126,"id":1072,"parentId":906,"tags":{"name":"/app/components/admin/databases/functions/generateTypeDefinition.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32266,"timestamp":123229134255,"id":1051,"parentId":967,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/createLucideIcon.js","layer":null},"startTime":1734261939393,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2326,"timestamp":123229178838,"id":1076,"parentId":1055,"tags":{"name":"__barrel_optimize__?names=Server!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2686,"timestamp":123229178909,"id":1077,"parentId":1058,"tags":{"name":"__barrel_optimize__?names=Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3055,"timestamp":123229178939,"id":1078,"parentId":1056,"tags":{"name":"__barrel_optimize__?names=FileCog!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3474,"timestamp":123229178964,"id":1079,"parentId":1057,"tags":{"name":"__barrel_optimize__?names=ChevronRight,DatabaseBackup,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9116,"timestamp":123229175746,"id":1075,"parentId":905,"tags":{"name":"/app/components/admin/databases/CloneTableForm.jsx","layer":null},"startTime":1734261939434,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31465,"timestamp":123229153754,"id":1062,"parentId":1027,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/package-plus.js","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31697,"timestamp":123229153716,"id":1061,"parentId":1018,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/key.js","layer":null},"startTime":1734261939412,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31776,"timestamp":123229153821,"id":1063,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/cloud-upload.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31904,"timestamp":123229153891,"id":1065,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database-backup.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32115,"timestamp":123229153857,"id":1064,"parentId":1028,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plus.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32403,"timestamp":123229153994,"id":1068,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32628,"timestamp":123229153930,"id":1066,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-warning.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33239,"timestamp":123229153963,"id":1067,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/home.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33629,"timestamp":123229154027,"id":1069,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/server.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33831,"timestamp":123229154063,"id":1070,"parentId":1038,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-chevron-right.js","layer":null},"startTime":1734261939413,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":28,"timestamp":123229188392,"id":1091,"parentId":960,"tags":{"name":"xterm-addon-fit","layer":null},"startTime":1734261939447,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12545,"timestamp":123229178994,"id":1080,"parentId":908,"tags":{"name":"/app/functions/frontend/newEntryHandler.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12931,"timestamp":123229179039,"id":1081,"parentId":881,"tags":{"name":"/app/components/admin/databases/fields/text/JSONTextOption.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13605,"timestamp":123229179072,"id":1082,"parentId":906,"tags":{"name":"/app/components/admin/databases/ClonedSingleTableFieldCard.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14522,"timestamp":123229179103,"id":1083,"parentId":910,"tags":{"name":"/app/components/admin/databases/SyncDataButton.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15279,"timestamp":123229179137,"id":1084,"parentId":906,"tags":{"name":"/app/components/admin/databases/NewFieldTemp.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15879,"timestamp":123229179198,"id":1086,"parentId":911,"tags":{"name":"/app/components/admin/api-keys/ApiKeyListCard.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16881,"timestamp":123229179167,"id":1085,"parentId":906,"tags":{"name":"/app/components/admin/databases/SingleTableFieldCard.jsx","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17395,"timestamp":123229179228,"id":1087,"parentId":929,"tags":{"name":"/app/functions/frontend/submitNewUserForm.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":19647,"timestamp":123229179265,"id":1088,"parentId":926,"tags":{"name":"/app/functions/frontend/addNewTemplateIndex.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":41979,"timestamp":123229157471,"id":1073,"parentId":999,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","layer":null},"startTime":1734261939416,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":43565,"timestamp":123229157602,"id":1074,"parentId":999,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","layer":null},"startTime":1734261939416,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":834,"timestamp":123229214181,"id":1101,"parentId":994,"tags":{"name":"/app/package-shared/data/possibleFields.json","layer":"api"},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4525,"timestamp":123229211931,"id":1093,"parentId":902,"tags":{"name":"/app/components/su/load-balancing/(partials)/ServerCard.jsx","layer":null},"startTime":1734261939471,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38090,"timestamp":123229179298,"id":1089,"parentId":1052,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/newspaper.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38279,"timestamp":123229179339,"id":1090,"parentId":1052,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/layers.js","layer":null},"startTime":1734261939438,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2404370,"timestamp":123226814966,"id":125,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES_API&page=%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fapi%2Fuser%2F%5Buser_id%5D%2Fadd-user.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7014,"timestamp":123229214057,"id":1097,"parentId":926,"tags":{"name":"/app/components/admin/databases/SingleTableIndexCard.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7785,"timestamp":123229213919,"id":1096,"parentId":923,"tags":{"name":"/app/components/admin/connect/MariaDBUserCard.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8977,"timestamp":123229213882,"id":1095,"parentId":926,"tags":{"name":"/app/components/admin/databases/NewIndexFieldTemp.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10365,"timestamp":123229213810,"id":1094,"parentId":922,"tags":{"name":"/app/components/admin/connect/MariDBUserFormGrantsSection.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10955,"timestamp":123229214119,"id":1099,"parentId":945,"tags":{"name":"/app/components/admin/media/card/MediaListCard.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12404,"timestamp":123229214091,"id":1098,"parentId":943,"tags":{"name":"/app/components/admin/databases/DatabaseListCard.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12807,"timestamp":123229214147,"id":1100,"parentId":945,"tags":{"name":"/app/components/admin/media/MediaFolderCard.jsx","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19941,"timestamp":123229219226,"id":1104,"parentId":1006,"tags":{"name":"/app/functions/frontend/numberFormat.js","layer":null},"startTime":1734261939478,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":37503,"timestamp":123229202248,"id":1092,"parentId":1051,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/defaultAttributes.js","layer":null},"startTime":1734261939461,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2028,"timestamp":123229242671,"id":1107,"parentId":1096,"tags":{"name":"__barrel_optimize__?names=CircleX,Copy,Delete,Edit!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939501,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2370,"timestamp":123229242750,"id":1108,"parentId":1098,"tags":{"name":"__barrel_optimize__?names=ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939501,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2768,"timestamp":123229242779,"id":1109,"parentId":1100,"tags":{"name":"__barrel_optimize__?names=Copy,Folder,X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939501,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32697,"timestamp":123229214199,"id":1102,"parentId":1077,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock.js","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32929,"timestamp":123229214241,"id":1103,"parentId":1078,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-cog.js","layer":null},"startTime":1734261939473,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4796,"timestamp":123229242808,"id":1110,"parentId":947,"tags":{"name":"/app/components/admin/media/TogglePrivacyButton.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5162,"timestamp":123229242885,"id":1112,"parentId":1007,"tags":{"name":"/app/layouts/components/AdminUserDropdown.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7469,"timestamp":123229242919,"id":1113,"parentId":1004,"tags":{"name":"/app/components/pages/login/GoogleIdentityButton.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7653,"timestamp":123229242977,"id":1115,"parentId":934,"tags":{"name":"/app/components/general/MetricCard.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8063,"timestamp":123229243002,"id":1116,"parentId":1006,"tags":{"name":"/app/functions/frontend/numberFormatFloat.js","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9091,"timestamp":123229242853,"id":1111,"parentId":1004,"tags":{"name":"/app/components/pages/login/FacebookSignInButton.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":24930,"timestamp":123229228171,"id":1106,"parentId":1073,"tags":{"name":"/app/node_modules/next/dist/server/lib/interception-routes.js","layer":null},"startTime":1734261939487,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11265,"timestamp":123229242950,"id":1114,"parentId":1004,"tags":{"name":"/app/components/pages/login/GithubLogin.jsx","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11763,"timestamp":123229243033,"id":1117,"parentId":1044,"tags":{"name":"/app/functions/frontend/submitNewDatabaseForm.js","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12270,"timestamp":123229243059,"id":1118,"parentId":1044,"tags":{"name":"/app/functions/frontend/submitUpdateDatabaseForm.js","layer":null},"startTime":1734261939502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11319,"timestamp":123229248416,"id":1119,"parentId":1058,"tags":{"name":"/app/functions/frontend/generateFormElementsForEntry.js","layer":null},"startTime":1734261939507,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32024,"timestamp":123229228068,"id":1105,"parentId":1051,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/shared/src/utils.js","layer":null},"startTime":1734261939487,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2446211,"timestamp":123226815152,"id":201,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Ferror-logs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2446223,"timestamp":123226815157,"id":203,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2446225,"timestamp":123226815169,"id":208,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers%2Fnew&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2446234,"timestamp":123226815166,"id":207,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1203,"timestamp":123229261135,"id":1120,"parentId":1110,"tags":{"name":"__barrel_optimize__?names=Lock,LockKeyholeOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939520,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1644,"timestamp":123229261226,"id":1121,"parentId":1112,"tags":{"name":"__barrel_optimize__?names=CircleGauge!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939520,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450026,"timestamp":123226814992,"id":136,"parentId":18,"tags":{"request":"private-next-pages/_app.js"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2451046,"timestamp":123226813987,"id":19,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F_error&preferredRegion=&absolutePagePath=next%2Fdist%2Fpages%2F_error&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450637,"timestamp":123226814409,"id":22,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F404&preferredRegion=&absolutePagePath=private-next-pages%2F404.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450652,"timestamp":123226814399,"id":21,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F500&preferredRegion=&absolutePagePath=private-next-pages%2F500.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450059,"timestamp":123226814997,"id":138,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fabout&preferredRegion=&absolutePagePath=private-next-pages%2Fabout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449972,"timestamp":123226815098,"id":179,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fblog&preferredRegion=&absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449974,"timestamp":123226815100,"id":180,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fcontact&preferredRegion=&absolutePagePath=private-next-pages%2Fcontact.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449976,"timestamp":123226815102,"id":181,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449978,"timestamp":123226815105,"id":182,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449979,"timestamp":123226815107,"id":183,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2F&preferredRegion=&absolutePagePath=private-next-pages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449981,"timestamp":123226815109,"id":184,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fcreate-account&preferredRegion=&absolutePagePath=private-next-pages%2Fcreate-account.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449982,"timestamp":123226815112,"id":185,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Femail-verification&preferredRegion=&absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449984,"timestamp":123226815114,"id":186,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Flogout&preferredRegion=&absolutePagePath=private-next-pages%2Flogout.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449985,"timestamp":123226815116,"id":187,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Flogin&preferredRegion=&absolutePagePath=private-next-pages%2Flogin.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449987,"timestamp":123226815119,"id":188,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fprivacy&preferredRegion=&absolutePagePath=private-next-pages%2Fprivacy.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449985,"timestamp":123226815124,"id":189,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449987,"timestamp":123226815126,"id":190,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fredirect&preferredRegion=&absolutePagePath=private-next-pages%2Fredirect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449988,"timestamp":123226815129,"id":191,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fconsole&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449989,"timestamp":123226815131,"id":192,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fbackups&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449990,"timestamp":123226815134,"id":193,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsend-password-reset-link&preferredRegion=&absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449988,"timestamp":123226815140,"id":196,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449990,"timestamp":123226815143,"id":197,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449991,"timestamp":123226815145,"id":198,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fpages&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449992,"timestamp":123226815147,"id":199,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Freset-password&preferredRegion=&absolutePagePath=private-next-pages%2Freset-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2449994,"timestamp":123226815150,"id":200,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fenvar&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450141,"timestamp":123226815007,"id":142,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450143,"timestamp":123226815010,"id":143,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450145,"timestamp":123226815012,"id":144,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450127,"timestamp":123226815035,"id":152,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450171,"timestamp":123226814995,"id":137,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450168,"timestamp":123226815002,"id":140,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450124,"timestamp":123226815050,"id":159,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450120,"timestamp":123226815060,"id":163,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fschema&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450145,"timestamp":123226815039,"id":154,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450145,"timestamp":123226815048,"id":158,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450154,"timestamp":123226815044,"id":156,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450149,"timestamp":123226815053,"id":160,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450129,"timestamp":123226815077,"id":170,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450146,"timestamp":123226815064,"id":165,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450182,"timestamp":123226815033,"id":151,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450176,"timestamp":123226815042,"id":155,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450147,"timestamp":123226815074,"id":169,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450153,"timestamp":123226815072,"id":168,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450159,"timestamp":123226815070,"id":167,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2450166,"timestamp":123226815067,"id":166,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3116,"timestamp":123229263878,"id":1122,"parentId":1037,"tags":{"name":"/app/components/su/components/UserFiles.jsx","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3600,"timestamp":123229264023,"id":1125,"parentId":1082,"tags":{"name":"/app/functions/frontend/reorderField.js","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8036,"timestamp":123229263948,"id":1123,"parentId":1043,"tags":{"name":"/app/components/su/components/RichText/RichTextExtensionBlock.jsx","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8298,"timestamp":123229264054,"id":1126,"parentId":1084,"tags":{"name":"/app/functions/frontend/addNewField.js","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9420,"timestamp":123229263985,"id":1124,"parentId":1037,"tags":{"name":"/app/components/su/components/UserDbShell.jsx","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8822,"timestamp":123229269417,"id":1132,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/EncryptionSelect.jsx","layer":null},"startTime":1734261939528,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9443,"timestamp":123229269277,"id":1130,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/CSSFiles.jsx","layer":null},"startTime":1734261939528,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10939,"timestamp":123229269373,"id":1131,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/ForeignKey.jsx","layer":null},"startTime":1734261939528,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2467456,"timestamp":123226815159,"id":204,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fservers&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2467478,"timestamp":123226815154,"id":202,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fload-balancing&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1737,"timestamp":123229283887,"id":1135,"parentId":1123,"tags":{"name":"__barrel_optimize__?names=CircleX,List,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22618,"timestamp":123229264164,"id":1129,"parentId":1109,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder.js","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22963,"timestamp":123229264081,"id":1127,"parentId":1107,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-x.js","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23190,"timestamp":123229264124,"id":1128,"parentId":1107,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/delete.js","layer":null},"startTime":1734261939523,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2473616,"timestamp":123226815005,"id":141,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7106,"timestamp":123229284001,"id":1137,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/UniqueFieldSelect.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":7763,"timestamp":123229283953,"id":1136,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/RegexPattern.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8148,"timestamp":123229284074,"id":1139,"parentId":1058,"tags":{"name":"/app/components/admin/databases/TableRichTextEntryField.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9073,"timestamp":123229284036,"id":1138,"parentId":1059,"tags":{"name":"/app/components/admin/databases/NewTableNameSlugAndDescSection.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9297,"timestamp":123229284104,"id":1140,"parentId":1046,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/AutoIncrement.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11330,"timestamp":123229284132,"id":1141,"parentId":1058,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditor.jsx","layer":null},"startTime":1734261939543,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7951,"timestamp":123229287825,"id":1144,"parentId":1095,"tags":{"name":"/app/functions/frontend/addNewIndex.js","layer":null},"startTime":1734261939547,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8652,"timestamp":123229287535,"id":1142,"parentId":1046,"tags":{"name":"/app/components/general/Modal.jsx","layer":null},"startTime":1734261939546,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9198,"timestamp":123229287772,"id":1143,"parentId":1084,"tags":{"name":"/app/components/admin/databases/NewFieldFormContent.jsx","layer":null},"startTime":1734261939546,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":27696,"timestamp":123229273969,"id":1133,"parentId":1106,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js","layer":null},"startTime":1734261939533,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23457,"timestamp":123229280688,"id":1134,"parentId":1120,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js","layer":null},"startTime":1734261939539,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":24,"timestamp":123229304395,"id":1145,"parentId":1142,"tags":{"name":"react-dom/client","layer":null},"startTime":1734261939563,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2762,"timestamp":123229304982,"id":1148,"parentId":1083,"tags":{"name":"/app/functions/frontend/syncTableDataFormHandler.js","layer":null},"startTime":1734261939564,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":12,"timestamp":123229307983,"id":1154,"parentId":1043,"tags":{"name":"@tinymce/tinymce-react","layer":null},"startTime":1734261939567,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2493586,"timestamp":123226815025,"id":148,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3715,"timestamp":123229306455,"id":1149,"parentId":1097,"tags":{"name":"/app/components/admin/databases/ExistingIndexEdit.jsx","layer":null},"startTime":1734261939565,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3774,"timestamp":123229307883,"id":1151,"parentId":1099,"tags":{"name":"/app/components/admin/media/card/MediaLinksDropdown.jsx","layer":null},"startTime":1734261939567,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4350,"timestamp":123229307827,"id":1150,"parentId":1099,"tags":{"name":"/app/components/admin/media/card/MediaPreviewSection.jsx","layer":null},"startTime":1734261939567,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8038,"timestamp":123229304434,"id":1146,"parentId":1135,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/list.js","layer":null},"startTime":1734261939563,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8139,"timestamp":123229304529,"id":1147,"parentId":1135,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js","layer":null},"startTime":1734261939563,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5521,"timestamp":123229307916,"id":1152,"parentId":1123,"tags":{"name":"/app/components/su/components/RichText/fns.js","layer":null},"startTime":1734261939567,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498725,"timestamp":123226815000,"id":139,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498698,"timestamp":123226815046,"id":157,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498696,"timestamp":123226815055,"id":161,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498720,"timestamp":123226815037,"id":153,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498731,"timestamp":123226815030,"id":150,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2498752,"timestamp":123226815015,"id":145,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5417,"timestamp":123229310344,"id":1155,"parentId":1099,"tags":{"name":"/app/components/admin/media/card/MediaPrivacyButton.jsx","layer":null},"startTime":1734261939569,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":898,"timestamp":123229317620,"id":1156,"parentId":1155,"tags":{"name":"__barrel_optimize__?names=Lock,LockOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939576,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11444,"timestamp":123229307945,"id":1153,"parentId":1133,"tags":{"name":"/app/node_modules/next/dist/shared/lib/segment.js","layer":null},"startTime":1734261939567,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2506903,"timestamp":123226814379,"id":20,"parentId":18,"tags":{"request":"private-next-pages/_document.js"},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":2089,"timestamp":123229320838,"id":1157,"parentId":1122,"tags":{"name":"/app/components/su/components/UserSingleFile.jsx","layer":null},"startTime":1734261939580,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":2810,"timestamp":123229320951,"id":1158,"parentId":1122,"tags":{"name":"/app/components/su/components/UserFolder.jsx","layer":null},"startTime":1734261939580,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":2590,"timestamp":123229321672,"id":1159,"parentId":1124,"tags":{"name":"/app/components/su/components/UserDbShellQueryResult.jsx","layer":null},"startTime":1734261939580,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5142,"timestamp":123229321728,"id":1160,"parentId":1123,"tags":{"name":"/app/components/su/components/RichText/ElementStyleModalContent.jsx","layer":null},"startTime":1734261939580,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":926,"timestamp":123229327010,"id":1161,"parentId":1157,"tags":{"name":"__barrel_optimize__?names=HardDrive!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939586,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":614,"timestamp":123229328304,"id":1163,"parentId":1158,"tags":{"name":"__barrel_optimize__?names=Copy,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939587,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":718,"timestamp":123229329238,"id":1164,"parentId":1160,"tags":{"name":"__barrel_optimize__?names=CircleX!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939588,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2515028,"timestamp":123226815161,"id":205,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fusers%2F%5Bsingle%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2515778,"timestamp":123226815136,"id":194,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fcreate-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2515788,"timestamp":123226815138,"id":195,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fsu%2Fdocs%2Fedit-page&preferredRegion=&absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":2406,"timestamp":123229329276,"id":1165,"parentId":1141,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditorHeader.jsx","layer":null},"startTime":1734261939588,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5240,"timestamp":123229327070,"id":1162,"parentId":1156,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-open.js","layer":null},"startTime":1734261939586,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2060,"timestamp":123229330562,"id":1166,"parentId":1139,"tags":{"name":"/app/functions/frontend/tinyMCEEditorSetup.js","layer":null},"startTime":1734261939589,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1920,"timestamp":123229331078,"id":1167,"parentId":1149,"tags":{"name":"/app/components/admin/databases/indexes/indexSelectChange.js","layer":null},"startTime":1734261939590,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2518151,"timestamp":123226815062,"id":164,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2518169,"timestamp":123226815058,"id":162,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2518722,"timestamp":123226815028,"id":149,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":811,"timestamp":123229333836,"id":1168,"parentId":1165,"tags":{"name":"__barrel_optimize__?names=CircleMinus,CirclePlus,Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261939593,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1966,"timestamp":123229335806,"id":1169,"parentId":1168,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-minus.js","layer":null},"startTime":1734261939595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2048,"timestamp":123229335895,"id":1170,"parentId":1168,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-plus.js","layer":null},"startTime":1734261939595,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1367,"timestamp":123229337037,"id":1171,"parentId":1166,"tags":{"name":"/app/functions/frontend/handleCopyHTML.js","layer":null},"startTime":1734261939596,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1613,"timestamp":123229337130,"id":1173,"parentId":1166,"tags":{"name":"/app/functions/frontend/handleEditHTML.js","layer":null},"startTime":1734261939596,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1962,"timestamp":123229337093,"id":1172,"parentId":1166,"tags":{"name":"/app/functions/frontend/handleEmbed.js","layer":null},"startTime":1734261939596,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":1240,"timestamp":123229341723,"id":1174,"parentId":1171,"tags":{"name":"/app/components/general/EmbedPopupContent.jsx","layer":null},"startTime":1734261939600,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":1523,"timestamp":123229342446,"id":1175,"parentId":1173,"tags":{"name":"/app/components/general/EditHTMLPopupContent.jsx","layer":null},"startTime":1734261939601,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":22,"timestamp":123229346998,"id":1176,"parentId":1175,"tags":{"name":"html-prettify","layer":null},"startTime":1734261939606,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2532043,"timestamp":123226815021,"id":147,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":2532057,"timestamp":123226815017,"id":146,"parentId":18,"tags":{"request":"next-route-loader?kind=PAGES&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry&preferredRegion=&absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&absoluteAppPath=private-next-pages%2F_app.js&absoluteDocumentPath=private-next-pages%2F_document.js&middlewareConfigBase64=e30%3D!"},"startTime":1734261937074,"traceId":"ce91546a398efcef"},{"name":"make","duration":2533498,"timestamp":123226813805,"id":18,"parentId":16,"tags":{},"startTime":1734261937073,"traceId":"ce91546a398efcef"},{"name":"get-entries","duration":904,"timestamp":123229348370,"id":1178,"parentId":1177,"tags":{},"startTime":1734261939607,"traceId":"ce91546a398efcef"},{"name":"node-file-trace-plugin","duration":17719593,"timestamp":123229357867,"id":1179,"parentId":1177,"tags":{"traceEntryCount":"382"},"startTime":1734261939617,"traceId":"ce91546a398efcef"},{"name":"collect-traced-files","duration":21301,"timestamp":123247077482,"id":1180,"parentId":1177,"tags":{},"startTime":1734261957336,"traceId":"ce91546a398efcef"},{"name":"finish-modules","duration":17750622,"timestamp":123229348183,"id":1177,"parentId":17,"tags":{},"startTime":1734261939607,"traceId":"ce91546a398efcef"},{"name":"chunk-graph","duration":40567,"timestamp":123247158232,"id":1182,"parentId":1181,"tags":{},"startTime":1734261957417,"traceId":"ce91546a398efcef"},{"name":"optimize-modules","duration":28,"timestamp":123247198950,"id":1184,"parentId":1181,"tags":{},"startTime":1734261957458,"traceId":"ce91546a398efcef"},{"name":"optimize-chunks","duration":46400,"timestamp":123247199052,"id":1185,"parentId":1181,"tags":{},"startTime":1734261957458,"traceId":"ce91546a398efcef"},{"name":"optimize-tree","duration":115,"timestamp":123247245555,"id":1186,"parentId":1181,"tags":{},"startTime":1734261957504,"traceId":"ce91546a398efcef"},{"name":"optimize-chunk-modules","duration":82384,"timestamp":123247245780,"id":1187,"parentId":1181,"tags":{},"startTime":1734261957504,"traceId":"ce91546a398efcef"},{"name":"optimize","duration":129416,"timestamp":123247198881,"id":1183,"parentId":1181,"tags":{},"startTime":1734261957458,"traceId":"ce91546a398efcef"},{"name":"module-hash","duration":40125,"timestamp":123247345093,"id":1188,"parentId":1181,"tags":{},"startTime":1734261957604,"traceId":"ce91546a398efcef"},{"name":"code-generation","duration":369968,"timestamp":123247385305,"id":1189,"parentId":1181,"tags":{},"startTime":1734261957644,"traceId":"ce91546a398efcef"},{"name":"hash","duration":17172,"timestamp":123247762710,"id":1190,"parentId":1181,"tags":{},"startTime":1734261958021,"traceId":"ce91546a398efcef"},{"name":"code-generation-jobs","duration":869,"timestamp":123247779879,"id":1191,"parentId":1181,"tags":{},"startTime":1734261958039,"traceId":"ce91546a398efcef"},{"name":"module-assets","duration":472,"timestamp":123247780641,"id":1192,"parentId":1181,"tags":{},"startTime":1734261958039,"traceId":"ce91546a398efcef"},{"name":"create-chunk-assets","duration":35018,"timestamp":123247781134,"id":1193,"parentId":1181,"tags":{},"startTime":1734261958040,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":146645,"timestamp":123247861346,"id":1196,"parentId":1194,"tags":{"name":"../pages/_document.js","cache":"MISS"},"startTime":1734261958120,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":145303,"timestamp":123247862763,"id":1198,"parentId":1194,"tags":{"name":"../pages/404.js","cache":"MISS"},"startTime":1734261958121,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":146321,"timestamp":123247861776,"id":1197,"parentId":1194,"tags":{"name":"../pages/500.js","cache":"MISS"},"startTime":1734261958120,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":150033,"timestamp":123247858091,"id":1195,"parentId":1194,"tags":{"name":"../pages/_error.js","cache":"MISS"},"startTime":1734261958117,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144890,"timestamp":123247863272,"id":1199,"parentId":1194,"tags":{"name":"../pages/api/acceptUserInvitation.js","cache":"MISS"},"startTime":1734261958122,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144354,"timestamp":123247863837,"id":1201,"parentId":1194,"tags":{"name":"../pages/api/addApiKey.js","cache":"MISS"},"startTime":1734261958123,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144605,"timestamp":123247863611,"id":1200,"parentId":1194,"tags":{"name":"../pages/api/addAdminUserUser.js","cache":"MISS"},"startTime":1734261958122,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143874,"timestamp":123247864370,"id":1203,"parentId":1194,"tags":{"name":"../pages/api/addDbUser.js","cache":"MISS"},"startTime":1734261958123,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144217,"timestamp":123247864055,"id":1202,"parentId":1194,"tags":{"name":"../pages/api/addNewMediaFolder.js","cache":"MISS"},"startTime":1734261958123,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143567,"timestamp":123247864733,"id":1205,"parentId":1194,"tags":{"name":"../pages/api/addUserTable.js","cache":"MISS"},"startTime":1734261958123,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143782,"timestamp":123247864547,"id":1204,"parentId":1194,"tags":{"name":"../pages/api/addSocialLogin.js","cache":"MISS"},"startTime":1734261958123,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142862,"timestamp":123247865490,"id":1208,"parentId":1194,"tags":{"name":"../pages/api/addUsersTableToDatabase.js","cache":"MISS"},"startTime":1734261958124,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143332,"timestamp":123247865045,"id":1206,"parentId":1194,"tags":{"name":"../pages/api/addTableEntry.js","cache":"MISS"},"startTime":1734261958124,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142698,"timestamp":123247865702,"id":1209,"parentId":1194,"tags":{"name":"../pages/api/admin/clientError.js","cache":"MISS"},"startTime":1734261958124,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143150,"timestamp":123247865280,"id":1207,"parentId":1194,"tags":{"name":"../pages/api/addUserUser.js","cache":"MISS"},"startTime":1734261958124,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142614,"timestamp":123247865841,"id":1210,"parentId":1194,"tags":{"name":"../pages/api/admin/clearErrorLogs.js","cache":"MISS"},"startTime":1734261958125,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142428,"timestamp":123247866047,"id":1211,"parentId":1194,"tags":{"name":"../pages/api/admin/addUserBackup.js","cache":"MISS"},"startTime":1734261958125,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142261,"timestamp":123247866237,"id":1212,"parentId":1194,"tags":{"name":"../pages/api/admin/createNewBackup.js","cache":"MISS"},"startTime":1734261958125,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142085,"timestamp":123247866443,"id":1213,"parentId":1194,"tags":{"name":"../pages/api/admin/getTablesForUserDatabase.js","cache":"MISS"},"startTime":1734261958125,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141584,"timestamp":123247866965,"id":1215,"parentId":1194,"tags":{"name":"../pages/api/admin/getUserBackups.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141865,"timestamp":123247866706,"id":1214,"parentId":1194,"tags":{"name":"../pages/api/admin/docs/[action].js","cache":"MISS"},"startTime":1734261958125,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141501,"timestamp":123247867088,"id":1216,"parentId":1194,"tags":{"name":"../pages/api/admin/getUserData.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141372,"timestamp":123247867237,"id":1217,"parentId":1194,"tags":{"name":"../pages/api/admin/grabBackups.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141270,"timestamp":123247867358,"id":1218,"parentId":1194,"tags":{"name":"../pages/api/admin/grabErrorLogs.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140951,"timestamp":123247867698,"id":1220,"parentId":1194,"tags":{"name":"../pages/api/admin/grabFile.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140694,"timestamp":123247867976,"id":1222,"parentId":1194,"tags":{"name":"../pages/api/admin/loginSuUser.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"}] +[{"name":"minify-js","duration":141186,"timestamp":123247867830,"id":1221,"parentId":1194,"tags":{"name":"../pages/api/admin/updateEnv.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141571,"timestamp":123247867482,"id":1219,"parentId":1194,"tags":{"name":"../pages/api/admin/runUserDbQuery.js","cache":"MISS"},"startTime":1734261958126,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140957,"timestamp":123247868121,"id":1223,"parentId":1194,"tags":{"name":"../pages/api/changeDbUserPassword.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140605,"timestamp":123247868494,"id":1225,"parentId":1194,"tags":{"name":"../pages/api/checkExistingFolder.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140454,"timestamp":123247868665,"id":1226,"parentId":1194,"tags":{"name":"../pages/api/clientSideAuth.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140866,"timestamp":123247868278,"id":1224,"parentId":1194,"tags":{"name":"../pages/api/checkDuplicateData.js","cache":"MISS"},"startTime":1734261958127,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139862,"timestamp":123247869305,"id":1229,"parentId":1194,"tags":{"name":"../pages/api/connect.js","cache":"MISS"},"startTime":1734261958128,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140379,"timestamp":123247868810,"id":1227,"parentId":1194,"tags":{"name":"../pages/api/connect/handshake.js","cache":"MISS"},"startTime":1734261958128,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139746,"timestamp":123247869468,"id":1230,"parentId":1194,"tags":{"name":"../pages/api/connect/verify.js","cache":"MISS"},"startTime":1734261958128,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139568,"timestamp":123247869668,"id":1231,"parentId":1194,"tags":{"name":"../pages/api/contact.js","cache":"MISS"},"startTime":1734261958128,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140175,"timestamp":123247869089,"id":1228,"parentId":1194,"tags":{"name":"../pages/api/connect/disconnect.js","cache":"MISS"},"startTime":1734261958128,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139491,"timestamp":123247869792,"id":1232,"parentId":1194,"tags":{"name":"../pages/api/createUserDatabase.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138906,"timestamp":123247870400,"id":1235,"parentId":1194,"tags":{"name":"../pages/api/deleteInvitation.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139115,"timestamp":123247870220,"id":1234,"parentId":1194,"tags":{"name":"../pages/api/deleteDbUser.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139351,"timestamp":123247870011,"id":1233,"parentId":1194,"tags":{"name":"../pages/api/deleteApiKey.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138616,"timestamp":123247870771,"id":1237,"parentId":1194,"tags":{"name":"../pages/api/deleteMediaFolder.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138880,"timestamp":123247870533,"id":1236,"parentId":1194,"tags":{"name":"../pages/api/deleteTableEntry.js","cache":"MISS"},"startTime":1734261958129,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138500,"timestamp":123247870937,"id":1238,"parentId":1194,"tags":{"name":"../pages/api/deleteUser.js","cache":"MISS"},"startTime":1734261958130,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138286,"timestamp":123247871173,"id":1239,"parentId":1194,"tags":{"name":"../pages/api/deleteUserDatabase.js","cache":"MISS"},"startTime":1734261958130,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137580,"timestamp":123247871898,"id":1242,"parentId":1194,"tags":{"name":"../pages/api/deleteUserUser.js","cache":"MISS"},"startTime":1734261958131,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138121,"timestamp":123247871384,"id":1240,"parentId":1194,"tags":{"name":"../pages/api/deleteUserMedia.js","cache":"MISS"},"startTime":1734261958130,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137466,"timestamp":123247872062,"id":1243,"parentId":1194,"tags":{"name":"../pages/api/downloadDatabaseSchema.js","cache":"MISS"},"startTime":1734261958131,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137898,"timestamp":123247871655,"id":1241,"parentId":1194,"tags":{"name":"../pages/api/deleteUserTable.js","cache":"MISS"},"startTime":1734261958130,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137308,"timestamp":123247872266,"id":1244,"parentId":1194,"tags":{"name":"../pages/api/exportDatabase.js","cache":"MISS"},"startTime":1734261958131,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137604,"timestamp":123247872954,"id":1247,"parentId":1194,"tags":{"name":"../pages/api/getDatabaseTables.js","cache":"MISS"},"startTime":1734261958132,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137877,"timestamp":123247872730,"id":1246,"parentId":1194,"tags":{"name":"../pages/api/get-authorized-databases.js","cache":"MISS"},"startTime":1734261958131,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":139055,"timestamp":123247872444,"id":1245,"parentId":1194,"tags":{"name":"../pages/api/fetch-entries-basic.js","cache":"MISS"},"startTime":1734261958131,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141168,"timestamp":123247873142,"id":1248,"parentId":1194,"tags":{"name":"../pages/api/getDelegatedDatabaseToken.js","cache":"MISS"},"startTime":1734261958132,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141958,"timestamp":123247873338,"id":1249,"parentId":1194,"tags":{"name":"../pages/api/getDelegatedDatabases.js","cache":"MISS"},"startTime":1734261958132,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":142198,"timestamp":123247873719,"id":1251,"parentId":1194,"tags":{"name":"../pages/api/getUserDatabaseTables.js","cache":"MISS"},"startTime":1734261958132,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143789,"timestamp":123247873498,"id":1250,"parentId":1194,"tags":{"name":"../pages/api/getDiskUsage.js","cache":"MISS"},"startTime":1734261958132,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144835,"timestamp":123247873889,"id":1252,"parentId":1194,"tags":{"name":"../pages/api/getUserDatabases.js","cache":"MISS"},"startTime":1734261958133,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":144343,"timestamp":123247874423,"id":1255,"parentId":1194,"tags":{"name":"../pages/api/healthcheck.js","cache":"MISS"},"startTime":1734261958133,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":145498,"timestamp":123247874055,"id":1253,"parentId":1194,"tags":{"name":"../pages/api/getUserMedia.js","cache":"MISS"},"startTime":1734261958133,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":147568,"timestamp":123247874207,"id":1254,"parentId":1194,"tags":{"name":"../pages/api/getUserSchemaData.js","cache":"MISS"},"startTime":1734261958133,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":148496,"timestamp":123247874785,"id":1257,"parentId":1194,"tags":{"name":"../pages/api/importDatabaseSchema.js","cache":"MISS"},"startTime":1734261958134,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":150852,"timestamp":123247875205,"id":1259,"parentId":1194,"tags":{"name":"../pages/api/logoutUser.js","cache":"MISS"},"startTime":1734261958134,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":152833,"timestamp":123247874523,"id":1256,"parentId":1194,"tags":{"name":"../pages/api/importDatabase.js","cache":"MISS"},"startTime":1734261958133,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":153874,"timestamp":123247874961,"id":1258,"parentId":1194,"tags":{"name":"../pages/api/infiniteScroll.js","cache":"MISS"},"startTime":1734261958134,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":154764,"timestamp":123247875345,"id":1260,"parentId":1194,"tags":{"name":"../pages/api/loginUser.js","cache":"MISS"},"startTime":1734261958134,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":156033,"timestamp":123247875873,"id":1262,"parentId":1194,"tags":{"name":"../pages/api/media/getPrivateMedia.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":156307,"timestamp":123247875647,"id":1261,"parentId":1194,"tags":{"name":"../pages/api/media/addPrivateMedia.js","cache":"MISS"},"startTime":1734261958134,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":156435,"timestamp":123247876216,"id":1264,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/get.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":157632,"timestamp":123247876040,"id":1263,"parentId":1194,"tags":{"name":"../pages/api/purgeDb.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":159267,"timestamp":123247876756,"id":1267,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/update-schema-from-single-database.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":160511,"timestamp":123247876376,"id":1265,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/get-schema.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":163136,"timestamp":123247876894,"id":1268,"parentId":1194,"tags":{"name":"../pages/api/reAuthenticateUser.js","cache":"MISS"},"startTime":1734261958136,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":163704,"timestamp":123247876548,"id":1266,"parentId":1194,"tags":{"name":"../pages/api/queryEntriesSearchTerm.js","cache":"MISS"},"startTime":1734261958135,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":165466,"timestamp":123247877104,"id":1269,"parentId":1194,"tags":{"name":"../pages/api/registerUser.js","cache":"MISS"},"startTime":1734261958136,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":166836,"timestamp":123247877812,"id":1272,"parentId":1194,"tags":{"name":"../pages/api/resetDelegatedDatabaseToken.js","cache":"MISS"},"startTime":1734261958137,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":162313,"timestamp":123247882985,"id":1273,"parentId":1194,"tags":{"name":"../pages/api/resetPassword.js","cache":"MISS"},"startTime":1734261958142,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":168032,"timestamp":123247877385,"id":1270,"parentId":1194,"tags":{"name":"../pages/api/refreshEntry.js","cache":"MISS"},"startTime":1734261958136,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":169456,"timestamp":123247877596,"id":1271,"parentId":1194,"tags":{"name":"../pages/api/renameMedia.js","cache":"MISS"},"startTime":1734261958136,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":165097,"timestamp":123247883722,"id":1277,"parentId":1194,"tags":{"name":"../pages/api/social-login/facebook-auth.js","cache":"MISS"},"startTime":1734261958142,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":165518,"timestamp":123247883601,"id":1276,"parentId":1194,"tags":{"name":"../pages/api/sendPasswordResetLink.js","cache":"MISS"},"startTime":1734261958142,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":167499,"timestamp":123247883453,"id":1275,"parentId":1194,"tags":{"name":"../pages/api/sendEmailVerificationLink.js","cache":"MISS"},"startTime":1734261958142,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":167124,"timestamp":123247884032,"id":1279,"parentId":1194,"tags":{"name":"../pages/api/social-login/google-auth.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":169427,"timestamp":123247883294,"id":1274,"parentId":1194,"tags":{"name":"../pages/api/runUserDbQuery.js","cache":"MISS"},"startTime":1734261958142,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":169198,"timestamp":123247883843,"id":1278,"parentId":1194,"tags":{"name":"../pages/api/social-login/github-auth.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":169106,"timestamp":123247884154,"id":1280,"parentId":1194,"tags":{"name":"../pages/api/social-login/utils/checkEmail.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":169240,"timestamp":123247884253,"id":1281,"parentId":1194,"tags":{"name":"../pages/api/social-login/utils/getEmailFromSocialId.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":170795,"timestamp":123247884382,"id":1282,"parentId":1194,"tags":{"name":"../pages/api/social-login/utils/checkSocialId.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":170875,"timestamp":123247884485,"id":1283,"parentId":1194,"tags":{"name":"../pages/api/sql-users/create.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":171141,"timestamp":123247884747,"id":1285,"parentId":1194,"tags":{"name":"../pages/api/sql-users/update.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":172201,"timestamp":123247884854,"id":1286,"parentId":1194,"tags":{"name":"../pages/api/stream/[path].js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":172182,"timestamp":123247885114,"id":1288,"parentId":1194,"tags":{"name":"../pages/api/unsubscribe.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":174411,"timestamp":123247884591,"id":1284,"parentId":1194,"tags":{"name":"../pages/api/sql-users/delete.js","cache":"MISS"},"startTime":1734261958143,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":175092,"timestamp":123247885384,"id":1291,"parentId":1194,"tags":{"name":"../pages/api/test/cors.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":175329,"timestamp":123247885191,"id":1289,"parentId":1194,"tags":{"name":"../pages/api/test/mail.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":175572,"timestamp":123247885283,"id":1290,"parentId":1194,"tags":{"name":"../pages/api/updateAdminUserAccess.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":177301,"timestamp":123247884934,"id":1287,"parentId":1194,"tags":{"name":"../pages/api/sync-table-data.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":180189,"timestamp":123247885452,"id":1292,"parentId":1194,"tags":{"name":"../pages/api/updateClonedTableForeignKeys.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":182669,"timestamp":123247885608,"id":1293,"parentId":1194,"tags":{"name":"../pages/api/updateDbSchemaDataForUser.js","cache":"MISS"},"startTime":1734261958144,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":183007,"timestamp":123247885850,"id":1294,"parentId":1194,"tags":{"name":"../pages/api/updateDbUser.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":186998,"timestamp":123247886004,"id":1295,"parentId":1194,"tags":{"name":"../pages/api/updateTableEntry.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":190064,"timestamp":123247886212,"id":1296,"parentId":1194,"tags":{"name":"../pages/api/updateUser.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":190193,"timestamp":123247886609,"id":1298,"parentId":1194,"tags":{"name":"../pages/api/updateUserUser.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":193525,"timestamp":123247886422,"id":1297,"parentId":1194,"tags":{"name":"../pages/api/updateUserDatabase.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":194045,"timestamp":123247886924,"id":1300,"parentId":1194,"tags":{"name":"../pages/api/user-schema/replace-database-schema.js","cache":"MISS"},"startTime":1734261958146,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":196188,"timestamp":123247886745,"id":1299,"parentId":1194,"tags":{"name":"../pages/api/updateUserTable.js","cache":"MISS"},"startTime":1734261958145,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":198330,"timestamp":123247887046,"id":1301,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/add-user.js","cache":"MISS"},"startTime":1734261958146,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":200456,"timestamp":123247887639,"id":1304,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/github-login.js","cache":"MISS"},"startTime":1734261958146,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":201087,"timestamp":123247887287,"id":1302,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/delete-user.js","cache":"MISS"},"startTime":1734261958146,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":200852,"timestamp":123247887808,"id":1305,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/google-login.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":201423,"timestamp":123247887481,"id":1303,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/get-user.js","cache":"MISS"},"startTime":1734261958146,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":204232,"timestamp":123247887939,"id":1306,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/grab-google-user-from-token.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":208499,"timestamp":123247888222,"id":1308,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/reauth-user.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":209686,"timestamp":123247888050,"id":1307,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/login-user.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":209595,"timestamp":123247888887,"id":1312,"parentId":1194,"tags":{"name":"../pages/_app.js","cache":"MISS"},"startTime":1734261958148,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":210138,"timestamp":123247888797,"id":1311,"parentId":1194,"tags":{"name":"../pages/api/webhooks/github-push.js","cache":"MISS"},"startTime":1734261958148,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":210809,"timestamp":123247888385,"id":1309,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/send-email-code.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":210977,"timestamp":123247889686,"id":1314,"parentId":1194,"tags":{"name":"../pages/about.js","cache":"MISS"},"startTime":1734261958148,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":214529,"timestamp":123247888591,"id":1310,"parentId":1194,"tags":{"name":"../pages/api/user/[user_id]/update-user.js","cache":"MISS"},"startTime":1734261958147,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":218767,"timestamp":123247889883,"id":1315,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/edit-database.js","cache":"MISS"},"startTime":1734261958149,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":221455,"timestamp":123247888937,"id":1313,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/api-keys.js","cache":"MISS"},"startTime":1734261958148,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":224483,"timestamp":123247891790,"id":1318,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single].js","cache":"MISS"},"startTime":1734261958151,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":226420,"timestamp":123247890338,"id":1316,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/connect.js","cache":"MISS"},"startTime":1734261958149,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":227372,"timestamp":123247890927,"id":1317,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/connect.js","cache":"MISS"},"startTime":1734261958150,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":234388,"timestamp":123247892195,"id":1319,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/schema.js","cache":"MISS"},"startTime":1734261958151,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":233340,"timestamp":123247893298,"id":1321,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js","cache":"MISS"},"startTime":1734261958152,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":234303,"timestamp":123247893716,"id":1322,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js","cache":"MISS"},"startTime":1734261958152,"traceId":"ce91546a398efcef"}] +[{"name":"minify-js","duration":237431,"timestamp":123247892856,"id":1320,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/shell.js","cache":"MISS"},"startTime":1734261958152,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":236395,"timestamp":123247894608,"id":1324,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js","cache":"MISS"},"startTime":1734261958153,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":238772,"timestamp":123247895956,"id":1327,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js","cache":"MISS"},"startTime":1734261958155,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":242359,"timestamp":123247894093,"id":1323,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js","cache":"MISS"},"startTime":1734261958153,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":245386,"timestamp":123247896125,"id":1328,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables.js","cache":"MISS"},"startTime":1734261958155,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":246001,"timestamp":123247895596,"id":1326,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js","cache":"MISS"},"startTime":1734261958154,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":245652,"timestamp":123247897455,"id":1331,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/[user].js","cache":"MISS"},"startTime":1734261958156,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":250026,"timestamp":123247894781,"id":1325,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/[single_table].js","cache":"MISS"},"startTime":1734261958153,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":252551,"timestamp":123247897992,"id":1333,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/add-database.js","cache":"MISS"},"startTime":1734261958157,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":253653,"timestamp":123247898219,"id":1334,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases.js","cache":"MISS"},"startTime":1734261958157,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":254841,"timestamp":123247898308,"id":1335,"parentId":1194,"tags":{"name":"../pages/admin/[user_id].js","cache":"MISS"},"startTime":1734261958157,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":256394,"timestamp":123247897001,"id":1330,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/add-social-logins.js","cache":"MISS"},"startTime":1734261958156,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":257086,"timestamp":123247896386,"id":1329,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/tables/add-table.js","cache":"MISS"},"startTime":1734261958155,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":258384,"timestamp":123247897567,"id":1332,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users/add-user.js","cache":"MISS"},"startTime":1734261958156,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":259406,"timestamp":123247899437,"id":1338,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/media/[...folder].js","cache":"MISS"},"startTime":1734261958158,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":261019,"timestamp":123247899011,"id":1337,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/settings.js","cache":"MISS"},"startTime":1734261958158,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":262505,"timestamp":123247900180,"id":1340,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/media.js","cache":"MISS"},"startTime":1734261958159,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":265903,"timestamp":123247898396,"id":1336,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/databases/[single]/users.js","cache":"MISS"},"startTime":1734261958157,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":266871,"timestamp":123247899779,"id":1339,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/schema.js","cache":"MISS"},"startTime":1734261958158,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":269996,"timestamp":123247900453,"id":1341,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/users/add-user.js","cache":"MISS"},"startTime":1734261958159,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":270831,"timestamp":123247900894,"id":1342,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/users/databases/[database]/[user].js","cache":"MISS"},"startTime":1734261958160,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":271414,"timestamp":123247901340,"id":1343,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/users/databases/[database].js","cache":"MISS"},"startTime":1734261958160,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":271615,"timestamp":123247901728,"id":1344,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/users/databases.js","cache":"MISS"},"startTime":1734261958160,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":271403,"timestamp":123247902685,"id":1346,"parentId":1194,"tags":{"name":"../pages/admin.js","cache":"MISS"},"startTime":1734261958161,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":272745,"timestamp":123247903190,"id":1349,"parentId":1194,"tags":{"name":"../pages/api/fetch-media.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":275216,"timestamp":123247903065,"id":1348,"parentId":1194,"tags":{"name":"../pages/api/exportTableData.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":278091,"timestamp":123247902160,"id":1345,"parentId":1194,"tags":{"name":"../pages/admin/[user_id]/users.js","cache":"MISS"},"startTime":1734261958161,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":277640,"timestamp":123247902856,"id":1347,"parentId":1194,"tags":{"name":"../pages/api/addUserMedia.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":279283,"timestamp":123247903287,"id":1350,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/add-image.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":279957,"timestamp":123247903450,"id":1351,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/get-private-file.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":281458,"timestamp":123247903858,"id":1354,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/post.js","cache":"MISS"},"startTime":1734261958163,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":282218,"timestamp":123247903729,"id":1353,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/add-file.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":282233,"timestamp":123247903959,"id":1355,"parentId":1194,"tags":{"name":"../pages/blog.js","cache":"MISS"},"startTime":1734261958163,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":283924,"timestamp":123247903573,"id":1352,"parentId":1194,"tags":{"name":"../pages/api/query/[user_id]/delete-file.js","cache":"MISS"},"startTime":1734261958162,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":283704,"timestamp":123247904700,"id":1358,"parentId":1194,"tags":{"name":"../pages/docs/[page].js","cache":"MISS"},"startTime":1734261958163,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":285768,"timestamp":123247904135,"id":1356,"parentId":1194,"tags":{"name":"../pages/contact.js","cache":"MISS"},"startTime":1734261958163,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":286656,"timestamp":123247904423,"id":1357,"parentId":1194,"tags":{"name":"../pages/docs.js","cache":"MISS"},"startTime":1734261958163,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":286816,"timestamp":123247904881,"id":1359,"parentId":1194,"tags":{"name":"../pages/index.js","cache":"MISS"},"startTime":1734261958164,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":291950,"timestamp":123247905996,"id":1362,"parentId":1194,"tags":{"name":"../pages/logout.js","cache":"MISS"},"startTime":1734261958165,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":292859,"timestamp":123247905727,"id":1361,"parentId":1194,"tags":{"name":"../pages/email-verification.js","cache":"MISS"},"startTime":1734261958164,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":293501,"timestamp":123247906231,"id":1363,"parentId":1194,"tags":{"name":"../pages/login.js","cache":"MISS"},"startTime":1734261958165,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":294297,"timestamp":123247906869,"id":1365,"parentId":1194,"tags":{"name":"../pages/docs/[page]/[sub-page].js","cache":"MISS"},"startTime":1734261958166,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":295789,"timestamp":123247907061,"id":1366,"parentId":1194,"tags":{"name":"../pages/redirect.js","cache":"MISS"},"startTime":1734261958166,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":297738,"timestamp":123247905270,"id":1360,"parentId":1194,"tags":{"name":"../pages/create-account.js","cache":"MISS"},"startTime":1734261958164,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":296950,"timestamp":123247906544,"id":1364,"parentId":1194,"tags":{"name":"../pages/privacy.js","cache":"MISS"},"startTime":1734261958165,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":298241,"timestamp":123247907224,"id":1367,"parentId":1194,"tags":{"name":"../pages/su/console.js","cache":"MISS"},"startTime":1734261958166,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":297531,"timestamp":123247907988,"id":1370,"parentId":1194,"tags":{"name":"../pages/su/docs/create-page.js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":299307,"timestamp":123247907439,"id":1368,"parentId":1194,"tags":{"name":"../pages/su/backups.js","cache":"MISS"},"startTime":1734261958166,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":299140,"timestamp":123247908287,"id":1372,"parentId":1194,"tags":{"name":"../pages/su/docs.js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":299573,"timestamp":123247908142,"id":1371,"parentId":1194,"tags":{"name":"../pages/su/docs/edit-page.js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":300521,"timestamp":123247908433,"id":1373,"parentId":1194,"tags":{"name":"../pages/su/docs/pages/[id].js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":300716,"timestamp":123247908604,"id":1374,"parentId":1194,"tags":{"name":"../pages/su/docs/pages.js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":302448,"timestamp":123247907714,"id":1369,"parentId":1194,"tags":{"name":"../pages/send-password-reset-link.js","cache":"MISS"},"startTime":1734261958166,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":303661,"timestamp":123247909095,"id":1376,"parentId":1194,"tags":{"name":"../pages/su/envar.js","cache":"MISS"},"startTime":1734261958168,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":304708,"timestamp":123247909350,"id":1377,"parentId":1194,"tags":{"name":"../pages/su/error-logs.js","cache":"MISS"},"startTime":1734261958168,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":307507,"timestamp":123247909976,"id":1379,"parentId":1194,"tags":{"name":"../pages/su.js","cache":"MISS"},"startTime":1734261958169,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":308885,"timestamp":123247908773,"id":1375,"parentId":1194,"tags":{"name":"../pages/reset-password.js","cache":"MISS"},"startTime":1734261958167,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":309174,"timestamp":123247909633,"id":1378,"parentId":1194,"tags":{"name":"../pages/su/load-balancing.js","cache":"MISS"},"startTime":1734261958168,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":310549,"timestamp":123247910209,"id":1380,"parentId":1194,"tags":{"name":"../pages/su/servers.js","cache":"MISS"},"startTime":1734261958169,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":304015,"timestamp":123247918645,"id":1383,"parentId":1194,"tags":{"name":"../pages/su/users.js","cache":"MISS"},"startTime":1734261958177,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":304847,"timestamp":123247918860,"id":1384,"parentId":1194,"tags":{"name":"../pages/su/users/new.js","cache":"MISS"},"startTime":1734261958178,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":313916,"timestamp":123247911149,"id":1382,"parentId":1194,"tags":{"name":"../pages/su/login.js","cache":"MISS"},"startTime":1734261958170,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":308699,"timestamp":123247919588,"id":1387,"parentId":1194,"tags":{"name":"../webpack-runtime.js","cache":"MISS"},"startTime":1734261958178,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":309727,"timestamp":123247919026,"id":1385,"parentId":1194,"tags":{"name":"../pages/terms.js","cache":"MISS"},"startTime":1734261958178,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":310062,"timestamp":123247919968,"id":1388,"parentId":1194,"tags":{"name":"../webpack-api-runtime.js","cache":"MISS"},"startTime":1734261958179,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":311162,"timestamp":123247919362,"id":1386,"parentId":1194,"tags":{"name":"../pages/unsubscribe.js","cache":"MISS"},"startTime":1734261958178,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":322169,"timestamp":123247910474,"id":1381,"parentId":1194,"tags":{"name":"../pages/su/users/[single].js","cache":"MISS"},"startTime":1734261958169,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":313222,"timestamp":123247920905,"id":1391,"parentId":1194,"tags":{"name":"6521.js","cache":"MISS"},"startTime":1734261958180,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":316119,"timestamp":123247920709,"id":1390,"parentId":1194,"tags":{"name":"9821.js","cache":"MISS"},"startTime":1734261958179,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":321603,"timestamp":123247921107,"id":1392,"parentId":1194,"tags":{"name":"9600.js","cache":"MISS"},"startTime":1734261958180,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":321154,"timestamp":123247921629,"id":1393,"parentId":1194,"tags":{"name":"7070.js","cache":"MISS"},"startTime":1734261958180,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":321635,"timestamp":123247921982,"id":1394,"parentId":1194,"tags":{"name":"4050.js","cache":"MISS"},"startTime":1734261958181,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":324512,"timestamp":123247922212,"id":1396,"parentId":1194,"tags":{"name":"3737.js","cache":"MISS"},"startTime":1734261958181,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":325513,"timestamp":123247922076,"id":1395,"parentId":1194,"tags":{"name":"5134.js","cache":"MISS"},"startTime":1734261958181,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":327990,"timestamp":123247922345,"id":1397,"parentId":1194,"tags":{"name":"3932.js","cache":"MISS"},"startTime":1734261958181,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":332884,"timestamp":123247922875,"id":1399,"parentId":1194,"tags":{"name":"9621.js","cache":"MISS"},"startTime":1734261958182,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":335290,"timestamp":123247922648,"id":1398,"parentId":1194,"tags":{"name":"2451.js","cache":"MISS"},"startTime":1734261958181,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":339583,"timestamp":123247923725,"id":1402,"parentId":1194,"tags":{"name":"1614.js","cache":"MISS"},"startTime":1734261958182,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":340419,"timestamp":123247923149,"id":1400,"parentId":1194,"tags":{"name":"8613.js","cache":"MISS"},"startTime":1734261958182,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":341067,"timestamp":123247923582,"id":1401,"parentId":1194,"tags":{"name":"4385.js","cache":"MISS"},"startTime":1734261958182,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":350433,"timestamp":123247924734,"id":1405,"parentId":1194,"tags":{"name":"3460.js","cache":"MISS"},"startTime":1734261958183,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":352015,"timestamp":123247923847,"id":1403,"parentId":1194,"tags":{"name":"5421.js","cache":"MISS"},"startTime":1734261958183,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":352224,"timestamp":123247924302,"id":1404,"parentId":1194,"tags":{"name":"9732.js","cache":"MISS"},"startTime":1734261958183,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":357662,"timestamp":123247925101,"id":1406,"parentId":1194,"tags":{"name":"4312.js","cache":"MISS"},"startTime":1734261958184,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":364863,"timestamp":123247920035,"id":1389,"parentId":1194,"tags":{"name":"883.js","cache":"MISS"},"startTime":1734261958179,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":360323,"timestamp":123247926767,"id":1410,"parentId":1194,"tags":{"name":"2414.js","cache":"MISS"},"startTime":1734261958185,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":363217,"timestamp":123247926946,"id":1411,"parentId":1194,"tags":{"name":"3247.js","cache":"MISS"},"startTime":1734261958186,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":365748,"timestamp":123247925917,"id":1408,"parentId":1194,"tags":{"name":"5664.js","cache":"MISS"},"startTime":1734261958185,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":366724,"timestamp":123247926388,"id":1409,"parentId":1194,"tags":{"name":"2996.js","cache":"MISS"},"startTime":1734261958185,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":369214,"timestamp":123247928241,"id":1414,"parentId":1194,"tags":{"name":"5212.js","cache":"MISS"},"startTime":1734261958187,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":373671,"timestamp":123247925224,"id":1407,"parentId":1194,"tags":{"name":"8842.js","cache":"MISS"},"startTime":1734261958184,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":373619,"timestamp":123247928039,"id":1413,"parentId":1194,"tags":{"name":"9914.js","cache":"MISS"},"startTime":1734261958187,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":375268,"timestamp":123247928575,"id":1416,"parentId":1194,"tags":{"name":"5674.js","cache":"MISS"},"startTime":1734261958187,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":376621,"timestamp":123247928700,"id":1417,"parentId":1194,"tags":{"name":"45.js","cache":"MISS"},"startTime":1734261958187,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":377421,"timestamp":123247928446,"id":1415,"parentId":1194,"tags":{"name":"5264.js","cache":"MISS"},"startTime":1734261958187,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":379918,"timestamp":123247929013,"id":1419,"parentId":1194,"tags":{"name":"4333.js","cache":"MISS"},"startTime":1734261958188,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":380583,"timestamp":123247928876,"id":1418,"parentId":1194,"tags":{"name":"8540.js","cache":"MISS"},"startTime":1734261958188,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":385426,"timestamp":123247927137,"id":1412,"parentId":1194,"tags":{"name":"7640.js","cache":"MISS"},"startTime":1734261958186,"traceId":"ce91546a398efcef"},{"name":"minify-webpack-plugin-optimize","duration":491083,"timestamp":123247821494,"id":1194,"parentId":16,"tags":{"compilationName":"server"},"startTime":1734261958080,"traceId":"ce91546a398efcef"},{"name":"css-minimizer-plugin","duration":184,"timestamp":123248312793,"id":1420,"parentId":16,"tags":{},"startTime":1734261958572,"traceId":"ce91546a398efcef"},{"name":"create-trace-assets","duration":14306,"timestamp":123248313200,"id":1421,"parentId":17,"tags":{},"startTime":1734261958572,"traceId":"ce91546a398efcef"}] +[{"name":"seal","duration":1202317,"timestamp":123247129171,"id":1181,"parentId":16,"tags":{},"startTime":1734261957388,"traceId":"ce91546a398efcef"},{"name":"webpack-compilation","duration":21526530,"timestamp":123226805230,"id":16,"parentId":13,"tags":{"name":"server"},"startTime":1734261937064,"traceId":"ce91546a398efcef"},{"name":"emit","duration":30805,"timestamp":123248332049,"id":1422,"parentId":13,"tags":{},"startTime":1734261958591,"traceId":"ce91546a398efcef"},{"name":"webpack-close","duration":1160457,"timestamp":123248363516,"id":1423,"parentId":13,"tags":{"name":"server"},"startTime":1734261958622,"traceId":"ce91546a398efcef"},{"name":"webpack-generate-error-stats","duration":1981,"timestamp":123249524039,"id":1424,"parentId":1423,"tags":{},"startTime":1734261959783,"traceId":"ce91546a398efcef"},{"name":"make","duration":128,"timestamp":123249553390,"id":1426,"parentId":1425,"tags":{},"startTime":1734261959812,"traceId":"ce91546a398efcef"},{"name":"chunk-graph","duration":54,"timestamp":123249554295,"id":1428,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"optimize-modules","duration":11,"timestamp":123249554431,"id":1430,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"optimize-chunks","duration":82,"timestamp":123249554507,"id":1431,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"optimize-tree","duration":12,"timestamp":123249554639,"id":1432,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"optimize-chunk-modules","duration":60,"timestamp":123249554730,"id":1433,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"optimize","duration":459,"timestamp":123249554374,"id":1429,"parentId":1427,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"module-hash","duration":18,"timestamp":123249555052,"id":1434,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"code-generation","duration":14,"timestamp":123249555085,"id":1435,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"hash","duration":70,"timestamp":123249555151,"id":1436,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"code-generation-jobs","duration":49,"timestamp":123249555221,"id":1437,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"module-assets","duration":22,"timestamp":123249555258,"id":1438,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"create-chunk-assets","duration":15,"timestamp":123249555287,"id":1439,"parentId":1427,"tags":{},"startTime":1734261959814,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":769,"timestamp":123249558306,"id":1441,"parentId":1440,"tags":{"name":"interception-route-rewrite-manifest.js","cache":"MISS"},"startTime":1734261959817,"traceId":"ce91546a398efcef"},{"name":"minify-webpack-plugin-optimize","duration":1223,"timestamp":123249557865,"id":1440,"parentId":1425,"tags":{"compilationName":"edge-server"},"startTime":1734261959817,"traceId":"ce91546a398efcef"},{"name":"css-minimizer-plugin","duration":10,"timestamp":123249559132,"id":1442,"parentId":1425,"tags":{},"startTime":1734261959818,"traceId":"ce91546a398efcef"},{"name":"seal","duration":6254,"timestamp":123249554123,"id":1427,"parentId":1425,"tags":{},"startTime":1734261959813,"traceId":"ce91546a398efcef"},{"name":"webpack-compilation","duration":12079,"timestamp":123249548388,"id":1425,"parentId":13,"tags":{"name":"edge-server"},"startTime":1734261959807,"traceId":"ce91546a398efcef"},{"name":"emit","duration":481,"timestamp":123249560609,"id":1443,"parentId":13,"tags":{},"startTime":1734261959819,"traceId":"ce91546a398efcef"},{"name":"webpack-close","duration":25402,"timestamp":123249561422,"id":1444,"parentId":13,"tags":{"name":"edge-server"},"startTime":1734261959820,"traceId":"ce91546a398efcef"},{"name":"webpack-generate-error-stats","duration":938,"timestamp":123249586841,"id":1445,"parentId":1444,"tags":{},"startTime":1734261959846,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":120,"timestamp":123249607928,"id":1521,"parentId":1520,"tags":{"absolutePagePath":"next/dist/pages/_error"},"startTime":1734261959867,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":2424,"timestamp":123249606490,"id":1520,"parentId":1449,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=next%2Fdist%2Fpages%2F_error&page=%2F_error!","layer":null},"startTime":1734261959865,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":14,"timestamp":123249609033,"id":1523,"parentId":1522,"tags":{"absolutePagePath":"private-next-pages/500.jsx"},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":204,"timestamp":123249608990,"id":1522,"parentId":1450,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F500.jsx&page=%2F500!","layer":null},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249609244,"id":1525,"parentId":1524,"tags":{"absolutePagePath":"private-next-pages/404.jsx"},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":178,"timestamp":123249609210,"id":1524,"parentId":1451,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F404.jsx&page=%2F404!","layer":null},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249609436,"id":1527,"parentId":1526,"tags":{"absolutePagePath":"private-next-pages/_app.js"},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":166,"timestamp":123249609403,"id":1526,"parentId":1452,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2F_app.js&page=%2F_app!","layer":null},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249609615,"id":1529,"parentId":1528,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/api-keys/index.jsx"},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":164,"timestamp":123249609582,"id":1528,"parentId":1454,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys!","layer":null},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249609796,"id":1531,"parentId":1530,"tags":{"absolutePagePath":"private-next-pages/about.jsx"},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":235,"timestamp":123249609763,"id":1530,"parentId":1455,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fabout.jsx&page=%2Fabout!","layer":null},"startTime":1734261959868,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249610070,"id":1533,"parentId":1532,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/edit-database.jsx"},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":186,"timestamp":123249610033,"id":1532,"parentId":1456,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database!","layer":null},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249610265,"id":1535,"parentId":1534,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/connect.jsx"},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":202,"timestamp":123249610232,"id":1534,"parentId":1457,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect!","layer":null},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249610489,"id":1537,"parentId":1536,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/connect/index.jsx"},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":185,"timestamp":123249610448,"id":1536,"parentId":1458,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect!","layer":null},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":23,"timestamp":123249610693,"id":1539,"parentId":1538,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/index.jsx"},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":257,"timestamp":123249610650,"id":1538,"parentId":1459,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D!","layer":null},"startTime":1734261959869,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":15,"timestamp":123249610960,"id":1541,"parentId":1540,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/schema.jsx"},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":219,"timestamp":123249610922,"id":1540,"parentId":1460,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema!","layer":null},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":14,"timestamp":123249611196,"id":1543,"parentId":1542,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/shell.jsx"},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":191,"timestamp":123249611156,"id":1542,"parentId":1461,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell!","layer":null},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":17,"timestamp":123249611394,"id":1545,"parentId":1544,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx"},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":189,"timestamp":123249611361,"id":1544,"parentId":1462,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table!","layer":null},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":21,"timestamp":123249611601,"id":1547,"parentId":1546,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx"},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":182,"timestamp":123249611564,"id":1546,"parentId":1463,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry!","layer":null},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":14,"timestamp":123249611791,"id":1549,"parentId":1548,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":167,"timestamp":123249611760,"id":1548,"parentId":1464,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D!","layer":null},"startTime":1734261959870,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":18,"timestamp":123249611970,"id":1551,"parentId":1550,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":173,"timestamp":123249611940,"id":1550,"parentId":1465,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries!","layer":null},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249612155,"id":1553,"parentId":1552,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":163,"timestamp":123249612126,"id":1552,"parentId":1466,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D!","layer":null},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249612333,"id":1555,"parentId":1554,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":160,"timestamp":123249612303,"id":1554,"parentId":1467,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields!","layer":null},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249612505,"id":1557,"parentId":1556,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":185,"timestamp":123249612476,"id":1556,"parentId":1468,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password!","layer":null},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249612705,"id":1559,"parentId":1558,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/index.jsx"},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":164,"timestamp":123249612674,"id":1558,"parentId":1469,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables!","layer":null},"startTime":1734261959871,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249612885,"id":1561,"parentId":1560,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/tables/add-table.jsx"},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":166,"timestamp":123249612851,"id":1560,"parentId":1470,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249613062,"id":1563,"parentId":1562,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx"},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":182,"timestamp":123249613031,"id":1562,"parentId":1471,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249613260,"id":1565,"parentId":1564,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx"},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":163,"timestamp":123249613227,"id":1564,"parentId":1472,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249613432,"id":1567,"parentId":1566,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/add-user.jsx"},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":162,"timestamp":123249613403,"id":1566,"parentId":1473,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249613623,"id":1569,"parentId":1568,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/add-database.jsx"},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":181,"timestamp":123249613579,"id":1568,"parentId":1474,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249613803,"id":1571,"parentId":1570,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/index.jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":165,"timestamp":123249613773,"id":1570,"parentId":1475,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases!","layer":null},"startTime":1734261959872,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249613982,"id":1573,"parentId":1572,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/index.jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":159,"timestamp":123249613953,"id":1572,"parentId":1476,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D!","layer":null},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249614153,"id":1575,"parentId":1574,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/databases/[single]/users/index.jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":158,"timestamp":123249614124,"id":1574,"parentId":1477,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers!","layer":null},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249614325,"id":1577,"parentId":1576,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/settings.jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":185,"timestamp":123249614294,"id":1576,"parentId":1478,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings!","layer":null},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249614521,"id":1579,"parentId":1578,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/media/[...folder].jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":160,"timestamp":123249614492,"id":1578,"parentId":1479,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D!","layer":null},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249614694,"id":1581,"parentId":1580,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/schema.jsx"},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":158,"timestamp":123249614665,"id":1580,"parentId":1480,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fschema!","layer":null},"startTime":1734261959873,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249614865,"id":1583,"parentId":1582,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/media/index.jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":147,"timestamp":123249614836,"id":1582,"parentId":1481,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249615021,"id":1585,"parentId":1584,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/add-user.jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":144,"timestamp":123249614994,"id":1584,"parentId":1482,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249615181,"id":1587,"parentId":1586,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/[database]/[user].jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":159,"timestamp":123249615151,"id":1586,"parentId":1483,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249615352,"id":1589,"parentId":1588,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/[database]/index.jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":153,"timestamp":123249615323,"id":1588,"parentId":1484,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249615517,"id":1591,"parentId":1590,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/databases/index.jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":152,"timestamp":123249615488,"id":1590,"parentId":1485,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249615679,"id":1593,"parentId":1592,"tags":{"absolutePagePath":"private-next-pages/admin/[user_id]/users/index.jsx"},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":147,"timestamp":123249615653,"id":1592,"parentId":1486,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers!","layer":null},"startTime":1734261959874,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249615854,"id":1595,"parentId":1594,"tags":{"absolutePagePath":"private-next-pages/admin/index.jsx"},"startTime":1734261959875,"traceId":"ce91546a398efcef"}] +[{"name":"build-module","duration":372,"timestamp":123249615813,"id":1594,"parentId":1487,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&page=%2Fadmin!","layer":null},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249616228,"id":1597,"parentId":1596,"tags":{"absolutePagePath":"private-next-pages/blog/index.jsx"},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":166,"timestamp":123249616198,"id":1596,"parentId":1488,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&page=%2Fblog!","layer":null},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":10,"timestamp":123249616408,"id":1599,"parentId":1598,"tags":{"absolutePagePath":"private-next-pages/contact.jsx"},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":154,"timestamp":123249616377,"id":1598,"parentId":1489,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fcontact.jsx&page=%2Fcontact!","layer":null},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249616571,"id":1601,"parentId":1600,"tags":{"absolutePagePath":"private-next-pages/docs/index.jsx"},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":151,"timestamp":123249616543,"id":1600,"parentId":1490,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&page=%2Fdocs!","layer":null},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249616738,"id":1603,"parentId":1602,"tags":{"absolutePagePath":"private-next-pages/docs/[page]/index.jsx"},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":150,"timestamp":123249616708,"id":1602,"parentId":1491,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D!","layer":null},"startTime":1734261959875,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":29,"timestamp":123249616918,"id":1605,"parentId":1604,"tags":{"absolutePagePath":"private-next-pages/index.jsx"},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":172,"timestamp":123249616887,"id":1604,"parentId":1492,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Findex.jsx&page=%2F!","layer":null},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249617102,"id":1607,"parentId":1606,"tags":{"absolutePagePath":"private-next-pages/create-account.jsx"},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":151,"timestamp":123249617071,"id":1606,"parentId":1493,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fcreate-account.jsx&page=%2Fcreate-account!","layer":null},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":10,"timestamp":123249617263,"id":1609,"parentId":1608,"tags":{"absolutePagePath":"private-next-pages/email-verification/index.jsx"},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":166,"timestamp":123249617234,"id":1608,"parentId":1494,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&page=%2Femail-verification!","layer":null},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":10,"timestamp":123249617443,"id":1611,"parentId":1610,"tags":{"absolutePagePath":"private-next-pages/logout.jsx"},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":187,"timestamp":123249617413,"id":1610,"parentId":1495,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Flogout.jsx&page=%2Flogout!","layer":null},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249617642,"id":1613,"parentId":1612,"tags":{"absolutePagePath":"private-next-pages/login.jsx"},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":259,"timestamp":123249617613,"id":1612,"parentId":1496,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Flogin.jsx&page=%2Flogin!","layer":null},"startTime":1734261959876,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249617918,"id":1615,"parentId":1614,"tags":{"absolutePagePath":"private-next-pages/privacy.jsx"},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":174,"timestamp":123249617886,"id":1614,"parentId":1497,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fprivacy.jsx&page=%2Fprivacy!","layer":null},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249618103,"id":1617,"parentId":1616,"tags":{"absolutePagePath":"private-next-pages/docs/[page]/[sub-page]/index.jsx"},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":161,"timestamp":123249618073,"id":1616,"parentId":1498,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D!","layer":null},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249618276,"id":1619,"parentId":1618,"tags":{"absolutePagePath":"private-next-pages/redirect.jsx"},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":160,"timestamp":123249618247,"id":1618,"parentId":1499,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fredirect.jsx&page=%2Fredirect!","layer":null},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249618449,"id":1621,"parentId":1620,"tags":{"absolutePagePath":"private-next-pages/su/console.jsx"},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":160,"timestamp":123249618420,"id":1620,"parentId":1500,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&page=%2Fsu%2Fconsole!","layer":null},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":11,"timestamp":123249618624,"id":1623,"parentId":1622,"tags":{"absolutePagePath":"private-next-pages/su/backups.jsx"},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":212,"timestamp":123249618592,"id":1622,"parentId":1501,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&page=%2Fsu%2Fbackups!","layer":null},"startTime":1734261959877,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249618853,"id":1625,"parentId":1624,"tags":{"absolutePagePath":"private-next-pages/send-password-reset-link.jsx"},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":187,"timestamp":123249618819,"id":1624,"parentId":1502,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&page=%2Fsend-password-reset-link!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249619054,"id":1627,"parentId":1626,"tags":{"absolutePagePath":"private-next-pages/su/docs/create-page.jsx"},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":170,"timestamp":123249619022,"id":1626,"parentId":1503,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&page=%2Fsu%2Fdocs%2Fcreate-page!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249619240,"id":1629,"parentId":1628,"tags":{"absolutePagePath":"private-next-pages/su/docs/edit-page.jsx"},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":168,"timestamp":123249619207,"id":1628,"parentId":1504,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&page=%2Fsu%2Fdocs%2Fedit-page!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249619420,"id":1631,"parentId":1630,"tags":{"absolutePagePath":"private-next-pages/su/docs/index.jsx"},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":166,"timestamp":123249619389,"id":1630,"parentId":1505,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&page=%2Fsu%2Fdocs!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249619601,"id":1633,"parentId":1632,"tags":{"absolutePagePath":"private-next-pages/su/docs/pages/[id].jsx"},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":193,"timestamp":123249619569,"id":1632,"parentId":1506,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249619808,"id":1635,"parentId":1634,"tags":{"absolutePagePath":"private-next-pages/su/docs/pages/index.jsx"},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":174,"timestamp":123249619775,"id":1634,"parentId":1507,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&page=%2Fsu%2Fdocs%2Fpages!","layer":null},"startTime":1734261959878,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249620016,"id":1637,"parentId":1636,"tags":{"absolutePagePath":"private-next-pages/reset-password.jsx"},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":202,"timestamp":123249619963,"id":1636,"parentId":1508,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Freset-password.jsx&page=%2Freset-password!","layer":null},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":18,"timestamp":123249620214,"id":1639,"parentId":1638,"tags":{"absolutePagePath":"private-next-pages/su/envar.jsx"},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":200,"timestamp":123249620179,"id":1638,"parentId":1509,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&page=%2Fsu%2Fenvar!","layer":null},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":35,"timestamp":123249620427,"id":1641,"parentId":1640,"tags":{"absolutePagePath":"private-next-pages/su/error-logs.jsx"},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":235,"timestamp":123249620395,"id":1640,"parentId":1510,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&page=%2Fsu%2Ferror-logs!","layer":null},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249620677,"id":1643,"parentId":1642,"tags":{"absolutePagePath":"private-next-pages/su/load-balancing.jsx"},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":180,"timestamp":123249620644,"id":1642,"parentId":1511,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&page=%2Fsu%2Fload-balancing!","layer":null},"startTime":1734261959879,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":12,"timestamp":123249620874,"id":1645,"parentId":1644,"tags":{"absolutePagePath":"private-next-pages/su/index.jsx"},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":193,"timestamp":123249620842,"id":1644,"parentId":1512,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&page=%2Fsu!","layer":null},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249621084,"id":1647,"parentId":1646,"tags":{"absolutePagePath":"private-next-pages/su/servers.jsx"},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":215,"timestamp":123249621049,"id":1646,"parentId":1513,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&page=%2Fsu%2Fservers!","layer":null},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":29,"timestamp":123249621316,"id":1649,"parentId":1648,"tags":{"absolutePagePath":"private-next-pages/su/users/[single].jsx"},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":205,"timestamp":123249621279,"id":1648,"parentId":1514,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&page=%2Fsu%2Fusers%2F%5Bsingle%5D!","layer":null},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249621539,"id":1651,"parentId":1650,"tags":{"absolutePagePath":"private-next-pages/su/login.jsx"},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":197,"timestamp":123249621506,"id":1650,"parentId":1515,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&page=%2Fsu%2Flogin!","layer":null},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":13,"timestamp":123249621750,"id":1653,"parentId":1652,"tags":{"absolutePagePath":"private-next-pages/su/users/index.jsx"},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":198,"timestamp":123249621718,"id":1652,"parentId":1516,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&page=%2Fsu%2Fusers!","layer":null},"startTime":1734261959880,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":65,"timestamp":123249621972,"id":1655,"parentId":1654,"tags":{"absolutePagePath":"private-next-pages/su/users/new.jsx"},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":303,"timestamp":123249621932,"id":1654,"parentId":1517,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&page=%2Fsu%2Fusers%2Fnew!","layer":null},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249622316,"id":1657,"parentId":1656,"tags":{"absolutePagePath":"private-next-pages/terms.jsx"},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":346,"timestamp":123249622262,"id":1656,"parentId":1518,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Fterms.jsx&page=%2Fterms!","layer":null},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"next-client-pages-loader","duration":16,"timestamp":123249622667,"id":1659,"parentId":1658,"tags":{"absolutePagePath":"private-next-pages/unsubscribe.jsx"},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":210,"timestamp":123249622626,"id":1658,"parentId":1519,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=private-next-pages%2Funsubscribe.jsx&page=%2Funsubscribe!","layer":null},"startTime":1734261959881,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29135,"timestamp":123249622857,"id":1660,"parentId":1448,"tags":{"name":"/app/node_modules/next/dist/client/next.js","layer":null},"startTime":1734261959882,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5862,"timestamp":123249648383,"id":1661,"parentId":1520,"tags":{"name":"/app/node_modules/next/dist/pages/_error.js","layer":null},"startTime":1734261959907,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6021,"timestamp":123249649608,"id":1662,"parentId":1453,"tags":{"name":"/app/node_modules/next/dist/client/router.js","layer":null},"startTime":1734261959908,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":921,"timestamp":123249658107,"id":1663,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/lib/is-error.js","layer":null},"startTime":1734261959917,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5688,"timestamp":123249658183,"id":1664,"parentId":1661,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head.js","layer":null},"startTime":1734261959917,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3324,"timestamp":123249664938,"id":1670,"parentId":1663,"tags":{"name":"/app/node_modules/next/dist/shared/lib/is-plain-object.js","layer":null},"startTime":1734261959924,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5097,"timestamp":123249670500,"id":1675,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils/warn-once.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5475,"timestamp":123249670453,"id":1674,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-mode.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14918,"timestamp":123249661700,"id":1667,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/client/with-router.js","layer":null},"startTime":1734261959920,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7026,"timestamp":123249670202,"id":1671,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/side-effect.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16492,"timestamp":123249661498,"id":1665,"parentId":1660,"tags":{"name":"/app/node_modules/next/dist/client/webpack.js","layer":null},"startTime":1734261959920,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16552,"timestamp":123249661815,"id":1669,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router-context.shared-runtime.js","layer":null},"startTime":1734261959921,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29354,"timestamp":123249661636,"id":1666,"parentId":1660,"tags":{"name":"/app/node_modules/next/dist/client/index.js","layer":null},"startTime":1734261959920,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31816,"timestamp":123249670556,"id":1676,"parentId":1661,"tags":{"name":"/app/node_modules/react/jsx-runtime.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32174,"timestamp":123249670589,"id":1677,"parentId":1661,"tags":{"name":"/app/node_modules/react/index.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":56098,"timestamp":123249661761,"id":1668,"parentId":1662,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/router.js","layer":null},"startTime":1734261959920,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23561,"timestamp":123249695252,"id":1680,"parentId":1526,"tags":{"name":"/app/pages/_app.js","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24124,"timestamp":123249695290,"id":1681,"parentId":1530,"tags":{"name":"/app/pages/about.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24672,"timestamp":123249695213,"id":1679,"parentId":1524,"tags":{"name":"/app/pages/404.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25304,"timestamp":123249695110,"id":1678,"parentId":1522,"tags":{"name":"/app/pages/500.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25595,"timestamp":123249695349,"id":1683,"parentId":1604,"tags":{"name":"/app/pages/index.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26084,"timestamp":123249695320,"id":1682,"parentId":1598,"tags":{"name":"/app/pages/contact.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26614,"timestamp":123249695375,"id":1684,"parentId":1606,"tags":{"name":"/app/pages/create-account.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26928,"timestamp":123249695457,"id":1687,"parentId":1614,"tags":{"name":"/app/pages/privacy.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28049,"timestamp":123249695403,"id":1685,"parentId":1610,"tags":{"name":"/app/pages/logout.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28477,"timestamp":123249695431,"id":1686,"parentId":1612,"tags":{"name":"/app/pages/login.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28947,"timestamp":123249695484,"id":1688,"parentId":1618,"tags":{"name":"/app/pages/redirect.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29350,"timestamp":123249695561,"id":1691,"parentId":1656,"tags":{"name":"/app/pages/terms.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":30110,"timestamp":123249695510,"id":1689,"parentId":1624,"tags":{"name":"/app/pages/send-password-reset-link.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":39714,"timestamp":123249695614,"id":1693,"parentId":1594,"tags":{"name":"/app/pages/admin/index.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":40841,"timestamp":123249695535,"id":1690,"parentId":1636,"tags":{"name":"/app/pages/reset-password.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":41430,"timestamp":123249695587,"id":1692,"parentId":1658,"tags":{"name":"/app/pages/unsubscribe.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":43558,"timestamp":123249695639,"id":1694,"parentId":1596,"tags":{"name":"/app/pages/blog/index.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":44300,"timestamp":123249695664,"id":1695,"parentId":1600,"tags":{"name":"/app/pages/docs/index.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":44582,"timestamp":123249695726,"id":1697,"parentId":1620,"tags":{"name":"/app/pages/su/console.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":44831,"timestamp":123249695758,"id":1698,"parentId":1622,"tags":{"name":"/app/pages/su/backups.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":45357,"timestamp":123249695784,"id":1699,"parentId":1638,"tags":{"name":"/app/pages/su/envar.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":45581,"timestamp":123249695808,"id":1700,"parentId":1640,"tags":{"name":"/app/pages/su/error-logs.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":45800,"timestamp":123249695831,"id":1701,"parentId":1642,"tags":{"name":"/app/pages/su/load-balancing.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":46752,"timestamp":123249695691,"id":1696,"parentId":1608,"tags":{"name":"/app/pages/email-verification/index.jsx","layer":null},"startTime":1734261959954,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":46904,"timestamp":123249695857,"id":1702,"parentId":1644,"tags":{"name":"/app/pages/su/index.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":47168,"timestamp":123249695882,"id":1703,"parentId":1646,"tags":{"name":"/app/pages/su/servers.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":47535,"timestamp":123249695932,"id":1705,"parentId":1572,"tags":{"name":"/app/pages/admin/[user_id]/index.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":48293,"timestamp":123249695906,"id":1704,"parentId":1650,"tags":{"name":"/app/pages/su/login.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":48847,"timestamp":123249695960,"id":1706,"parentId":1576,"tags":{"name":"/app/pages/admin/[user_id]/settings.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":49581,"timestamp":123249695984,"id":1707,"parentId":1580,"tags":{"name":"/app/pages/admin/[user_id]/schema.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":49949,"timestamp":123249696037,"id":1709,"parentId":1626,"tags":{"name":"/app/pages/su/docs/create-page.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":51049,"timestamp":123249696063,"id":1710,"parentId":1628,"tags":{"name":"/app/pages/su/docs/edit-page.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":51809,"timestamp":123249696011,"id":1708,"parentId":1602,"tags":{"name":"/app/pages/docs/[page]/index.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":52077,"timestamp":123249696111,"id":1711,"parentId":1630,"tags":{"name":"/app/pages/su/docs/index.jsx","layer":null},"startTime":1734261959955,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":78218,"timestamp":123249670326,"id":1672,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":78407,"timestamp":123249670398,"id":1673,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","layer":null},"startTime":1734261959929,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5518,"timestamp":123249787392,"id":1713,"parentId":1652,"tags":{"name":"/app/pages/su/users/index.jsx","layer":null},"startTime":1734261960046,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5820,"timestamp":123249787457,"id":1714,"parentId":1654,"tags":{"name":"/app/pages/su/users/new.jsx","layer":null},"startTime":1734261960046,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6330,"timestamp":123249787274,"id":1712,"parentId":1648,"tags":{"name":"/app/pages/su/users/[single].jsx","layer":null},"startTime":1734261960046,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6531,"timestamp":123249787501,"id":1715,"parentId":1528,"tags":{"name":"/app/pages/admin/[user_id]/api-keys/index.jsx","layer":null},"startTime":1734261960046,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6941,"timestamp":123249787539,"id":1716,"parentId":1536,"tags":{"name":"/app/pages/admin/[user_id]/connect/index.jsx","layer":null},"startTime":1734261960046,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4352,"timestamp":123249794929,"id":1717,"parentId":1568,"tags":{"name":"/app/pages/admin/[user_id]/databases/add-database.jsx","layer":null},"startTime":1734261960054,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9588,"timestamp":123249802416,"id":1721,"parentId":1584,"tags":{"name":"/app/pages/admin/[user_id]/users/add-user.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10421,"timestamp":123249802385,"id":1720,"parentId":1582,"tags":{"name":"/app/pages/admin/[user_id]/media/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11125,"timestamp":123249802259,"id":1718,"parentId":1570,"tags":{"name":"/app/pages/admin/[user_id]/databases/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11887,"timestamp":123249802350,"id":1719,"parentId":1578,"tags":{"name":"/app/pages/admin/[user_id]/media/[...folder].jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12238,"timestamp":123249802495,"id":1724,"parentId":1632,"tags":{"name":"/app/pages/su/docs/pages/[id].jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12591,"timestamp":123249802520,"id":1725,"parentId":1634,"tags":{"name":"/app/pages/su/docs/pages/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13254,"timestamp":123249802443,"id":1722,"parentId":1592,"tags":{"name":"/app/pages/admin/[user_id]/users/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13992,"timestamp":123249802469,"id":1723,"parentId":1616,"tags":{"name":"/app/pages/docs/[page]/[sub-page]/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14522,"timestamp":123249802545,"id":1726,"parentId":1532,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/edit-database.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14905,"timestamp":123249802568,"id":1727,"parentId":1534,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/connect.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15483,"timestamp":123249802595,"id":1728,"parentId":1538,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/index.jsx","layer":null},"startTime":1734261960061,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13222,"timestamp":123249808543,"id":1729,"parentId":1540,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/schema.jsx","layer":null},"startTime":1734261960067,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13524,"timestamp":123249808718,"id":1731,"parentId":1590,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/index.jsx","layer":null},"startTime":1734261960067,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13981,"timestamp":123249808673,"id":1730,"parentId":1542,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/shell.jsx","layer":null},"startTime":1734261960067,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14322,"timestamp":123249808755,"id":1732,"parentId":1558,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/index.jsx","layer":null},"startTime":1734261960067,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14681,"timestamp":123249808833,"id":1734,"parentId":1562,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-social-logins.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15039,"timestamp":123249808876,"id":1735,"parentId":1566,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/add-user.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15915,"timestamp":123249808787,"id":1733,"parentId":1560,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/add-table.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16268,"timestamp":123249808908,"id":1736,"parentId":1574,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/index.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16699,"timestamp":123249808940,"id":1737,"parentId":1586,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/[user].jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17163,"timestamp":123249808981,"id":1738,"parentId":1588,"tags":{"name":"/app/pages/admin/[user_id]/users/databases/[database]/index.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17884,"timestamp":123249809037,"id":1740,"parentId":1552,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/index.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18519,"timestamp":123249809066,"id":1741,"parentId":1554,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19378,"timestamp":123249809009,"id":1739,"parentId":1544,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19776,"timestamp":123249809153,"id":1744,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20285,"timestamp":123249809181,"id":1745,"parentId":1556,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/change-password.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20720,"timestamp":123249809209,"id":1746,"parentId":1564,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/users/[user]/index.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":22039,"timestamp":123249809125,"id":1743,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/utils.js","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22423,"timestamp":123249809236,"id":1747,"parentId":1546,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":24250,"timestamp":123249809095,"id":1742,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/script.js","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24638,"timestamp":123249809263,"id":1748,"parentId":1548,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25123,"timestamp":123249809292,"id":1749,"parentId":1550,"tags":{"name":"/app/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/index.jsx","layer":null},"startTime":1734261960068,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":322,"timestamp":123249876209,"id":1756,"parentId":1668,"tags":{"layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1941,"timestamp":123249876053,"id":1753,"parentId":1680,"tags":{"name":"/app/node_modules/next/script.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4966,"timestamp":123249875964,"id":1752,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10768,"timestamp":123249875406,"id":1750,"parentId":1661,"tags":{"name":"/app/node_modules/@swc/helpers/esm/_interop_require_default.js","layer":null},"startTime":1734261960134,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10900,"timestamp":123249875925,"id":1751,"parentId":1664,"tags":{"name":"/app/node_modules/@swc/helpers/esm/_interop_require_wildcard.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11073,"timestamp":123249876079,"id":1754,"parentId":1666,"tags":{"name":"/app/node_modules/react-dom/client.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11248,"timestamp":123249876109,"id":1755,"parentId":1665,"tags":{"name":"/app/node_modules/next/dist/build/deployment-id.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6018,"timestamp":123249883173,"id":1794,"parentId":1681,"tags":{"name":"/app/functions/frontend/clientAuthUser.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6659,"timestamp":123249883200,"id":1795,"parentId":1678,"tags":{"name":"/app/functions/frontend/fetchApi.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7881,"timestamp":123249883142,"id":1793,"parentId":1680,"tags":{"name":"/app/components/ErrorBoundary.jsx","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20946,"timestamp":123249885270,"id":1804,"parentId":1681,"tags":{"name":"/app/layouts/GeneralLayout.jsx","layer":null},"startTime":1734261960144,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":30010,"timestamp":123249876817,"id":1760,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/remove-base-path.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":30717,"timestamp":123249876679,"id":1759,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/route-announcer.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":30908,"timestamp":123249876880,"id":1761,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/has-base-path.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31288,"timestamp":123249876961,"id":1762,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/pages/_app.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":31442,"timestamp":123249877067,"id":1764,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/runtime-config.external.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":32912,"timestamp":123249876616,"id":1758,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/page-loader.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34092,"timestamp":123249876552,"id":1757,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/head-manager.js","layer":null},"startTime":1734261960135,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33785,"timestamp":123249877103,"id":1765,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34224,"timestamp":123249876999,"id":1763,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/mitt.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34396,"timestamp":123249877165,"id":1766,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34664,"timestamp":123249877201,"id":1767,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":34991,"timestamp":123249877371,"id":1770,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/querystring.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":35315,"timestamp":123249877317,"id":1769,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33430,"timestamp":123249879693,"id":1777,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/lib/is-api-route.js","layer":null},"startTime":1734261960138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":36711,"timestamp":123249877524,"id":1773,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/add-locale.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":37284,"timestamp":123249877473,"id":1772,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/detect-domain-locale.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38383,"timestamp":123249877269,"id":1768,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/adapters.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38512,"timestamp":123249877622,"id":1775,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/add-base-path.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":38992,"timestamp":123249877566,"id":1774,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/remove-locale.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":37923,"timestamp":123249879731,"id":1778,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/lib/constants.js","layer":null},"startTime":1734261960138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":42357,"timestamp":123249877407,"id":1771,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/route-loader.js","layer":null},"startTime":1734261960136,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26728,"timestamp":123249893409,"id":1806,"parentId":1681,"tags":{"name":"/app/components/pages/about/Hero.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26988,"timestamp":123249893450,"id":1807,"parentId":1681,"tags":{"name":"/app/components/pages/homepage/BriefIntroSection.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":27380,"timestamp":123249893501,"id":1808,"parentId":1681,"tags":{"name":"/app/components/pages/homepage/FooterCta.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28024,"timestamp":123249893315,"id":1805,"parentId":1681,"tags":{"name":"/app/components/general/PageHeadTags.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28057,"timestamp":123249893615,"id":1812,"parentId":1682,"tags":{"name":"/app/components/pages/contact/ContactHero.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28640,"timestamp":123249893587,"id":1811,"parentId":1683,"tags":{"name":"/app/components/pages/homepage/FeaturesSummarySection.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29181,"timestamp":123249893558,"id":1810,"parentId":1683,"tags":{"name":"/app/components/pages/homepage/Hero2.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29804,"timestamp":123249893530,"id":1809,"parentId":1681,"tags":{"name":"/app/components/pages/homepage/MainFeaturesSection.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":29929,"timestamp":123249893671,"id":1814,"parentId":1685,"tags":{"name":"/app/functions/frontend/clearCaches.js","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":30241,"timestamp":123249893696,"id":1815,"parentId":1685,"tags":{"name":"/app/components/general/LoadingBlock.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":31000,"timestamp":123249893644,"id":1813,"parentId":1682,"tags":{"name":"/app/components/pages/contact/ContactForm.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":31358,"timestamp":123249893729,"id":1816,"parentId":1686,"tags":{"name":"/app/components/general/Logo.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":31707,"timestamp":123249893757,"id":1817,"parentId":1684,"tags":{"name":"/app/components/pages/create-account/Hero.jsx","layer":null},"startTime":1734261960152,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":25742,"timestamp":123249899990,"id":1822,"parentId":1687,"tags":{"name":"/app/components/pages/privacy/PrivacyHero.jsx","layer":null},"startTime":1734261960159,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26284,"timestamp":123249900066,"id":1824,"parentId":1686,"tags":{"name":"/app/components/pages/login/LoginForm.jsx","layer":null},"startTime":1734261960159,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":27219,"timestamp":123249900034,"id":1823,"parentId":1687,"tags":{"name":"/app/components/pages/privacy/PrivacyBody.jsx","layer":null},"startTime":1734261960159,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":62968,"timestamp":123249879837,"id":1780,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","layer":null},"startTime":1734261960139,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":63362,"timestamp":123249879897,"id":1781,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","layer":null},"startTime":1734261960139,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":64479,"timestamp":123249879606,"id":1776,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/client/resolve-href.js","layer":null},"startTime":1734261960138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":65167,"timestamp":123249879779,"id":1779,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/bloom-filter.js","layer":null},"startTime":1734261960138,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":65375,"timestamp":123249879940,"id":1782,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/route-matcher.js","layer":null},"startTime":1734261960139,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":65927,"timestamp":123249880000,"id":1783,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/format-url.js","layer":null},"startTime":1734261960139,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":66523,"timestamp":123249883252,"id":1797,"parentId":1677,"tags":{"name":"/app/node_modules/react/cjs/react.production.min.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":67592,"timestamp":123249883226,"id":1796,"parentId":1676,"tags":{"name":"/app/node_modules/react/cjs/react-jsx-runtime.production.min.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":73052,"timestamp":123249880039,"id":1784,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/route-regex.js","layer":null},"startTime":1734261960139,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":74060,"timestamp":123249882754,"id":1785,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/parse-path.js","layer":null},"startTime":1734261960141,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":74139,"timestamp":123249882956,"id":1789,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-local-url.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":74460,"timestamp":123249882920,"id":1788,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/compare-states.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":75248,"timestamp":123249882819,"id":1786,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":75383,"timestamp":123249883015,"id":1790,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/is-bot.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":75527,"timestamp":123249883106,"id":1792,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/omit.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":76107,"timestamp":123249882881,"id":1787,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":76385,"timestamp":123249883070,"id":1791,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":75296,"timestamp":123249885114,"id":1801,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/build/polyfills/polyfill-module.js","layer":null},"startTime":1734261960144,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":77707,"timestamp":123249883362,"id":1800,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/tracing/report-to-socket.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":78408,"timestamp":123249883275,"id":1798,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/react-client-callbacks/shared.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":78974,"timestamp":123249883327,"id":1799,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/tracing/tracer.js","layer":null},"startTime":1734261960142,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":86981,"timestamp":123249885175,"id":1802,"parentId":1668,"tags":{"name":"/app/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","layer":null},"startTime":1734261960144,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":134511,"timestamp":123249885238,"id":1803,"parentId":1690,"tags":{"name":"/app/node_modules/lodash/lodash.js","layer":null},"startTime":1734261960144,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":126176,"timestamp":123249893783,"id":1818,"parentId":1680,"tags":{"name":"/app/node_modules/next/head.js","layer":null},"startTime":1734261960153,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":428592,"timestamp":123249597023,"id":1515,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Flogin.jsx&page=%2Fsu%2Flogin!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5549,"timestamp":123250022399,"id":1828,"parentId":1689,"tags":{"name":"/app/components/general/InfoBlock.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5939,"timestamp":123250022367,"id":1827,"parentId":1689,"tags":{"name":"/app/components/general/FormSuccessBlock.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6327,"timestamp":123250022224,"id":1825,"parentId":1684,"tags":{"name":"/app/components/general/LoadingScreen.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6678,"timestamp":123250022327,"id":1826,"parentId":1697,"tags":{"name":"/app/layouts/SuAdminLayout.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6866,"timestamp":123250022460,"id":1830,"parentId":1691,"tags":{"name":"/app/components/pages/terms/TermsHero.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6977,"timestamp":123250022576,"id":1832,"parentId":1694,"tags":{"name":"/app/components/pages/blog/BlogHero.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7741,"timestamp":123250022429,"id":1829,"parentId":1698,"tags":{"name":"/app/components/su/SuErrorLogsContent.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7784,"timestamp":123250022634,"id":1834,"parentId":1695,"tags":{"name":"/app/components/pages/docs/DocsHomeHero.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8723,"timestamp":123250022609,"id":1833,"parentId":1695,"tags":{"name":"/app/components/pages/docs/DocsAside.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9547,"timestamp":123250022510,"id":1831,"parentId":1691,"tags":{"name":"/app/components/pages/terms/TermsBody.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9603,"timestamp":123250022663,"id":1835,"parentId":1695,"tags":{"name":"/app/components/pages/docs/DocsHomeLinks.jsx","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":438000,"timestamp":123249596949,"id":1495,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Flogout.jsx&page=%2Flogout!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2845,"timestamp":123250037806,"id":1871,"parentId":1744,"tags":{"name":"/app/node_modules/next/dist/server/lib/interception-routes.js","layer":null},"startTime":1734261960297,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10783,"timestamp":123250036773,"id":1839,"parentId":1693,"tags":{"name":"/app/components/admin/dashboard/DashboardContent.jsx","layer":null},"startTime":1734261960295,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11333,"timestamp":123250036810,"id":1840,"parentId":1693,"tags":{"name":"/app/components/admin/databases/DeleteDatabaseConfirmationPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12274,"timestamp":123250036628,"id":1837,"parentId":1693,"tags":{"name":"/app/layouts/AdminLayout.jsx","layer":null},"startTime":1734261960295,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13243,"timestamp":123250036734,"id":1838,"parentId":1697,"tags":{"name":"/app/components/su/SuConsoleContent.jsx","layer":null},"startTime":1734261960295,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13552,"timestamp":123250036874,"id":1842,"parentId":1699,"tags":{"name":"/app/components/su/SuEnvContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14125,"timestamp":123250036842,"id":1841,"parentId":1698,"tags":{"name":"/app/components/su/SuBackupsContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14358,"timestamp":123250036935,"id":1844,"parentId":1701,"tags":{"name":"/app/components/su/load-balancing/index.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14626,"timestamp":123250036963,"id":1845,"parentId":1703,"tags":{"name":"/app/components/su/servers/index.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14814,"timestamp":123250036993,"id":1846,"parentId":1707,"tags":{"name":"/app/components/general/VerificationBanner.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15701,"timestamp":123250036903,"id":1843,"parentId":1700,"tags":{"name":"/app/components/su/SuDashboardContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15926,"timestamp":123250037078,"id":1849,"parentId":1706,"tags":{"name":"/app/components/admin/databases/UserMediaPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16803,"timestamp":123250037019,"id":1847,"parentId":1707,"tags":{"name":"/app/components/general/Breadcrumbs.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17324,"timestamp":123250037050,"id":1848,"parentId":1706,"tags":{"name":"/app/components/admin/settings/SettingsContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17424,"timestamp":123250037244,"id":1852,"parentId":1708,"tags":{"name":"/app/components/pages/docs/DocsGenereicHero.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18319,"timestamp":123250037177,"id":1850,"parentId":1707,"tags":{"name":"/app/components/admin/databases/UserSchemaContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18689,"timestamp":123250037273,"id":1853,"parentId":1711,"tags":{"name":"/app/components/su/docs/SuDocsPageListContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18930,"timestamp":123250037302,"id":1854,"parentId":1713,"tags":{"name":"/app/components/su/SuUsersContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19101,"timestamp":123250037358,"id":1856,"parentId":1714,"tags":{"name":"/app/components/su/SuNewUserContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19512,"timestamp":123250037329,"id":1855,"parentId":1712,"tags":{"name":"/app/components/su/SuSingleUserContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19689,"timestamp":123250037411,"id":1858,"parentId":1715,"tags":{"name":"/app/components/admin/api-keys/TargetApiKeyPreviewPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20051,"timestamp":123250037384,"id":1857,"parentId":1715,"tags":{"name":"/app/components/admin/api-keys/ApiKeysContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26221,"timestamp":123250037212,"id":1851,"parentId":1709,"tags":{"name":"/app/components/su/docs/CreatePageContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26269,"timestamp":123250037468,"id":1860,"parentId":1716,"tags":{"name":"/app/components/admin/connect/ConnectContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26407,"timestamp":123250037541,"id":1862,"parentId":1716,"tags":{"name":"/app/components/admin/connect/NewMariadbUserPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26893,"timestamp":123250037497,"id":1861,"parentId":1716,"tags":{"name":"/app/components/admin/connect/EditMariadbUserPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":27219,"timestamp":123250037569,"id":1863,"parentId":1717,"tags":{"name":"/app/components/admin/databases/AddDatabaseContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28137,"timestamp":123250037441,"id":1859,"parentId":1715,"tags":{"name":"/app/components/admin/api-keys/AddNewApiKeyPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28375,"timestamp":123250037596,"id":1864,"parentId":1720,"tags":{"name":"/app/components/general/UploadImageComponent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":28730,"timestamp":123250037625,"id":1865,"parentId":1720,"tags":{"name":"/app/components/general/UploadFileComponent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29168,"timestamp":123250037689,"id":1867,"parentId":1720,"tags":{"name":"/app/components/admin/media/MediaContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":29942,"timestamp":123250037724,"id":1868,"parentId":1720,"tags":{"name":"/app/components/admin/media/NewMediaPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":30620,"timestamp":123250037780,"id":1870,"parentId":1720,"tags":{"name":"/app/components/admin/media/NewFolderPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":35376,"timestamp":123250037754,"id":1869,"parentId":1720,"tags":{"name":"/app/components/admin/media/TargetMediaPreviewPopup.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":35972,"timestamp":123250037825,"id":1872,"parentId":1720,"tags":{"name":"/app/components/admin/media/ChooseMediaTypePopup.jsx","layer":null},"startTime":1734261960297,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":37736,"timestamp":123250037653,"id":1866,"parentId":1721,"tags":{"name":"/app/components/admin/users/AddNewUserContent.jsx","layer":null},"startTime":1734261960296,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":69731,"timestamp":123250022690,"id":1836,"parentId":1666,"tags":{"name":"/app/node_modules/next/dist/client/portal/index.js","layer":null},"startTime":1734261960281,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5021,"timestamp":123250111103,"id":1874,"parentId":1742,"tags":{"name":"/app/node_modules/next/dist/client/request-idle-callback.js","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5610,"timestamp":123250111137,"id":1875,"parentId":1720,"tags":{"name":"/app/components/general/UploadVideoComponent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6396,"timestamp":123250110992,"id":1873,"parentId":1742,"tags":{"name":"/app/node_modules/next/dist/client/set-attributes-from-props.js","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6452,"timestamp":123250111222,"id":1878,"parentId":1724,"tags":{"name":"/app/components/su/docs/SuSingleDocPageContent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7173,"timestamp":123250111196,"id":1877,"parentId":1719,"tags":{"name":"/app/components/admin/media/MediaFolderContent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7409,"timestamp":123250111337,"id":1882,"parentId":1726,"tags":{"name":"/app/components/admin/databases/EditDatabaseContent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7966,"timestamp":123250111305,"id":1881,"parentId":1722,"tags":{"name":"/app/components/admin/users/UsersContent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15306,"timestamp":123250111383,"id":1883,"parentId":1718,"tags":{"name":"/app/components/admin/databases/DatabasesContent.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17163,"timestamp":123250111168,"id":1876,"parentId":1726,"tags":{"name":"/app/components/general/ExtraContentDatabase.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18413,"timestamp":123250111249,"id":1879,"parentId":1722,"tags":{"name":"/app/components/admin/users/TargetUserPreviewPopup.jsx","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8009,"timestamp":123250122082,"id":1886,"parentId":1728,"tags":{"name":"/app/components/admin/databases/DeleteTableConfirmationPopup.jsx","layer":null},"startTime":1734261960381,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9198,"timestamp":123250121963,"id":1885,"parentId":1728,"tags":{"name":"/app/components/admin/databases/SingleDatabasesContent.jsx","layer":null},"startTime":1734261960381,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":25831,"timestamp":123250111411,"id":1884,"parentId":1664,"tags":{"name":"/app/node_modules/next/dist/build/polyfills/process.js","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":26313,"timestamp":123250111277,"id":1880,"parentId":1742,"tags":{"name":"/app/node_modules/react-dom/index.js","layer":null},"startTime":1734261960370,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2327,"timestamp":123250141107,"id":1888,"parentId":1752,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2671,"timestamp":123250141144,"id":1889,"parentId":1752,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/index.js","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3197,"timestamp":123250141176,"id":1890,"parentId":1731,"tags":{"name":"/app/components/admin/users/AllDatabasesUsersContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":670,"timestamp":123250149206,"id":1898,"parentId":1733,"tags":{"name":"/app/package-shared/data/defaultFields.json","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11601,"timestamp":123250141221,"id":1891,"parentId":1727,"tags":{"name":"/app/components/admin/databases/connect/DatabaseConnectContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12987,"timestamp":123250140986,"id":1887,"parentId":1729,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13697,"timestamp":123250141280,"id":1893,"parentId":1732,"tags":{"name":"/app/components/admin/databases/TablesContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14890,"timestamp":123250141253,"id":1892,"parentId":1730,"tags":{"name":"/app/components/admin/databases/DatabaseShellContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15563,"timestamp":123250141335,"id":1895,"parentId":1735,"tags":{"name":"/app/components/admin/users/DbAddNewUserContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17042,"timestamp":123250141307,"id":1894,"parentId":1734,"tags":{"name":"/app/components/admin/users/SocialLoginsContent.jsx","layer":null},"startTime":1734261960400,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9418,"timestamp":123250149263,"id":1900,"parentId":1771,"tags":{"name":"/app/node_modules/next/dist/shared/lib/encode-uri-path.js","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9828,"timestamp":123250149168,"id":1897,"parentId":1733,"tags":{"name":"/app/components/admin/databases/EditFieldPopup.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-jsx","duration":10576,"timestamp":123250149064,"id":1896,"parentId":1733,"tags":{"name":"/app/components/admin/databases/AddTableContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21477,"timestamp":123250149299,"id":1901,"parentId":1736,"tags":{"name":"/app/components/admin/users/DbUsersContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21954,"timestamp":123250149357,"id":1903,"parentId":1738,"tags":{"name":"/app/components/admin/users/SingleDatabaseUsersContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23326,"timestamp":123250149229,"id":1899,"parentId":1758,"tags":{"name":"/app/node_modules/next/dist/shared/lib/constants.js","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":23687,"timestamp":123250149385,"id":1904,"parentId":1741,"tags":{"name":"/app/functions/frontend/updateTableAfterFieldsUpdateFunctionExt.js","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24394,"timestamp":123250149411,"id":1905,"parentId":1741,"tags":{"name":"/app/components/admin/databases/TableFieldsContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24655,"timestamp":123250149466,"id":1907,"parentId":1740,"tags":{"name":"/app/layouts/components/GeneralLayout/ScrollToTopButton.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":26283,"timestamp":123250149329,"id":1902,"parentId":1737,"tags":{"name":"/app/components/admin/users/SingleDatabaseSingleUserContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":27202,"timestamp":123250149439,"id":1906,"parentId":1740,"tags":{"name":"/app/components/admin/databases/SingleTableContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":27816,"timestamp":123250149494,"id":1908,"parentId":1739,"tags":{"name":"/app/components/admin/databases/EditTableContent.jsx","layer":null},"startTime":1734261960408,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4059,"timestamp":123250193823,"id":1916,"parentId":1747,"tags":{"name":"/app/components/admin/databases/AddTableEntryContent.jsx","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5015,"timestamp":123250193862,"id":1917,"parentId":1748,"tags":{"name":"/app/components/admin/databases/SingleEntryContent.jsx","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5781,"timestamp":123250193899,"id":1918,"parentId":1745,"tags":{"name":"/app/components/admin/users/ChangeDbUserPassword.jsx","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6674,"timestamp":123250193921,"id":1919,"parentId":1746,"tags":{"name":"/app/components/admin/users/SingleDbUserContent.jsx","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14026,"timestamp":123250195623,"id":1927,"parentId":1804,"tags":{"name":"/app/functions/frontend/updateNavLinks.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14625,"timestamp":123250195458,"id":1922,"parentId":1871,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17104,"timestamp":123250193943,"id":1920,"parentId":1749,"tags":{"name":"/app/components/admin/databases/TableEntriesContent.jsx","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15514,"timestamp":123250195713,"id":1930,"parentId":1804,"tags":{"name":"/app/layouts/components/GeneralLayout/ProductionHeadComponent.jsx","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15854,"timestamp":123250195689,"id":1929,"parentId":1804,"tags":{"name":"/app/layouts/components/GeneralLayout/Footer.jsx","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16058,"timestamp":123250195737,"id":1931,"parentId":1807,"tags":{"name":"/app/components/general/ScreenShotDescriptionCard.jsx","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16898,"timestamp":123250195651,"id":1928,"parentId":1804,"tags":{"name":"/app/layouts/components/GeneralLayout/Header.jsx","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7538,"timestamp":123250205398,"id":1934,"parentId":1810,"tags":{"name":"/app/components/general/FadedImage.jsx","layer":null},"startTime":1734261960464,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7679,"timestamp":123250205438,"id":1935,"parentId":1813,"tags":{"name":"/app/components/general/FormAlertBlock.jsx","layer":null},"startTime":1734261960464,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8235,"timestamp":123250205163,"id":1932,"parentId":1807,"tags":{"name":"/app/components/general/ContainedSection.jsx","layer":null},"startTime":1734261960464,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2271,"timestamp":123250217062,"id":1942,"parentId":1808,"tags":{"name":"__barrel_optimize__?names=BookText!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6701,"timestamp":123250216784,"id":1936,"parentId":1811,"tags":{"name":"/app/components/general/IconText.jsx","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6979,"timestamp":123250216877,"id":1937,"parentId":1810,"tags":{"name":"/app/components/general/CodeBlock.jsx","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7375,"timestamp":123250216914,"id":1938,"parentId":1824,"tags":{"name":"/app/functions/frontend/userLogin.js","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7934,"timestamp":123250216990,"id":1940,"parentId":1824,"tags":{"name":"/app/components/pages/login/SocialLogin.jsx","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":8848,"timestamp":123250216945,"id":1939,"parentId":1817,"tags":{"name":"/app/components/pages/create-account/CreateAccountForm.jsx","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2067,"timestamp":123250229501,"id":1943,"parentId":1811,"tags":{"name":"__barrel_optimize__?names=CopyCheck,EarthLock,FileKey2,FolderOutput,Sheet,SquareGanttChart!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960488,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3352,"timestamp":123250229573,"id":1944,"parentId":1809,"tags":{"name":"__barrel_optimize__?names=Blocks!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960488,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4522,"timestamp":123250229599,"id":1945,"parentId":1816,"tags":{"name":"__barrel_optimize__?names=Menu!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960488,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5960,"timestamp":123250229623,"id":1946,"parentId":1828,"tags":{"name":"__barrel_optimize__?names=Info!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960488,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":44863,"timestamp":123250193568,"id":1910,"parentId":1765,"tags":{"name":"/app/node_modules/next/dist/shared/lib/image-config.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45068,"timestamp":123250193661,"id":1912,"parentId":1761,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45293,"timestamp":123250193693,"id":1913,"parentId":1758,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/get-asset-path-from-route.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46796,"timestamp":123250193461,"id":1909,"parentId":1773,"tags":{"name":"/app/node_modules/next/dist/client/normalize-trailing-slash.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47242,"timestamp":123250193738,"id":1914,"parentId":1775,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47879,"timestamp":123250193608,"id":1911,"parentId":1771,"tags":{"name":"/app/node_modules/next/dist/client/trusted-types.js","layer":null},"startTime":1734261960452,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47915,"timestamp":123250193782,"id":1915,"parentId":1768,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","layer":null},"startTime":1734261960453,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1605,"timestamp":123250242763,"id":1947,"parentId":1841,"tags":{"name":"__barrel_optimize__?names=FolderSync!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960501,"traceId":"ce91546a398efcef"},{"name":"postcss-process","duration":6707,"timestamp":123250244398,"id":1958,"parentId":1957,"tags":{},"startTime":1734261960503,"traceId":"ce91546a398efcef"},{"name":"postcss-loader","duration":7811,"timestamp":123250243324,"id":1957,"parentId":1949,"tags":{},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"css-loader","duration":2153,"timestamp":123250251160,"id":1959,"parentId":1949,"tags":{"astUsed":"true"},"startTime":1734261960510,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":10989,"timestamp":123250242901,"id":1949,"parentId":1821,"tags":{"name":"/app/node_modules/xterm/css/xterm.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[10].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[10].use[2]!/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":61690,"timestamp":123250195563,"id":1925,"parentId":1787,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":61994,"timestamp":123250195529,"id":1924,"parentId":1786,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":62354,"timestamp":123250195593,"id":1926,"parentId":1787,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/add-locale.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":62826,"timestamp":123250195396,"id":1921,"parentId":1784,"tags":{"name":"/app/node_modules/next/dist/shared/lib/escape-regexp.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":63034,"timestamp":123250195496,"id":1923,"parentId":1798,"tags":{"name":"/app/node_modules/next/dist/client/react-client-callbacks/report-global-error.js","layer":null},"startTime":1734261960454,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15911,"timestamp":123250243005,"id":1952,"parentId":1835,"tags":{"name":"/app/components/cards/LinkCard.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16637,"timestamp":123250242939,"id":1950,"parentId":1826,"tags":{"name":"/app/layouts/components/SuAdminLayout/Aside.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16994,"timestamp":123250243030,"id":1953,"parentId":1837,"tags":{"name":"/app/components/general/DiskUsageComponent.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17639,"timestamp":123250242979,"id":1951,"parentId":1826,"tags":{"name":"/app/layouts/components/SuAdminLayout/AdminHeader.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18181,"timestamp":123250243055,"id":1954,"parentId":1840,"tags":{"name":"/app/components/general/GeneralPopup.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18974,"timestamp":123250243080,"id":1955,"parentId":1837,"tags":{"name":"/app/layouts/components/AdminLayout/Aside.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19483,"timestamp":123250243105,"id":1956,"parentId":1837,"tags":{"name":"/app/layouts/components/AdminLayout/AdminHeader.jsx","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2343,"timestamp":123250270510,"id":1970,"parentId":1876,"tags":{"name":"__barrel_optimize__?names=ChevronDown,Download,FileInput,FolderOutput,SquareTerminal!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2719,"timestamp":123250270581,"id":1972,"parentId":1885,"tags":{"name":"__barrel_optimize__?names=FolderOutput!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2915,"timestamp":123250270804,"id":1980,"parentId":1869,"tags":{"name":"__barrel_optimize__?names=ChevronLeft,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960530,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3317,"timestamp":123250270826,"id":1981,"parentId":1872,"tags":{"name":"__barrel_optimize__?names=FileVideo2,Files,Images!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960530,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":58512,"timestamp":123250217019,"id":1941,"parentId":1838,"tags":{"name":"/app/node_modules/ansi-regex/index.js","layer":null},"startTime":1734261960476,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1145,"timestamp":123250276172,"id":1982,"parentId":1877,"tags":{"name":"__barrel_optimize__?names=Copy!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"postcss-process","duration":63838,"timestamp":123250277408,"id":1988,"parentId":1986,"tags":{},"startTime":1734261960536,"traceId":"ce91546a398efcef"},{"name":"postcss-process","duration":51839,"timestamp":123250289422,"id":1989,"parentId":1987,"tags":{},"startTime":1734261960548,"traceId":"ce91546a398efcef"},{"name":"postcss-loader","duration":64630,"timestamp":123250276669,"id":1986,"parentId":1984,"tags":{},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"postcss-loader","duration":64608,"timestamp":123250276694,"id":1987,"parentId":1985,"tags":{},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"css-loader","duration":10172,"timestamp":123250341334,"id":1990,"parentId":1984,"tags":{"astUsed":"true"},"startTime":1734261960600,"traceId":"ce91546a398efcef"},{"name":"css-loader","duration":10157,"timestamp":123250341361,"id":1991,"parentId":1985,"tags":{"astUsed":"true"},"startTime":1734261960600,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":76508,"timestamp":123250276305,"id":1984,"parentId":1819,"tags":{"name":"/app/styles/less.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[2]!/app/styles/less.css","layer":null},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":77336,"timestamp":123250276348,"id":1985,"parentId":1820,"tags":{"name":"/app/styles/tailwind.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[12].use[2]!/app/styles/tailwind.css","layer":null},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":84844,"timestamp":123250270249,"id":1962,"parentId":1839,"tags":{"name":"/app/components/admin/dashboard/DatabasesSummary.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":85354,"timestamp":123250270372,"id":1965,"parentId":1838,"tags":{"name":"/app/components/su/xterm.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":85954,"timestamp":123250270344,"id":1964,"parentId":1839,"tags":{"name":"/app/components/admin/dashboard/Metrics.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":86447,"timestamp":123250270298,"id":1963,"parentId":1839,"tags":{"name":"/app/components/admin/databases/DelegatedDatabasesSection.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":86422,"timestamp":123250270538,"id":1971,"parentId":1855,"tags":{"name":"/app/components/general/BackButton.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":87343,"timestamp":123250270400,"id":1966,"parentId":1842,"tags":{"name":"/app/components/su/SuEnvCard.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":87874,"timestamp":123250270453,"id":1968,"parentId":1844,"tags":{"name":"/app/components/su/load-balancing/(partials)/ServerCard.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":88493,"timestamp":123250270427,"id":1967,"parentId":1843,"tags":{"name":"/app/components/su/components/UserCard.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":88769,"timestamp":123250270628,"id":1974,"parentId":1855,"tags":{"name":"/app/components/su/components/UserBackups.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":89074,"timestamp":123250270654,"id":1975,"parentId":1855,"tags":{"name":"/app/components/su/components/UserData.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":89750,"timestamp":123250270603,"id":1973,"parentId":1850,"tags":{"name":"/app/components/form/FormSelect.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":90159,"timestamp":123250270706,"id":1977,"parentId":1848,"tags":{"name":"/app/components/admin/databases/UserImage.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":91197,"timestamp":123250270751,"id":1978,"parentId":1850,"tags":{"name":"/app/components/admin/databases/UserSchemaVisualizer.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":91800,"timestamp":123250270775,"id":1979,"parentId":1853,"tags":{"name":"/app/components/su/components/PageCard.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":93525,"timestamp":123250270681,"id":1976,"parentId":1849,"tags":{"name":"/app/components/admin/databases/ExistingFieldEdit.jsx","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":89227,"timestamp":123250276248,"id":1983,"parentId":1889,"tags":{"name":"/app/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","layer":null},"startTime":1734261960535,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":133509,"timestamp":123250242838,"id":1948,"parentId":1798,"tags":{"name":"/app/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","layer":null},"startTime":1734261960502,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":1182,"timestamp":123250381384,"id":2012,"parentId":1866,"tags":{"name":"/app/jsonData/userPriviledges.json","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":119062,"timestamp":123250270482,"id":1969,"parentId":1838,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/index.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9066,"timestamp":123250380808,"id":1993,"parentId":1850,"tags":{"name":"/app/package-shared/utils/ejson.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":9562,"timestamp":123250380852,"id":1994,"parentId":1850,"tags":{"name":"/app/components/general/AceEditor.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10231,"timestamp":123250380668,"id":1992,"parentId":1853,"tags":{"name":"/app/components/general/ui/ButtonGroup.jsx","layer":null},"startTime":1734261960639,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10322,"timestamp":123250380912,"id":1996,"parentId":1857,"tags":{"name":"/app/components/admin/api-keys/ApiKeysList.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10602,"timestamp":123250380965,"id":1998,"parentId":1860,"tags":{"name":"/app/components/admin/connect/MariaDBUsers.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11137,"timestamp":123250380938,"id":1997,"parentId":1860,"tags":{"name":"/app/components/admin/connect/ConnectionInfo.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11412,"timestamp":123250381035,"id":2000,"parentId":1863,"tags":{"name":"/app/components/admin/databases/AddDatabaseForm.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11703,"timestamp":123250381076,"id":2001,"parentId":1851,"tags":{"name":"/app/components/su/components/RichText/DocsRichTextBlock.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13217,"timestamp":123250380882,"id":1995,"parentId":1851,"tags":{"name":"/app/components/form/FormInput.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13800,"timestamp":123250380990,"id":1999,"parentId":1862,"tags":{"name":"/app/components/admin/connect/MariDBUserForm.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":14206,"timestamp":123250381133,"id":2003,"parentId":1865,"tags":{"name":"/app/functions/frontend/inputFileToBase64.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14396,"timestamp":123250381159,"id":2004,"parentId":1859,"tags":{"name":"/app/functions/frontend/checkUniqueField.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14940,"timestamp":123250381109,"id":2002,"parentId":1864,"tags":{"name":"/app/functions/frontend/imageInputFileToBase64.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14976,"timestamp":123250381233,"id":2006,"parentId":1868,"tags":{"name":"/app/functions/frontend/updateDiskUsage.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15103,"timestamp":123250381258,"id":2007,"parentId":1899,"tags":{"name":"/app/node_modules/next/dist/shared/lib/modern-browserslist-target.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15589,"timestamp":123250381193,"id":2005,"parentId":1867,"tags":{"name":"/app/components/admin/media/MediaList.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15891,"timestamp":123250381284,"id":2008,"parentId":1869,"tags":{"name":"/app/functions/frontend/downloadFile.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16096,"timestamp":123250381307,"id":2009,"parentId":1869,"tags":{"name":"/app/functions/frontend/downloadPrivateFile.js","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16446,"timestamp":123250381355,"id":2011,"parentId":1868,"tags":{"name":"/app/components/admin/media/NewFileCard.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16891,"timestamp":123250381333,"id":2010,"parentId":1868,"tags":{"name":"/app/components/admin/media/NewMediaCard.jsx","layer":null},"startTime":1734261960640,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":142677,"timestamp":123250270204,"id":1961,"parentId":1798,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/stitched-error.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":145487,"timestamp":123250270097,"id":1960,"parentId":1800,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/pages/websocket.js","layer":null},"startTime":1734261960529,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11215,"timestamp":123250404920,"id":2018,"parentId":1882,"tags":{"name":"/app/components/admin/databases/EditDatabaseForm.jsx","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11651,"timestamp":123250404853,"id":2017,"parentId":1882,"tags":{"name":"/app/components/general/ActiveCloneDbBanner.jsx","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12414,"timestamp":123250404539,"id":2013,"parentId":1866,"tags":{"name":"/app/components/form/FormCheckboxes.jsx","layer":null},"startTime":1734261960663,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12781,"timestamp":123250404686,"id":2014,"parentId":1869,"tags":{"name":"/app/components/admin/media/card/MediaMoreButton.jsx","layer":null},"startTime":1734261960663,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12994,"timestamp":123250404967,"id":2019,"parentId":1881,"tags":{"name":"/app/components/admin/users/UsersList.jsx","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13389,"timestamp":123250405019,"id":2020,"parentId":1881,"tags":{"name":"/app/components/admin/users/InvitationReceivedCard.jsx","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13932,"timestamp":123250405049,"id":2021,"parentId":1876,"tags":{"name":"/app/functions/frontend/downloadApiStream.js","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14268,"timestamp":123250405078,"id":2022,"parentId":1876,"tags":{"name":"/app/components/general/CopySlug.jsx","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4704,"timestamp":123250422747,"id":2023,"parentId":1883,"tags":{"name":"/app/components/admin/databases/DatabasesList.jsx","layer":null},"startTime":1734261960681,"traceId":"ce91546a398efcef"},{"name":"build-module-json","duration":2047,"timestamp":123250436299,"id":2063,"parentId":1906,"tags":{"name":"/app/package-shared/data/dataTypes.json","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3631,"timestamp":123250435800,"id":2043,"parentId":1953,"tags":{"name":"__barrel_optimize__?names=ArrowLeft,HardDrive,RotateCw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6941,"timestamp":123250435830,"id":2044,"parentId":1954,"tags":{"name":"__barrel_optimize__?names=X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7355,"timestamp":123250435938,"id":2048,"parentId":1907,"tags":{"name":"__barrel_optimize__?names=ChevronUp!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7811,"timestamp":123250435960,"id":2049,"parentId":1928,"tags":{"name":"__barrel_optimize__?names=ChevronDown!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8107,"timestamp":123250436200,"id":2059,"parentId":1971,"tags":{"name":"__barrel_optimize__?names=ArrowLeft!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8631,"timestamp":123250436245,"id":2061,"parentId":1964,"tags":{"name":"__barrel_optimize__?names=Database,Images,Key,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15838,"timestamp":123250430439,"id":2027,"parentId":1922,"tags":{"name":"/app/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16487,"timestamp":123250430250,"id":2024,"parentId":1885,"tags":{"name":"/app/components/general/DatabaseSlugCopy.jsx","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16809,"timestamp":123250430405,"id":2026,"parentId":1922,"tags":{"name":"/app/node_modules/next/dist/shared/lib/segment.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":17037,"timestamp":123250430470,"id":2028,"parentId":1942,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/book-text.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18129,"timestamp":123250430363,"id":2025,"parentId":1885,"tags":{"name":"/app/components/admin/databases/DatabasesTablesList.jsx","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":18268,"timestamp":123250430502,"id":2029,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-check.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":18474,"timestamp":123250430532,"id":2030,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/earth-lock.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":18662,"timestamp":123250430561,"id":2031,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-key-2.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":18848,"timestamp":123250430589,"id":2032,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-output.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19060,"timestamp":123250430618,"id":2033,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/sheet.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19172,"timestamp":123250430732,"id":2034,"parentId":1943,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45907,"timestamp":123250404810,"id":2016,"parentId":1842,"tags":{"name":"/app/node_modules/next/dist/compiled/os-browserify/browser.js","layer":null},"startTime":1734261960664,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":100313,"timestamp":123250404750,"id":2015,"parentId":1880,"tags":{"name":"/app/node_modules/react-dom/cjs/react-dom.production.min.js","layer":null},"startTime":1734261960663,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":74662,"timestamp":123250430794,"id":2036,"parentId":1945,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/menu.js","layer":null},"startTime":1734261960690,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":74915,"timestamp":123250430764,"id":2035,"parentId":1944,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/blocks.js","layer":null},"startTime":1734261960689,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":75019,"timestamp":123250430823,"id":2037,"parentId":1946,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/info.js","layer":null},"startTime":1734261960690,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1876,"timestamp":123250508435,"id":2076,"parentId":2005,"tags":{"name":"__barrel_optimize__?names=Plus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2235,"timestamp":123250508516,"id":2078,"parentId":1997,"tags":{"name":"__barrel_optimize__?names=Copy,Download!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":76989,"timestamp":123250435577,"id":2038,"parentId":1890,"tags":{"name":"/app/components/admin/users/DatabaseUsers.jsx","layer":null},"startTime":1734261960694,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":77533,"timestamp":123250435676,"id":2039,"parentId":1887,"tags":{"name":"/app/components/admin/databases/DatabaseTablesTablePreview.jsx","layer":null},"startTime":1734261960694,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":78335,"timestamp":123250435740,"id":2041,"parentId":1893,"tags":{"name":"/app/components/admin/databases/TablesList.jsx","layer":null},"startTime":1734261960694,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":79014,"timestamp":123250435710,"id":2040,"parentId":1887,"tags":{"name":"/app/components/admin/databases/DatabaseSchemaVisualizer.jsx","layer":null},"startTime":1734261960694,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79071,"timestamp":123250435854,"id":2045,"parentId":1947,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder-sync.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":79445,"timestamp":123250435769,"id":2042,"parentId":1892,"tags":{"name":"/app/components/admin/databases/DatabaseShellQueryResult.jsx","layer":null},"startTime":1734261960694,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79401,"timestamp":123250435979,"id":2050,"parentId":1970,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-down.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79547,"timestamp":123250436004,"id":2051,"parentId":1970,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/download.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79674,"timestamp":123250436028,"id":2052,"parentId":1970,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-input.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79760,"timestamp":123250436078,"id":2054,"parentId":1980,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-left.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":79926,"timestamp":123250436054,"id":2053,"parentId":1970,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-terminal.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":80003,"timestamp":123250436103,"id":2055,"parentId":1980,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-right.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":80122,"timestamp":123250436127,"id":2056,"parentId":1981,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-video-2.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":81268,"timestamp":123250435909,"id":2047,"parentId":1891,"tags":{"name":"/app/components/admin/databases/connect/ConnectForm.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":82044,"timestamp":123250435883,"id":2046,"parentId":1895,"tags":{"name":"/app/components/admin/users/DbCreateDbUserForm.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":82013,"timestamp":123250436176,"id":2058,"parentId":1981,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/images.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":82224,"timestamp":123250436150,"id":2057,"parentId":1981,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/files.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":82324,"timestamp":123250436220,"id":2060,"parentId":1982,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":82579,"timestamp":123250436316,"id":2064,"parentId":1894,"tags":{"name":"/app/components/form/FormRadios.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":82945,"timestamp":123250436344,"id":2065,"parentId":1905,"tags":{"name":"/app/components/general/ActiveCloneTableBanner.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":83233,"timestamp":123250436382,"id":2066,"parentId":1896,"tags":{"name":"/app/components/admin/databases/AddTableForm.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":83482,"timestamp":123250436476,"id":2070,"parentId":1902,"tags":{"name":"/app/components/admin/users/UserImage.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":84077,"timestamp":123250436430,"id":2068,"parentId":1901,"tags":{"name":"/app/components/admin/users/DbUsersList.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":84697,"timestamp":123250436453,"id":2069,"parentId":1903,"tags":{"name":"/app/components/admin/users/UserListCard.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":86318,"timestamp":123250436407,"id":2067,"parentId":1896,"tags":{"name":"/app/components/admin/databases/TableFields.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":87803,"timestamp":123250436499,"id":2071,"parentId":1906,"tags":{"name":"/app/components/admin/databases/TableEntriesList.jsx","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2077,"timestamp":123250535222,"id":2094,"parentId":2023,"tags":{"name":"__barrel_optimize__?names=PackagePlus!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2544,"timestamp":123250535248,"id":2095,"parentId":1950,"tags":{"name":"__barrel_optimize__?names=BookText,CloudUpload,DatabaseBackup,FileWarning,Home,LockKeyhole,Server,SquareChevronRight,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2999,"timestamp":123250535268,"id":2096,"parentId":1955,"tags":{"name":"__barrel_optimize__?names=BookText,CircleGauge,Database,FileKey2,Globe,Images,Plug2,ShieldEllipsis,Users!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3372,"timestamp":123250535314,"id":2098,"parentId":1979,"tags":{"name":"__barrel_optimize__?names=Layers,Newspaper!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3730,"timestamp":123250535337,"id":2099,"parentId":1968,"tags":{"name":"__barrel_optimize__?names=Server!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":4125,"timestamp":123250535405,"id":2101,"parentId":1973,"tags":{"name":"__barrel_optimize__?names=ChevronDown,ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":36612,"timestamp":123250508240,"id":2072,"parentId":1906,"tags":{"name":"/app/components/admin/databases/TableIndexes.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":37098,"timestamp":123250508617,"id":2082,"parentId":1916,"tags":{"name":"/app/components/admin/databases/TableEntryForm.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":40507,"timestamp":123250508336,"id":2073,"parentId":1908,"tags":{"name":"/app/components/admin/databases/EditTableForm.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":40490,"timestamp":123250508716,"id":2084,"parentId":1917,"tags":{"name":"/app/components/admin/databases/SingleEntryPrevNext.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":40997,"timestamp":123250508740,"id":2085,"parentId":1917,"tags":{"name":"/app/components/admin/databases/SelectNewEntry.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":41549,"timestamp":123250508769,"id":2086,"parentId":1928,"tags":{"name":"/app/components/general/ThemeSelector.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":42013,"timestamp":123250508798,"id":2087,"parentId":1920,"tags":{"name":"/app/components/admin/databases/ImportExportEntries.jsx","layer":null},"startTime":1734261960768,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":44052,"timestamp":123250508686,"id":2083,"parentId":1917,"tags":{"name":"/app/components/admin/databases/UpdateEntryForm.jsx","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18763,"timestamp":123250534957,"id":2088,"parentId":1920,"tags":{"name":"/app/components/admin/databases/MoreTableOptions.jsx","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19094,"timestamp":123250535105,"id":2090,"parentId":1939,"tags":{"name":"/app/functions/frontend/submitNewUserForm.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19774,"timestamp":123250535136,"id":2091,"parentId":1940,"tags":{"name":"/app/components/pages/login/GoogleIdentityButton.jsx","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20483,"timestamp":123250535065,"id":2089,"parentId":1928,"tags":{"name":"/app/layouts/components/AdminLayout/AdminUserBlock.jsx","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":20725,"timestamp":123250535289,"id":2097,"parentId":1955,"tags":{"name":"/app/functions/isLocalSuperUser.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":21772,"timestamp":123250535165,"id":2092,"parentId":1940,"tags":{"name":"/app/components/pages/login/GithubLogin.jsx","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22567,"timestamp":123250535190,"id":2093,"parentId":1940,"tags":{"name":"/app/components/pages/login/FacebookSignInButton.jsx","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":137948,"timestamp":123250436267,"id":2062,"parentId":1949,"tags":{"name":"/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js","layer":null},"startTime":1734261960695,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9172,"timestamp":123250565415,"id":2104,"parentId":2043,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/hard-drive.js","layer":null},"startTime":1734261960824,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9351,"timestamp":123250565378,"id":2103,"parentId":2043,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/arrow-left.js","layer":null},"startTime":1734261960824,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9417,"timestamp":123250565446,"id":2105,"parentId":2043,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-cw.js","layer":null},"startTime":1734261960824,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9879,"timestamp":123250565274,"id":2102,"parentId":2028,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/createLucideIcon.js","layer":null},"startTime":1734261960824,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2459,"timestamp":123250577486,"id":2116,"parentId":2041,"tags":{"name":"__barrel_optimize__?names=Copy,CopyPlus,Edit,FileX2,Grid2X2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2842,"timestamp":123250577510,"id":2117,"parentId":2071,"tags":{"name":"__barrel_optimize__?names=Grid2x2!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":685325,"timestamp":123249899907,"id":1821,"parentId":1697,"tags":{"name":"/app/node_modules/xterm/css/xterm.css","layer":null},"startTime":1734261960159,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-css","duration":692253,"timestamp":123249893824,"id":1819,"parentId":1680,"tags":{"name":"/app/styles/less.css","layer":null},"startTime":1734261960153,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":686932,"timestamp":123249899740,"id":1820,"parentId":1680,"tags":{"name":"/app/styles/tailwind.css","layer":null},"startTime":1734261960158,"traceId":"ce91546a398efcef"},{"name":"build-module-mjs","duration":83744,"timestamp":123250508462,"id":2077,"parentId":1994,"tags":{"name":"/app/node_modules/tailwind-merge/dist/bundle-mjs.mjs","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":84413,"timestamp":123250508405,"id":2075,"parentId":1965,"tags":{"name":"/app/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":84711,"timestamp":123250508539,"id":2079,"parentId":1969,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/url.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":86193,"timestamp":123250508559,"id":2080,"parentId":1969,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/manager.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":88660,"timestamp":123250508596,"id":2081,"parentId":1969,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/socket.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":210015,"timestamp":123250508371,"id":2074,"parentId":1965,"tags":{"name":"/app/node_modules/xterm/lib/xterm.js","layer":null},"startTime":1734261960767,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":141868,"timestamp":123250577173,"id":2106,"parentId":2044,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/x.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":141988,"timestamp":123250577259,"id":2107,"parentId":2048,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/chevron-up.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":142151,"timestamp":123250577292,"id":2108,"parentId":2061,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":142317,"timestamp":123250577319,"id":2109,"parentId":2061,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/key.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":142656,"timestamp":123250577368,"id":2111,"parentId":1964,"tags":{"name":"/app/components/general/MetricCard.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":143107,"timestamp":123250577393,"id":2112,"parentId":1975,"tags":{"name":"/app/components/su/components/UserFiles.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":143766,"timestamp":123250577439,"id":2114,"parentId":1976,"tags":{"name":"/app/components/admin/databases/MoreOptionsModal.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":144742,"timestamp":123250577344,"id":2110,"parentId":1963,"tags":{"name":"/app/components/admin/databases/DatabaseListCard.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":145013,"timestamp":123250577460,"id":2115,"parentId":1976,"tags":{"name":"/app/components/admin/databases/fields/text/JSONTextOption.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":145963,"timestamp":123250577416,"id":2113,"parentId":1975,"tags":{"name":"/app/components/su/components/UserDbShell.jsx","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":146060,"timestamp":123250577528,"id":2118,"parentId":2076,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plus.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2944,"timestamp":123250727510,"id":2120,"parentId":2088,"tags":{"name":"__barrel_optimize__?names=Ellipsis!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261960986,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9238,"timestamp":123250727662,"id":2122,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/cloud-upload.js","layer":null},"startTime":1734261960986,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9432,"timestamp":123250727752,"id":2124,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-warning.js","layer":null},"startTime":1734261960986,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9709,"timestamp":123250727711,"id":2123,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/database-backup.js","layer":null},"startTime":1734261960986,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10026,"timestamp":123250727603,"id":2121,"parentId":2094,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/package-plus.js","layer":null},"startTime":1734261960986,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10056,"timestamp":123250727792,"id":2125,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/home.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10155,"timestamp":123250727877,"id":2128,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-chevron-right.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10371,"timestamp":123250727820,"id":2126,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10508,"timestamp":123250727849,"id":2127,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/server.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10606,"timestamp":123250727905,"id":2129,"parentId":2095,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/users.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10729,"timestamp":123250727933,"id":2130,"parentId":2096,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-gauge.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10889,"timestamp":123250727961,"id":2131,"parentId":2096,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/globe.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11019,"timestamp":123250727986,"id":2132,"parentId":2096,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/plug-2.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11113,"timestamp":123250728037,"id":2134,"parentId":2098,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/layers.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11231,"timestamp":123250728064,"id":2135,"parentId":2098,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/newspaper.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11426,"timestamp":123250728013,"id":2133,"parentId":2096,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11625,"timestamp":123250728164,"id":2138,"parentId":1995,"tags":{"name":"/app/functions/frontend/numberFormat.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11998,"timestamp":123250728200,"id":2139,"parentId":1995,"tags":{"name":"/app/functions/frontend/numberFormatFloat.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12456,"timestamp":123250728238,"id":2140,"parentId":1994,"tags":{"name":"/app/components/admin/databases/fields/text/ace-editor.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14217,"timestamp":123250728262,"id":2141,"parentId":1996,"tags":{"name":"/app/components/admin/api-keys/ApiKeyListCard.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14682,"timestamp":123250728290,"id":2142,"parentId":1998,"tags":{"name":"/app/components/admin/connect/MariaDBUserCard.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15022,"timestamp":123250728337,"id":2144,"parentId":2000,"tags":{"name":"/app/components/admin/databases/DatabaseImage.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15482,"timestamp":123250728387,"id":2146,"parentId":2005,"tags":{"name":"/app/components/admin/media/MediaFolderCard.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":16382,"timestamp":123250728314,"id":2143,"parentId":2000,"tags":{"name":"/app/components/admin/databases/DatabaseForm.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"postcss-process","duration":1605,"timestamp":123250749675,"id":2155,"parentId":2154,"tags":{},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"postcss-loader","duration":1851,"timestamp":123250749454,"id":2154,"parentId":2153,"tags":{},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"css-loader","duration":5677,"timestamp":123250751325,"id":2156,"parentId":2153,"tags":{"astUsed":"true"},"startTime":1734261961010,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":8318,"timestamp":123250749104,"id":2153,"parentId":1933,"tags":{"name":"/app/components/pages/homepage/Home.module.css.webpack[javascript/auto]!=!/app/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[7].oneOf[7].use[1]!/app/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[7].oneOf[7].use[2]!/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":31466,"timestamp":123250728362,"id":2145,"parentId":1999,"tags":{"name":"/app/components/admin/connect/MariDBUserFormGrantsSection.jsx","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":225211,"timestamp":123250535358,"id":2100,"parentId":1960,"tags":{"name":"/app/node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/get-socket-url.js","layer":null},"startTime":1734261960794,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12077,"timestamp":123250749000,"id":2150,"parentId":2102,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/defaultAttributes.js","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12500,"timestamp":123250748846,"id":2147,"parentId":2011,"tags":{"name":"/app/components/admin/media/TogglePrivacyButton.jsx","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12487,"timestamp":123250749027,"id":2151,"parentId":2102,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/shared/src/utils.js","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13392,"timestamp":123250748933,"id":2148,"parentId":2005,"tags":{"name":"/app/components/admin/media/card/MediaListCard.jsx","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13903,"timestamp":123250748969,"id":2149,"parentId":2001,"tags":{"name":"/app/components/su/components/RichText/RichTextExtensionBlock.jsx","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":116,"timestamp":123250766029,"id":2157,"parentId":1821,"tags":{},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":21,"timestamp":123250766156,"id":2158,"parentId":1819,"tags":{},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":19,"timestamp":123250766184,"id":2159,"parentId":1820,"tags":{},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1185,"timestamp":123250766215,"id":2160,"parentId":2110,"tags":{"name":"__barrel_optimize__?names=ChevronRight!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-css","duration":568148,"timestamp":123250205257,"id":1933,"parentId":1810,"tags":{"name":"/app/components/pages/homepage/Home.module.css","layer":null},"startTime":1734261960464,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":196313,"timestamp":123250577551,"id":2119,"parentId":1960,"tags":{"name":"/app/node_modules/next/dist/server/dev/hot-reloader-types.js","layer":null},"startTime":1734261960836,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7975,"timestamp":123250766385,"id":2163,"parentId":2116,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-x-2.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8149,"timestamp":123250766416,"id":2164,"parentId":2116,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/grid-2x2.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8461,"timestamp":123250766292,"id":2161,"parentId":2116,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/copy-plus.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8554,"timestamp":123250766349,"id":2162,"parentId":2116,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/square-pen.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1265,"timestamp":123250775513,"id":2166,"parentId":2142,"tags":{"name":"__barrel_optimize__?names=CircleX,Copy,Delete,Edit!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961034,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1629,"timestamp":123250775587,"id":2167,"parentId":2146,"tags":{"name":"__barrel_optimize__?names=Copy,Folder,X!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961034,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":50747,"timestamp":123250728137,"id":2137,"parentId":2088,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/Popover.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":56996,"timestamp":123250728090,"id":2136,"parentId":2067,"tags":{"name":"/app/node_modules/gsap/Flip.js","layer":null},"startTime":1734261960987,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1129,"timestamp":123250788917,"id":2170,"parentId":2147,"tags":{"name":"__barrel_optimize__?names=Lock,LockKeyholeOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961048,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1496,"timestamp":123250789003,"id":2171,"parentId":2149,"tags":{"name":"__barrel_optimize__?names=CircleX,List,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961048,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194657,"timestamp":123249596951,"id":1496,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Flogin.jsx&page=%2Flogin!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194661,"timestamp":123249596963,"id":1501,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fbackups.jsx&page=%2Fsu%2Fbackups!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194647,"timestamp":123249596983,"id":1509,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fenvar.jsx&page=%2Fsu%2Fenvar!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194649,"timestamp":123249596986,"id":1510,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Ferror-logs.jsx&page=%2Fsu%2Ferror-logs!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194651,"timestamp":123249596988,"id":1511,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fload-balancing.jsx&page=%2Fsu%2Fload-balancing!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194652,"timestamp":123249596991,"id":1512,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Findex.jsx&page=%2Fsu!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194652,"timestamp":123249596995,"id":1513,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fservers.jsx&page=%2Fsu%2Fservers!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194685,"timestamp":123249596973,"id":1505,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Findex.jsx&page=%2Fsu%2Fdocs!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194636,"timestamp":123249597027,"id":1516,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Findex.jsx&page=%2Fsu%2Fusers!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194637,"timestamp":123249597030,"id":1517,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2Fnew.jsx&page=%2Fsu%2Fusers%2Fnew!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194697,"timestamp":123249596976,"id":1506,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D.jsx&page=%2Fsu%2Fdocs%2Fpages%2F%5Bid%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1194697,"timestamp":123249596978,"id":1507,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fpages%2Findex.jsx&page=%2Fsu%2Fdocs%2Fpages!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16412,"timestamp":123250775618,"id":2168,"parentId":2120,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/ellipsis.js","layer":null},"startTime":1734261961034,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":43298,"timestamp":123250749055,"id":2152,"parentId":2067,"tags":{"name":"/app/node_modules/gsap/index.js","layer":null},"startTime":1734261961008,"traceId":"ce91546a398efcef"},{"name":"build-module","duration":33,"timestamp":123250795620,"id":2172,"parentId":1933,"tags":{},"startTime":1734261961054,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":33925,"timestamp":123250766449,"id":2165,"parentId":1884,"tags":{"name":"/app/node_modules/next/dist/compiled/process/browser.js","layer":null},"startTime":1734261961025,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5765,"timestamp":123250795758,"id":2174,"parentId":2067,"tags":{"name":"/app/functions/frontend/addNewTempField.js","layer":null},"startTime":1734261961054,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6153,"timestamp":123250795816,"id":2175,"parentId":2067,"tags":{"name":"/app/components/general/ExpandBlock.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6840,"timestamp":123250795847,"id":2176,"parentId":2067,"tags":{"name":"/app/components/admin/databases/functions/generateTypeDefinition.js","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1208070,"timestamp":123249596781,"id":1449,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=next%2Fdist%2Fpages%2F_error&page=%2F_error!"},"startTime":1734261959855,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":10796,"timestamp":123250795875,"id":2177,"parentId":2041,"tags":{"name":"/app/components/admin/databases/TableListCard.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11316,"timestamp":123250795924,"id":2179,"parentId":2041,"tags":{"name":"/app/components/admin/databases/ImportSchemaComponent.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":11858,"timestamp":123250795900,"id":2178,"parentId":2041,"tags":{"name":"/app/components/admin/databases/ImportDbComponent.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12487,"timestamp":123250795948,"id":2180,"parentId":2066,"tags":{"name":"/app/components/admin/databases/NewTableForm.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13380,"timestamp":123250796018,"id":2183,"parentId":2067,"tags":{"name":"/app/components/admin/databases/NewFieldTemp.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14271,"timestamp":123250795994,"id":2182,"parentId":2067,"tags":{"name":"/app/components/admin/databases/ClonedSingleTableFieldCard.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14427,"timestamp":123250796089,"id":2186,"parentId":2072,"tags":{"name":"/app/functions/frontend/addNewTemplateIndex.js","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15500,"timestamp":123250796041,"id":2184,"parentId":2067,"tags":{"name":"/app/components/admin/databases/SingleTableFieldCard.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15981,"timestamp":123250796114,"id":2187,"parentId":2082,"tags":{"name":"/app/functions/frontend/defaultFieldsRegexp.js","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17259,"timestamp":123250795971,"id":2181,"parentId":2066,"tags":{"name":"/app/components/admin/databases/CloneTableForm.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17405,"timestamp":123250796170,"id":2189,"parentId":2089,"tags":{"name":"/app/layouts/components/AdminUserDropdown.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":18135,"timestamp":123250796138,"id":2188,"parentId":2087,"tags":{"name":"/app/components/admin/databases/functions/import-export-handler.js","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":19560,"timestamp":123250796065,"id":2185,"parentId":2071,"tags":{"name":"/app/components/admin/databases/SearchEntriesSection.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":42124,"timestamp":123250775667,"id":2169,"parentId":2080,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/on.js","layer":null},"startTime":1734261961034,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":22407,"timestamp":123250796235,"id":2191,"parentId":2072,"tags":{"name":"/app/components/admin/databases/SingleTableIndexCard.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":23061,"timestamp":123250796261,"id":2192,"parentId":2082,"tags":{"name":"/app/components/admin/databases/TableEntryField.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":24068,"timestamp":123250796209,"id":2190,"parentId":2072,"tags":{"name":"/app/components/admin/databases/NewIndexFieldTemp.jsx","layer":null},"startTime":1734261961055,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15705,"timestamp":123250804754,"id":2195,"parentId":2167,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/folder.js","layer":null},"startTime":1734261961063,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16010,"timestamp":123250804599,"id":2193,"parentId":2166,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-x.js","layer":null},"startTime":1734261961063,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":16081,"timestamp":123250804713,"id":2194,"parentId":2166,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/delete.js","layer":null},"startTime":1734261961063,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5028,"timestamp":123250831041,"id":2198,"parentId":2170,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5108,"timestamp":123250831115,"id":2200,"parentId":2171,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5304,"timestamp":123250831084,"id":2199,"parentId":2171,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/list.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5617,"timestamp":123250830912,"id":2197,"parentId":2170,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5606,"timestamp":123250831333,"id":2205,"parentId":2112,"tags":{"name":"/app/components/su/components/UserFolder.jsx","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6125,"timestamp":123250831265,"id":2203,"parentId":2082,"tags":{"name":"/app/functions/frontend/newEntryHandler.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6639,"timestamp":123250831146,"id":2201,"parentId":2083,"tags":{"name":"/app/components/admin/databases/UpdateEntryMoreOptions.jsx","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":6628,"timestamp":123250831389,"id":2207,"parentId":2113,"tags":{"name":"/app/components/su/components/UserDbShellQueryResult.jsx","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7049,"timestamp":123250831364,"id":2206,"parentId":2112,"tags":{"name":"/app/components/su/components/UserSingleFile.jsx","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":7951,"timestamp":123250831230,"id":2202,"parentId":2088,"tags":{"name":"/app/components/admin/databases/SyncDataButton.jsx","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":53271,"timestamp":123250795671,"id":2173,"parentId":2080,"tags":{"name":"/app/node_modules/socket.io-client/build/esm/contrib/backo2.js","layer":null},"startTime":1734261961054,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":4757,"timestamp":123250844939,"id":2218,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/AutoIncrement.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5190,"timestamp":123250844879,"id":2216,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/EncryptionSelect.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5786,"timestamp":123250844790,"id":2215,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/CSSFiles.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":5908,"timestamp":123250844990,"id":2220,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/UniqueFieldSelect.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1833,"timestamp":123250852437,"id":2224,"parentId":2177,"tags":{"name":"__barrel_optimize__?names=ChevronRight,DatabaseBackup,Sheet!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2183,"timestamp":123250852510,"id":2225,"parentId":2179,"tags":{"name":"__barrel_optimize__?names=FileCog!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2548,"timestamp":123250852539,"id":2226,"parentId":2192,"tags":{"name":"__barrel_optimize__?names=Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2894,"timestamp":123250852562,"id":2227,"parentId":2189,"tags":{"name":"__barrel_optimize__?names=CircleGauge!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12215,"timestamp":123250844965,"id":2219,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/RegexPattern.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12901,"timestamp":123250845016,"id":2221,"parentId":2114,"tags":{"name":"/app/components/general/Modal.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13511,"timestamp":123250845065,"id":2223,"parentId":2143,"tags":{"name":"/app/functions/frontend/submitNewDatabaseForm.js","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":14104,"timestamp":123250845041,"id":2222,"parentId":2143,"tags":{"name":"/app/functions/frontend/submitUpdateDatabaseForm.js","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":15692,"timestamp":123250844911,"id":2217,"parentId":2114,"tags":{"name":"/app/components/admin/databases/fields/fields-inputs/ForeignKey.jsx","layer":null},"startTime":1734261961104,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268806,"timestamp":123249596818,"id":1455,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fabout.jsx&page=%2Fabout!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268844,"timestamp":123249596792,"id":1451,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F404.jsx&page=%2F404!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268852,"timestamp":123249596787,"id":1450,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F500.jsx&page=%2F500!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268702,"timestamp":123249596941,"id":1492,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Findex.jsx&page=%2F!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268713,"timestamp":123249596934,"id":1489,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fcontact.jsx&page=%2Fcontact!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268707,"timestamp":123249596944,"id":1493,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fcreate-account.jsx&page=%2Fcreate-account!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268700,"timestamp":123249596954,"id":1497,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fprivacy.jsx&page=%2Fprivacy!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268699,"timestamp":123249596959,"id":1499,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fredirect.jsx&page=%2Fredirect!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268630,"timestamp":123249597032,"id":1518,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fterms.jsx&page=%2Fterms!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268700,"timestamp":123249596966,"id":1502,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsend-password-reset-link.jsx&page=%2Fsend-password-reset-link!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268689,"timestamp":123249596981,"id":1508,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Freset-password.jsx&page=%2Freset-password!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268639,"timestamp":123249597035,"id":1519,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Funsubscribe.jsx&page=%2Funsubscribe!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268746,"timestamp":123249596931,"id":1488,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fblog%2Findex.jsx&page=%2Fblog!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268744,"timestamp":123249596937,"id":1490,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2Findex.jsx&page=%2Fdocs!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268737,"timestamp":123249596946,"id":1494,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Femail-verification%2Findex.jsx&page=%2Femail-verification!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268747,"timestamp":123249596939,"id":1491,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268732,"timestamp":123249596956,"id":1498,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D%2Findex.jsx&page=%2Fdocs%2F%5Bpage%5D%2F%5Bsub-page%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268897,"timestamp":123249596795,"id":1452,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2F_app.js&page=%2F_app!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268768,"timestamp":123249596929,"id":1487,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2Findex.jsx&page=%2Fadmin!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268814,"timestamp":123249596887,"id":1476,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268798,"timestamp":123249596906,"id":1480,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fschema!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268892,"timestamp":123249596815,"id":1454,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fapi-keys%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fapi-keys!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268878,"timestamp":123249596832,"id":1458,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fconnect%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fconnect!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268799,"timestamp":123249596916,"id":1482,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fadd-user!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268791,"timestamp":123249596926,"id":1486,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268836,"timestamp":123249596884,"id":1475,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268895,"timestamp":123249596829,"id":1457,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fconnect!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268804,"timestamp":123249596923,"id":1485,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268890,"timestamp":123249596841,"id":1461,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fshell!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268860,"timestamp":123249596874,"id":1471,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-social-logins!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268858,"timestamp":123249596879,"id":1473,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Fadd-user!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268827,"timestamp":123249596918,"id":1483,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2F%5Buser%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268827,"timestamp":123249596921,"id":1484,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fusers%2Fdatabases%2F%5Bdatabase%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268884,"timestamp":123249596866,"id":1468,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Fchange-password!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1268876,"timestamp":123249596877,"id":1472,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2F%5Buser%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2055,"timestamp":123250864239,"id":2236,"parentId":2205,"tags":{"name":"__barrel_optimize__?names=Copy,RotateCcw!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2356,"timestamp":123250864332,"id":2237,"parentId":2206,"tags":{"name":"__barrel_optimize__?names=HardDrive!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1273137,"timestamp":123249596894,"id":1478,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fsettings.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fsettings!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1273164,"timestamp":123249596882,"id":1474,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2Fadd-database!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1273231,"timestamp":123249596821,"id":1456,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fedit-database!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":17985,"timestamp":123250852773,"id":2234,"parentId":2148,"tags":{"name":"/app/components/admin/media/card/MediaPrivacyButton.jsx","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18541,"timestamp":123250852719,"id":2232,"parentId":2148,"tags":{"name":"/app/components/admin/media/card/MediaPreviewSection.jsx","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":18876,"timestamp":123250852747,"id":2233,"parentId":2148,"tags":{"name":"/app/components/admin/media/card/MediaLinksDropdown.jsx","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":19569,"timestamp":123250852656,"id":2231,"parentId":2149,"tags":{"name":"/app/components/su/components/RichText/fns.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":20917,"timestamp":123250852796,"id":2235,"parentId":2149,"tags":{"name":"/app/components/su/components/RichText/ElementStyleModalContent.jsx","layer":null},"startTime":1734261961112,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":69244,"timestamp":123250804789,"id":2196,"parentId":2100,"tags":{"name":"/app/node_modules/next/dist/shared/lib/normalized-asset-prefix.js","layer":null},"startTime":1734261961064,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":42869,"timestamp":123250831295,"id":2204,"parentId":2001,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/index.js","layer":null},"startTime":1734261961090,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10000,"timestamp":123250864478,"id":2241,"parentId":2190,"tags":{"name":"/app/functions/frontend/addNewIndex.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10360,"timestamp":123250864373,"id":2238,"parentId":2183,"tags":{"name":"/app/functions/frontend/addNewField.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10794,"timestamp":123250864418,"id":2239,"parentId":2182,"tags":{"name":"/app/functions/frontend/reorderField.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11576,"timestamp":123250864448,"id":2240,"parentId":2192,"tags":{"name":"/app/functions/frontend/generateFormElementsForEntry.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":12128,"timestamp":123250864505,"id":2242,"parentId":2180,"tags":{"name":"/app/components/admin/databases/NewTableNameSlugAndDescSection.jsx","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13018,"timestamp":123250864531,"id":2243,"parentId":2183,"tags":{"name":"/app/components/admin/databases/NewFieldFormContent.jsx","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13547,"timestamp":123250864576,"id":2245,"parentId":2192,"tags":{"name":"/app/components/admin/databases/TableRichTextEntryField.jsx","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":13958,"timestamp":123250864600,"id":2246,"parentId":2192,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditor.jsx","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":14967,"timestamp":123250864554,"id":2244,"parentId":2191,"tags":{"name":"/app/components/admin/databases/ExistingIndexEdit.jsx","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":15246,"timestamp":123250864623,"id":2247,"parentId":2202,"tags":{"name":"/app/functions/frontend/syncTableDataFormHandler.js","layer":null},"startTime":1734261961123,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1289633,"timestamp":123249596998,"id":1514,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fusers%2F%5Bsingle%5D.jsx&page=%2Fsu%2Fusers%2F%5Bsingle%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45129,"timestamp":123250844613,"id":2209,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/util.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":45350,"timestamp":123250844665,"id":2211,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useMemoizedArray.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46066,"timestamp":123250844643,"id":2210,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/usePopover.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46226,"timestamp":123250844700,"id":2212,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useHandlePrevValues.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":46639,"timestamp":123250844735,"id":2213,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useArrowContainer.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47047,"timestamp":123250844516,"id":2208,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/PopoverPortal.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":47134,"timestamp":123250844771,"id":2214,"parentId":2137,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/ArrowContainer.js","layer":null},"startTime":1734261961103,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":44225,"timestamp":123250852636,"id":2230,"parentId":2136,"tags":{"name":"/app/node_modules/gsap/utils/matrix.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":67150,"timestamp":123250852585,"id":2228,"parentId":2152,"tags":{"name":"/app/node_modules/gsap/gsap-core.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":77728,"timestamp":123250852613,"id":2229,"parentId":2152,"tags":{"name":"/app/node_modules/gsap/CSSPlugin.js","layer":null},"startTime":1734261961111,"traceId":"ce91546a398efcef"}] +[{"name":"build-module-js","duration":37870,"timestamp":123250893239,"id":2248,"parentId":2225,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/file-cog.js","layer":null},"startTime":1734261961152,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335389,"timestamp":123249596872,"id":1470,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Fadd-table!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335439,"timestamp":123249596835,"id":1459,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335443,"timestamp":123249596838,"id":1460,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fschema!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335417,"timestamp":123249596869,"id":1469,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335428,"timestamp":123249596864,"id":1467,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Ffields!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335451,"timestamp":123249596846,"id":1462,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fedit-table!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1335413,"timestamp":123249596889,"id":1477,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Fusers!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1044,"timestamp":123250931759,"id":2249,"parentId":2235,"tags":{"name":"__barrel_optimize__?names=CircleX!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961190,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1389,"timestamp":123250931849,"id":2250,"parentId":2234,"tags":{"name":"__barrel_optimize__?names=Lock,LockOpen!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961191,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2736,"timestamp":123250934181,"id":2251,"parentId":2244,"tags":{"name":"/app/components/admin/databases/indexes/indexSelectChange.js","layer":null},"startTime":1734261961193,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2947,"timestamp":123250934291,"id":2253,"parentId":2245,"tags":{"name":"/app/functions/frontend/tinyMCEEditorSetup.js","layer":null},"startTime":1734261961193,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3259,"timestamp":123250934254,"id":2252,"parentId":2246,"tags":{"name":"/app/components/admin/databases/fields/text/JSONEditorHeader.jsx","layer":null},"startTime":1734261961193,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3336,"timestamp":123250935759,"id":2254,"parentId":2250,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/lock-open.js","layer":null},"startTime":1734261961194,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1342384,"timestamp":123249596911,"id":1481,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1342418,"timestamp":123249596897,"id":1479,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fmedia%2F%5B...folder%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":954,"timestamp":123250940272,"id":2258,"parentId":2252,"tags":{"name":"__barrel_optimize__?names=CircleMinus,CirclePlus,Lock!=!/app/node_modules/lucide-react/dist/esm/lucide-react.js","layer":null},"startTime":1734261961199,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5783,"timestamp":123250935828,"id":2255,"parentId":2015,"tags":{"name":"/app/node_modules/scheduler/index.js","layer":null},"startTime":1734261961195,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6040,"timestamp":123250935871,"id":2256,"parentId":2210,"tags":{"name":"/app/node_modules/react-tiny-popover/dist/useElementRef.js","layer":null},"startTime":1734261961195,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7660,"timestamp":123250937958,"id":2257,"parentId":2204,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.js","layer":null},"startTime":1734261961197,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":5848,"timestamp":123250942378,"id":2259,"parentId":2253,"tags":{"name":"/app/functions/frontend/handleCopyHTML.js","layer":null},"startTime":1734261961201,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6122,"timestamp":123250942484,"id":2261,"parentId":2253,"tags":{"name":"/app/functions/frontend/handleEmbed.js","layer":null},"startTime":1734261961201,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6440,"timestamp":123250942451,"id":2260,"parentId":2253,"tags":{"name":"/app/functions/frontend/handleEditHTML.js","layer":null},"startTime":1734261961201,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2268,"timestamp":123250949768,"id":2265,"parentId":2258,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-plus.js","layer":null},"startTime":1734261961208,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2525,"timestamp":123250949670,"id":2264,"parentId":2258,"tags":{"name":"/app/node_modules/lucide-react/dist/esm/icons/circle-minus.js","layer":null},"startTime":1734261961208,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11438,"timestamp":123250942546,"id":2263,"parentId":1969,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/index.js","layer":null},"startTime":1734261961201,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12724,"timestamp":123250942516,"id":2262,"parentId":1969,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/index.js","layer":null},"startTime":1734261961201,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":2899,"timestamp":123250956591,"id":2266,"parentId":2259,"tags":{"name":"/app/components/general/EmbedPopupContent.jsx","layer":null},"startTime":1734261961215,"traceId":"ce91546a398efcef"},{"name":"build-module-jsx","duration":3312,"timestamp":123250956682,"id":2267,"parentId":2260,"tags":{"name":"/app/components/general/EditHTMLPopupContent.jsx","layer":null},"startTime":1734261961215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6623,"timestamp":123250956794,"id":2271,"parentId":2257,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.js","layer":null},"startTime":1734261961216,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":6782,"timestamp":123250956773,"id":2270,"parentId":2257,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.js","layer":null},"startTime":1734261961215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":7399,"timestamp":123250956815,"id":2272,"parentId":2257,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.js","layer":null},"startTime":1734261961216,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":8152,"timestamp":123250956748,"id":2269,"parentId":2257,"tags":{"name":"/app/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.js","layer":null},"startTime":1734261961215,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9631,"timestamp":123250956722,"id":2268,"parentId":2255,"tags":{"name":"/app/node_modules/scheduler/cjs/scheduler.production.min.js","layer":null},"startTime":1734261961215,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1370117,"timestamp":123249596812,"id":1453,"parentId":1447,"tags":{"request":"/app/node_modules/next/dist/client/router.js"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1370218,"timestamp":123249596718,"id":1448,"parentId":1447,"tags":{"request":"./node_modules/next/dist/client/next.js"},"startTime":1734261959855,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9463,"timestamp":123250960717,"id":2273,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/socket.js","layer":null},"startTime":1734261961219,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9729,"timestamp":123250960855,"id":2278,"parentId":2262,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/is-binary.js","layer":null},"startTime":1734261961220,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11942,"timestamp":123250960772,"id":2274,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transport.js","layer":null},"startTime":1734261961219,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12466,"timestamp":123250960795,"id":2275,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/util.js","layer":null},"startTime":1734261961220,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12714,"timestamp":123250960818,"id":2276,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/globals.js","layer":null},"startTime":1734261961220,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13193,"timestamp":123250960837,"id":2277,"parentId":2262,"tags":{"name":"/app/node_modules/socket.io-parser/build/esm/binary.js","layer":null},"startTime":1734261961220,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9071,"timestamp":123250966628,"id":2281,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling-fetch.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9250,"timestamp":123250966890,"id":2286,"parentId":2080,"tags":{"name":"/app/node_modules/@socket.io/component-emitter/lib/esm/index.js","layer":null},"startTime":1734261961226,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":9715,"timestamp":123250966599,"id":2280,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/index.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":10084,"timestamp":123250966706,"id":2284,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/webtransport.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11381,"timestamp":123250966657,"id":2282,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling-xhr.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":11970,"timestamp":123250966727,"id":2285,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/parseuri.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":12703,"timestamp":123250966685,"id":2283,"parentId":2263,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/websocket.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":13124,"timestamp":123250966550,"id":2279,"parentId":2267,"tags":{"name":"/app/node_modules/html-prettify/src/index.js","layer":null},"startTime":1734261961225,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1537,"timestamp":123250983327,"id":2287,"parentId":2273,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/parseqs.js","layer":null},"startTime":1734261961242,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1586,"timestamp":123250983583,"id":2289,"parentId":2282,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/contrib/has-cors.js","layer":null},"startTime":1734261961242,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2133,"timestamp":123250983536,"id":2288,"parentId":2281,"tags":{"name":"/app/node_modules/engine.io-client/build/esm/transports/polling.js","layer":null},"startTime":1734261961242,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2087,"timestamp":123250984522,"id":2291,"parentId":2279,"tags":{"name":"/app/node_modules/html-prettify/src/utils/toLines.js","layer":null},"startTime":1734261961243,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":2406,"timestamp":123250984487,"id":2290,"parentId":2279,"tags":{"name":"/app/node_modules/html-prettify/src/utils/addIndentation.js","layer":null},"startTime":1734261961243,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1390116,"timestamp":123249596851,"id":1463,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Fadd-entry!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1390131,"timestamp":123249596861,"id":1466,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1390140,"timestamp":123249596855,"id":1464,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2F%5Bsingle_entry%5D!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1390139,"timestamp":123249596859,"id":1465,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries%2Findex.jsx&page=%2Fadmin%2F%5Buser_id%5D%2Fdatabases%2F%5Bsingle%5D%2Ftables%2F%5Bsingle_table%5D%2Fentries!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":476,"timestamp":123250987491,"id":2292,"parentId":2272,"tags":{"name":"/app/node_modules/prop-types/index.js","layer":null},"startTime":1734261961246,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1002,"timestamp":123250988406,"id":2293,"parentId":2292,"tags":{"name":"/app/node_modules/prop-types/factoryWithThrowingShims.js","layer":null},"startTime":1734261961247,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":1345,"timestamp":123250989041,"id":2294,"parentId":2273,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/index.js","layer":null},"startTime":1734261961248,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":662,"timestamp":123250991340,"id":2296,"parentId":2294,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/decodePacket.browser.js","layer":null},"startTime":1734261961250,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3144,"timestamp":123250991257,"id":2295,"parentId":2294,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/encodePacket.browser.js","layer":null},"startTime":1734261961250,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3247,"timestamp":123250991382,"id":2297,"parentId":2294,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/commons.js","layer":null},"startTime":1734261961250,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":3143,"timestamp":123250991606,"id":2298,"parentId":2293,"tags":{"name":"/app/node_modules/prop-types/lib/ReactPropTypesSecret.js","layer":null},"startTime":1734261961250,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1397983,"timestamp":123249596969,"id":1503,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fcreate-page.jsx&page=%2Fsu%2Fdocs%2Fcreate-page!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1397992,"timestamp":123249596971,"id":1504,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fdocs%2Fedit-page.jsx&page=%2Fsu%2Fdocs%2Fedit-page!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"build-module-js","duration":691,"timestamp":123250995228,"id":2299,"parentId":2296,"tags":{"name":"/app/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js","layer":null},"startTime":1734261961254,"traceId":"ce91546a398efcef"},{"name":"add-entry","duration":1399001,"timestamp":123249596961,"id":1500,"parentId":1447,"tags":{"request":"next-client-pages-loader?absolutePagePath=private-next-pages%2Fsu%2Fconsole.jsx&page=%2Fsu%2Fconsole!"},"startTime":1734261959856,"traceId":"ce91546a398efcef"},{"name":"make","duration":1399541,"timestamp":123249596485,"id":1447,"parentId":1446,"tags":{},"startTime":1734261959855,"traceId":"ce91546a398efcef"},{"name":"chunk-graph","duration":21158,"timestamp":123251038196,"id":2301,"parentId":2300,"tags":{},"startTime":1734261961297,"traceId":"ce91546a398efcef"},{"name":"optimize-modules","duration":106,"timestamp":123251059499,"id":2303,"parentId":2300,"tags":{},"startTime":1734261961318,"traceId":"ce91546a398efcef"},{"name":"optimize-chunks","duration":18419,"timestamp":123251059697,"id":2304,"parentId":2300,"tags":{},"startTime":1734261961318,"traceId":"ce91546a398efcef"},{"name":"optimize-tree","duration":13,"timestamp":123251078170,"id":2305,"parentId":2300,"tags":{},"startTime":1734261961337,"traceId":"ce91546a398efcef"},{"name":"optimize-chunk-modules","duration":26062,"timestamp":123251078221,"id":2306,"parentId":2300,"tags":{},"startTime":1734261961337,"traceId":"ce91546a398efcef"},{"name":"optimize","duration":44941,"timestamp":123251059396,"id":2302,"parentId":2300,"tags":{},"startTime":1734261961318,"traceId":"ce91546a398efcef"},{"name":"module-hash","duration":21574,"timestamp":123251112671,"id":2307,"parentId":2300,"tags":{},"startTime":1734261961371,"traceId":"ce91546a398efcef"},{"name":"code-generation","duration":243176,"timestamp":123251134283,"id":2308,"parentId":2300,"tags":{},"startTime":1734261961393,"traceId":"ce91546a398efcef"},{"name":"hash","duration":8611,"timestamp":123251380766,"id":2309,"parentId":2300,"tags":{},"startTime":1734261961639,"traceId":"ce91546a398efcef"},{"name":"code-generation-jobs","duration":238,"timestamp":123251389375,"id":2310,"parentId":2300,"tags":{},"startTime":1734261961648,"traceId":"ce91546a398efcef"},{"name":"module-assets","duration":342,"timestamp":123251389534,"id":2311,"parentId":2300,"tags":{},"startTime":1734261961648,"traceId":"ce91546a398efcef"},{"name":"create-chunk-assets","duration":22189,"timestamp":123251389884,"id":2312,"parentId":2300,"tags":{},"startTime":1734261961649,"traceId":"ce91546a398efcef"},{"name":"NextJsBuildManifest-generateClientManifest","duration":2400,"timestamp":123251417112,"id":2314,"parentId":1446,"tags":{},"startTime":1734261961676,"traceId":"ce91546a398efcef"},{"name":"NextJsBuildManifest-createassets","duration":3779,"timestamp":123251415751,"id":2313,"parentId":1446,"tags":{},"startTime":1734261961674,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":108083,"timestamp":123251444726,"id":2317,"parentId":2315,"tags":{"name":"static/chunks/pages/_error-158556db7d796075.js","cache":"MISS"},"startTime":1734261961703,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":107983,"timestamp":123251444873,"id":2319,"parentId":2315,"tags":{"name":"static/chunks/pages/404-d3be0a86fd3678cf.js","cache":"MISS"},"startTime":1734261961704,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":108109,"timestamp":123251444770,"id":2318,"parentId":2315,"tags":{"name":"static/chunks/pages/500-f11e82ac7d66d7bb.js","cache":"MISS"},"startTime":1734261961703,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":106231,"timestamp":123251446669,"id":2322,"parentId":2315,"tags":{"name":"static/chunks/pages/about-c047a055959f9e36.js","cache":"MISS"},"startTime":1734261961705,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":106091,"timestamp":123251446848,"id":2323,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-6aa37f085c32fb31.js","cache":"MISS"},"startTime":1734261961706,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":107092,"timestamp":123251445895,"id":2321,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/api-keys-f28946cc6963ccf9.js","cache":"MISS"},"startTime":1734261961705,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":108065,"timestamp":123251444971,"id":2320,"parentId":2315,"tags":{"name":"static/chunks/pages/_app-44c7242e74015da3.js","cache":"MISS"},"startTime":1734261961704,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":105845,"timestamp":123251447214,"id":2324,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/connect-1dba75ac7cb9ebad.js","cache":"MISS"},"startTime":1734261961706,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":104314,"timestamp":123251448764,"id":2326,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]-6e864b78c360dc49.js","cache":"MISS"},"startTime":1734261961707,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":105354,"timestamp":123251447768,"id":2325,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/connect-e50451186e58599d.js","cache":"MISS"},"startTime":1734261961706,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":103815,"timestamp":123251449326,"id":2327,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/schema-95e8dd03ad7c6a06.js","cache":"MISS"},"startTime":1734261961708,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":103174,"timestamp":123251449986,"id":2328,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/shell-7eb89b5c12b99925.js","cache":"MISS"},"startTime":1734261961709,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":102326,"timestamp":123251450853,"id":2330,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-8024b2e1401983d0.js","cache":"MISS"},"startTime":1734261961710,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":102829,"timestamp":123251450370,"id":2329,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-57698ade1c7f0765.js","cache":"MISS"},"startTime":1734261961709,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":101906,"timestamp":123251451313,"id":2331,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-4cc1adf18787829a.js","cache":"MISS"},"startTime":1734261961710,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":101435,"timestamp":123251451800,"id":2332,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-ff447534e3b2bafc.js","cache":"MISS"},"startTime":1734261961711,"traceId":"ce91546a398efcef"}] +[{"name":"minify-js","duration":100257,"timestamp":123251453336,"id":2335,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-a94b66837c400d17.js","cache":"MISS"},"startTime":1734261961712,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":100627,"timestamp":123251452991,"id":2334,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-945538ec0fc0b0a7.js","cache":"MISS"},"startTime":1734261961712,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":100018,"timestamp":123251453620,"id":2336,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables-dcf740bfd5b6043a.js","cache":"MISS"},"startTime":1734261961712,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":101740,"timestamp":123251451940,"id":2333,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-200b750a1d54ab23.js","cache":"MISS"},"startTime":1734261961711,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":98462,"timestamp":123251455238,"id":2339,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-4c92ed1d49bb3ade.js","cache":"MISS"},"startTime":1734261961714,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":99728,"timestamp":123251454011,"id":2337,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-89f86ad8d27962ba.js","cache":"MISS"},"startTime":1734261961713,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":98169,"timestamp":123251455835,"id":2341,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/add-database-ab8db775e056ed0b.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":98540,"timestamp":123251455931,"id":2342,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases-ab3ab0465518f781.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":99782,"timestamp":123251454764,"id":2338,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-cfed17c2c3dbdc2a.js","cache":"MISS"},"startTime":1734261961713,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":98882,"timestamp":123251455957,"id":2343,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]-8cd567a45d19f285.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":100757,"timestamp":123251455581,"id":2340,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-8638f09e55b93d73.js","cache":"MISS"},"startTime":1734261961714,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":102806,"timestamp":123251456550,"id":2346,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/media/[...folder]-cdeea4244681837b.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":103162,"timestamp":123251456318,"id":2345,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/settings-342a5e743fad8482.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":104817,"timestamp":123251455984,"id":2344,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/databases/[single]/users-2c07a215e8b1844b.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":104805,"timestamp":123251457052,"id":2348,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/media-46b2fe9405b02d42.js","cache":"MISS"},"startTime":1734261961716,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":111370,"timestamp":123251456742,"id":2347,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/schema-d80b040d32aa39ec.js","cache":"MISS"},"startTime":1734261961715,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":112553,"timestamp":123251457219,"id":2349,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/add-user-ab482f93dfcbcad0.js","cache":"MISS"},"startTime":1734261961716,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":113362,"timestamp":123251457508,"id":2350,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-8995148ebfecac95.js","cache":"MISS"},"startTime":1734261961716,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":115136,"timestamp":123251458017,"id":2352,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases-3db26019e8f19ba3.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":116203,"timestamp":123251457821,"id":2351,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/users/databases/[database]-fceda461648030cf.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":115729,"timestamp":123251458492,"id":2354,"parentId":2315,"tags":{"name":"static/chunks/pages/admin-94357d2bafa89374.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":116166,"timestamp":123251458544,"id":2355,"parentId":2315,"tags":{"name":"static/chunks/pages/blog-a8a33a7d5621105d.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":117820,"timestamp":123251458631,"id":2356,"parentId":2315,"tags":{"name":"static/chunks/pages/contact-3869bcc89874f637.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":119443,"timestamp":123251458187,"id":2353,"parentId":2315,"tags":{"name":"static/chunks/pages/admin/[user_id]/users-5bce6df1085f95c2.js","cache":"MISS"},"startTime":1734261961717,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":118840,"timestamp":123251458815,"id":2357,"parentId":2315,"tags":{"name":"static/chunks/pages/docs-7c4791ef7bc1770a.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":119899,"timestamp":123251459003,"id":2358,"parentId":2315,"tags":{"name":"static/chunks/pages/docs/[page]-cc4ca4653a2d03ad.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":120439,"timestamp":123251459418,"id":2360,"parentId":2315,"tags":{"name":"static/chunks/pages/create-account-4811a08ebba7a216.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":121082,"timestamp":123251459542,"id":2361,"parentId":2315,"tags":{"name":"static/chunks/pages/email-verification-911373dc605e3680.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":121983,"timestamp":123251459104,"id":2359,"parentId":2315,"tags":{"name":"static/chunks/pages/index-2cd214ffbfab8c5f.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":122654,"timestamp":123251459623,"id":2362,"parentId":2315,"tags":{"name":"static/chunks/pages/logout-baf174c366113e34.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":124105,"timestamp":123251459715,"id":2363,"parentId":2315,"tags":{"name":"static/chunks/pages/login-a5ec360e993a8c69.js","cache":"MISS"},"startTime":1734261961718,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":124445,"timestamp":123251459869,"id":2364,"parentId":2315,"tags":{"name":"static/chunks/pages/privacy-cf61eebe523439da.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":124741,"timestamp":123251460081,"id":2365,"parentId":2315,"tags":{"name":"static/chunks/pages/docs/[page]/[sub-page]-eef188f5189b6cd5.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":124914,"timestamp":123251460176,"id":2366,"parentId":2315,"tags":{"name":"static/chunks/pages/redirect-bc1ef797a5958a5d.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":126845,"timestamp":123251460608,"id":2369,"parentId":2315,"tags":{"name":"static/chunks/pages/send-password-reset-link-8e28cf664ab914f4.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":127435,"timestamp":123251460230,"id":2367,"parentId":2315,"tags":{"name":"static/chunks/pages/su/console-3b0fd9864c5e6c0f.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":127570,"timestamp":123251460743,"id":2370,"parentId":2315,"tags":{"name":"static/chunks/pages/su/docs/create-page-bc6278bfecd56b48.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":127741,"timestamp":123251460793,"id":2371,"parentId":2315,"tags":{"name":"static/chunks/pages/su/docs/edit-page-6f303c8b5bff2569.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":128570,"timestamp":123251460371,"id":2368,"parentId":2315,"tags":{"name":"static/chunks/pages/su/backups-dd8d348bd7552c26.js","cache":"MISS"},"startTime":1734261961719,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":128286,"timestamp":123251460839,"id":2372,"parentId":2315,"tags":{"name":"static/chunks/pages/su/docs-f2445eeeae7f9a23.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":128626,"timestamp":123251460885,"id":2373,"parentId":2315,"tags":{"name":"static/chunks/pages/su/docs/pages/[id]-acc29f791359a531.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":128831,"timestamp":123251460959,"id":2374,"parentId":2315,"tags":{"name":"static/chunks/pages/su/docs/pages-12382c470c6b6e5a.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":130906,"timestamp":123251461003,"id":2375,"parentId":2315,"tags":{"name":"static/chunks/pages/reset-password-96d3c466c04d3b40.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":132919,"timestamp":123251461115,"id":2376,"parentId":2315,"tags":{"name":"static/chunks/pages/su/envar-ac5c5fcaa60cda05.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":134487,"timestamp":123251461297,"id":2377,"parentId":2315,"tags":{"name":"static/chunks/pages/su/error-logs-131243ff0bc8350a.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137001,"timestamp":123251461711,"id":2379,"parentId":2315,"tags":{"name":"static/chunks/pages/su-f5c1d2829ae62d3b.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":137638,"timestamp":123251461833,"id":2380,"parentId":2315,"tags":{"name":"static/chunks/pages/su/servers-7dfae349147e2b04.js","cache":"MISS"},"startTime":1734261961721,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138321,"timestamp":123251461483,"id":2378,"parentId":2315,"tags":{"name":"static/chunks/pages/su/load-balancing-829115d5381c27b3.js","cache":"MISS"},"startTime":1734261961720,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":138566,"timestamp":123251462476,"id":2382,"parentId":2315,"tags":{"name":"static/chunks/pages/su/login-386aae5d3f48c201.js","cache":"MISS"},"startTime":1734261961721,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":164982,"timestamp":123251437566,"id":2316,"parentId":2315,"tags":{"name":"static/chunks/main-06cc9931c10fd0dd.js","cache":"MISS"},"startTime":1734261961696,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":140416,"timestamp":123251462575,"id":2383,"parentId":2315,"tags":{"name":"static/chunks/pages/su/users-7dfea8108f059169.js","cache":"MISS"},"startTime":1734261961721,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141388,"timestamp":123251462729,"id":2384,"parentId":2315,"tags":{"name":"static/chunks/pages/su/users/new-e33e6730ca9a68fd.js","cache":"MISS"},"startTime":1734261961721,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":141569,"timestamp":123251463156,"id":2386,"parentId":2315,"tags":{"name":"static/chunks/pages/unsubscribe-6f2a5aa3a43f81a8.js","cache":"MISS"},"startTime":1734261961722,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143479,"timestamp":123251462878,"id":2385,"parentId":2315,"tags":{"name":"static/chunks/pages/terms-d8e2638761c13c64.js","cache":"MISS"},"startTime":1734261961722,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":143731,"timestamp":123251463237,"id":2387,"parentId":2315,"tags":{"name":"static/chunks/webpack-810c18afc07353bc.js","cache":"MISS"},"startTime":1734261961722,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":147531,"timestamp":123251461977,"id":2381,"parentId":2315,"tags":{"name":"static/chunks/pages/su/users/[single]-f5e0e39f5c37ad38.js","cache":"MISS"},"startTime":1734261961721,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":233410,"timestamp":123251465612,"id":2390,"parentId":2315,"tags":{"name":"static/chunks/94726e6d-32f68157960855f5.js","cache":"MISS"},"startTime":1734261961724,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":254683,"timestamp":123251466852,"id":2392,"parentId":2315,"tags":{"name":"static/chunks/8717-6b744eb0e3603e7d.js","cache":"MISS"},"startTime":1734261961726,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":271287,"timestamp":123251463674,"id":2389,"parentId":2315,"tags":{"name":"static/chunks/29107295-4162eac4082347dd.js","cache":"MISS"},"startTime":1734261961722,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":268109,"timestamp":123251467245,"id":2393,"parentId":2315,"tags":{"name":"static/chunks/1391-080ec9229321da22.js","cache":"MISS"},"startTime":1734261961726,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":283902,"timestamp":123251469083,"id":2395,"parentId":2315,"tags":{"name":"static/chunks/2004-989bd6ee1a0836e5.js","cache":"MISS"},"startTime":1734261961728,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":307776,"timestamp":123251463295,"id":2388,"parentId":2315,"tags":{"name":"static/chunks/framework-efef230bfc598a3c.js","cache":"MISS"},"startTime":1734261961722,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":299004,"timestamp":123251476669,"id":2397,"parentId":2315,"tags":{"name":"static/chunks/8779-2595622178479c7a.js","cache":"MISS"},"startTime":1734261961735,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":306467,"timestamp":123251476844,"id":2398,"parentId":2315,"tags":{"name":"static/chunks/9799-c09327b5d8f911bf.js","cache":"MISS"},"startTime":1734261961736,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":311408,"timestamp":123251477425,"id":2399,"parentId":2315,"tags":{"name":"static/chunks/304-b8d7a7206704a9e8.js","cache":"MISS"},"startTime":1734261961736,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":315624,"timestamp":123251477669,"id":2400,"parentId":2315,"tags":{"name":"static/chunks/5414-e39e0295d31af343.js","cache":"MISS"},"startTime":1734261961736,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":324274,"timestamp":123251469539,"id":2396,"parentId":2315,"tags":{"name":"static/chunks/2793-2d190b821661fe93.js","cache":"MISS"},"startTime":1734261961728,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":318529,"timestamp":123251477873,"id":2401,"parentId":2315,"tags":{"name":"static/chunks/2016-ab83fcf9773fa412.js","cache":"MISS"},"startTime":1734261961737,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":329212,"timestamp":123251467792,"id":2394,"parentId":2315,"tags":{"name":"static/chunks/2413-88143337cfbee401.js","cache":"MISS"},"startTime":1734261961727,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":325356,"timestamp":123251478210,"id":2402,"parentId":2315,"tags":{"name":"static/chunks/6836-69ac9f41016d4890.js","cache":"MISS"},"startTime":1734261961737,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":333067,"timestamp":123251478746,"id":2403,"parentId":2315,"tags":{"name":"static/chunks/5160-c0011c74520be311.js","cache":"MISS"},"startTime":1734261961737,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":332410,"timestamp":123251479506,"id":2404,"parentId":2315,"tags":{"name":"static/chunks/6156-fc2cb87802851b6a.js","cache":"MISS"},"startTime":1734261961738,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":333210,"timestamp":123251480403,"id":2405,"parentId":2315,"tags":{"name":"static/chunks/3616-433a6ce04bdfe74c.js","cache":"MISS"},"startTime":1734261961739,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":336850,"timestamp":123251481871,"id":2408,"parentId":2315,"tags":{"name":"static/chunks/4565-fa373900e5abcc2e.js","cache":"MISS"},"startTime":1734261961741,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":338065,"timestamp":123251481628,"id":2407,"parentId":2315,"tags":{"name":"static/chunks/3857-5fdc9fdbc2ceb616.js","cache":"MISS"},"startTime":1734261961740,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":341230,"timestamp":123251482013,"id":2409,"parentId":2315,"tags":{"name":"static/chunks/3061-aee06042dd421240.js","cache":"MISS"},"startTime":1734261961741,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":343359,"timestamp":123251480944,"id":2406,"parentId":2315,"tags":{"name":"static/chunks/2163-39dbea13be99f540.js","cache":"MISS"},"startTime":1734261961740,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":351625,"timestamp":123251484168,"id":2412,"parentId":2315,"tags":{"name":"static/chunks/6052-982ccd1835268374.js","cache":"MISS"},"startTime":1734261961743,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":353028,"timestamp":123251483438,"id":2411,"parentId":2315,"tags":{"name":"static/chunks/6803-b0a26b8f89e9e859.js","cache":"MISS"},"startTime":1734261961742,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":354157,"timestamp":123251484857,"id":2413,"parentId":2315,"tags":{"name":"static/chunks/9907-dc7dcf5051f39917.js","cache":"MISS"},"startTime":1734261961744,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":354279,"timestamp":123251485147,"id":2414,"parentId":2315,"tags":{"name":"static/chunks/820-8d322b018f353254.js","cache":"MISS"},"startTime":1734261961744,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":356144,"timestamp":123251486510,"id":2416,"parentId":2315,"tags":{"name":"static/chunks/9654-14672554e04b07a1.js","cache":"MISS"},"startTime":1734261961745,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":361406,"timestamp":123251482153,"id":2410,"parentId":2315,"tags":{"name":"static/chunks/6460-e917713dc5c7b593.js","cache":"MISS"},"startTime":1734261961741,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":360711,"timestamp":123251486685,"id":2417,"parentId":2315,"tags":{"name":"static/chunks/5165-5987c77b92545418.js","cache":"MISS"},"startTime":1734261961745,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":360451,"timestamp":123251487012,"id":2419,"parentId":2315,"tags":{"name":"server/middleware-react-loadable-manifest.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":360526,"timestamp":123251487036,"id":2420,"parentId":2315,"tags":{"name":"static/1gOSN7HLWCIumskNUJc1E/_ssgManifest.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":360756,"timestamp":123251486871,"id":2418,"parentId":2315,"tags":{"name":"static/chunks/4147-e7e7f44833e9033a.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":361992,"timestamp":123251487048,"id":2421,"parentId":2315,"tags":{"name":"server/middleware-build-manifest.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":362000,"timestamp":123251487069,"id":2423,"parentId":2315,"tags":{"name":"server/next-font-manifest.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":362210,"timestamp":123251487059,"id":2422,"parentId":2315,"tags":{"name":"static/1gOSN7HLWCIumskNUJc1E/_buildManifest.js","cache":"MISS"},"startTime":1734261961746,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":378776,"timestamp":123251485440,"id":2415,"parentId":2315,"tags":{"name":"static/chunks/5256-94c62ad4f1f6dabc.js","cache":"MISS"},"startTime":1734261961744,"traceId":"ce91546a398efcef"},{"name":"minify-js","duration":404924,"timestamp":123251466360,"id":2391,"parentId":2315,"tags":{"name":"static/chunks/ed150ef9-4bae487078acc5bf.js","cache":"MISS"},"startTime":1734261961725,"traceId":"ce91546a398efcef"},{"name":"minify-webpack-plugin-optimize","duration":451193,"timestamp":123251420107,"id":2315,"parentId":1446,"tags":{"compilationName":"client"},"startTime":1734261961679,"traceId":"ce91546a398efcef"},{"name":"minify-css","duration":331072,"timestamp":123251871508,"id":2425,"parentId":2424,"tags":{"file":"static/css/bf9db5436f73da1d.css","cache":"MISS"},"startTime":1734261962130,"traceId":"ce91546a398efcef"},{"name":"minify-css","duration":331010,"timestamp":123251871580,"id":2426,"parentId":2424,"tags":{"file":"static/css/9b1cffe2c89f6bb5.css","cache":"MISS"},"startTime":1734261962130,"traceId":"ce91546a398efcef"},{"name":"minify-css","duration":331007,"timestamp":123251871584,"id":2427,"parentId":2424,"tags":{"file":"static/css/2c3db85a1d7310ee.css","cache":"MISS"},"startTime":1734261962130,"traceId":"ce91546a398efcef"},{"name":"css-minimizer-plugin","duration":331156,"timestamp":123251871439,"id":2424,"parentId":1446,"tags":{},"startTime":1734261962130,"traceId":"ce91546a398efcef"},{"name":"seal","duration":1196936,"timestamp":123251016993,"id":2300,"parentId":1446,"tags":{},"startTime":1734261961276,"traceId":"ce91546a398efcef"},{"name":"webpack-compilation","duration":2618798,"timestamp":123249595219,"id":1446,"parentId":13,"tags":{"name":"client"},"startTime":1734261959854,"traceId":"ce91546a398efcef"},{"name":"emit","duration":9672,"timestamp":123252214054,"id":2428,"parentId":13,"tags":{},"startTime":1734261962473,"traceId":"ce91546a398efcef"},{"name":"webpack-close","duration":760743,"timestamp":123252224006,"id":2429,"parentId":13,"tags":{"name":"client"},"startTime":1734261962483,"traceId":"ce91546a398efcef"}] +[{"name":"webpack-generate-error-stats","duration":909,"timestamp":123252984985,"id":2430,"parentId":2429,"tags":{},"startTime":1734261963244,"traceId":"ce91546a398efcef"},{"name":"run-webpack-compiler","duration":26625616,"timestamp":123226360691,"id":13,"parentId":1,"tags":{},"startTime":1734261936619,"traceId":"ce91546a398efcef"},{"name":"format-webpack-messages","duration":84,"timestamp":123252986315,"id":2431,"parentId":1,"tags":{},"startTime":1734261963245,"traceId":"ce91546a398efcef"},{"name":"check-static-error-page","duration":8095,"timestamp":123253209222,"id":2434,"parentId":2433,"tags":{},"startTime":1734261963468,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":8509,"timestamp":123253248743,"id":2436,"parentId":2433,"tags":{"page":"/_error"},"startTime":1734261963507,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45693,"timestamp":123253248129,"id":2435,"parentId":2433,"tags":{"page":"/_app"},"startTime":1734261963507,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44995,"timestamp":123253248869,"id":2437,"parentId":2433,"tags":{"page":"/_document"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44193,"timestamp":123253249695,"id":2475,"parentId":2433,"tags":{"page":"/api/addAdminUserUser"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44205,"timestamp":123253249707,"id":2476,"parentId":2433,"tags":{"page":"/api/addApiKey"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44212,"timestamp":123253249725,"id":2478,"parentId":2433,"tags":{"page":"/api/addNewMediaFolder"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44287,"timestamp":123253249673,"id":2474,"parentId":2433,"tags":{"page":"/api/acceptUserInvitation"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44262,"timestamp":123253249716,"id":2477,"parentId":2433,"tags":{"page":"/api/addDbUser"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44522,"timestamp":123253249753,"id":2481,"parentId":2433,"tags":{"page":"/api/addUserMedia"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44531,"timestamp":123253249779,"id":2484,"parentId":2433,"tags":{"page":"/api/addUsersTableToDatabase"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44600,"timestamp":123253249734,"id":2479,"parentId":2433,"tags":{"page":"/api/addSocialLogin"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44630,"timestamp":123253249762,"id":2482,"parentId":2433,"tags":{"page":"/api/addUserTable"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44678,"timestamp":123253249770,"id":2483,"parentId":2433,"tags":{"page":"/api/addUserUser"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44665,"timestamp":123253249806,"id":2487,"parentId":2433,"tags":{"page":"/api/admin/clientError"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44701,"timestamp":123253249788,"id":2485,"parentId":2433,"tags":{"page":"/api/admin/addUserBackup"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44688,"timestamp":123253249815,"id":2488,"parentId":2433,"tags":{"page":"/api/admin/createNewBackup"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44716,"timestamp":123253249797,"id":2486,"parentId":2433,"tags":{"page":"/api/admin/clearErrorLogs"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44698,"timestamp":123253249829,"id":2489,"parentId":2433,"tags":{"page":"/api/admin/docs/[action]"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44700,"timestamp":123253249839,"id":2490,"parentId":2433,"tags":{"page":"/api/admin/getTablesForUserDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44701,"timestamp":123253249848,"id":2491,"parentId":2433,"tags":{"page":"/api/admin/getUserBackups"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44706,"timestamp":123253249857,"id":2492,"parentId":2433,"tags":{"page":"/api/admin/getUserData"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44707,"timestamp":123253249867,"id":2493,"parentId":2433,"tags":{"page":"/api/admin/grabBackups"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44708,"timestamp":123253249875,"id":2494,"parentId":2433,"tags":{"page":"/api/admin/grabErrorLogs"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44709,"timestamp":123253249884,"id":2495,"parentId":2433,"tags":{"page":"/api/admin/grabFile"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44704,"timestamp":123253249903,"id":2497,"parentId":2433,"tags":{"page":"/api/admin/runUserDbQuery"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44707,"timestamp":123253249911,"id":2498,"parentId":2433,"tags":{"page":"/api/admin/updateEnv"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44712,"timestamp":123253249920,"id":2499,"parentId":2433,"tags":{"page":"/api/changeDbUserPassword"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44749,"timestamp":123253249894,"id":2496,"parentId":2433,"tags":{"page":"/api/admin/loginSuUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44730,"timestamp":123253249929,"id":2500,"parentId":2433,"tags":{"page":"/api/checkDuplicateData"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44738,"timestamp":123253249938,"id":2501,"parentId":2433,"tags":{"page":"/api/checkExistingFolder"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44746,"timestamp":123253249947,"id":2502,"parentId":2433,"tags":{"page":"/api/clientSideAuth"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44757,"timestamp":123253249956,"id":2503,"parentId":2433,"tags":{"page":"/api/connect/disconnect"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45025,"timestamp":123253249744,"id":2480,"parentId":2433,"tags":{"page":"/api/addTableEntry"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44807,"timestamp":123253249990,"id":2507,"parentId":2433,"tags":{"page":"/api/contact"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44853,"timestamp":123253249964,"id":2504,"parentId":2433,"tags":{"page":"/api/connect/handshake"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44862,"timestamp":123253249973,"id":2505,"parentId":2433,"tags":{"page":"/api/connect"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44827,"timestamp":123253250021,"id":2510,"parentId":2433,"tags":{"page":"/api/deleteDbUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44868,"timestamp":123253249999,"id":2508,"parentId":2433,"tags":{"page":"/api/createUserDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44897,"timestamp":123253249982,"id":2506,"parentId":2433,"tags":{"page":"/api/connect/verify"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44880,"timestamp":123253250011,"id":2509,"parentId":2433,"tags":{"page":"/api/deleteApiKey"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44869,"timestamp":123253250038,"id":2512,"parentId":2433,"tags":{"page":"/api/deleteMediaFolder"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44870,"timestamp":123253250047,"id":2513,"parentId":2433,"tags":{"page":"/api/deleteTableEntry"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44874,"timestamp":123253250057,"id":2514,"parentId":2433,"tags":{"page":"/api/deleteUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44871,"timestamp":123253250075,"id":2516,"parentId":2433,"tags":{"page":"/api/deleteUserMedia"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44877,"timestamp":123253250084,"id":2517,"parentId":2433,"tags":{"page":"/api/deleteUserTable"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44865,"timestamp":123253250110,"id":2520,"parentId":2433,"tags":{"page":"/api/exportDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44926,"timestamp":123253250066,"id":2515,"parentId":2433,"tags":{"page":"/api/deleteUserDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":44997,"timestamp":123253250119,"id":2521,"parentId":2433,"tags":{"page":"/api/exportTableData"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45039,"timestamp":123253250093,"id":2518,"parentId":2433,"tags":{"page":"/api/deleteUserUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45041,"timestamp":123253250101,"id":2519,"parentId":2433,"tags":{"page":"/api/downloadDatabaseSchema"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45028,"timestamp":123253250128,"id":2522,"parentId":2433,"tags":{"page":"/api/fetch-entries-basic"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45142,"timestamp":123253250029,"id":2511,"parentId":2433,"tags":{"page":"/api/deleteInvitation"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45049,"timestamp":123253250145,"id":2524,"parentId":2433,"tags":{"page":"/api/get-authorized-databases"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45121,"timestamp":123253250136,"id":2523,"parentId":2433,"tags":{"page":"/api/fetch-media"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45122,"timestamp":123253250154,"id":2525,"parentId":2433,"tags":{"page":"/api/getDatabaseTables"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45127,"timestamp":123253250162,"id":2526,"parentId":2433,"tags":{"page":"/api/getDelegatedDatabaseToken"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45131,"timestamp":123253250171,"id":2527,"parentId":2433,"tags":{"page":"/api/getDelegatedDatabases"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45136,"timestamp":123253250179,"id":2528,"parentId":2433,"tags":{"page":"/api/getDiskUsage"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45135,"timestamp":123253250191,"id":2529,"parentId":2433,"tags":{"page":"/api/getUserDatabaseTables"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45133,"timestamp":123253250201,"id":2530,"parentId":2433,"tags":{"page":"/api/getUserDatabases"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45136,"timestamp":123253250210,"id":2531,"parentId":2433,"tags":{"page":"/api/getUserMedia"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45120,"timestamp":123253250236,"id":2534,"parentId":2433,"tags":{"page":"/api/importDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45150,"timestamp":123253250218,"id":2532,"parentId":2433,"tags":{"page":"/api/getUserSchemaData"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45109,"timestamp":123253250271,"id":2538,"parentId":2433,"tags":{"page":"/api/logoutUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45117,"timestamp":123253250280,"id":2539,"parentId":2433,"tags":{"page":"/api/media/addPrivateMedia"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45177,"timestamp":123253250227,"id":2533,"parentId":2433,"tags":{"page":"/api/healthcheck"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45160,"timestamp":123253250262,"id":2537,"parentId":2433,"tags":{"page":"/api/loginUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45210,"timestamp":123253250306,"id":2542,"parentId":2433,"tags":{"page":"/api/query/[user_id]/add-file"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45278,"timestamp":123253250315,"id":2543,"parentId":2433,"tags":{"page":"/api/query/[user_id]/add-image"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45359,"timestamp":123253250253,"id":2536,"parentId":2433,"tags":{"page":"/api/infiniteScroll"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45338,"timestamp":123253250288,"id":2540,"parentId":2433,"tags":{"page":"/api/media/getPrivateMedia"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45339,"timestamp":123253250297,"id":2541,"parentId":2433,"tags":{"page":"/api/purgeDb"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45370,"timestamp":123253250333,"id":2545,"parentId":2433,"tags":{"page":"/api/query/[user_id]/get-private-file"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45475,"timestamp":123253250244,"id":2535,"parentId":2433,"tags":{"page":"/api/importDatabaseSchema"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45412,"timestamp":123253250367,"id":2548,"parentId":2433,"tags":{"page":"/api/query/[user_id]/post"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45544,"timestamp":123253250324,"id":2544,"parentId":2433,"tags":{"page":"/api/query/[user_id]/delete-file"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45528,"timestamp":123253250357,"id":2547,"parentId":2433,"tags":{"page":"/api/query/[user_id]/get"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45512,"timestamp":123253250387,"id":2550,"parentId":2433,"tags":{"page":"/api/queryEntriesSearchTerm"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45534,"timestamp":123253250377,"id":2549,"parentId":2433,"tags":{"page":"/api/query/[user_id]/update-schema-from-single-database"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45583,"timestamp":123253250342,"id":2546,"parentId":2433,"tags":{"page":"/api/query/[user_id]/get-schema"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45540,"timestamp":123253250396,"id":2551,"parentId":2433,"tags":{"page":"/api/reAuthenticateUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45532,"timestamp":123253250422,"id":2554,"parentId":2433,"tags":{"page":"/api/renameMedia"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45564,"timestamp":123253250413,"id":2553,"parentId":2433,"tags":{"page":"/api/registerUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45557,"timestamp":123253250431,"id":2555,"parentId":2433,"tags":{"page":"/api/resetDelegatedDatabaseToken"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45595,"timestamp":123253250405,"id":2552,"parentId":2433,"tags":{"page":"/api/refreshEntry"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45569,"timestamp":123253250440,"id":2556,"parentId":2433,"tags":{"page":"/api/resetPassword"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45540,"timestamp":123253250483,"id":2561,"parentId":2433,"tags":{"page":"/api/social-login/github-auth"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45592,"timestamp":123253250466,"id":2559,"parentId":2433,"tags":{"page":"/api/sendPasswordResetLink"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45621,"timestamp":123253250449,"id":2557,"parentId":2433,"tags":{"page":"/api/runUserDbQuery"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45590,"timestamp":123253250493,"id":2562,"parentId":2433,"tags":{"page":"/api/social-login/google-auth"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45634,"timestamp":123253250457,"id":2558,"parentId":2433,"tags":{"page":"/api/sendEmailVerificationLink"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45600,"timestamp":123253250501,"id":2563,"parentId":2433,"tags":{"page":"/api/social-login/utils/checkEmail"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45602,"timestamp":123253250510,"id":2564,"parentId":2433,"tags":{"page":"/api/social-login/utils/checkSocialId"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45602,"timestamp":123253250519,"id":2565,"parentId":2433,"tags":{"page":"/api/social-login/utils/getEmailFromSocialId"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45657,"timestamp":123253250474,"id":2560,"parentId":2433,"tags":{"page":"/api/social-login/facebook-auth"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45617,"timestamp":123253250528,"id":2566,"parentId":2433,"tags":{"page":"/api/sql-users/create"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45620,"timestamp":123253250537,"id":2567,"parentId":2433,"tags":{"page":"/api/sql-users/delete"},"startTime":1734261963509,"traceId":"ce91546a398efcef"}] +[{"name":"check-page","duration":45787,"timestamp":123253250549,"id":2568,"parentId":2433,"tags":{"page":"/api/sql-users/update"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45789,"timestamp":123253250567,"id":2570,"parentId":2433,"tags":{"page":"/api/sync-table-data"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45808,"timestamp":123253250558,"id":2569,"parentId":2433,"tags":{"page":"/api/stream/[path]"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45801,"timestamp":123253250576,"id":2571,"parentId":2433,"tags":{"page":"/api/test/cors"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45802,"timestamp":123253250585,"id":2572,"parentId":2433,"tags":{"page":"/api/test/mail"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45805,"timestamp":123253250593,"id":2573,"parentId":2433,"tags":{"page":"/api/unsubscribe"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45807,"timestamp":123253250602,"id":2574,"parentId":2433,"tags":{"page":"/api/updateAdminUserAccess"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45812,"timestamp":123253250611,"id":2575,"parentId":2433,"tags":{"page":"/api/updateClonedTableForeignKeys"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45806,"timestamp":123253250629,"id":2577,"parentId":2433,"tags":{"page":"/api/updateDbUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45817,"timestamp":123253250638,"id":2578,"parentId":2433,"tags":{"page":"/api/updateTableEntry"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45822,"timestamp":123253250655,"id":2580,"parentId":2433,"tags":{"page":"/api/updateUserDatabase"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45844,"timestamp":123253250647,"id":2579,"parentId":2433,"tags":{"page":"/api/updateUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45845,"timestamp":123253250664,"id":2581,"parentId":2433,"tags":{"page":"/api/updateUserTable"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45903,"timestamp":123253250620,"id":2576,"parentId":2433,"tags":{"page":"/api/updateDbSchemaDataForUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45861,"timestamp":123253250673,"id":2582,"parentId":2433,"tags":{"page":"/api/updateUserUser"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45866,"timestamp":123253250682,"id":2583,"parentId":2433,"tags":{"page":"/api/user-schema/replace-database-schema"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45852,"timestamp":123253250708,"id":2586,"parentId":2433,"tags":{"page":"/api/user/[user_id]/get-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45872,"timestamp":123253250700,"id":2585,"parentId":2433,"tags":{"page":"/api/user/[user_id]/delete-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45855,"timestamp":123253250729,"id":2588,"parentId":2433,"tags":{"page":"/api/user/[user_id]/google-login"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45857,"timestamp":123253250738,"id":2589,"parentId":2433,"tags":{"page":"/api/user/[user_id]/grab-google-user-from-token"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45914,"timestamp":123253250691,"id":2584,"parentId":2433,"tags":{"page":"/api/user/[user_id]/add-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45861,"timestamp":123253250756,"id":2591,"parentId":2433,"tags":{"page":"/api/user/[user_id]/reauth-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45855,"timestamp":123253250773,"id":2593,"parentId":2433,"tags":{"page":"/api/user/[user_id]/update-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45875,"timestamp":123253250764,"id":2592,"parentId":2433,"tags":{"page":"/api/user/[user_id]/send-email-code"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":45902,"timestamp":123253250747,"id":2590,"parentId":2433,"tags":{"page":"/api/user/[user_id]/login-user"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":46128,"timestamp":123253250782,"id":2594,"parentId":2433,"tags":{"page":"/api/webhooks/github-push"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":46226,"timestamp":123253250717,"id":2587,"parentId":2433,"tags":{"page":"/api/user/[user_id]/github-login"},"startTime":1734261963509,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":482867,"timestamp":123253297358,"id":2630,"parentId":2440,"tags":{},"startTime":1734261963556,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":531357,"timestamp":123253248965,"id":2440,"parentId":2433,"tags":{"page":"/about"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":482870,"timestamp":123253299113,"id":2640,"parentId":2451,"tags":{},"startTime":1734261963558,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":532739,"timestamp":123253249275,"id":2451,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":487838,"timestamp":123253299680,"id":2643,"parentId":2455,"tags":{},"startTime":1734261963558,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":538102,"timestamp":123253249453,"id":2455,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":494547,"timestamp":123253299855,"id":2644,"parentId":2458,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":544949,"timestamp":123253249491,"id":2458,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":507822,"timestamp":123253296669,"id":2627,"parentId":2438,"tags":{},"startTime":1734261963555,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":555618,"timestamp":123253248914,"id":2438,"parentId":2433,"tags":{"page":"/404"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":514369,"timestamp":123253296958,"id":2628,"parentId":2439,"tags":{},"startTime":1734261963556,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":562421,"timestamp":123253248945,"id":2439,"parentId":2433,"tags":{"page":"/500"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":514066,"timestamp":123253297491,"id":2631,"parentId":2442,"tags":{},"startTime":1734261963556,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":562578,"timestamp":123253248996,"id":2442,"parentId":2433,"tags":{"page":"/admin/[user_id]/connect"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":520791,"timestamp":123253300041,"id":2645,"parentId":2454,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":571434,"timestamp":123253249437,"id":2454,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/add-table"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":532176,"timestamp":123253299293,"id":2641,"parentId":2453,"tags":{},"startTime":1734261963558,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":582099,"timestamp":123253249414,"id":2453,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":530993,"timestamp":123253300719,"id":2649,"parentId":2465,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":582157,"timestamp":123253249574,"id":2465,"parentId":2433,"tags":{"page":"/admin/[user_id]/media"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":536515,"timestamp":123253301141,"id":2651,"parentId":2460,"tags":{},"startTime":1734261963560,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":588191,"timestamp":123253249516,"id":2460,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/users"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":538649,"timestamp":123253300922,"id":2650,"parentId":2464,"tags":{},"startTime":1734261963560,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":590042,"timestamp":123253249563,"id":2464,"parentId":2433,"tags":{"page":"/admin/[user_id]/media/[...folder]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":542088,"timestamp":123253301321,"id":2652,"parentId":2462,"tags":{},"startTime":1734261963560,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":593901,"timestamp":123253249541,"id":2462,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":543779,"timestamp":123253301511,"id":2653,"parentId":2459,"tags":{},"startTime":1734261963560,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":595817,"timestamp":123253249504,"id":2459,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/users/add-user"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":549711,"timestamp":123253300202,"id":2646,"parentId":2456,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":600487,"timestamp":123253249467,"id":2456,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/users/[user]/change-password"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":554520,"timestamp":123253301689,"id":2654,"parentId":2463,"tags":{},"startTime":1734261963560,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":606700,"timestamp":123253249552,"id":2463,"parentId":2433,"tags":{"page":"/admin/[user_id]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":554304,"timestamp":123253302186,"id":2657,"parentId":2468,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":606904,"timestamp":123253249608,"id":2468,"parentId":2433,"tags":{"page":"/admin/[user_id]/users/add-user"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":554620,"timestamp":123253302019,"id":2656,"parentId":2466,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":607069,"timestamp":123253249584,"id":2466,"parentId":2433,"tags":{"page":"/admin/[user_id]/schema"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":560050,"timestamp":123253297215,"id":2629,"parentId":2441,"tags":{},"startTime":1734261963556,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":608307,"timestamp":123253248981,"id":2441,"parentId":2433,"tags":{"page":"/admin/[user_id]/api-keys"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":568360,"timestamp":123253297939,"id":2634,"parentId":2447,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":617131,"timestamp":123253249203,"id":2447,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/shell"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":564086,"timestamp":123253302359,"id":2658,"parentId":2469,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":616841,"timestamp":123253249618,"id":2469,"parentId":2433,"tags":{"page":"/admin/[user_id]/users/databases/[database]/[user]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":566678,"timestamp":123253301866,"id":2655,"parentId":2467,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":618984,"timestamp":123253249595,"id":2467,"parentId":2433,"tags":{"page":"/admin/[user_id]/settings"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":565557,"timestamp":123253303213,"id":2663,"parentId":2595,"tags":{},"startTime":1734261963562,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":617999,"timestamp":123253250791,"id":2595,"parentId":2433,"tags":{"page":"/blog"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":570719,"timestamp":123253298202,"id":2635,"parentId":2443,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":619902,"timestamp":123253249035,"id":2443,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/connect"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":566520,"timestamp":123253302536,"id":2659,"parentId":2470,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":619439,"timestamp":123253249630,"id":2470,"parentId":2433,"tags":{"page":"/admin/[user_id]/users/databases/[database]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":566466,"timestamp":123253302710,"id":2660,"parentId":2472,"tags":{},"startTime":1734261963561,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":619539,"timestamp":123253249652,"id":2472,"parentId":2433,"tags":{"page":"/admin/[user_id]/users"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":571591,"timestamp":123253303047,"id":2662,"parentId":2471,"tags":{},"startTime":1734261963562,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":625035,"timestamp":123253249642,"id":2471,"parentId":2433,"tags":{"page":"/admin/[user_id]/users/databases"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":577024,"timestamp":123253297786,"id":2633,"parentId":2445,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":625688,"timestamp":123253249139,"id":2445,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":574571,"timestamp":123253300367,"id":2647,"parentId":2461,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":625426,"timestamp":123253249528,"id":2461,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/add-database"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":571087,"timestamp":123253303963,"id":2667,"parentId":2602,"tags":{},"startTime":1734261963563,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":624191,"timestamp":123253250873,"id":2602,"parentId":2433,"tags":{"page":"/"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":576916,"timestamp":123253299484,"id":2642,"parentId":2448,"tags":{},"startTime":1734261963558,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":627206,"timestamp":123253249218,"id":2448,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":573654,"timestamp":123253302873,"id":2661,"parentId":2473,"tags":{},"startTime":1734261963562,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":626877,"timestamp":123253249662,"id":2473,"parentId":2433,"tags":{"page":"/admin"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":578031,"timestamp":123253300526,"id":2648,"parentId":2457,"tags":{},"startTime":1734261963559,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":629110,"timestamp":123253249479,"id":2457,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/users/[user]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":576568,"timestamp":123253304896,"id":2671,"parentId":2603,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":630616,"timestamp":123253250883,"id":2603,"parentId":2433,"tags":{"page":"/login"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":576897,"timestamp":123253304700,"id":2670,"parentId":2601,"tags":{},"startTime":1734261963563,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":630746,"timestamp":123253250864,"id":2601,"parentId":2433,"tags":{"page":"/email-verification"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":576434,"timestamp":123253305265,"id":2673,"parentId":2604,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":630817,"timestamp":123253250893,"id":2604,"parentId":2433,"tags":{"page":"/logout"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":576716,"timestamp":123253305075,"id":2672,"parentId":2605,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":630901,"timestamp":123253250902,"id":2605,"parentId":2433,"tags":{"page":"/privacy"},"startTime":1734261963510,"traceId":"ce91546a398efcef"}] +[{"name":"is-page-static","duration":578074,"timestamp":123253304146,"id":2668,"parentId":2600,"tags":{},"startTime":1734261963563,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":631380,"timestamp":123253250854,"id":2600,"parentId":2433,"tags":{"page":"/docs"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":578406,"timestamp":123253304442,"id":2669,"parentId":2596,"tags":{},"startTime":1734261963563,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":632070,"timestamp":123253250801,"id":2596,"parentId":2433,"tags":{"page":"/contact"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":579559,"timestamp":123253305851,"id":2677,"parentId":2608,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":634516,"timestamp":123253250933,"id":2608,"parentId":2433,"tags":{"page":"/send-password-reset-link"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":580370,"timestamp":123253305408,"id":2674,"parentId":2606,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":634886,"timestamp":123253250912,"id":2606,"parentId":2433,"tags":{"page":"/redirect"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":579837,"timestamp":123253306092,"id":2678,"parentId":2607,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":635025,"timestamp":123253250921,"id":2607,"parentId":2433,"tags":{"page":"/reset-password"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":581086,"timestamp":123253305684,"id":2676,"parentId":2609,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":635848,"timestamp":123253250943,"id":2609,"parentId":2433,"tags":{"page":"/su/backups"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":581981,"timestamp":123253306247,"id":2679,"parentId":2611,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":637289,"timestamp":123253250964,"id":2611,"parentId":2433,"tags":{"page":"/su/docs/create-page"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":583841,"timestamp":123253306854,"id":2683,"parentId":2617,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":639690,"timestamp":123253251048,"id":2617,"parentId":2433,"tags":{"page":"/su/error-logs"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":585679,"timestamp":123253306406,"id":2680,"parentId":2613,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":641129,"timestamp":123253250989,"id":2613,"parentId":2433,"tags":{"page":"/su/docs"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":585481,"timestamp":123253307136,"id":2685,"parentId":2615,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":641617,"timestamp":123253251023,"id":2615,"parentId":2433,"tags":{"page":"/su/docs/pages"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":595141,"timestamp":123253298365,"id":2636,"parentId":2446,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":644354,"timestamp":123253249174,"id":2446,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/schema"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":586917,"timestamp":123253307406,"id":2687,"parentId":2616,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":643320,"timestamp":123253251038,"id":2616,"parentId":2433,"tags":{"page":"/su/envar"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":588907,"timestamp":123253307542,"id":2688,"parentId":2621,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":645221,"timestamp":123253251257,"id":2621,"parentId":2433,"tags":{"page":"/su/servers"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":589289,"timestamp":123253307754,"id":2689,"parentId":2620,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":645832,"timestamp":123253251233,"id":2620,"parentId":2433,"tags":{"page":"/su/login"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":589898,"timestamp":123253307266,"id":2686,"parentId":2619,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":646106,"timestamp":123253251071,"id":2619,"parentId":2433,"tags":{"page":"/su/load-balancing"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":599446,"timestamp":123253298603,"id":2637,"parentId":2450,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":648817,"timestamp":123253249255,"id":2450,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":590655,"timestamp":123253308072,"id":2691,"parentId":2624,"tags":{},"startTime":1734261963567,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":647454,"timestamp":123253251295,"id":2624,"parentId":2433,"tags":{"page":"/su/users/new"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":601304,"timestamp":123253297624,"id":2632,"parentId":2444,"tags":{},"startTime":1734261963556,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":649848,"timestamp":123253249097,"id":2444,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/edit-database"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":592011,"timestamp":123253306996,"id":2684,"parentId":2618,"tags":{},"startTime":1734261963566,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":647961,"timestamp":123253251060,"id":2618,"parentId":2433,"tags":{"page":"/su"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":593900,"timestamp":123253306710,"id":2682,"parentId":2614,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":649634,"timestamp":123253250999,"id":2614,"parentId":2433,"tags":{"page":"/su/docs/pages/[id]"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":593005,"timestamp":123253308666,"id":2693,"parentId":2626,"tags":{},"startTime":1734261963567,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":650376,"timestamp":123253251318,"id":2626,"parentId":2433,"tags":{"page":"/unsubscribe"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":593860,"timestamp":123253308829,"id":2694,"parentId":2623,"tags":{},"startTime":1734261963568,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":651430,"timestamp":123253251285,"id":2623,"parentId":2433,"tags":{"page":"/su/users"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":596235,"timestamp":123253306560,"id":2681,"parentId":2612,"tags":{},"startTime":1734261963565,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":651835,"timestamp":123253250977,"id":2612,"parentId":2433,"tags":{"page":"/su/docs/edit-page"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":595824,"timestamp":123253307923,"id":2690,"parentId":2622,"tags":{},"startTime":1734261963567,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":652497,"timestamp":123253251269,"id":2622,"parentId":2433,"tags":{"page":"/su/users/[single]"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":605059,"timestamp":123253298760,"id":2638,"parentId":2449,"tags":{},"startTime":1734261963557,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":654591,"timestamp":123253249237,"id":2449,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":596286,"timestamp":123253308400,"id":2692,"parentId":2625,"tags":{},"startTime":1734261963567,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":653403,"timestamp":123253251308,"id":2625,"parentId":2433,"tags":{"page":"/terms"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":609034,"timestamp":123253298897,"id":2639,"parentId":2452,"tags":{},"startTime":1734261963558,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":658590,"timestamp":123253249376,"id":2452,"parentId":2433,"tags":{"page":"/admin/[user_id]/databases/[single]/tables/[single_table]/fields"},"startTime":1734261963508,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":625474,"timestamp":123253303405,"id":2664,"parentId":2597,"tags":{},"startTime":1734261963562,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":678093,"timestamp":123253250811,"id":2597,"parentId":2433,"tags":{"page":"/create-account"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":636800,"timestamp":123253305548,"id":2675,"parentId":2610,"tags":{},"startTime":1734261963564,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":691418,"timestamp":123253250953,"id":2610,"parentId":2433,"tags":{"page":"/su/console"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":661873,"timestamp":123253303786,"id":2666,"parentId":2599,"tags":{},"startTime":1734261963563,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":714908,"timestamp":123253250838,"id":2599,"parentId":2433,"tags":{"page":"/docs/[page]"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"is-page-static","duration":662200,"timestamp":123253303597,"id":2665,"parentId":2598,"tags":{},"startTime":1734261963562,"traceId":"ce91546a398efcef"},{"name":"check-page","duration":714987,"timestamp":123253250822,"id":2598,"parentId":2433,"tags":{"page":"/docs/[page]/[sub-page]"},"startTime":1734261963510,"traceId":"ce91546a398efcef"},{"name":"static-check","duration":757100,"timestamp":123253208750,"id":2433,"parentId":1,"tags":{},"startTime":1734261963467,"traceId":"ce91546a398efcef"},{"name":"generate-required-server-files","duration":300,"timestamp":123253965980,"id":2696,"parentId":1,"tags":{},"startTime":1734261964225,"traceId":"ce91546a398efcef"},{"name":"write-routes-manifest","duration":12580,"timestamp":123253974665,"id":2698,"parentId":1,"tags":{},"startTime":1734261964233,"traceId":"ce91546a398efcef"},{"name":"load-dotenv","duration":135,"timestamp":123254414522,"id":2701,"parentId":2700,"tags":{},"startTime":1734261964673,"traceId":"ce91546a398efcef"},{"name":"run-export-path-map","duration":316,"timestamp":123256131611,"id":2702,"parentId":2700,"tags":{},"startTime":1734261966390,"traceId":"ce91546a398efcef"},{"name":"next-export","duration":2765560,"timestamp":123254413816,"id":2700,"parentId":1,"tags":{},"startTime":1734261964673,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":98920,"timestamp":123257329387,"id":2703,"parentId":2699,"tags":{},"startTime":1734261967588,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":70253,"timestamp":123257428375,"id":2704,"parentId":2699,"tags":{},"startTime":1734261967687,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":68622,"timestamp":123257498682,"id":2705,"parentId":2699,"tags":{},"startTime":1734261967757,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":61692,"timestamp":123257567362,"id":2706,"parentId":2699,"tags":{},"startTime":1734261967826,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":74871,"timestamp":123257629104,"id":2707,"parentId":2699,"tags":{},"startTime":1734261967888,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":76706,"timestamp":123257704038,"id":2708,"parentId":2699,"tags":{},"startTime":1734261967963,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":142304,"timestamp":123257780794,"id":2709,"parentId":2699,"tags":{},"startTime":1734261968040,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":32127,"timestamp":123257923156,"id":2710,"parentId":2699,"tags":{},"startTime":1734261968182,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":218768,"timestamp":123257955337,"id":2711,"parentId":2699,"tags":{},"startTime":1734261968214,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":31804,"timestamp":123258174227,"id":2712,"parentId":2699,"tags":{},"startTime":1734261968433,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":21729,"timestamp":123258206044,"id":2713,"parentId":2699,"tags":{},"startTime":1734261968465,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":30792,"timestamp":123258227840,"id":2714,"parentId":2699,"tags":{},"startTime":1734261968487,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":37803,"timestamp":123258258651,"id":2715,"parentId":2699,"tags":{},"startTime":1734261968517,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":13457,"timestamp":123258296505,"id":2716,"parentId":2699,"tags":{},"startTime":1734261968555,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":12983,"timestamp":123258309977,"id":2717,"parentId":2699,"tags":{},"startTime":1734261968569,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":86115,"timestamp":123258323009,"id":2718,"parentId":2699,"tags":{},"startTime":1734261968582,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":10878,"timestamp":123258409139,"id":2719,"parentId":2699,"tags":{},"startTime":1734261968668,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":265093,"timestamp":123258420066,"id":2720,"parentId":2699,"tags":{},"startTime":1734261968679,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":21591,"timestamp":123258685186,"id":2721,"parentId":2699,"tags":{},"startTime":1734261968944,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":207365,"timestamp":123258706855,"id":2722,"parentId":2699,"tags":{},"startTime":1734261968966,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":32980,"timestamp":123258914237,"id":2723,"parentId":2699,"tags":{},"startTime":1734261969173,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":28603,"timestamp":123258947273,"id":2724,"parentId":2699,"tags":{},"startTime":1734261969206,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":23903,"timestamp":123258975896,"id":2725,"parentId":2699,"tags":{},"startTime":1734261969235,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":36816,"timestamp":123258999864,"id":2726,"parentId":2699,"tags":{},"startTime":1734261969259,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":78976,"timestamp":123259036696,"id":2727,"parentId":2699,"tags":{},"startTime":1734261969295,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":36183,"timestamp":123259115745,"id":2728,"parentId":2699,"tags":{},"startTime":1734261969374,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":31892,"timestamp":123259151943,"id":2729,"parentId":2699,"tags":{},"startTime":1734261969411,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":12267,"timestamp":123259183892,"id":2730,"parentId":2699,"tags":{},"startTime":1734261969443,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":17465,"timestamp":123259196172,"id":2731,"parentId":2699,"tags":{},"startTime":1734261969455,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":16722,"timestamp":123259213694,"id":2732,"parentId":2699,"tags":{},"startTime":1734261969472,"traceId":"ce91546a398efcef"},{"name":"move-exported-page","duration":13183,"timestamp":123259230430,"id":2733,"parentId":2699,"tags":{},"startTime":1734261969489,"traceId":"ce91546a398efcef"},{"name":"static-generation","duration":5698187,"timestamp":123254410821,"id":2699,"parentId":1,"tags":{},"startTime":1734261964670,"traceId":"ce91546a398efcef"},{"name":"node-file-trace-build","duration":10066655,"timestamp":123253967389,"id":2697,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1734261964226,"traceId":"ce91546a398efcef"}] +[{"name":"apply-include-excludes","duration":1017,"timestamp":123264034273,"id":2734,"parentId":1,"tags":{},"startTime":1734261974293,"traceId":"ce91546a398efcef"},{"name":"print-tree-view","duration":7621,"timestamp":123264035361,"id":2735,"parentId":1,"tags":{},"startTime":1734261974294,"traceId":"ce91546a398efcef"},{"name":"telemetry-flush","duration":39,"timestamp":123264042995,"id":2736,"parentId":1,"tags":{},"startTime":1734261974302,"traceId":"ce91546a398efcef"},{"name":"next-build","duration":38083405,"timestamp":123225959634,"id":1,"tags":{"buildMode":"default","isTurboBuild":"false","version":"15.0.3","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1734261936218,"traceId":"ce91546a398efcef"}] diff --git a/dsql-app/package-shared/data/presets/users.json b/dsql-app/package-shared/data/presets/users.json index 3da8faf..1a8ef2e 100755 --- a/dsql-app/package-shared/data/presets/users.json +++ b/dsql-app/package-shared/data/presets/users.json @@ -37,13 +37,11 @@ }, { "fieldName": "image", - "dataType": "VARCHAR(250)", - "defaultValue": "/images/user-preset.png" + "dataType": "VARCHAR(250)" }, { "fieldName": "image_thumbnail", - "dataType": "VARCHAR(250)", - "defaultValue": "/images/user-preset-thumbnail.png" + "dataType": "VARCHAR(250)" }, { "fieldName": "address", diff --git a/dsql-app/package-shared/functions/api/users/api-create-user.js b/dsql-app/package-shared/functions/api/users/api-create-user.js index a22baa3..64a9458 100644 --- a/dsql-app/package-shared/functions/api/users/api-create-user.js +++ b/dsql-app/package-shared/functions/api/users/api-create-user.js @@ -128,8 +128,12 @@ module.exports = async function apiCreateUser({ tableName: "users", data: { ...payload, - image: "/images/user-preset.png", - image_thumbnail: "/images/user-preset-thumbnail.png", + image: + process.env.DSQL_DEFAULT_USER_IMAGE || + "/images/user-preset.png", + image_thumbnail: + process.env.DSQL_DEFAULT_USER_IMAGE || + "/images/user-preset-thumbnail.png", }, useLocal, }); diff --git a/dsql-app/package-shared/functions/api/users/api-login.js b/dsql-app/package-shared/functions/api/users/api-login.js index 87f0603..6a7f28a 100644 --- a/dsql-app/package-shared/functions/api/users/api-login.js +++ b/dsql-app/package-shared/functions/api/users/api-login.js @@ -103,8 +103,8 @@ module.exports = async function apiLoginUser({ if (isPasswordCorrect && email_login) { const resetTempCode = await varDatabaseDbHandler({ - queryString: `UPDATE users SET ${email_login_field} = ? WHERE email = ? OR username = ?`, - queryValuesArray: ["", email, username], + queryString: `UPDATE users SET ${email_login_field} = '' WHERE email = ? OR username = ?`, + queryValuesArray: [email, username], database: dbFullName.replace(/[^a-z0-9_]/g, ""), useLocal, }); diff --git a/dsql-app/package-shared/functions/api/users/api-send-email-code.js b/dsql-app/package-shared/functions/api/users/api-send-email-code.js index 5dc6c33..1192c58 100644 --- a/dsql-app/package-shared/functions/api/users/api-send-email-code.js +++ b/dsql-app/package-shared/functions/api/users/api-send-email-code.js @@ -1,8 +1,11 @@ // @ts-check -const LOCAL_DB_HANDLER = require("../../../utils/backend/global-db/LOCAL_DB_HANDLER"); const varDatabaseDbHandler = require("../../backend/varDatabaseDbHandler"); const nodemailer = require("nodemailer"); +const http = require("http"); +const getAuthCookieNames = require("../../backend/cookies/get-auth-cookie-names"); +const encrypt = require("../../dsql/encrypt"); +const serializeCookies = require("../../../utils/serialize-cookies"); /** * # Send Email Login Code @@ -18,8 +21,10 @@ const nodemailer = require("nodemailer"); * @param {string} [param.mail_password] * @param {string} param.html * @param {boolean} [param.useLocal] + * @param {http.ServerResponse & Object} [param.response] + * @param {import("../../../../package-shared/types").CookieObject[]} [param.extraCookies] * - * @returns {Promise<{success: boolean, msg?: string}>} + * @returns {Promise} */ module.exports = async function apiSendEmailCode({ email, @@ -32,6 +37,8 @@ module.exports = async function apiSendEmailCode({ mail_password, html, useLocal, + response, + extraCookies, }) { if (email?.match(/ /)) { return { @@ -39,10 +46,7 @@ module.exports = async function apiSendEmailCode({ msg: "Invalid Email/Password format", }; } - - //////////////////////////////////////// - //////////////////////////////////////// - //////////////////////////////////////// + const createdAt = Date.now(); const foundUserQuery = `SELECT * FROM users WHERE email = ?`; const foundUserValues = [email]; @@ -74,12 +78,12 @@ module.exports = async function apiSendEmailCode({ return code; } - if (foundUser && foundUser[0] && email_login_field) { + if (foundUser?.[0] && email_login_field) { const tempCode = generateCode(); let transporter = nodemailer.createTransport({ host: mail_domain || process.env.DSQL_MAIL_HOST, - port: mail_port || 465, + port: mail_port || process.env.DSQL_MAIL_PORT || 465, secure: true, auth: { user: mail_username || process.env.DSQL_MAIL_EMAIL, @@ -102,7 +106,7 @@ module.exports = async function apiSendEmailCode({ if (!info?.accepted) throw new Error("Mail not Sent!"); const setTempCodeQuery = `UPDATE users SET ${email_login_field} = ? WHERE email = ?`; - const setTempCodeValues = [tempCode + `-${Date.now()}`, email]; + const setTempCodeValues = [tempCode + `-${createdAt}`, email]; let setTempCode = await varDatabaseDbHandler({ queryString: setTempCodeQuery, @@ -110,10 +114,57 @@ module.exports = async function apiSendEmailCode({ database: database, useLocal, }); - } - return { - success: true, - msg: "Success", - }; + /** @type {import("../../../types").SendOneTimeCodeEmailResponse} */ + const resObject = { + success: true, + code: tempCode, + email: email, + createdAt, + msg: "Success", + }; + + if (response) { + const cookieKeyNames = getAuthCookieNames(); + const oneTimeCodeCookieName = cookieKeyNames.oneTimeCodeName; + + const encryptedPayload = encrypt({ + data: JSON.stringify(resObject), + }); + + if (!encryptedPayload) { + throw new Error( + "apiSendEmailCode Error: Failed to encrypt payload" + ); + } + + /** @type {import("../../../../package-shared/types").CookieObject} */ + const oneTimeCookieObject = { + name: oneTimeCodeCookieName, + value: encryptedPayload, + sameSite: "Strict", + path: "/", + httpOnly: true, + secure: true, + }; + + /** @type {import("../../../../package-shared/types").CookieObject[]} */ + const cookiesObjectArray = extraCookies + ? [...extraCookies, oneTimeCookieObject] + : [oneTimeCookieObject]; + + const serializedCookies = serializeCookies({ + cookies: cookiesObjectArray, + }); + + response.setHeader("Set-Cookie", serializedCookies); + } + + return resObject; + } else { + return { + success: false, + msg: "Invalid Email/Password format", + }; + } }; diff --git a/dsql-app/package-shared/functions/api/users/social/api-github-login.js b/dsql-app/package-shared/functions/api/users/social/api-github-login.js index e7843e1..0254848 100644 --- a/dsql-app/package-shared/functions/api/users/social/api-github-login.js +++ b/dsql-app/package-shared/functions/api/users/social/api-github-login.js @@ -16,7 +16,7 @@ const camelJoinedtoCamelSpace = require("../../../../utils/camelJoinedtoCamelSpa * @param {string} [param.email] * @param {string | number} [param.userId] * - * @returns {Promise} + * @returns {Promise} */ module.exports = async function apiGithubLogin({ code, diff --git a/dsql-app/package-shared/functions/api/users/social/api-google-login.js b/dsql-app/package-shared/functions/api/users/social/api-google-login.js index 725ee6f..9b085cc 100644 --- a/dsql-app/package-shared/functions/api/users/social/api-google-login.js +++ b/dsql-app/package-shared/functions/api/users/social/api-google-login.js @@ -45,7 +45,7 @@ module.exports = async function apiGoogleLogin({ if (!database || typeof database != "string" || database?.match(/ /)) { return { success: false, - user: undefined, + payload: undefined, msg: "Please provide a database slug(database name in lowercase with no spaces)", }; } @@ -89,7 +89,7 @@ module.exports = async function apiGoogleLogin({ return { success: false, - user: undefined, + payload: undefined, msg: error.message, }; } diff --git a/dsql-app/package-shared/functions/backend/api-cred.js b/dsql-app/package-shared/functions/backend/api-cred.js index 892968a..ceecb4f 100644 --- a/dsql-app/package-shared/functions/backend/api-cred.js +++ b/dsql-app/package-shared/functions/backend/api-cred.js @@ -4,7 +4,7 @@ const fs = require("fs"); const decrypt = require("../dsql/decrypt"); /** @type {import("../../types").CheckApiCredentialsFn} */ -const grabApiCred = ({ key, database, table, user_id }) => { +const grabApiCred = ({ key, database, table, user_id, media }) => { if (!key) return null; if (!user_id) return null; @@ -27,6 +27,8 @@ const grabApiCred = ({ key, database, table, user_id }) => { if (!isApiKeyValid) return null; if (!ApiObject.target_database) return ApiObject; + if (media) return ApiObject; + if (!database && ApiObject.target_database) return null; const isDatabaseAllowed = ApiObject.target_database ?.split(",") @@ -41,7 +43,7 @@ const grabApiCred = ({ key, database, table, user_id }) => { return null; } catch (/** @type {any} */ error) { console.log(`api-cred ERROR: ${error.message}`); - return null; + return { error: `api-cred ERROR: ${error.message}` }; } }; diff --git a/dsql-app/package-shared/functions/backend/auth/write-auth-files.js b/dsql-app/package-shared/functions/backend/auth/write-auth-files.js index 6855bfc..7edca89 100644 --- a/dsql-app/package-shared/functions/backend/auth/write-auth-files.js +++ b/dsql-app/package-shared/functions/backend/auth/write-auth-files.js @@ -4,7 +4,10 @@ const fs = require("fs"); const path = require("path"); const grabAuthDirs = () => { - const ROOT_DIR = path.resolve(process.cwd(), "./.tmp"); + const DSQL_AUTH_DIR = process.env.DSQL_AUTH_DIR; + const ROOT_DIR = DSQL_AUTH_DIR?.match(/./) + ? DSQL_AUTH_DIR + : path.resolve(process.cwd(), "./.tmp"); const AUTH_DIR = path.join(ROOT_DIR, "logins"); return { root: ROOT_DIR, auth: AUTH_DIR }; diff --git a/dsql-app/package-shared/functions/backend/cookies/get-auth-cookie-names.js b/dsql-app/package-shared/functions/backend/cookies/get-auth-cookie-names.js index b9c498e..9cecf42 100644 --- a/dsql-app/package-shared/functions/backend/cookies/get-auth-cookie-names.js +++ b/dsql-app/package-shared/functions/backend/cookies/get-auth-cookie-names.js @@ -7,15 +7,17 @@ * @param {string} [params.database] * @param {string | number} [params.userId] * - * @returns {{ keyCookieName: string, csrfCookieName: string }} + * @returns {{ keyCookieName: string, csrfCookieName: string, oneTimeCodeName: string }} */ module.exports = function getAuthCookieNames(params) { const cookiesPrefix = process.env.DSQL_COOKIES_PREFIX || "dsql_"; const cookiesKeyName = process.env.DSQL_COOKIES_KEY_NAME || "key"; const cookiesCSRFName = process.env.DSQL_COOKIES_CSRF_NAME || "csrf"; + const cookieOneTimeCodeName = + process.env.DSQL_COOKIES_ONE_TIME_CODE_NAME || "one-time-code"; const targetDatabase = - params?.database || + params?.database?.replace(/^datasquirel_user_\d+_/, "") || process.env.DSQL_DB_NAME?.replace(/^datasquirel_user_\d+_/, ""); let keyCookieName = cookiesPrefix; @@ -28,8 +30,14 @@ module.exports = function getAuthCookieNames(params) { if (targetDatabase) csrfCookieName += `${targetDatabase}_`; csrfCookieName += cookiesCSRFName; + let oneTimeCodeName = cookiesPrefix; + if (params?.userId) oneTimeCodeName += `user_${params.userId}_`; + if (targetDatabase) oneTimeCodeName += `${targetDatabase}_`; + oneTimeCodeName += cookieOneTimeCodeName; + return { keyCookieName, csrfCookieName, + oneTimeCodeName, }; }; diff --git a/dsql-app/package-shared/functions/backend/db/addDbEntry.js b/dsql-app/package-shared/functions/backend/db/addDbEntry.js index 7370157..0520980 100644 --- a/dsql-app/package-shared/functions/backend/db/addDbEntry.js +++ b/dsql-app/package-shared/functions/backend/db/addDbEntry.js @@ -2,7 +2,6 @@ const sanitizeHtml = require("sanitize-html"); const sanitizeHtmlOptions = require("../html/sanitizeHtmlOptions"); -const updateDb = require("./updateDbEntry"); const updateDbEntry = require("./updateDbEntry"); const _ = require("lodash"); const DB_HANDLER = require("../../../utils/backend/global-db/DB_HANDLER"); @@ -160,7 +159,9 @@ async function addDbEntry({ console.log("DSQL: Encrypted value =>", value); } - if (targetFieldSchema?.richText) { + const htmlRegex = /<[^>]+>/g; + + if (targetFieldSchema?.richText || String(value).match(htmlRegex)) { value = sanitizeHtml(value, sanitizeHtmlOptions); } diff --git a/dsql-app/package-shared/functions/backend/db/updateDbEntry.js b/dsql-app/package-shared/functions/backend/db/updateDbEntry.js index 95fa8cb..63f1329 100644 --- a/dsql-app/package-shared/functions/backend/db/updateDbEntry.js +++ b/dsql-app/package-shared/functions/backend/db/updateDbEntry.js @@ -98,7 +98,9 @@ async function updateDbEntry({ if (value == null || value == undefined) continue; - if (targetFieldSchema?.richText) { + const htmlRegex = /<[^>]+>/g; + + if (targetFieldSchema?.richText || String(value).match(htmlRegex)) { value = sanitizeHtml(value, sanitizeHtmlOptions); } diff --git a/dsql-app/package-shared/functions/backend/grabUserSchemaData.js b/dsql-app/package-shared/functions/backend/grabUserSchemaData.js index 8cdbd0c..417f7bb 100755 --- a/dsql-app/package-shared/functions/backend/grabUserSchemaData.js +++ b/dsql-app/package-shared/functions/backend/grabUserSchemaData.js @@ -17,7 +17,7 @@ const path = require("path"); * @param {string | number} params.userId * @returns {import("../../types").DSQL_DatabaseSchemaType[] | null} */ -export default function grabUserSchemaData({ userId }) { +module.exports = function grabUserSchemaData({ userId }) { try { const userSchemaFilePath = path.resolve( process.cwd(), @@ -36,7 +36,7 @@ export default function grabUserSchemaData({ userId }) { return null; } -} +}; /** ****************************************************************************** */ /** ****************************************************************************** */ diff --git a/dsql-app/package-shared/functions/backend/setUserSchemaData.js b/dsql-app/package-shared/functions/backend/setUserSchemaData.js index 53be2fc..6472dc9 100755 --- a/dsql-app/package-shared/functions/backend/setUserSchemaData.js +++ b/dsql-app/package-shared/functions/backend/setUserSchemaData.js @@ -18,7 +18,7 @@ const path = require("path"); * @param {import("../../types").DSQL_DatabaseSchemaType[]} params.schemaData * @returns {boolean} */ -export default function setUserSchemaData({ userId, schemaData }) { +module.exports = function setUserSchemaData({ userId, schemaData }) { try { const userSchemaFilePath = path.resolve( process.cwd(), @@ -39,7 +39,7 @@ export default function setUserSchemaData({ userId, schemaData }) { return false; } -} +}; /** ****************************************************************************** */ /** ****************************************************************************** */ diff --git a/dsql-app/package-shared/types/index.ts b/dsql-app/package-shared/types/index.ts index 2a26ad9..facd5f6 100644 --- a/dsql-app/package-shared/types/index.ts +++ b/dsql-app/package-shared/types/index.ts @@ -188,13 +188,7 @@ export interface GetReqQueryObject { tableName?: string; } -export type SerializeQueryFnType = (param0: SerializeQueryParams) => string; - -export interface SerializeQueryParams { - query: any; -} - -// @ts-check +export type SerializeQueryFnType = (query: any) => string; export type DATASQUIREL_LoggedInUser = { id: number; @@ -1026,12 +1020,13 @@ export interface MYSQL_delegated_user_tables_table_def { } export type ApiKeyObject = { - user_id: string | number; + user_id?: string | number; full_access?: boolean; - sign: string; - date_code: number; + sign?: string; + date_code?: number; target_database?: string; target_table?: string; + error?: string; }; export type AddApiKeyRequestBody = { @@ -1050,12 +1045,13 @@ export type CheckApiCredentialsFnParam = { database?: string; table?: string; user_id?: string | number; + media?: boolean; }; export type FetchApiFn = ( url: string, options?: FetchApiOptions, - contentType?: "json" | "text" | "html" | "blob" | "file" + csrf?: boolean ) => Promise; export type FetchApiOptions = RequestInit & { @@ -1269,13 +1265,9 @@ export type APIGoogleLoginFunctionParams = { additionalFields?: string[]; }; -export type APIGoogleLoginFunctionReturn = { - dsqlUserId?: number | string; -} & HandleSocialDbFunctionReturn; - export type APIGoogleLoginFunction = ( params: APIGoogleLoginFunctionParams -) => Promise; +) => Promise; /** * Handle Social DB Function @@ -1417,3 +1409,24 @@ export interface AceEditorOptions { wrapBehavioursEnabled?: boolean; wrapMethod?: "code" | "text" | "auto"; } + +export type SendOneTimeCodeEmailResponse = { + success: boolean; + code?: string; + createdAt?: number; + email?: string; + msg?: string; +}; + +export type CookieObject = { + name: string; + value: string; + domain?: string; + path?: string; + expires?: Date; + maxAge?: number; + secure?: boolean; + httpOnly?: boolean; + sameSite?: "Strict" | "Lax" | "None"; + priority?: "Low" | "Medium" | "High"; +}; diff --git a/dsql-app/package-shared/utils/backend/parseCookies.js b/dsql-app/package-shared/utils/backend/parseCookies.js index 7556ae0..5436e30 100644 --- a/dsql-app/package-shared/utils/backend/parseCookies.js +++ b/dsql-app/package-shared/utils/backend/parseCookies.js @@ -1,60 +1,58 @@ // @ts-check -/** - * ============================================================================== - * Imports - * ============================================================================== - */ const http = require("http"); /** * Parse request cookies - * ============================================================================== + * =================================================== * - * @description This function takes in a request object and returns the cookies as a JS object + * @description This function takes in a request object and + * returns the cookies as a JS object * * @async * * @param {object} params - main params object - * @param {http.IncomingMessage} params.request - HTTPS request object + * @param {http.IncomingMessage & Object} [params.request] - HTTPS request object + * @param {string} [params.cookieString] * - * @returns {any | null} + * @returns {Object} */ -module.exports = function ({ request }) { - /** - * Check inputs - * - * @description Check inputs - */ +module.exports = function parseCookies({ request, cookieString }) { + try { + /** @type {string | undefined} */ + const cookieStr = request + ? request.headers.cookie + : cookieString + ? cookieString + : undefined; - /** @type {string | undefined} */ - const cookieString = request.headers.cookie; + if (!cookieStr) return {}; - if (!cookieString || typeof cookieString !== "string") { - return null; - } - - /** @type {string[]} */ - const cookieSplitArray = cookieString.split(";"); - - /** @type {*} */ - let cookieObject = {}; - - cookieSplitArray.forEach((keyValueString) => { - const [key, value] = keyValueString.split("="); - if (key && typeof key == "string") { - cookieObject[key.replace(/^ +| +$/, "")] = - value && typeof value == "string" - ? value.replace(/^ +| +$/, "") - : null; + if (!cookieStr || typeof cookieStr !== "string") { + return {}; } - }); - /** - * Make https request - * - * @description make a request to datasquirel.com - */ + /** @type {string[]} */ + const cookieSplitArray = cookieStr.split(";"); - return cookieObject; + /** @type {Object} */ + let cookieObject = {}; + + cookieSplitArray.forEach((keyValueString) => { + const [key, value] = keyValueString.split("="); + if (key && typeof key == "string") { + const parsedKey = key.replace(/^ +| +$/, ""); + cookieObject[parsedKey] = + value && typeof value == "string" + ? value.replace(/^ +| +$/, "") + : ""; + } + }); + + return cookieObject; + } catch (/** @type {any} */ error) { + console.log(`ERROR parsing cookies: ${error.message}`); + + return {}; + } }; diff --git a/dsql-app/package-shared/utils/numberfy.js b/dsql-app/package-shared/utils/numberfy.js new file mode 100644 index 0000000..79a66eb --- /dev/null +++ b/dsql-app/package-shared/utils/numberfy.js @@ -0,0 +1,26 @@ +// @ts-check + +/** + * # Get Number from any input + * @param {any} num input + * @param {number} [decimals] number of decimals to round to + * @returns {number} number or 0 in case of error + * @example + * numberfy("123") // 123 + * numberfy("123.456") // 123 + * numberfy("123.456", 2) // 123.46 + * numberfy("123.456", 0) // 123 + * numberfy("123.456", 3) // 123.456 + */ +module.exports = function numberfy(num, decimals) { + try { + const numberfiedNum = Number(num); + if (typeof numberfiedNum !== "number") return 0; + if (isNaN(numberfiedNum)) return 0; + if (decimals) return Number(numberfiedNum.toFixed(decimals)); + return Math.round(numberfiedNum); + } catch (/** @type {any} */ error) { + console.log(`Numberfy ERROR: ${error.message}`); + return 0; + } +}; diff --git a/dsql-app/package-shared/utils/serialize-cookies.js b/dsql-app/package-shared/utils/serialize-cookies.js new file mode 100644 index 0000000..fdcfdeb --- /dev/null +++ b/dsql-app/package-shared/utils/serialize-cookies.js @@ -0,0 +1,48 @@ +// @ts-check + +/** + * + * @param {object} params + * @param {import("../types").CookieObject[]} params.cookies + * @returns {string[]} + */ +function serializeCookies({ cookies }) { + /** @type {string[]} */ + let cookiesStringsArray = []; + + for (let i = 0; i < cookies.length; i++) { + const cookieObject = cookies[i]; + let cookieString = `${cookieObject.name}=${cookieObject.value}`; + + if (cookieObject.maxAge) { + cookieString += `;Max-Age=${cookieObject.maxAge}`; + } + if (cookieObject.path) { + cookieString += `;Path=${cookieObject.path}`; + } + if (cookieObject.domain) { + cookieString += `;Domain=${cookieObject.domain}`; + } + if (cookieObject.secure) { + cookieString += ";Secure"; + } + if (cookieObject.httpOnly) { + cookieString += ";HttpOnly"; + } + if (cookieObject.sameSite) { + cookieString += `;SameSite=${cookieObject.sameSite}`; + } + if (cookieObject.expires) { + cookieString += `;expires=${cookieObject.expires}`; + } + if (cookieObject.priority) { + cookieString += `;priority=${cookieObject.priority}`; + } + + cookiesStringsArray.push(cookieString); + } + + return cookiesStringsArray; +} + +module.exports = serializeCookies; diff --git a/dsql-app/package-shared/utils/serialize-query.js b/dsql-app/package-shared/utils/serialize-query.js new file mode 100644 index 0000000..9a8a497 --- /dev/null +++ b/dsql-app/package-shared/utils/serialize-query.js @@ -0,0 +1,43 @@ +// @ts-check + +const EJSON = require("./ejson"); + +/** @type {import("../types").SerializeQueryFnType} */ +function serializeQuery(query) { + let str = "?"; + + if (typeof query !== "object") { + console.log("Invalid Query type"); + return str; + } + if (Array.isArray(query)) { + console.log("Query is an Array. This is invalid."); + return str; + } + if (!query) { + console.log("No Query provided."); + return str; + } + + const keys = Object.keys(query); + + /** @type {string[]} */ + const queryArr = []; + + keys.forEach((key) => { + if (!key || !query[key]) return; + const value = query[key]; + + if (typeof value === "object") { + const jsonStr = EJSON.stringify(value); + queryArr.push(`${key}=${encodeURIComponent(String(jsonStr))}`); + } else if (typeof value === "string" || typeof value === "number") { + queryArr.push(`${key}=${encodeURIComponent(value)}`); + } + }); + + str += queryArr.join("&"); + return str; +} + +module.exports = serializeQuery; diff --git a/dsql-app/package-shared/utils/slugify.js b/dsql-app/package-shared/utils/slugify.js new file mode 100644 index 0000000..df5c734 --- /dev/null +++ b/dsql-app/package-shared/utils/slugify.js @@ -0,0 +1,27 @@ +// @ts-check + +/** + * # Return the slug of a string + * @param {string} str input + * @returns {string} slug or empty string in case of error + * @example + * slugify("Hello World") // "hello-world" + * slugify("Yes!") // "yes" + * slugify("Hello!!! World!") // "hello-world" + */ +module.exports = function slugify(str) { + try { + return String(str) + .trim() + .toLowerCase() + .replace(/ {2,}/g, " ") + .replace(/ /g, "-") + .replace(/[^a-z0-9]/g, "-") + .replace(/-{2,}/g, "-") + .replace(/^-/, "") + .replace(/-$/, ""); + } catch (/** @type {any} */ error) { + console.log(`Slugify ERROR: ${error.message}`); + return ""; + } +}; diff --git a/dsql-app/public/tinymce-public/icons/default/icons.min.js b/dsql-app/public/tinymce-public/icons/default/icons.min.js new file mode 100644 index 0000000..7cfec79 --- /dev/null +++ b/dsql-app/public/tinymce-public/icons/default/icons.min.js @@ -0,0 +1 @@ +tinymce.IconManager.add("default",{icons:{"accessibility-check":'',"accordion-toggle":'',accordion:'',"action-next":'',"action-prev":'',addtag:'',"ai-prompt":'',ai:'',"align-center":'',"align-justify":'',"align-left":'',"align-none":'',"align-right":'',"arrow-left":'',"arrow-right":'',bold:'',bookmark:'',"border-style":'',"border-width":'',brightness:'',browse:'',cancel:'',"cell-background-color":'',"cell-border-color":'',"change-case":'',"character-count":'',"checklist-rtl":'',checklist:'',checkmark:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',close:'',"code-sample":'',"color-levels":'',"color-picker":'',"color-swatch-remove-color":'',"color-swatch":'',"comment-add":'',comment:'',contrast:'',copy:'',crop:'',"cut-column":'',"cut-row":'',cut:'',"document-properties":'',drag:'',"duplicate-column":'',"duplicate-row":'',duplicate:'',"edit-block":'',"edit-image":'',"embed-page":'',embed:'',emoji:'',export:'',fill:'',"flip-horizontally":'',"flip-vertically":'',footnote:'',"format-code":'',"format-painter":'',format:'',fullscreen:'',gallery:'',gamma:'',help:'',"highlight-bg-color":'',home:'',"horizontal-rule":'',"image-options":'',image:'',indent:'',info:'',"insert-character":'',"insert-time":'',invert:'',italic:'',language:'',"line-height":'',line:'',link:'',"list-bull-circle":'',"list-bull-default":'',"list-bull-square":'',"list-num-default-rtl":'',"list-num-default":'',"list-num-lower-alpha-rtl":'',"list-num-lower-alpha":'',"list-num-lower-greek-rtl":'',"list-num-lower-greek":'',"list-num-lower-roman-rtl":'',"list-num-lower-roman":'',"list-num-upper-alpha-rtl":'',"list-num-upper-alpha":'',"list-num-upper-roman-rtl":'',"list-num-upper-roman":'',lock:'',ltr:'',"math-equation":'',mentions:'',minus:'',"more-drawer":'',"new-document":'',"new-tab":'',"non-breaking":'',notice:'',"ordered-list-rtl":'',"ordered-list":'',orientation:'',outdent:'',"export-pdf":'',"export-word":'',"import-word":'',"page-break":'',paragraph:'',"paste-column-after":'',"paste-column-before":'',"paste-row-after":'',"paste-row-before":'',"paste-text":'',paste:'',"permanent-pen":'',plus:'',preferences:'',preview:'',print:'',quote:'',redo:'',reload:'',"remove-formatting":'',remove:'',"resize-handle":'',resize:'',"restore-draft":'',"revision-history":'',"rotate-left":'',"rotate-right":'',rtl:'',save:'',search:'',"select-all":'',selected:'',send:'',settings:'',sharpen:'',sourcecode:'',"spell-check":'',"strike-through":'',subscript:'',superscript:'',"table-caption":'',"table-cell-classes":'',"table-cell-properties":'',"table-cell-select-all":'',"table-cell-select-inner":'',"table-classes":'',"table-delete-column":'',"table-delete-row":'',"table-delete-table":'',"table-insert-column-after":'',"table-insert-column-before":'',"table-insert-row-above":'',"table-insert-row-after":'',"table-left-header":'',"table-merge-cells":'',"table-row-numbering-rtl":'',"table-row-numbering":'',"table-row-properties":'',"table-split-cells":'',"table-top-header":'',table:'',"template-add":'',template:'',"temporary-placeholder":'',"text-color":'',"text-size-decrease":'',"text-size-increase":'',toc:'',translate:'',typography:'',underline:'',undo:'',unlink:'',unlock:'',"unordered-list":'',unselected:'',upload:'',"add-file":'',adjustments:'',"alt-text":'',blur:'',box:'',camera:'',caption:'',dropbox:'',evernote:'',exposure:'',fb:'',flickr:'',folder:'',"google-drive":'',"google-photos":'',grayscale:'',huddle:'',"image-decorative":'',"image-enhancements":'',instagram:'',onedrive:'',"revert-changes":'',saturation:'',"transform-image":'',vibrance:'',vk:'',warmth:'',user:'',"vertical-align":'',visualblocks:'',visualchars:'',warning:'',"zoom-in":'',"zoom-out":''}}); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/license.md b/dsql-app/public/tinymce-public/license.md new file mode 100644 index 0000000..70454a6 --- /dev/null +++ b/dsql-app/public/tinymce-public/license.md @@ -0,0 +1,6 @@ +# Software License Agreement + +**TinyMCE** – [](https://github.com/tinymce/tinymce) +Copyright (c) 2024, Ephox Corporation DBA Tiny Technologies, Inc. + +Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). diff --git a/dsql-app/public/tinymce-public/models/dom/model.min.js b/dsql-app/public/tinymce-public/models/dom/model.min.js new file mode 100644 index 0000000..84c21db --- /dev/null +++ b/dsql-app/public/tinymce-public/models/dom/model.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.ModelManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var o,n,r,s})(t)===e,o=e=>t=>typeof t===e,n=e=>t=>e===t,r=t("string"),s=t("object"),l=t("array"),a=n(null),c=o("boolean"),i=n(void 0),m=e=>!(e=>null==e)(e),d=o("function"),u=o("number"),f=()=>{},g=e=>()=>e,h=e=>e,p=(e,t)=>e===t;function b(e,...t){return(...o)=>{const n=t.concat(o);return e.apply(null,n)}}const w=e=>t=>!e(t),v=e=>e(),y=g(!1),x=g(!0);class C{constructor(e,t){this.tag=e,this.value=t}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return m(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}C.singletonNone=new C(!1);const T=Array.prototype.slice,S=Array.prototype.indexOf,R=Array.prototype.push,D=(e,t)=>{return o=e,n=t,S.call(o,n)>-1;var o,n},O=(e,t)=>{for(let o=0,n=e.length;o{const o=[];for(let n=0;n{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;o{const o=[],n=[];for(let r=0,s=e.length;r{const o=[];for(let n=0,r=e.length;n(((e,t)=>{for(let o=e.length-1;o>=0;o--)t(e[o],o)})(e,((e,n)=>{o=t(o,e,n)})),o),A=(e,t,o)=>(N(e,((e,n)=>{o=t(o,e,n)})),o),L=(e,t)=>((e,t,o)=>{for(let n=0,r=e.length;n{for(let o=0,n=e.length;o{const t=[];for(let o=0,n=e.length;oM(E(e,t)),P=(e,t)=>{for(let o=0,n=e.length;o{const o={};for(let n=0,r=e.length;nt>=0&&tF(e,0),$=e=>F(e,e.length-1),V=(e,t)=>{for(let o=0;o{const o=q(e);for(let n=0,r=o.length;nY(e,((e,o)=>({k:o,v:t(e,o)}))),Y=(e,t)=>{const o={};return G(e,((e,n)=>{const r=t(e,n);o[r.k]=r.v})),o},J=(e,t)=>{const o=[];return G(e,((e,n)=>{o.push(t(e,n))})),o},Q=e=>J(e,h),X=(e,t)=>U.call(e,t),Z="undefined"!=typeof window?window:Function("return this;")(),ee=(e,t)=>((e,t)=>{let o=null!=t?t:Z;for(let t=0;t{const t=ee("ownerDocument.defaultView",e);return s(e)&&((e=>((e,t)=>{const o=((e,t)=>ee(e,t))(e,t);if(null==o)throw new Error(e+" not available on this browser");return o})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(te(e).constructor.name))},ne=e=>e.dom.nodeName.toLowerCase(),re=e=>e.dom.nodeType,se=e=>t=>re(t)===e,le=e=>8===re(e)||"#comment"===ne(e),ae=e=>ce(e)&&oe(e.dom),ce=se(1),ie=se(3),me=se(9),de=se(11),ue=e=>t=>ce(t)&&ne(t)===e,fe=(e,t,o)=>{if(!(r(o)||c(o)||u(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},ge=(e,t,o)=>{fe(e.dom,t,o)},he=(e,t)=>{const o=e.dom;G(t,((e,t)=>{fe(o,t,e)}))},pe=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},be=(e,t)=>C.from(pe(e,t)),we=(e,t)=>{e.dom.removeAttribute(t)},ve=e=>A(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),ye=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},xe={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return ye(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return ye(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return ye(o)},fromDom:ye,fromPoint:(e,t,o)=>C.from(e.dom.elementFromPoint(t,o)).map(ye)},Ce=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},Te=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Se=(e,t)=>{const o=void 0===t?document:t.dom;return Te(o)?C.none():C.from(o.querySelector(e)).map(xe.fromDom)},Re=(e,t)=>e.dom===t.dom,De=(e,t)=>{const o=e.dom,n=t.dom;return o!==n&&o.contains(n)},Oe=Ce,ke=e=>xe.fromDom(e.dom.ownerDocument),Ee=e=>me(e)?e:ke(e),Ne=e=>C.from(e.dom.parentNode).map(xe.fromDom),Be=e=>C.from(e.dom.parentElement).map(xe.fromDom),_e=(e,t)=>{const o=d(t)?t:y;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=xe.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r},ze=e=>C.from(e.dom.previousSibling).map(xe.fromDom),Ae=e=>C.from(e.dom.nextSibling).map(xe.fromDom),Le=e=>E(e.dom.childNodes,xe.fromDom),We=(e,t)=>{const o=e.dom.childNodes;return C.from(o[t]).map(xe.fromDom)},Me=(e,t)=>{Ne(e).each((o=>{o.dom.insertBefore(t.dom,e.dom)}))},je=(e,t)=>{Ae(e).fold((()=>{Ne(e).each((e=>{Ie(e,t)}))}),(e=>{Me(e,t)}))},Pe=(e,t)=>{const o=(e=>We(e,0))(e);o.fold((()=>{Ie(e,t)}),(o=>{e.dom.insertBefore(t.dom,o.dom)}))},Ie=(e,t)=>{e.dom.appendChild(t.dom)},Fe=(e,t)=>{Me(e,t),Ie(t,e)},He=(e,t)=>{N(t,((o,n)=>{const r=0===n?e:t[n-1];je(r,o)}))},$e=(e,t)=>{N(t,(t=>{Ie(e,t)}))},Ve=e=>{e.dom.textContent="",N(Le(e),(e=>{qe(e)}))},qe=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Ue=e=>{const t=Le(e);t.length>0&&He(e,t),qe(e)},Ge=(e,t)=>xe.fromDom(e.dom.cloneNode(t)),Ke=e=>Ge(e,!1),Ye=e=>Ge(e,!0),Je=(e,t)=>{const o=xe.fromTag(t),n=ve(e);return he(o,n),o},Qe=["tfoot","thead","tbody","colgroup"],Xe=(e,t,o)=>({element:e,rowspan:t,colspan:o}),Ze=(e,t,o)=>({element:e,cells:t,section:o}),et=(e,t,o)=>({element:e,isNew:t,isLocked:o}),tt=(e,t,o,n)=>({element:e,cells:t,section:o,isNew:n}),ot=e=>de(e)&&m(e.dom.host),nt=e=>xe.fromDom(e.dom.getRootNode()),rt=e=>xe.fromDom(e.dom.host),st=e=>{const t=ie(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=nt(e);return ot(t)?C.some(t):C.none()})(xe.fromDom(t)).fold((()=>o.body.contains(t)),(n=st,r=rt,e=>n(r(e))));var n,r},lt=e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return xe.fromDom(t)},at=(e,t)=>{let o=[];return N(Le(e),(e=>{t(e)&&(o=o.concat([e])),o=o.concat(at(e,t))})),o},ct=(e,t,o)=>((e,o,n)=>_(_e(e,n),(e=>Ce(e,t))))(e,0,o),it=(e,t)=>((e,o)=>_(Le(e),(e=>Ce(e,t))))(e),mt=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return Te(o)?[]:E(o.querySelectorAll(e),xe.fromDom)})(t,e);var dt=(e,t,o,n,r)=>e(o,n)?C.some(o):d(r)&&r(o)?C.none():t(o,n,r);const ut=(e,t,o)=>{let n=e.dom;const r=d(o)?o:y;for(;n.parentNode;){n=n.parentNode;const e=xe.fromDom(n);if(t(e))return C.some(e);if(r(e))break}return C.none()},ft=(e,t,o)=>dt(((e,t)=>t(e)),ut,e,t,o),gt=(e,t,o)=>ut(e,(e=>Ce(e,t)),o),ht=(e,t)=>((e,o)=>L(e.dom.childNodes,(e=>{return o=xe.fromDom(e),Ce(o,t);var o})).map(xe.fromDom))(e),pt=(e,t)=>Se(t,e),bt=(e,t,o)=>dt(((e,t)=>Ce(e,t)),gt,e,t,o),wt=(e,t,o=p)=>e.exists((e=>o(e,t))),vt=e=>{const t=[],o=e=>{t.push(e)};for(let t=0;te?C.some(t):C.none(),xt=(e,t,o)=>""===t||e.length>=t.length&&e.substr(o,o+t.length)===t,Ct=(e,t,o=0,n)=>{const r=e.indexOf(t,o);return-1!==r&&(!!i(n)||r+t.length<=n)},Tt=(e,t)=>xt(e,t,0),St=(e,t)=>xt(e,t,e.length-t.length),Rt=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),Dt=e=>e.length>0,Ot=e=>void 0!==e.style&&d(e.style.getPropertyValue),kt=(e,t,o)=>{if(!r(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);Ot(e)&&e.style.setProperty(t,o)},Et=(e,t,o)=>{const n=e.dom;kt(n,t,o)},Nt=(e,t)=>{const o=e.dom;G(t,((e,t)=>{kt(o,t,e)}))},Bt=(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||st(e)?n:_t(o,t)},_t=(e,t)=>Ot(e)?e.style.getPropertyValue(t):"",zt=(e,t)=>{const o=e.dom,n=_t(o,t);return C.from(n).filter((e=>e.length>0))},At=(e,t)=>{((e,t)=>{Ot(e)&&e.style.removeProperty(t)})(e.dom,t),wt(be(e,"style").map(Rt),"")&&we(e,"style")},Lt=(e,t,o=0)=>be(e,t).map((e=>parseInt(e,10))).getOr(o),Wt=(e,t)=>Lt(e,t,1),Mt=e=>ue("col")(e)?Lt(e,"span",1)>1:Wt(e,"colspan")>1,jt=(e,t)=>parseInt(Bt(e,t),10),Pt=g(10),It=g(10),Ft=(e,t)=>Ht(e,t,x),Ht=(e,t,o)=>j(Le(e),(e=>Ce(e,t)?o(e)?[e]:[]:Ht(e,t,o))),$t=(e,t)=>((e,t,o=y)=>o(t)?C.none():D(e,ne(t))?C.some(t):gt(t,e.join(","),(e=>Ce(e,"table")||o(e))))(["td","th"],e,t),Vt=e=>Ft(e,"th,td"),qt=e=>Ce(e,"colgroup")?it(e,"col"):j(Kt(e),(e=>it(e,"col"))),Ut=(e,t)=>bt(e,"table",t),Gt=e=>Ft(e,"tr"),Kt=e=>Ut(e).fold(g([]),(e=>it(e,"colgroup"))),Yt=(e,t)=>E(e,(e=>{if("colgroup"===ne(e)){const t=E(qt(e),(e=>{const t=Lt(e,"span",1);return Xe(e,1,t)}));return Ze(e,t,"colgroup")}{const o=E(Vt(e),(e=>{const t=Lt(e,"rowspan",1),o=Lt(e,"colspan",1);return Xe(e,t,o)}));return Ze(e,o,t(e))}})),Jt=e=>Ne(e).map((e=>{const t=ne(e);return(e=>D(Qe,e))(t)?t:"tbody"})).getOr("tbody"),Qt=e=>{const t=Gt(e),o=[...Kt(e),...t];return Yt(o,Jt)},Xt=e=>{let t,o=!1;return(...n)=>(o||(o=!0,t=e.apply(null,n)),t)},Zt=()=>eo(0,0),eo=(e,t)=>({major:e,minor:t}),to={nu:eo,detect:(e,t)=>{const o=String(t).toLowerCase();return 0===e.length?Zt():((e,t)=>{const o=((e,t)=>{for(let o=0;oNumber(t.replace(o,"$"+e));return eo(n(1),n(2))})(e,o)},unknown:Zt},oo=(e,t)=>{const o=String(t).toLowerCase();return L(e,(e=>e.search(o)))},no=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,ro=e=>t=>Ct(t,e),so=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Ct(e,"edge/")&&Ct(e,"chrome")&&Ct(e,"safari")&&Ct(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,no],search:e=>Ct(e,"chrome")&&!Ct(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Ct(e,"msie")||Ct(e,"trident")},{name:"Opera",versionRegexes:[no,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:ro("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:ro("firefox")},{name:"Safari",versionRegexes:[no,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Ct(e,"safari")||Ct(e,"mobile/"))&&Ct(e,"applewebkit")}],lo=[{name:"Windows",search:ro("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Ct(e,"iphone")||Ct(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:ro("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:ro("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:ro("linux"),versionRegexes:[]},{name:"Solaris",search:ro("sunos"),versionRegexes:[]},{name:"FreeBSD",search:ro("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:ro("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],ao={browsers:g(so),oses:g(lo)},co="Edge",io="Chromium",mo="Opera",uo="Firefox",fo="Safari",go=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isEdge:n(co),isChromium:n(io),isIE:n("IE"),isOpera:n(mo),isFirefox:n(uo),isSafari:n(fo)}},ho=()=>go({current:void 0,version:to.unknown()}),po=go,bo=(g(co),g(io),g("IE"),g(mo),g(uo),g(fo),"Windows"),wo="Android",vo="Linux",yo="macOS",xo="Solaris",Co="FreeBSD",To="ChromeOS",So=e=>{const t=e.current,o=e.version,n=e=>()=>t===e;return{current:t,version:o,isWindows:n(bo),isiOS:n("iOS"),isAndroid:n(wo),isMacOS:n(yo),isLinux:n(vo),isSolaris:n(xo),isFreeBSD:n(Co),isChromeOS:n(To)}},Ro=()=>So({current:void 0,version:to.unknown()}),Do=So,Oo=(g(bo),g("iOS"),g(wo),g(vo),g(yo),g(xo),g(Co),g(To),e=>window.matchMedia(e).matches);let ko=Xt((()=>((e,t,o)=>{const n=ao.browsers(),r=ao.oses(),s=t.bind((e=>((e,t)=>V(t.brands,(t=>{const o=t.brand.toLowerCase();return L(e,(e=>{var t;return o===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:to.nu(parseInt(t.version,10),0)})))})))(n,e))).orThunk((()=>((e,t)=>oo(e,t).map((e=>{const o=to.detect(e.versionRegexes,t);return{current:e.name,version:o}})))(n,e))).fold(ho,po),l=((e,t)=>oo(e,t).map((e=>{const o=to.detect(e.versionRegexes,t);return{current:e.name,version:o}})))(r,e).fold(Ro,Do),a=((e,t,o,n)=>{const r=e.isiOS()&&!0===/ipad/i.test(o),s=e.isiOS()&&!r,l=e.isiOS()||e.isAndroid(),a=l||n("(pointer:coarse)"),c=r||!s&&l&&n("(min-device-width:768px)"),i=s||l&&!c,m=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(o),d=!i&&!c&&!m;return{isiPad:g(r),isiPhone:g(s),isTablet:g(c),isPhone:g(i),isTouch:g(a),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:g(m),isDesktop:g(d)}})(l,s,e,o);return{browser:s,os:l,deviceType:a}})(window.navigator.userAgent,C.from(window.navigator.userAgentData),Oo)));const Eo=()=>ko(),No=(e,t)=>{const o=o=>{const n=t(o);if(n<=0||null===n){const t=Bt(o,e);return parseFloat(t)||0}return n},n=(e,t)=>A(t,((t,o)=>{const n=Bt(e,o),r=void 0===n?0:parseInt(n,10);return isNaN(r)?t:t+r}),0);return{set:(t,o)=>{if(!u(o)&&!o.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+o);const n=t.dom;Ot(n)&&(n.style[e]=o+"px")},get:o,getOuter:o,aggregate:n,max:(e,t,o)=>{const r=n(e,o);return t>r?t-r:0}}},Bo=(e,t,o)=>((e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?C.none():C.some(t)})(e).getOr(t))(Bt(e,t),o),_o=No("width",(e=>e.dom.offsetWidth)),zo=e=>_o.get(e),Ao=e=>_o.getOuter(e),Lo=e=>((e,t)=>{const o=e.dom,n=o.getBoundingClientRect().width||o.offsetWidth;return"border-box"===t?n:((e,t,o,n)=>t-Bo(e,`padding-${o}`,0)-Bo(e,`padding-${n}`,0)-Bo(e,`border-${o}-width`,0)-Bo(e,`border-${n}-width`,0))(e,n,"left","right")})(e,"content-box"),Wo=(e,t,o)=>{const n=e.cells,r=n.slice(0,t),s=n.slice(t),l=r.concat(o).concat(s);return Po(e,l)},Mo=(e,t,o)=>Wo(e,t,[o]),jo=(e,t,o)=>{e.cells[t]=o},Po=(e,t)=>tt(e.element,t,e.section,e.isNew),Io=(e,t)=>e.cells[t],Fo=(e,t)=>Io(e,t).element,Ho=e=>e.cells.length,$o=e=>{const t=B(e,(e=>"colgroup"===e.section));return{rows:t.fail,cols:t.pass}},Vo=(e,t,o)=>{const n=E(e.cells,o);return tt(t(e.element),n,e.section,!0)},qo="data-snooker-locked-cols",Uo=e=>be(e,qo).bind((e=>C.from(e.match(/\d+/g)))).map((e=>I(e,x))),Go=e=>{const t=A($o(e).rows,((e,t)=>(N(t.cells,((t,o)=>{t.isLocked&&(e[o]=!0)})),e)),{}),o=J(t,((e,t)=>parseInt(t,10)));return((e,t)=>{const o=T.call(e,0);return o.sort(void 0),o})(o)},Ko=(e,t)=>e+","+t,Yo=(e,t)=>{const o=j(e.all,(e=>e.cells));return _(o,t)},Jo=e=>{const t={},o=[],n=H(e).map((e=>e.element)).bind(Ut).bind(Uo).getOr({});let r=0,s=0,l=0;const{pass:a,fail:c}=B(e,(e=>"colgroup"===e.section));N(c,(e=>{const a=[];N(e.cells,(e=>{let o=0;for(;void 0!==t[Ko(l,o)];)o++;const r=((e,t)=>X(e,t)&&void 0!==e[t]&&null!==e[t])(n,o.toString()),c=((e,t,o,n,r,s)=>({element:e,rowspan:t,colspan:o,row:n,column:r,isLocked:s}))(e.element,e.rowspan,e.colspan,l,o,r);for(let n=0;n{const t=(e=>{const t={};let o=0;return N(e.cells,(e=>{const n=e.colspan;k(n,(r=>{const s=o+r;t[s]=((e,t,o)=>({element:e,colspan:t,column:o}))(e.element,n,s)})),o+=n})),t})(e),o=((e,t)=>({element:e,columns:t}))(e.element,Q(t));return{colgroups:[o],columns:t}})).getOrThunk((()=>({colgroups:[],columns:{}}))),d=((e,t)=>({rows:e,columns:t}))(r,s);return{grid:d,access:t,all:o,columns:i,colgroups:m}},Qo=e=>{const t=Qt(e);return Jo(t)},Xo=Jo,Zo=(e,t,o)=>C.from(e.access[Ko(t,o)]),en=(e,t,o)=>{const n=Yo(e,(e=>o(t,e.element)));return n.length>0?C.some(n[0]):C.none()},tn=Yo,on=e=>j(e.all,(e=>e.cells)),nn=e=>Q(e.columns),rn=e=>q(e.columns).length>0,sn=(e,t)=>C.from(e.columns[t]),ln=(e,t=x)=>{const o=e.grid,n=k(o.columns,h),r=k(o.rows,h);return E(n,(o=>an((()=>j(r,(t=>Zo(e,t,o).filter((e=>e.column===o)).toArray()))),(e=>1===e.colspan&&t(e.element)),(()=>Zo(e,0,o)))))},an=(e,t,o)=>{const n=e();return L(n,t).orThunk((()=>C.from(n[0]).orThunk(o))).map((e=>e.element))},cn=e=>{const t=e.grid,o=k(t.rows,h),n=k(t.columns,h);return E(o,(t=>an((()=>j(n,(o=>Zo(e,t,o).filter((e=>e.row===t)).fold(g([]),(e=>[e]))))),(e=>1===e.rowspan),(()=>Zo(e,t,0)))))},mn=(e,t)=>o=>"rtl"===dn(o)?t:e,dn=e=>"rtl"===Bt(e,"direction")?"rtl":"ltr",un=No("height",(e=>{const t=e.dom;return st(e)?t.getBoundingClientRect().height:t.offsetHeight})),fn=e=>un.get(e),gn=e=>un.getOuter(e),hn=(e,t)=>({left:e,top:t,translate:(o,n)=>hn(e+o,t+n)}),pn=hn,bn=(e,t)=>void 0!==e?e:void 0!==t?t:0,wn=e=>{const t=e.dom.ownerDocument,o=t.body,n=t.defaultView,r=t.documentElement;if(o===e.dom)return pn(o.offsetLeft,o.offsetTop);const s=bn(null==n?void 0:n.pageYOffset,r.scrollTop),l=bn(null==n?void 0:n.pageXOffset,r.scrollLeft),a=bn(r.clientTop,o.clientTop),c=bn(r.clientLeft,o.clientLeft);return vn(e).translate(l-c,s-a)},vn=e=>{const t=e.dom,o=t.ownerDocument.body;return o===t?pn(o.offsetLeft,o.offsetTop):st(e)?(e=>{const t=e.getBoundingClientRect();return pn(t.left,t.top)})(t):pn(0,0)},yn=(e,t)=>({row:e,y:t}),xn=(e,t)=>({col:e,x:t}),Cn=e=>wn(e).left+Ao(e),Tn=e=>wn(e).left,Sn=(e,t)=>xn(e,Tn(t)),Rn=(e,t)=>xn(e,Cn(t)),Dn=e=>wn(e).top,On=(e,t)=>yn(e,Dn(t)),kn=(e,t)=>yn(e,Dn(t)+gn(t)),En=(e,t,o)=>{if(0===o.length)return[];const n=E(o.slice(1),((t,o)=>t.map((t=>e(o,t))))),r=o[o.length-1].map((e=>t(o.length-1,e)));return n.concat([r])},Nn={delta:h,positions:e=>En(On,kn,e),edge:Dn},Bn=mn({delta:h,edge:Tn,positions:e=>En(Sn,Rn,e)},{delta:e=>-e,edge:Cn,positions:e=>En(Rn,Sn,e)}),_n={delta:(e,t)=>Bn(t).delta(e,t),positions:(e,t)=>Bn(t).positions(e,t),edge:e=>Bn(e).edge(e)},zn={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},An=(()=>{const e="[0-9]+",t="[eE][+-]?"+e,o=e=>`(?:${e})?`,n=["Infinity",e+"\\."+o(e)+o(t),"\\."+e+o(t),e+o(t)].join("|");return new RegExp(`^([+-]?(?:${n}))(.*)$`)})(),Ln=/(\d+(\.\d+)?)%/,Wn=/(\d+(\.\d+)?)px|em/,Mn=ue("col"),jn=ue("tr"),Pn=(e,t,o)=>{const n=Be(e).getOrThunk((()=>lt(ke(e))));return t(e)/o(n)*100},In=(e,t)=>{Et(e,"width",t+"px")},Fn=(e,t)=>{Et(e,"width",t+"%")},Hn=(e,t)=>{Et(e,"height",t+"px")},$n=e=>{const t=(e=>{return Bo(t=e,"height",t.dom.offsetHeight)+"px";var t})(e);return t?((e,t,o,n)=>{const r=parseFloat(e);return St(e,"%")&&"table"!==ne(t)?((e,t,o,n)=>{const r=Ut(e).map((e=>{const n=o(e);return Math.floor(t/100*n)})).getOr(t);return n(e,r),r})(t,r,o,n):r})(t,e,fn,Hn):fn(e)},Vn=(e,t)=>zt(e,t).orThunk((()=>be(e,t).map((e=>e+"px")))),qn=e=>Vn(e,"width"),Un=e=>Pn(e,zo,Lo),Gn=e=>{return Mn(e)?zo(e):Bo(t=e,"width",t.dom.offsetWidth);var t},Kn=e=>jn(e)?fn(e):((e,t,o)=>o(e)/Wt(e,"rowspan"))(e,0,$n),Yn=(e,t,o)=>{Et(e,"width",t+o)},Jn=e=>Pn(e,zo,Lo)+"%",Qn=g(Ln),Xn=ue("col"),Zn=e=>qn(e).getOrThunk((()=>Gn(e)+"px")),er=e=>{return(t=e,Vn(t,"height")).getOrThunk((()=>Kn(e)+"px"));var t},tr=(e,t,o,n,r,s)=>e.filter(n).fold((()=>s(((e,t)=>{if(t<0||t>=e.length-1)return C.none();const o=e[t].fold((()=>{const o=(e=>{const t=T.call(e,0);return t.reverse(),t})(e.slice(0,t));return V(o,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:0}))),n=e[t+1].fold((()=>{const o=e.slice(t+1);return V(o,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:1})));return o.bind((e=>n.map((t=>{const o=t.delta+e.delta;return Math.abs(t.value-e.value)/o}))))})(o,t))),(e=>r(e))),or=(e,t,o,n)=>{const r=ln(e),s=rn(e)?(e=>E(nn(e),(e=>C.from(e.element))))(e):r,l=[C.some(_n.edge(t))].concat(E(_n.positions(r,t),(e=>e.map((e=>e.x))))),a=w(Mt);return E(s,((e,t)=>tr(e,t,l,a,(e=>{if((e=>{const t=Eo().browser,o=t.isChromium()||t.isFirefox();return!Xn(e)||o})(e))return o(e);{const e=null!=(s=r[t])?h(s):C.none();return tr(e,t,l,a,(e=>n(C.some(zo(e)))),n)}var s}),n)))},nr=e=>e.map((e=>e+"px")).getOr(""),rr=(e,t,o)=>or(e,t,Gn,(e=>e.getOrThunk(o.minCellWidth))),sr=(e,t,o,n)=>{const r=cn(e),s=E(e.all,(e=>C.some(e.element))),l=[C.some(Nn.edge(t))].concat(E(Nn.positions(r,t),(e=>e.map((e=>e.y)))));return E(s,((e,t)=>tr(e,t,l,x,o,n)))},lr=(e,t)=>()=>st(e)?t(e):parseFloat(zt(e,"width").getOr("0")),ar=e=>{const t=lr(e,(e=>parseFloat(Jn(e)))),o=lr(e,zo);return{width:t,pixelWidth:o,getWidths:(t,o)=>((e,t,o)=>or(e,t,Un,(e=>e.fold((()=>o.minCellWidth()),(e=>e/o.pixelWidth()*100)))))(t,e,o),getCellDelta:e=>e/o()*100,singleColumnWidth:(e,t)=>[100-e],minCellWidth:()=>Pt()/o()*100,setElementWidth:Fn,adjustTableWidth:o=>{const n=t();Fn(e,n+o/100*n)},isRelative:!0,label:"percent"}},cr=e=>{const t=lr(e,zo);return{width:t,pixelWidth:t,getWidths:(t,o)=>rr(t,e,o),getCellDelta:h,singleColumnWidth:(e,t)=>[Math.max(Pt(),e+t)-e],minCellWidth:Pt,setElementWidth:In,adjustTableWidth:o=>{const n=t()+o;In(e,n)},isRelative:!1,label:"pixel"}},ir=e=>qn(e).fold((()=>(e=>{const t=lr(e,zo),o=g(0);return{width:t,pixelWidth:t,getWidths:(t,o)=>rr(t,e,o),getCellDelta:o,singleColumnWidth:g([0]),minCellWidth:o,setElementWidth:f,adjustTableWidth:f,isRelative:!0,label:"none"}})(e)),(t=>((e,t)=>null!==Qn().exec(t)?ar(e):cr(e))(e,t))),mr=cr,dr=ar,ur=(e,t,o)=>{const n=e[o].element,r=xe.fromTag("td");Ie(r,xe.fromTag("br")),(t?Ie:Pe)(n,r)},fr=((e,t)=>{const o=t=>e(t)?C.from(t.dom.nodeValue):C.none();return{get:t=>{if(!e(t))throw new Error("Can only get text value of a text node");return o(t).getOr("")},getOption:o,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(ie),gr=e=>fr.get(e),hr=e=>fr.getOption(e),pr=(e,t)=>fr.set(e,t),br=e=>"img"===ne(e)?1:hr(e).fold((()=>Le(e).length),(e=>e.length)),wr=["img","br"],vr=e=>hr(e).filter((e=>0!==e.trim().length||e.indexOf("\xa0")>-1)).isSome()||D(wr,ne(e))||(e=>ae(e)&&"false"===pe(e,"contenteditable"))(e),yr=e=>((e,t)=>{const o=e=>{for(let n=0;nCr(e,vr),Cr=(e,t)=>{const o=e=>{const n=Le(e);for(let e=n.length-1;e>=0;e--){const r=n[e];if(t(r))return C.some(r);const s=o(r);if(s.isSome())return s}return C.none()};return o(e)},Tr={scope:["row","col"]},Sr=e=>()=>{const t=xe.fromTag("td",e.dom);return Ie(t,xe.fromTag("br",e.dom)),t},Rr=e=>()=>xe.fromTag("col",e.dom),Dr=e=>()=>xe.fromTag("colgroup",e.dom),Or=e=>()=>xe.fromTag("tr",e.dom),kr=(e,t,o)=>{const n=((e,t)=>{const o=Je(e,t),n=Le(Ye(e));return $e(o,n),o})(e,t);return G(o,((e,t)=>{null===e?we(n,t):ge(n,t,e)})),n},Er=e=>e,Nr=(e,t,o)=>{const n=(e,t)=>{((e,t)=>{const o=e.dom,n=t.dom;Ot(o)&&Ot(n)&&(n.style.cssText=o.style.cssText)})(e.element,t),At(t,"height"),1!==e.colspan&&At(t,"width")};return{col:o=>{const r=xe.fromTag(ne(o.element),t.dom);return n(o,r),e(o.element,r),r},colgroup:Dr(t),row:Or(t),cell:r=>{const s=xe.fromTag(ne(r.element),t.dom),l=o.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),a=l.length>0?((e,t,o)=>yr(e).map((n=>{const r=o.join(","),s=ct(n,r,(t=>Re(t,e)));return z(s,((e,t)=>{const o=Ke(t);return Ie(e,o),o}),t)})).getOr(t))(r.element,s,l):s;return Ie(a,xe.fromTag("br")),n(r,s),((e,t)=>{G(Tr,((o,n)=>be(e,n).filter((e=>D(o,e))).each((e=>ge(t,n,e)))))})(r.element,s),e(r.element,s),s},replace:kr,colGap:Rr(t),gap:Sr(t)}},Br=e=>({col:Rr(e),colgroup:Dr(e),row:Or(e),cell:Sr(e),replace:Er,colGap:Rr(e),gap:Sr(e)}),_r=e=>t=>t.options.get(e),zr="100%",Ar=e=>{var t;const o=e.dom,n=null!==(t=o.getParent(e.selection.getStart(),o.isBlock))&&void 0!==t?t:e.getBody();return Lo(xe.fromDom(n))+"px"},Lr=e=>C.from(e.options.get("table_clone_elements")),Wr=_r("table_header_type"),Mr=_r("table_column_resizing"),jr=e=>"preservetable"===Mr(e),Pr=e=>"resizetable"===Mr(e),Ir=_r("table_sizing_mode"),Fr=e=>"relative"===Ir(e),Hr=e=>"fixed"===Ir(e),$r=e=>"responsive"===Ir(e),Vr=_r("table_resize_bars"),qr=_r("table_style_by_css"),Ur=_r("table_merge_content_on_paste"),Gr=e=>{const t=e.options,o=t.get("table_default_attributes");return t.isSet("table_default_attributes")?o:((e,t)=>$r(e)||qr(e)?t:Hr(e)?{...t,width:Ar(e)}:{...t,width:zr})(e,o)},Kr=_r("table_use_colgroups"),Yr=e=>bt(e,"[contenteditable]"),Jr=(e,t=!1)=>st(e)?e.dom.isContentEditable:Yr(e).fold(g(t),(e=>"true"===Qr(e))),Qr=e=>e.dom.contentEditable,Xr=e=>xe.fromDom(e.getBody()),Zr=e=>t=>Re(t,Xr(e)),es=e=>{we(e,"data-mce-style");const t=e=>we(e,"data-mce-style");N(Vt(e),t),N(qt(e),t),N(Gt(e),t)},ts=e=>xe.fromDom(e.selection.getStart()),os=e=>e.getBoundingClientRect().width,ns=e=>e.getBoundingClientRect().height,rs=e=>(t,o)=>{const n=t.dom.getStyle(o,e)||t.dom.getAttrib(o,e);return C.from(n).filter(Dt)},ss=rs("width"),ls=rs("height"),as=e=>ft(e,ue("table")).exists(Jr),cs=(e,t)=>{const o=t.column,n=t.column+t.colspan-1,r=t.row,s=t.row+t.rowspan-1;return o<=e.finishCol&&n>=e.startCol&&r<=e.finishRow&&s>=e.startRow},is=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,ms=(e,t,o)=>{const n=en(e,t,Re),r=en(e,o,Re);return n.bind((e=>r.map((t=>{return o=e,n=t,{startRow:Math.min(o.row,n.row),startCol:Math.min(o.column,n.column),finishRow:Math.max(o.row+o.rowspan-1,n.row+n.rowspan-1),finishCol:Math.max(o.column+o.colspan-1,n.column+n.colspan-1)};var o,n}))))},ds=(e,t,o)=>ms(e,t,o).map((t=>{const o=tn(e,b(cs,t));return E(o,(e=>e.element))})),us=(e,t)=>en(e,t,((e,t)=>De(t,e))).map((e=>e.element)),fs=(e,t,o)=>{const n=hs(e);return ds(n,t,o)},gs=(e,t,o,n,r)=>{const s=hs(e),l=Re(e,o)?C.some(t):us(s,t),a=Re(e,r)?C.some(n):us(s,n);return l.bind((e=>a.bind((t=>ds(s,e,t)))))},hs=Qo;var ps=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],bs=()=>({up:g({selector:gt,closest:bt,predicate:ut,all:_e}),down:g({selector:mt,predicate:at}),styles:g({get:Bt,getRaw:zt,set:Et,remove:At}),attrs:g({get:pe,set:ge,remove:we,copyTo:(e,t)=>{const o=ve(e);he(t,o)}}),insert:g({before:Me,after:je,afterAll:He,append:Ie,appendAll:$e,prepend:Pe,wrap:Fe}),remove:g({unwrap:Ue,remove:qe}),create:g({nu:xe.fromTag,clone:e=>xe.fromDom(e.dom.cloneNode(!1)),text:xe.fromText}),query:g({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:ze,nextSibling:Ae}),property:g({children:Le,name:ne,parent:Ne,document:e=>Ee(e).dom,isText:ie,isComment:le,isElement:ce,isSpecial:e=>{const t=ne(e);return D(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>ce(e)?be(e,"lang"):C.none(),getText:gr,setText:pr,isBoundary:e=>!!ce(e)&&("body"===ne(e)||D(ps,ne(e))),isEmptyTag:e=>!!ce(e)&&D(["br","img","hr","input"],ne(e)),isNonEditable:e=>ce(e)&&"false"===pe(e,"contenteditable")}),eq:Re,is:Oe});const ws=(e,t,o,n)=>{const r=t(e,o);return z(n,((o,n)=>{const r=t(e,n);return vs(e,o,r)}),r)},vs=(e,t,o)=>t.bind((t=>o.filter(b(e.eq,t)))),ys=bs(),xs=(e,t)=>((e,t,o)=>o.length>0?((e,t,o,n)=>n(e,t,o[0],o.slice(1)))(e,t,o,ws):C.none())(ys,((t,o)=>e(o)),t),Cs=e=>gt(e,"table"),Ts=(e,t,o)=>{const n=e=>t=>void 0!==o&&o(t)||Re(t,e);return Re(e,t)?C.some({boxes:C.some([e]),start:e,finish:t}):Cs(e).bind((r=>Cs(t).bind((s=>{if(Re(r,s))return C.some({boxes:fs(r,e,t),start:e,finish:t});if(De(r,s)){const o=ct(t,"td,th",n(r)),l=o.length>0?o[o.length-1]:t;return C.some({boxes:gs(r,e,r,t,s),start:e,finish:l})}if(De(s,r)){const o=ct(e,"td,th",n(s)),l=o.length>0?o[o.length-1]:e;return C.some({boxes:gs(s,e,r,t,s),start:e,finish:l})}return((e,t,o)=>((e,t,o,n=y)=>{const r=[t].concat(e.up().all(t)),s=[o].concat(e.up().all(o)),l=e=>W(e,n).fold((()=>e),(t=>e.slice(0,t+1))),a=l(r),c=l(s),i=L(a,(t=>O(c,((e,t)=>b(e.eq,t))(e,t))));return{firstpath:a,secondpath:c,shared:i}})(ys,e,t,void 0))(e,t).shared.bind((l=>bt(l,"table",o).bind((o=>{const l=ct(t,"td,th",n(o)),a=l.length>0?l[l.length-1]:t,c=ct(e,"td,th",n(o)),i=c.length>0?c[c.length-1]:e;return C.some({boxes:gs(o,e,r,t,s),start:i,finish:a})}))))}))))},Ss=(e,t)=>{const o=mt(e,t);return o.length>0?C.some(o):C.none()},Rs=(e,t,o)=>pt(e,t).bind((t=>pt(e,o).bind((e=>xs(Cs,[t,e]).map((o=>({first:t,last:e,table:o}))))))),Ds=(e,t,o,n,r)=>((e,t)=>L(e,(e=>Ce(e,t))))(e,r).bind((e=>((e,t,o)=>Ut(e).bind((n=>((e,t,o,n)=>en(e,t,Re).bind((t=>{const r=o>0?t.row+t.rowspan-1:t.row,s=n>0?t.column+t.colspan-1:t.column;return Zo(e,r+o,s+n).map((e=>e.element))})))(hs(n),e,t,o))))(e,t,o).bind((e=>((e,t)=>gt(e,"table").bind((o=>pt(o,t).bind((t=>Ts(t,e).bind((e=>e.boxes.map((t=>({boxes:t,start:e.start,finish:e.finish}))))))))))(e,n))))),Os=(e,t)=>Ss(e,t),ks=(e,t,o)=>Rs(e,t,o).bind((t=>{const o=t=>Re(e,t),n="thead,tfoot,tbody,table",r=gt(t.first,n,o),s=gt(t.last,n,o);return r.bind((e=>s.bind((o=>Re(e,o)?((e,t,o)=>((e,t,o)=>ms(e,t,o).bind((t=>((e,t)=>{let o=!0;const n=b(is,t);for(let r=t.startRow;r<=t.finishRow;r++)for(let s=t.startCol;s<=t.finishCol;s++)o=o&&Zo(e,r,s).exists(n);return o?C.some(t):C.none()})(e,t))))(hs(e),t,o))(t.table,t.first,t.last):C.none()))))})),Es=h,Ns=e=>{const t=(e,t)=>be(e,t).exists((e=>parseInt(e,10)>1));return e.length>0&&P(e,(e=>t(e,"rowspan")||t(e,"colspan")))?C.some(e):C.none()},Bs=(e,t,o)=>t.length<=1?C.none():ks(e,o.firstSelectedSelector,o.lastSelectedSelector).map((e=>({bounds:e,cells:t}))),_s="data-mce-selected",zs="data-mce-first-selected",As="data-mce-last-selected",Ls="["+_s+"]",Ws={selected:_s,selectedSelector:"td["+_s+"],th["+_s+"]",firstSelected:zs,firstSelectedSelector:"td["+zs+"],th["+zs+"]",lastSelected:As,lastSelectedSelector:"td["+As+"],th["+As+"]"},Ms=(e,t,o)=>({element:o,mergable:Bs(t,e,Ws),unmergable:Ns(e),selection:Es(e)}),js=e=>(t,o)=>{const n=ne(t),r="col"===n||"colgroup"===n?Ut(s=t).bind((e=>Os(e,Ws.firstSelectedSelector))).fold(g(s),(e=>e[0])):t;var s;return bt(r,e,o)},Ps=js("th,td,caption"),Is=js("th,td"),Fs=e=>{return t=e.model.table.getSelectedCells(),E(t,xe.fromDom);var t},Hs=(e,t)=>{e.on("BeforeGetContent",(t=>{const o=o=>{t.preventDefault(),(e=>Ut(e[0]).map((e=>{const t=((e,t)=>{const o=e=>Ce(e.element,t),n=Ye(e),r=Qt(n),s=ir(e),l=Xo(r),a=((e,t)=>{const o=e.grid.columns;let n=e.grid.rows,r=o,s=0,l=0;const a=[],c=[];return G(e.access,(e=>{if(a.push(e),t(e)){c.push(e);const t=e.row,o=t+e.rowspan-1,a=e.column,i=a+e.colspan-1;ts&&(s=o),al&&(l=i)}})),((e,t,o,n,r,s)=>({minRow:e,minCol:t,maxRow:o,maxCol:n,allCells:r,selectedCells:s}))(n,r,s,l,a,c)})(l,o),c="th:not("+t+"),td:not("+t+")",i=Ht(n,"th,td",(e=>Ce(e,c)));N(i,qe),((e,t,o,n)=>{const r=_(e,(e=>"colgroup"!==e.section)),s=t.grid.columns,l=t.grid.rows;for(let e=0;eo.maxRow||ao.maxCol||(Zo(t,e,a).filter(n).isNone()?ur(r,l,e):l=!0)}})(r,l,a,o);const m=((e,t,o,n)=>{if(0===n.minCol&&t.grid.columns===n.maxCol+1)return 0;const r=rr(t,e,o),s=A(r,((e,t)=>e+t),0),l=A(r.slice(n.minCol,n.maxCol+1),((e,t)=>e+t),0),a=l/s*o.pixelWidth()-o.pixelWidth();return o.getCellDelta(a)})(e,Qo(e),s,a);return((e,t,o,n)=>{G(o.columns,(e=>{(e.columnt.maxCol)&&qe(e.element)}));const r=_(Ft(e,"tr"),(e=>0===e.dom.childElementCount));N(r,qe),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||N(Ft(e,"th,td"),(e=>{we(e,"rowspan"),we(e,"colspan")})),we(e,qo),we(e,"data-snooker-col-series"),ir(e).adjustTableWidth(n)})(n,a,l,m),n})(e,Ls);return es(t),[t]})))(o).each((o=>{const n="text"===t.format?((e,t)=>{const o=e.getDoc(),n=nt(xe.fromDom(e.getBody())),r=xe.fromTag("div",o);ge(r,"data-mce-bogus","all"),Nt(r,{position:"fixed",left:"-9999999px",top:"0",overflow:"hidden",opacity:"0"});const s=(e=>ot(e)?e:xe.fromDom(Ee(e).dom.body))(n);$e(r,t),Ie(s,r);const l=r.dom.innerText;return qe(r),l})(e,o):((e,t)=>E(t,(t=>e.selection.serializer.serialize(t.dom,{}))).join(""))(e,o);t.content=n}))};if(!0===t.selection){const t=(e=>_(Fs(e),(e=>Ce(e,Ws.selectedSelector))))(e);t.length>=1&&o(t)}})),e.on("BeforeSetContent",(o=>{if(!0===o.selection&&!0===o.paste){const n=Fs(e);H(n).each((n=>{Ut(n).each((r=>{const s=_(((e,t)=>{const o=document.createElement("div");return o.innerHTML=e,Le(xe.fromDom(o))})(o.content),(e=>"meta"!==ne(e))),l=ue("table");if(Ur(e)&&1===s.length&&l(s[0])){o.preventDefault();const l=xe.fromDom(e.getDoc()),a=Br(l),c=((e,t,o)=>({element:e,clipboard:t,generators:o}))(n,s[0],a);t.pasteCells(r,c).each((()=>{e.focus()}))}}))}))}}))},$s=(e,t)=>({element:e,offset:t}),Vs=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind((t=>Vs(e,t,o).orThunk((()=>C.some(t))))):C.none(),qs=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,Us=(e,t)=>{const o=Vs(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return $s(o,qs(e,o));const n=e.property().children(o);return n.length>0?Us(e,n[n.length-1]):$s(o,qs(e,o))},Gs=Us,Ks=bs(),Ys=(e,t)=>{if(!Mt(e)){const o=(e=>qn(e).bind((e=>{return t=e,o=["fixed","relative","empty"],C.from(An.exec(t)).bind((e=>{const t=Number(e[1]),n=e[2];return((e,t)=>O(t,(t=>O(zn[t],(t=>e===t)))))(n,o)?C.some({value:t,unit:n}):C.none()}));var t,o})))(e);o.each((o=>{const n=o.value/2;Yn(e,n,o.unit),Yn(t,n,o.unit)}))}},Js=e=>E(e,g(0)),Qs=(e,t,o,n,r)=>r(e.slice(0,t)).concat(n).concat(r(e.slice(o))),Xs=e=>(t,o,n,r)=>{if(e(n)){const e=Math.max(r,t[o]-Math.abs(n)),s=Math.abs(e-t[o]);return n>=0?s:-s}return n},Zs=Xs((e=>e<0)),el=Xs(x),tl=()=>{const e=(e,t,o,n)=>{const r=(100+o)/100,s=Math.max(n,(e[t]+o)/r);return E(e,((e,o)=>(o===t?s:e/r)-e))},t=(t,o,n,r,s,l)=>l?e(t,o,r,s):((e,t,o,n,r)=>{const s=Zs(e,t,n,r);return Qs(e,t,o+1,[s,0],Js)})(t,o,n,r,s);return{resizeTable:(e,t)=>e(t),clampTableDelta:Zs,calcLeftEdgeDeltas:t,calcMiddleDeltas:(e,o,n,r,s,l,a)=>t(e,n,r,s,l,a),calcRightEdgeDeltas:(t,o,n,r,s,l)=>{if(l)return e(t,n,r,s);{const e=Zs(t,n,r,s);return Js(t.slice(0,n)).concat([e])}},calcRedestributedWidths:(e,t,o,n)=>{if(n){const n=(t+o)/t,r=E(e,(e=>e/n));return{delta:100*n-100,newSizes:r}}return{delta:o,newSizes:e}}}},ol=()=>{const e=(e,t,o,n,r)=>{const s=el(e,n>=0?o:t,n,r);return Qs(e,t,o+1,[s,-s],Js)};return{resizeTable:(e,t,o)=>{o&&e(t)},clampTableDelta:(e,t,o,n,r)=>{if(r){if(o>=0)return o;{const t=A(e,((e,t)=>e+t-n),0);return Math.max(-t,o)}}return Zs(e,t,o,n)},calcLeftEdgeDeltas:e,calcMiddleDeltas:(t,o,n,r,s,l)=>e(t,n,r,s,l),calcRightEdgeDeltas:(e,t,o,n,r,s)=>{if(s)return Js(e);{const t=n/e.length;return E(e,g(t))}},calcRedestributedWidths:(e,t,o,n)=>({delta:0,newSizes:e})}},nl=e=>Qo(e).grid,rl=ue("th"),sl=e=>P(e,(e=>rl(e.element))),ll=(e,t)=>e&&t?"sectionCells":e?"section":"cells",al=e=>{const t="thead"===e.section,o=wt(cl(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||o?{type:"header",subType:ll(t,o)}:{type:"body"}},cl=e=>{const t=_(e,(e=>rl(e.element)));return 0===t.length?C.some("td"):t.length===e.length?C.some("th"):C.none()},il=(e,t,o)=>et(o(e.element,t),!0,e.isLocked),ml=(e,t)=>e.section!==t?tt(e.element,e.cells,t,e.isNew):e,dl=()=>({transformRow:ml,transformCell:(e,t,o)=>{const n=o(e.element,t),r="td"!==ne(n)?((e,t)=>{const o=Je(e,"td");je(e,o);const n=Le(e);return $e(o,n),qe(e),o})(n):n;return et(r,e.isNew,e.isLocked)}}),ul=()=>({transformRow:ml,transformCell:il}),fl=()=>({transformRow:(e,t)=>ml(e,"thead"===t?"tbody":t),transformCell:il}),gl=dl,hl=ul,pl=fl,bl=()=>({transformRow:h,transformCell:il}),wl=(e,t,o,n)=>{o===n?we(e,t):ge(e,t,o)},vl=(e,t,o)=>{$(it(e,t)).fold((()=>Pe(e,o)),(e=>je(e,o)))},yl=(e,t)=>{const o=[],n=[],r=e=>E(e,(e=>{e.isNew&&o.push(e.element);const t=e.element;return Ve(t),N(e.cells,(e=>{e.isNew&&n.push(e.element),wl(e.element,"colspan",e.colspan,1),wl(e.element,"rowspan",e.rowspan,1),Ie(t,e.element)})),t})),s=e=>j(e,(e=>E(e.cells,(e=>(wl(e.element,"span",e.colspan,1),e.element))))),l=(t,o)=>{const n=((e,t)=>{const o=ht(e,t).getOrThunk((()=>{const o=xe.fromTag(t,ke(e).dom);return"thead"===t?vl(e,"caption,colgroup",o):"colgroup"===t?vl(e,"caption",o):Ie(e,o),o}));return Ve(o),o})(e,o),l=("colgroup"===o?s:r)(t);$e(n,l)},a=(t,o)=>{t.length>0?l(t,o):(t=>{ht(e,t).each(qe)})(o)},c=[],i=[],m=[],d=[];return N(t,(e=>{switch(e.section){case"thead":c.push(e);break;case"tbody":i.push(e);break;case"tfoot":m.push(e);break;case"colgroup":d.push(e)}})),a(d,"colgroup"),a(c,"thead"),a(i,"tbody"),a(m,"tfoot"),{newRows:o,newCells:n}},xl=(e,t)=>{if(0===e.length)return 0;const o=e[0];return W(e,(e=>!t(o.element,e.element))).getOr(e.length)},Cl=(e,t)=>{const o=E(e,(e=>E(e.cells,y)));return E(e,((n,r)=>{const s=j(n.cells,((n,s)=>{if(!1===o[r][s]){const m=((e,t,o,n)=>{const r=((e,t)=>e[t])(e,t),s="colgroup"===r.section,l=xl(r.cells.slice(o),n),a=s?1:xl(((e,t)=>E(e,(e=>Io(e,t))))(e.slice(t),o),n);return{colspan:l,rowspan:a}})(e,r,s,t);return((e,t,n,r)=>{for(let s=e;s({element:e,cells:t,section:o,isNew:n}))(n.element,s,n.section,n.isNew)}))},Tl=(e,t,o)=>{const n=[];N(e.colgroups,(r=>{const s=[];for(let n=0;net(e.element,o,!1))).getOrThunk((()=>et(t.colGap(),!0,!1)));s.push(r)}n.push(tt(r.element,s,"colgroup",o))}));for(let r=0;ret(e.element,o,e.isLocked))).getOrThunk((()=>et(t.gap(),!0,!1)));s.push(l)}const l=e.all[r],a=tt(l.element,s,l.section,o);n.push(a)}return n},Sl=e=>Cl(e,Re),Rl=(e,t)=>V(e.all,(e=>L(e.cells,(e=>Re(t,e.element))))),Dl=(e,t,o)=>{const n=E(t.selection,(t=>$t(t).bind((t=>Rl(e,t))).filter(o))),r=vt(n);return yt(r.length>0,r)},Ol=(e,t,o,n,r)=>(s,l,a,c)=>{const i=Qo(s),m=C.from(null==c?void 0:c.section).getOrThunk(bl);return t(i,l).map((t=>{const o=((e,t)=>Tl(e,t,!1))(i,a),n=e(o,t,Re,r(a),m),s=Go(n.grid);return{info:t,grid:Sl(n.grid),cursor:n.cursor,lockedColumns:s}})).bind((e=>{const t=yl(s,e.grid),r=C.from(null==c?void 0:c.sizing).getOrThunk((()=>ir(s))),l=C.from(null==c?void 0:c.resize).getOrThunk(ol);return o(s,e.grid,e.info,{sizing:r,resize:l,section:m}),n(s),we(s,qo),e.lockedColumns.length>0&&ge(s,qo,e.lockedColumns.join(",")),C.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})}))},kl=(e,t)=>Dl(e,t,x).map((e=>({cells:e,generators:t.generators,clipboard:t.clipboard}))),El=(e,t)=>Dl(e,t,x),Nl=(e,t)=>Dl(e,t,(e=>!e.isLocked)),Bl=(e,t)=>P(t,(t=>((e,t)=>Rl(e,t).exists((e=>!e.isLocked)))(e,t))),_l=(e,t,o,n)=>{const r=$o(e).rows;let s=!0;for(let e=0;e{const t=t=>t(e),o=g(e),n=()=>r,r={tag:!0,inner:e,fold:(t,o)=>o(e),isValue:x,isError:y,map:t=>Ll.value(t(e)),mapError:n,bind:t,exists:t,forall:t,getOr:o,or:n,getOrThunk:o,orThunk:n,getOrDie:o,each:t=>{t(e)},toOptional:()=>C.some(e)};return r},Al=e=>{const t=()=>o,o={tag:!1,inner:e,fold:(t,o)=>t(e),isValue:y,isError:x,map:t,mapError:t=>Ll.error(t(e)),bind:t,exists:y,forall:x,getOr:h,or:h,getOrThunk:v,orThunk:v,getOrDie:(n=String(e),()=>{throw new Error(n)}),each:f,toOptional:C.none};var n;return o},Ll={value:zl,error:Al,fromOption:(e,t)=>e.fold((()=>Al(t)),zl)},Wl=(e,t)=>({rowDelta:0,colDelta:Ho(e[0])-Ho(t[0])}),Ml=(e,t)=>({rowDelta:e.length-t.length,colDelta:0}),jl=(e,t,o,n)=>{const r="colgroup"===t.section?o.col:o.cell;return k(e,(e=>et(r(),!0,n(e))))},Pl=(e,t,o,n)=>{const r=e[e.length-1];return e.concat(k(t,(()=>{const e="colgroup"===r.section?o.colgroup:o.row,t=Vo(r,e,h),s=jl(t.cells.length,t,o,(e=>X(n,e.toString())));return Po(t,s)})))},Il=(e,t,o,n)=>E(e,(e=>{const r=jl(t,e,o,y);return Wo(e,n,r)})),Fl=(e,t,o)=>{const n=t.colDelta<0?Il:h,r=t.rowDelta<0?Pl:h,s=Go(e),l=Ho(e[0]),a=O(s,(e=>e===l-1)),c=n(e,Math.abs(t.colDelta),o,a?l-1:l),i=Go(c);return r(c,Math.abs(t.rowDelta),o,I(i,x))},Hl=(e,t,o,n)=>{const r=b(n,Io(e[t],o).element),s=e[t];return e.length>1&&Ho(s)>1&&(o>0&&r(Fo(s,o-1))||o0&&r(Fo(e[t-1],o))||t_(o,(o=>o>=e.column&&o<=Ho(t[0])+e.column)),Vl=(e,t,o,n,r)=>{((e,t,o,n)=>{t>0&&t{const r=e.cells[t-1];let s=0;const l=n();for(;e.cells.length>t+s&&o(r.element,e.cells[t+s].element);)jo(e,t+s,et(l,!0,e.cells[t+s].isLocked)),s++}))})(t,e,r,n.cell);const s=Ml(o,t),l=Fl(o,s,n),a=Ml(t,l),c=Fl(t,a,n);return E(c,((t,o)=>Wo(t,e,l[o].cells)))},ql=(e,t,o,n,r)=>{((e,t,o,n)=>{const r=$o(e).rows;if(t>0&&tA(e,((e,o)=>O(e,(e=>t(e.element,o.element)))?e:e.concat([o])),[]))(r[t-1].cells,o);N(e,(e=>{let s=C.none();for(let l=t;l{jo(a,t,et(e,!0,c.isLocked))})))}}))}})(t,e,r,n.cell);const s=Go(t),l=Wl(t,o),a={...l,colDelta:l.colDelta-s.length},c=Fl(t,a,n),{cols:i,rows:m}=$o(c),d=Go(c),u=Wl(o,t),f={...u,colDelta:u.colDelta+d.length},g=(p=n,b=d,E(o,(e=>A(b,((t,o)=>{const n=jl(1,e,p,x)[0];return Mo(t,o,n)}),e)))),h=Fl(g,f,n);var p,b;return[...i,...m.slice(0,e),...h,...m.slice(e,m.length)]},Ul=(e,t,o,n,r)=>{const{rows:s,cols:l}=$o(e),a=s.slice(0,t),c=s.slice(t);return[...l,...a,((e,t,o,n)=>Vo(e,(e=>n(e,o)),t))(s[o],((e,o)=>t>0&&tE(e,(e=>{const s=t>0&&t{if("colgroup"!==o&&n)return Io(e,t);{const t=Io(e,r);return et(l(t.element,s),!0,!1)}})(e,t,e.section,s,o,n,r);return Mo(e,t,l)})),Kl=(e,t,o,n)=>((e,t,o,n)=>void 0!==Fo(e[t],o)&&t>0&&n(Fo(e[t-1],o),Fo(e[t],o)))(e,t,o,n)||((e,t,o)=>t>0&&o(Fo(e,t-1),Fo(e,t)))(e[t],o,n),Yl=(e,t,o,n)=>{const r=e=>(e=>"row"===e?(e=>Wt(e,"rowspan")>1)(t):Mt(t))(e)?`${e}group`:e;return e?rl(t)?r(o):null:n&&rl(t)?r("row"===o?"col":"row"):null},Jl=(e,t,o)=>et(o(e.element,t),!0,e.isLocked),Ql=(e,t,o,n,r,s,l)=>E(e,((e,a)=>((e,c)=>{const i=e.cells,m=E(i,((e,c)=>{if((e=>O(t,(t=>o(e.element,t.element))))(e)){const t=l(e,a,c)?r(e,o,n):e;return s(t,a,c).each((e=>{var o,n;o=t.element,n={scope:C.from(e)},G(n,((e,t)=>{e.fold((()=>{we(o,t)}),(e=>{fe(o.dom,t,e)}))}))})),t}return e}));return tt(e.element,m,e.section,e.isNew)})(e))),Xl=(e,t,o)=>j(e,((n,r)=>Kl(e,r,t,o)?[]:[Io(n,t)])),Zl=(e,t,o,n,r)=>{const s=$o(e).rows,l=j(t,(e=>Xl(s,e,n))),a=E(s,(e=>sl(e.cells))),c=((e,t)=>P(t,h)&&sl(e)?x:(e,o,n)=>!("th"===ne(e.element)&&t[o]))(l,a),i=((e,t)=>(o,n)=>C.some(Yl(e,o.element,"row",t[n])))(o,a);return Ql(e,l,n,r,Jl,i,c)},ea=(e,t,o,n)=>{const r=$o(e).rows,s=E(t,(e=>Io(r[e.row],e.column)));return Ql(e,s,o,n,Jl,C.none,x)},ta=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],o={};return N(e,((n,r)=>{const s=q(n);if(1!==s.length)throw new Error("one and only one name per case");const a=s[0],c=n[a];if(void 0!==o[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(c))throw new Error("case arguments must be an array");t.push(a),o[a]=(...o)=>{const n=o.length;if(n!==c.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+c.length+" ("+c+"), got "+n);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[r].apply(null,o)},match:e=>{const n=q(e);if(t.length!==n.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+n.join(","));if(!P(t,(e=>D(n,e))))throw new Error("Not all branches were specified when using match. Specified: "+n.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,o)},log:e=>{console.log(e,{constructors:t,constructor:a,params:o})}}}})),o},oa={...ta([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},na=(e,t,o)=>{const n=((e,t)=>rn(e)?((e,t)=>{const o=nn(e);return E(o,((e,o)=>({element:e.element,width:t[o],colspan:e.colspan})))})(e,t):((e,t)=>{const o=on(e);return E(o,(e=>{const o=((e,t,o)=>{let n=0;for(let r=e;r{o.setElementWidth(e.element,e.width)}))},ra=(e,t,o,n,r)=>{const s=Qo(e),l=r.getCellDelta(t),a=r.getWidths(s,r),c=o===s.grid.columns-1,i=n.clampTableDelta(a,o,l,r.minCellWidth(),c),m=((e,t,o,n,r)=>{const s=e.slice(0),l=((e,t)=>0===e.length?oa.none():1===e.length?oa.only(0):0===t?oa.left(0,1):t===e.length-1?oa.right(t-1,t):t>0&&tn.singleColumnWidth(s[e],o)),((e,t)=>r.calcLeftEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative)),((e,t,l)=>r.calcMiddleDeltas(s,e,t,l,o,n.minCellWidth(),n.isRelative)),((e,t)=>r.calcRightEdgeDeltas(s,e,t,o,n.minCellWidth(),n.isRelative)))})(a,o,i,r,n),d=E(m,((e,t)=>e+a[t]));na(s,d,r),n.resizeTable(r.adjustTableWidth,i,c)},sa=(e,t,o)=>{const n=Qo(e),r=((e,t)=>sr(e,t,Kn,(e=>e.getOrThunk(It))))(n,e),s=E(r,((e,n)=>o===n?Math.max(t+e,It()):e)),l=((e,t)=>E(e.all,((e,o)=>({element:e.element,height:t[o]}))))(n,s);N(l,(e=>{Hn(e.element,e.height)})),N(on(n),(e=>{(e=>{At(e,"height")})(e.element)}));const a=z(s,((e,t)=>e+t),0);Hn(e,a)},la=e=>A(e,((e,t)=>O(e,(e=>e.column===t.column))?e:e.concat([t])),[]).sort(((e,t)=>e.column-t.column)),aa=ue("col"),ca=ue("colgroup"),ia=e=>"tr"===ne(e)||ca(e),ma=e=>({element:e,colspan:Lt(e,"colspan",1),rowspan:Lt(e,"rowspan",1)}),da=e=>be(e,"scope").map((e=>e.substr(0,3))),ua=(e,t=ma)=>{const o=o=>{if(ia(o))return ca((r={element:o}).element)?e.colgroup(r):e.row(r);{const r=o,s=(t=>aa(t.element)?e.col(t):e.cell(t))(t(r));return n=C.some({item:r,replacement:s}),s}var r};let n=C.none();return{getOrInit:(e,t)=>n.fold((()=>o(e)),(n=>t(e,n.item)?n.replacement:o(e)))}},fa=e=>t=>{const o=[],n=n=>{const r="td"===e?{scope:null}:{},s=t.replace(n,e,r);return o.push({item:n,sub:s}),s};return{replaceOrInit:(e,t)=>{if(ia(e)||aa(e))return e;{const r=e;return((e,t)=>L(o,(o=>t(o.item,e))))(r,t).fold((()=>n(r)),(o=>t(e,o.item)?o.sub:n(r)))}}}},ga=e=>({unmerge:t=>{const o=da(t);return o.each((e=>ge(t,"scope",e))),()=>{const n=e.cell({element:t,colspan:1,rowspan:1});return At(n,"width"),At(t,"width"),o.each((e=>ge(n,"scope",e))),n}},merge:e=>(At(e[0],"width"),(()=>{const t=vt(E(e,da));if(0===t.length)return C.none();{const e=t[0],o=["row","col"];return O(t,(t=>t!==e&&D(o,t)))?C.none():C.from(e)}})().fold((()=>we(e[0],"scope")),(t=>ge(e[0],"scope",t+"group"))),g(e[0]))}),ha=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],pa=bs(),ba=e=>((e,t)=>{const o=e.property().name(t);return D(ha,o)})(pa,e),wa=e=>((e,t)=>{const o=e.property().name(t);return D(["ol","ul"],o)})(pa,e),va=e=>{const t=ue("br"),o=e=>xr(e).bind((o=>{const n=Ae(o).map((e=>!!ba(e)||!!((e,t)=>D(["br","img","hr","input"],e.property().name(t)))(pa,e)&&"img"!==ne(e))).getOr(!1);return Ne(o).map((r=>{return!0===n||("li"===ne(s=r)||ut(s,wa).isSome())||t(o)||ba(r)&&!Re(e,r)?[]:[xe.fromTag("br")];var s}))})).getOr([]),n=(()=>{const n=j(e,(e=>{const n=Le(e);return(e=>P(e,(e=>t(e)||ie(e)&&0===gr(e).trim().length)))(n)?[]:n.concat(o(e))}));return 0===n.length?[xe.fromTag("br")]:n})();Ve(e[0]),$e(e[0],n)},ya=e=>Jr(e,!0),xa=e=>{0===Vt(e).length&&qe(e)},Ca=(e,t)=>({grid:e,cursor:t}),Ta=(e,t,o)=>{const n=((e,t,o)=>{var n,r;const s=$o(e).rows;return C.from(null===(r=null===(n=s[t])||void 0===n?void 0:n.cells[o])||void 0===r?void 0:r.element).filter(ya).orThunk((()=>(e=>V(e,(e=>V(e.cells,(e=>{const t=e.element;return yt(ya(t),t)})))))(s)))})(e,t,o);return Ca(e,n)},Sa=e=>A(e,((e,t)=>O(e,(e=>e.row===t.row))?e:e.concat([t])),[]).sort(((e,t)=>e.row-t.row)),Ra=(e,t)=>(o,n,r,s,l)=>{const a=Sa(n),c=E(a,(e=>e.row)),i=((e,t,o,n,r,s,l)=>{const{cols:a,rows:c}=$o(e),i=c[t[0]],m=j(t,(e=>((e,t,o)=>{const n=e[t];return j(n.cells,((n,r)=>Kl(e,t,r,o)?[]:[n]))})(c,e,r))),d=E(i.cells,((e,t)=>sl(Xl(c,t,r)))),u=[...c];N(t,(e=>{u[e]=l.transformRow(c[e],o)}));const f=[...a,...u],g=((e,t)=>P(t,h)&&sl(e.cells)?x:(e,o,n)=>!("th"===ne(e.element)&&t[n]))(i,d),p=((e,t)=>(o,n,r)=>C.some(Yl(e,o.element,"col",t[r])))(n,d);return Ql(f,m,r,s,l.transformCell,p,g)})(o,c,e,t,r,s.replaceOrInit,l);return Ta(i,n[0].row,n[0].column)},Da=Ra("thead",!0),Oa=Ra("tbody",!1),ka=Ra("tfoot",!1),Ea=(e,t,o)=>{const n=((e,t)=>Yt(e,(()=>t)))(e,o.section),r=Xo(n);return Tl(r,t,!0)},Na=(e,t,o,n)=>((e,t,o,n)=>{const r=Xo(t),s=n.getWidths(r,n);na(r,s,n)})(0,t,0,n.sizing),Ba=(e,t,o,n)=>((e,t,o,n,r)=>{const s=Xo(t),l=n.getWidths(s,n),a=n.pixelWidth(),{newSizes:c,delta:i}=r.calcRedestributedWidths(l,a,o.pixelDelta,n.isRelative);na(s,c,n),n.adjustTableWidth(i)})(0,t,o,n.sizing,n.resize),_a=(e,t)=>O(t,(e=>0===e.column&&e.isLocked)),za=(e,t)=>O(t,(t=>t.column+t.colspan>=e.grid.columns&&t.isLocked)),Aa=(e,t)=>{const o=ln(e),n=la(t);return A(n,((e,t)=>e+o[t.column].map(Ao).getOr(0)),0)},La=e=>(t,o)=>El(t,o).filter((o=>!(e?_a:za)(t,o))).map((e=>({details:e,pixelDelta:Aa(t,e)}))),Wa=e=>(t,o)=>kl(t,o).filter((o=>!(e?_a:za)(t,o.cells))),Ma=fa("th"),ja=fa("td"),Pa=Ol(((e,t,o,n)=>{const r=t[0].row,s=Sa(t),l=z(s,((e,t)=>({grid:Ul(e.grid,r,t.row+e.delta,o,n.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return Ta(l,r,t[0].column)}),El,f,f,ua),Ia=Ol(((e,t,o,n)=>{const r=Sa(t),s=r[r.length-1],l=s.row+s.rowspan,a=z(r,((e,t)=>Ul(e,l,t.row,o,n.getOrInit)),e);return Ta(a,l,t[0].column)}),El,f,f,ua),Fa=Ol(((e,t,o,n)=>{const r=t.details,s=la(r),l=s[0].column,a=z(s,((e,t)=>({grid:Gl(e.grid,l,t.column+e.delta,o,n.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return Ta(a,r[0].row,l)}),La(!0),Ba,f,ua),Ha=Ol(((e,t,o,n)=>{const r=t.details,s=r[r.length-1],l=s.column+s.colspan,a=la(r),c=z(a,((e,t)=>Gl(e,l,t.column,o,n.getOrInit)),e);return Ta(c,r[0].row,l)}),La(!1),Ba,f,ua),$a=Ol(((e,t,o,n)=>{const r=la(t.details),s=((e,t)=>j(e,(e=>{const o=e.cells,n=z(t,((e,t)=>t>=0&&t0?[tt(e.element,n,e.section,e.isNew)]:[]})))(e,E(r,(e=>e.column))),l=s.length>0?s[0].cells.length-1:0;return Ta(s,r[0].row,Math.min(r[0].column,l))}),((e,t)=>Nl(e,t).map((t=>({details:t,pixelDelta:-Aa(e,t)})))),Ba,xa,ua),Va=Ol(((e,t,o,n)=>{const r=Sa(t),s=((e,t,o)=>{const{rows:n,cols:r}=$o(e);return[...r,...n.slice(0,t),...n.slice(o+1)]})(e,r[0].row,r[r.length-1].row),l=Math.max($o(s).rows.length-1,0);return Ta(s,Math.min(t[0].row,l),t[0].column)}),El,f,xa,ua),qa=Ol(((e,t,o,n)=>{const r=la(t),s=E(r,(e=>e.column)),l=Zl(e,s,!0,o,n.replaceOrInit);return Ta(l,t[0].row,t[0].column)}),Nl,f,f,Ma),Ua=Ol(((e,t,o,n)=>{const r=la(t),s=E(r,(e=>e.column)),l=Zl(e,s,!1,o,n.replaceOrInit);return Ta(l,t[0].row,t[0].column)}),Nl,f,f,ja),Ga=Ol(Da,El,f,f,Ma),Ka=Ol(Oa,El,f,f,ja),Ya=Ol(ka,El,f,f,ja),Ja=Ol(((e,t,o,n)=>{const r=ea(e,t,o,n.replaceOrInit);return Ta(r,t[0].row,t[0].column)}),Nl,f,f,Ma),Qa=Ol(((e,t,o,n)=>{const r=ea(e,t,o,n.replaceOrInit);return Ta(r,t[0].row,t[0].column)}),Nl,f,f,ja),Xa=Ol(((e,t,o,n)=>{const r=t.cells;va(r);const s=((e,t,o,n)=>{const r=$o(e).rows;if(0===r.length)return e;for(let e=t.startRow;e<=t.finishRow;e++)for(let o=t.startCol;o<=t.finishCol;o++){const t=r[e],s=Io(t,o).isLocked;jo(t,o,et(n(),!1,s))}return e})(e,t.bounds,0,n.merge(r));return Ca(s,C.from(r[0]))}),((e,t)=>((e,t)=>t.mergable)(0,t).filter((t=>Bl(e,t.cells)))),Na,f,ga),Za=Ol(((e,t,o,n)=>{const r=z(t,((e,t)=>_l(e,t,o,n.unmerge(t))),e);return Ca(r,C.from(t[0]))}),((e,t)=>((e,t)=>t.unmergable)(0,t).filter((t=>Bl(e,t)))),Na,f,ga),ec=Ol(((e,t,o,n)=>{const r=((e,t)=>{const o=Qo(e);return Tl(o,t,!0)})(t.clipboard,t.generators);var s,l;return((e,t,o,n,r)=>{const s=Go(t),l=((e,t,o)=>{const n=Ho(t[0]),r=$o(t).cols.length+e.row,s=k(n-e.column,(t=>t+e.column));return{row:r,column:L(s,(e=>P(o,(t=>t!==e)))).getOr(n-1)}})(e,t,s),a=$o(o).rows,c=$l(l,a,s),i=((e,t,o)=>{if(e.row>=t.length||e.column>Ho(t[0]))return Ll.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);const n=t.slice(e.row),r=n[0].cells.slice(e.column),s=Ho(o[0]),l=o.length;return Ll.value({rowDelta:n.length-l,colDelta:r.length-s})})(l,t,a);return i.map((e=>{const o={...e,colDelta:e.colDelta-c.length},s=Fl(t,o,n),i=Go(s),m=$l(l,a,i);return((e,t,o,n,r,s)=>{const l=e.row,a=e.column,c=l+o.length,i=a+Ho(o[0])+s.length,m=I(s,x);for(let e=l;eCa(e,C.some(t.element))),(e=>Ta(e,t.row,t.column)))}),((e,t)=>$t(t.element).bind((o=>Rl(e,o).map((e=>({...e,generators:t.generators,clipboard:t.clipboard})))))),Na,f,ua),tc=Ol(((e,t,o,n)=>{const r=$o(e).rows,s=t.cells[0].column,l=r[t.cells[0].row],a=Ea(t.clipboard,t.generators,l),c=Vl(s,e,a,t.generators,o);return Ta(c,t.cells[0].row,t.cells[0].column)}),Wa(!0),f,f,ua),oc=Ol(((e,t,o,n)=>{const r=$o(e).rows,s=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,l=r[t.cells[0].row],a=Ea(t.clipboard,t.generators,l),c=Vl(s,e,a,t.generators,o);return Ta(c,t.cells[0].row,s)}),Wa(!1),f,f,ua),nc=Ol(((e,t,o,n)=>{const r=$o(e).rows,s=t.cells[0].row,l=r[s],a=Ea(t.clipboard,t.generators,l),c=ql(s,e,a,t.generators,o);return Ta(c,t.cells[0].row,t.cells[0].column)}),kl,f,f,ua),rc=Ol(((e,t,o,n)=>{const r=$o(e).rows,s=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,l=r[t.cells[0].row],a=Ea(t.clipboard,t.generators,l),c=ql(s,e,a,t.generators,o);return Ta(c,s,t.cells[0].column)}),kl,f,f,ua),sc=(e,t)=>{const o=Qo(e);return El(o,t).bind((e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=M(E(o.all,(e=>_(e.cells,(e=>e.column>=n&&e.column{const o=Qo(e);return El(o,t).bind(cl).getOr("")},ac=(e,t)=>{const o=Qo(e);return El(o,t).bind((e=>{const t=e[e.length-1],n=e[0].row,r=t.row+t.rowspan;return(e=>{const t=E(e,(e=>al(e).type)),o=D(t,"header"),n=D(t,"footer");if(o||n){const e=D(t,"body");return!o||e||n?o||e||!n?C.none():C.some("footer"):C.some("header")}return C.some("body")})(o.all.slice(n,r))})).getOr("")},cc=(e,t)=>e.dispatch("NewRow",{node:t}),ic=(e,t)=>e.dispatch("NewCell",{node:t}),mc=(e,t,o)=>{e.dispatch("TableModified",{...o,table:t})},dc={structure:!1,style:!0},uc={structure:!0,style:!1},fc={structure:!0,style:!0},gc=(e,t)=>Fr(e)?dr(t):Hr(e)?mr(t):ir(t),hc=(e,t,o)=>{const n=e=>"table"===ne(Xr(e)),r=Lr(e),s=Pr(e)?f:Ys,l=t=>{switch(Wr(e)){case"section":return gl();case"sectionCells":return hl();case"cells":return pl();default:return((e,t)=>{var o;switch((o=Qo(e),V(o.all,(e=>{const t=al(e);return"header"===t.type?C.from(t.subType):C.none()}))).getOr(t)){case"section":return dl();case"sectionCells":return ul();case"cells":return fl()}})(t,"section")}},a=(n,s,a,c)=>(i,m,d=!1)=>{es(i);const u=xe.fromDom(e.getDoc()),f=Nr(a,u,r),g={sizing:gc(e,i),resize:Pr(e)?tl():ol(),section:l(i)};return s(i)?n(i,m,f,g).bind((n=>{t.refresh(i.dom),N(n.newRows,(t=>{cc(e,t.dom)})),N(n.newCells,(t=>{ic(e,t.dom)}));const r=((t,n)=>n.cursor.fold((()=>{const n=Vt(t);return H(n).filter(st).map((n=>{o.clearSelectedCells(t.dom);const r=e.dom.createRng();return r.selectNode(n.dom),e.selection.setRng(r),ge(n,"data-mce-selected","1"),r}))}),(n=>{const r=Gs(Ks,n),s=e.dom.createRng();return s.setStart(r.element.dom,r.offset),s.setEnd(r.element.dom,r.offset),e.selection.setRng(s),o.clearSelectedCells(t.dom),C.some(s)})))(i,n);return st(i)&&(es(i),d||mc(e,i.dom,c)),r.map((e=>({rng:e,effect:c})))})):C.none()},c=a(Va,(t=>!n(e)||nl(t).rows>1),f,uc),i=a($a,(t=>!n(e)||nl(t).columns>1),f,uc);return{deleteRow:c,deleteColumn:i,insertRowsBefore:a(Pa,x,f,uc),insertRowsAfter:a(Ia,x,f,uc),insertColumnsBefore:a(Fa,x,s,uc),insertColumnsAfter:a(Ha,x,s,uc),mergeCells:a(Xa,x,f,uc),unmergeCells:a(Za,x,f,uc),pasteColsBefore:a(tc,x,f,uc),pasteColsAfter:a(oc,x,f,uc),pasteRowsBefore:a(nc,x,f,uc),pasteRowsAfter:a(rc,x,f,uc),pasteCells:a(ec,x,f,fc),makeCellsHeader:a(Ja,x,f,uc),unmakeCellsHeader:a(Qa,x,f,uc),makeColumnsHeader:a(qa,x,f,uc),unmakeColumnsHeader:a(Ua,x,f,uc),makeRowsHeader:a(Ga,x,f,uc),makeRowsBody:a(Ka,x,f,uc),makeRowsFooter:a(Ya,x,f,uc),getTableRowType:ac,getTableCellType:lc,getTableColType:sc}},pc=(e,t,o)=>{const n=Lt(e,t,1);1===o||n<=1?we(e,t):ge(e,t,Math.min(o,n))},bc=(e,t)=>o=>{const n=o.column+o.colspan-1,r=o.column;return n>=e&&r{const n=o.substring(0,o.length-e.length),r=parseFloat(n);return n===r.toString()?t(r):wc.invalid(o)},yc={...wc,from:e=>St(e,"%")?vc("%",wc.percent,e):St(e,"px")?vc("px",wc.pixels,e):wc.invalid(e)},xc=(e,t,o)=>{const n=yc.from(o),r=P(e,(e=>"0px"===e))?((e,t)=>{const o=e.fold((()=>g("")),(e=>g(e/t+"px")),(()=>g(100/t+"%")));return k(t,o)})(n,e.length):((e,t,o)=>e.fold((()=>t),(e=>((e,t,o)=>{const n=o/t;return E(e,(e=>yc.from(e).fold((()=>e),(e=>e*n+"px"),(e=>e/100*o+"px"))))})(t,o,e)),(e=>((e,t)=>E(e,(e=>yc.from(e).fold((()=>e),(e=>e/t*100+"%"),(e=>e+"%")))))(t,o))))(n,e,t);return Sc(r)},Cc=(e,t)=>0===e.length?t:z(e,((e,t)=>yc.from(t).fold(g(0),h,h)+e),0),Tc=(e,t)=>yc.from(e).fold(g(e),(e=>e+t+"px"),(e=>e+t+"%")),Sc=e=>{if(0===e.length)return e;const t=z(e,((e,t)=>{const o=yc.from(t).fold((()=>({value:t,remainder:0})),(e=>((e,t)=>{const o=Math.floor(e);return{value:o+"px",remainder:e-o}})(e)),(e=>({value:e+"%",remainder:0})));return{output:[o.value].concat(e.output),remainder:e.remainder+o.remainder}}),{output:[],remainder:0}),o=t.output;return o.slice(0,o.length-1).concat([Tc(o[o.length-1],Math.round(t.remainder))])},Rc=yc.from,Dc=(e,t,o)=>{const n=Qo(e),r=n.all,s=on(n),l=nn(n);t.each((t=>{const o=Rc(t).fold(g("px"),g("px"),g("%")),r=zo(e),a=((e,t)=>or(e,t,Zn,nr))(n,e),c=xc(a,r,t);rn(n)?((e,t,o)=>{N(t,((t,n)=>{const r=Cc([e[n]],Pt());Et(t.element,"width",r+o)}))})(c,l,o):((e,t,o)=>{N(t,(t=>{const n=e.slice(t.column,t.colspan+t.column),r=Cc(n,Pt());Et(t.element,"width",r+o)}))})(c,s,o),Et(e,"width",t)})),o.each((t=>{const o=fn(e),l=((e,t)=>sr(e,t,er,nr))(n,e);((e,t,o)=>{N(o,(e=>{At(e.element,"height")})),N(t,((t,o)=>{Et(t.element,"height",e[o])}))})(xc(l,o,t),r,s),Et(e,"height",t)}))},Oc=e=>qn(e).exists((e=>Ln.test(e))),kc=e=>qn(e).exists((e=>Wn.test(e))),Ec=e=>qn(e).isNone(),Nc=e=>{we(e,"width"),we(e,"height")},Bc=e=>{const t=Jn(e);Dc(e,C.some(t),C.none()),Nc(e)},_c=e=>{const t=(e=>zo(e)+"px")(e);Dc(e,C.some(t),C.none()),Nc(e)},zc=e=>{At(e,"width");const t=qt(e),o=t.length>0?t:Vt(e);N(o,(e=>{At(e,"width"),Nc(e)})),Nc(e)},Ac={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},Lc=(e,t,o,n)=>k(e,(e=>((e,t,o,n)=>{const r=xe.fromTag("tr");for(let s=0;s{e.selection.select(t.dom,!0),e.selection.collapse(!0)},Mc=(e,t,o,n,s)=>{const l=(e=>{const t=e.options,o=t.get("table_default_styles");return t.isSet("table_default_styles")?o:((e,t)=>$r(e)||!qr(e)?t:Hr(e)?{...t,width:Ar(e)}:{...t,width:zr})(e,o)})(e),a={styles:l,attributes:Gr(e),colGroups:Kr(e)};return e.undoManager.ignore((()=>{const r=((e,t,o,n,r,s=Ac)=>{const l=xe.fromTag("table"),a="cells"!==r;Nt(l,s.styles),he(l,s.attributes),s.colGroups&&Ie(l,(e=>{const t=xe.fromTag("colgroup");return k(e,(()=>Ie(t,xe.fromTag("col")))),t})(t));const c=Math.min(e,o);if(a&&o>0){const e=xe.fromTag("thead");Ie(l,e);const s=Lc(o,t,"sectionCells"===r?c:0,n);$e(e,s)}const i=xe.fromTag("tbody");Ie(l,i);const m=Lc(a?e-c:e,t,a?0:o,n);return $e(i,m),l})(o,t,s,n,Wr(e),a);ge(r,"data-mce-id","__mce");const l=(e=>{const t=xe.fromTag("div"),o=xe.fromDom(e.dom.cloneNode(!0));return Ie(t,o),(e=>e.dom.innerHTML)(t)})(r);e.insertContent(l),e.addVisual()})),pt(Xr(e),'table[data-mce-id="__mce"]').map((t=>(Hr(e)?_c(t):$r(e)?zc(t):(Fr(e)||(e=>r(e)&&-1!==e.indexOf("%"))(l.width))&&Bc(t),es(t),we(t,"data-mce-id"),((e,t)=>{N(mt(t,"tr"),(t=>{cc(e,t.dom),N(mt(t,"th,td"),(t=>{ic(e,t.dom)}))}))})(e,t),((e,t)=>{pt(t,"td,th").each(b(Wc,e))})(e,t),t.dom))).getOrNull()};var jc=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Pc="x-tinymce/dom-table-",Ic=Pc+"rows",Fc=Pc+"columns",Hc=e=>{const t=jc.FakeClipboardItem(e);jc.write([t])},$c=e=>{var t;const o=null!==(t=jc.read())&&void 0!==t?t:[];return V(o,(t=>C.from(t.getType(e))))},Vc=e=>{$c(e).isSome()&&jc.clear()},qc=e=>{e.fold(Gc,(e=>Hc({[Ic]:e})))},Uc=()=>$c(Ic),Gc=()=>Vc(Ic),Kc=e=>{e.fold(Jc,(e=>Hc({[Fc]:e})))},Yc=()=>$c(Fc),Jc=()=>Vc(Fc),Qc=e=>Ps(ts(e),Zr(e)).filter(as),Xc=(e,t)=>{const o=Zr(e),n=e=>Ut(e,o),l=t=>(e=>Is(ts(e),Zr(e)).filter(as))(e).bind((e=>n(e).map((o=>t(o,e))))),a=t=>{e.focus()},c=(t,o=!1)=>l(((n,r)=>{const s=Ms(Fs(e),n,r);t(n,s,o).each(a)})),i=()=>l(((t,o)=>((e,t,o)=>{const n=Qo(e);return El(n,t).bind((e=>{const t=Tl(n,o,!1),r=$o(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),s=j(r,(e=>{const t=_(e.cells,(e=>!e.isLocked));return t.length>0?[{...e,cells:t}]:[]})),l=Sl(s);return yt(l.length>0,l)})).map((e=>E(e,(e=>{const t=Ke(e.element);return N(e.cells,(e=>{const o=Ye(e.element);wl(o,"colspan",e.colspan,1),wl(o,"rowspan",e.rowspan,1),Ie(t,o)})),t}))))})(t,Ms(Fs(e),t,o),Nr(f,xe.fromDom(e.getDoc()),C.none())))),m=()=>l(((t,o)=>((e,t)=>{const o=Qo(e);return Nl(o,t).map((e=>{const t=e[e.length-1],n=e[0].column,r=t.column+t.colspan,s=((e,t,o)=>{if(rn(e)){const n=_(nn(e),bc(t,o)),r=E(n,(e=>{const n=Ye(e.element);return pc(n,"span",o-t),n})),s=xe.fromTag("colgroup");return $e(s,r),[s]}return[]})(o,n,r),l=((e,t,o)=>E(e.all,(e=>{const n=_(e.cells,bc(t,o)),r=E(n,(e=>{const n=Ye(e.element);return pc(n,"colspan",o-t),n})),s=xe.fromTag("tr");return $e(s,r),s})))(o,n,r);return[...s,...l]}))})(t,Ms(Fs(e),t,o)))),d=(t,o)=>o().each((o=>{const n=E(o,(e=>Ye(e)));l(((o,r)=>{const s=Br(xe.fromDom(e.getDoc())),l=((e,t,o,n)=>({selection:Es(e),clipboard:o,generators:n}))(Fs(e),0,n,s);t(o,l).each(a)}))})),g=e=>(t,o)=>((e,t)=>X(e,t)?C.from(e[t]):C.none())(o,"type").each((t=>{c(e(t),o.no_events)}));G({mceTableSplitCells:()=>c(t.unmergeCells),mceTableMergeCells:()=>c(t.mergeCells),mceTableInsertRowBefore:()=>c(t.insertRowsBefore),mceTableInsertRowAfter:()=>c(t.insertRowsAfter),mceTableInsertColBefore:()=>c(t.insertColumnsBefore),mceTableInsertColAfter:()=>c(t.insertColumnsAfter),mceTableDeleteCol:()=>c(t.deleteColumn),mceTableDeleteRow:()=>c(t.deleteRow),mceTableCutCol:()=>m().each((e=>{Kc(e),c(t.deleteColumn)})),mceTableCutRow:()=>i().each((e=>{qc(e),c(t.deleteRow)})),mceTableCopyCol:()=>m().each((e=>Kc(e))),mceTableCopyRow:()=>i().each((e=>qc(e))),mceTablePasteColBefore:()=>d(t.pasteColsBefore,Yc),mceTablePasteColAfter:()=>d(t.pasteColsAfter,Yc),mceTablePasteRowBefore:()=>d(t.pasteRowsBefore,Uc),mceTablePasteRowAfter:()=>d(t.pasteRowsAfter,Uc),mceTableDelete:()=>Qc(e).each((t=>{Ut(t,o).filter(w(o)).each((t=>{const o=xe.fromText("");if(je(t,o),qe(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{const t=e.dom.createRng();t.setStart(o.dom,0),t.setEnd(o.dom,0),e.selection.setRng(t),e.nodeChanged()}}))})),mceTableCellToggleClass:(t,o)=>{l((t=>{const n=Fs(e),r=P(n,(t=>e.formatter.match("tablecellclass",{value:o},t.dom))),s=r?e.formatter.remove:e.formatter.apply;N(n,(e=>s("tablecellclass",{value:o},e.dom))),mc(e,t.dom,dc)}))},mceTableToggleClass:(t,o)=>{l((t=>{e.formatter.toggle("tableclass",{value:o},t.dom),mc(e,t.dom,dc)}))},mceTableToggleCaption:()=>{Qc(e).each((t=>{Ut(t,o).each((o=>{ht(o,"caption").fold((()=>{const t=xe.fromTag("caption");Ie(t,xe.fromText("Caption")),((e,t,o)=>{We(e,0).fold((()=>{Ie(e,t)}),(e=>{Me(e,t)}))})(o,t),e.selection.setCursorLocation(t.dom,0)}),(n=>{ue("caption")(t)&&Se("td",o).each((t=>e.selection.setCursorLocation(t.dom,0))),qe(n)})),mc(e,o.dom,uc)}))}))},mceTableSizingMode:(t,n)=>(t=>Qc(e).each((n=>{$r(e)||Hr(e)||Fr(e)||Ut(n,o).each((o=>{"relative"!==t||Oc(o)?"fixed"!==t||kc(o)?"responsive"!==t||Ec(o)||zc(o):_c(o):Bc(o),es(o),mc(e,o.dom,uc)}))})))(n),mceTableCellType:g((e=>"th"===e?t.makeCellsHeader:t.unmakeCellsHeader)),mceTableColType:g((e=>"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader)),mceTableRowType:g((e=>{switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}}))},((t,o)=>e.addCommand(o,t))),e.addCommand("mceInsertTable",((t,o)=>{((e,t,o,n={})=>{const r=e=>u(e)&&e>0;if(r(t)&&r(o)){const r=n.headerRows||0,s=n.headerColumns||0;return Mc(e,o,t,s,r)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(e,o.rows,o.columns,o.options)})),e.addCommand("mceTableApplyCellStyle",((t,o)=>{const l=e=>"tablecell"+e.toLowerCase().replace("-","");if(!s(o))return;const a=_(Fs(e),as);if(0===a.length)return;const c=((e,t)=>{const o={};return((e,t,o,n)=>{G(e,((e,r)=>{(t(e,r)?o:n)(e,r)}))})(e,t,(e=>(t,o)=>{e[o]=t})(o),f),o})(o,((t,o)=>e.formatter.has(l(o))&&r(t)));(e=>{for(const t in e)if(U.call(e,t))return!1;return!0})(c)||(G(c,((t,o)=>{const n=l(o);N(a,(o=>{""===t?e.formatter.remove(n,{value:null},o.dom,!0):e.formatter.apply(n,{value:t},o.dom)}))})),n(a[0]).each((t=>mc(e,t.dom,dc))))}))},Zc=ta([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),ei={before:Zc.before,on:Zc.on,after:Zc.after,cata:(e,t,o,n)=>e.fold(t,o,n),getStart:e=>e.fold(h,h,h)},ti=(e,t)=>({selection:e,kill:t}),oi=(e,t)=>{const o=e.document.createRange();return o.selectNode(t.dom),o},ni=(e,t)=>{const o=e.document.createRange();return ri(o,t),o},ri=(e,t)=>e.selectNodeContents(t.dom),si=(e,t,o)=>{const n=e.document.createRange();var r;return r=n,t.fold((e=>{r.setStartBefore(e.dom)}),((e,t)=>{r.setStart(e.dom,t)}),(e=>{r.setStartAfter(e.dom)})),((e,t)=>{t.fold((t=>{e.setEndBefore(t.dom)}),((t,o)=>{e.setEnd(t.dom,o)}),(t=>{e.setEndAfter(t.dom)}))})(n,o),n},li=(e,t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},ai=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),ci=ta([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),ii=(e,t,o)=>t(xe.fromDom(o.startContainer),o.startOffset,xe.fromDom(o.endContainer),o.endOffset),mi=(e,t)=>{const o=((e,t)=>t.match({domRange:e=>({ltr:g(e),rtl:C.none}),relative:(t,o)=>({ltr:Xt((()=>si(e,t,o))),rtl:Xt((()=>C.some(si(e,o,t))))}),exact:(t,o,n,r)=>({ltr:Xt((()=>li(e,t,o,n,r))),rtl:Xt((()=>C.some(li(e,n,r,t,o))))})}))(e,t);return((e,t)=>{const o=t.ltr();return o.collapsed?t.rtl().filter((e=>!1===e.collapsed)).map((e=>ci.rtl(xe.fromDom(e.endContainer),e.endOffset,xe.fromDom(e.startContainer),e.startOffset))).getOrThunk((()=>ii(0,ci.ltr,o))):ii(0,ci.ltr,o)})(0,o)},di=(e,t)=>mi(e,t).match({ltr:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(t.dom,o),s.setEnd(n.dom,r),s},rtl:(t,o,n,r)=>{const s=e.document.createRange();return s.setStart(n.dom,r),s.setEnd(t.dom,o),s}});ci.ltr,ci.rtl;const ui=(e,t,o,n)=>({start:e,soffset:t,finish:o,foffset:n}),fi=(e,t,o,n)=>({start:ei.on(e,t),finish:ei.on(o,n)}),gi=(e,t)=>{const o=di(e,t);return ui(xe.fromDom(o.startContainer),o.startOffset,xe.fromDom(o.endContainer),o.endOffset)},hi=fi,pi=(e,t,o,n,r)=>Re(o,n)?C.none():Ts(o,n,t).bind((t=>{const n=t.boxes.getOr([]);return n.length>1?(r(e,n,t.start,t.finish),C.some(ti(C.some(hi(o,0,o,br(o))),!0))):C.none()})),bi=(e,t)=>({item:e,mode:t}),wi=(e,t,o,n=vi)=>e.property().parent(t).map((e=>bi(e,n))),vi=(e,t,o,n=yi)=>o.sibling(e,t).map((e=>bi(e,n))),yi=(e,t,o,n=yi)=>{const r=e.property().children(t);return o.first(r).map((e=>bi(e,n)))},xi=[{current:wi,next:vi,fallback:C.none()},{current:vi,next:yi,fallback:C.some(wi)},{current:yi,next:yi,fallback:C.some(vi)}],Ci=(e,t,o,n,r=xi)=>L(r,(e=>e.current===o)).bind((o=>o.current(e,t,n,o.next).orThunk((()=>o.fallback.bind((o=>Ci(e,t,o,n))))))),Ti=(e,t,o,n,r,s)=>Ci(e,t,n,r).bind((t=>s(t.item)?C.none():o(t.item)?C.some(t.item):Ti(e,t.item,o,t.mode,r,s))),Si=e=>t=>0===e.property().children(t).length,Ri=(e,t,o,n)=>Ti(e,t,o,vi,{sibling:(e,t)=>e.query().prevSibling(t),first:e=>e.length>0?C.some(e[e.length-1]):C.none()},n),Di=(e,t,o,n)=>Ti(e,t,o,vi,{sibling:(e,t)=>e.query().nextSibling(t),first:e=>e.length>0?C.some(e[0]):C.none()},n),Oi=bs(),ki=(e,t)=>((e,t,o)=>Ri(e,t,Si(e),o))(Oi,e,t),Ei=(e,t)=>((e,t,o)=>Di(e,t,Si(e),o))(Oi,e,t),Ni=ta([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),Bi=e=>bt(e,"tr"),_i={...Ni,verify:(e,t,o,n,r,s,l)=>bt(n,"td,th",l).bind((o=>bt(t,"td,th",l).map((t=>Re(o,t)?Re(n,o)&&br(o)===r?s(t):Ni.none("in same cell"):xs(Bi,[o,t]).fold((()=>((e,t,o)=>{const n=e.getRect(t),r=e.getRect(o);return r.right>n.left&&r.lefts(t))))))).getOr(Ni.none("default")),cata:(e,t,o,n,r)=>e.fold(t,o,n,r)},zi=ue("br"),Ai=(e,t,o)=>t(e,o).bind((e=>ie(e)&&0===gr(e).trim().length?Ai(e,t,o):C.some(e))),Li=(e,t,o,n)=>((e,t)=>We(e,t).filter(zi).orThunk((()=>We(e,t-1).filter(zi))))(t,o).bind((t=>n.traverse(t).fold((()=>Ai(t,n.gather,e).map(n.relative)),(e=>(e=>Ne(e).bind((t=>{const o=Le(t);return((e,t)=>W(e,b(Re,t)))(o,e).map((n=>((e,t,o,n)=>({parent:e,children:t,element:o,index:n}))(t,o,e,n)))})))(e).map((e=>ei.on(e.parent,e.index))))))),Wi=(e,t)=>({left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}),Mi=(e,t)=>({left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}),ji=(e,t,o)=>({left:e.left+t,top:e.top+o,right:e.right+t,bottom:e.bottom+o}),Pi=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom}),Ii=(e,t)=>C.some(e.getRect(t)),Fi=(e,t,o)=>ce(t)?Ii(e,t).map(Pi):ie(t)?((e,t,o)=>o>=0&&o0?e.getRangedRect(t,o-1,t,o):C.none())(e,t,o).map(Pi):C.none(),Hi=(e,t)=>ce(t)?Ii(e,t).map(Pi):ie(t)?e.getRangedRect(t,0,t,br(t)).map(Pi):C.none(),$i=ta([{none:[]},{retry:["caret"]}]),Vi=(e,t,o)=>ft(t,ba).fold(y,(t=>Hi(e,t).exists((e=>((e,t)=>e.leftt.right)(o,e))))),qi={point:e=>e.bottom,adjuster:(e,t,o,n,r)=>{const s=Wi(r,5);return Math.abs(o.bottom-n.bottom)<1||o.top>r.bottom?$i.retry(s):o.top===r.bottom?$i.retry(Wi(r,1)):Vi(e,t,r)?$i.retry(ji(s,5,0)):$i.none()},move:Wi,gather:Ei},Ui=(e,t,o,n,r)=>0===r?C.some(n):((e,t,o)=>e.elementFromPoint(t,o).filter((e=>"table"===ne(e))).isSome())(e,n.left,t.point(n))?((e,t,o,n,r)=>Ui(e,t,o,t.move(n,5),r))(e,t,o,n,r-1):e.situsFromPoint(n.left,t.point(n)).bind((s=>s.start.fold(C.none,(s=>Hi(e,s).bind((l=>t.adjuster(e,s,l,o,n).fold(C.none,(n=>Ui(e,t,o,n,r-1))))).orThunk((()=>C.some(n)))),C.none))),Gi=(e,t,o)=>{const n=e.move(o,5),r=Ui(t,e,o,n,100).getOr(n);return((e,t,o)=>e.point(t)>o.getInnerHeight()?C.some(e.point(t)-o.getInnerHeight()):e.point(t)<0?C.some(-e.point(t)):C.none())(e,r,t).fold((()=>t.situsFromPoint(r.left,e.point(r))),(o=>(t.scrollBy(0,o),t.situsFromPoint(r.left,e.point(r)-o))))},Ki={tryUp:b(Gi,{point:e=>e.top,adjuster:(e,t,o,n,r)=>{const s=Mi(r,5);return Math.abs(o.top-n.top)<1||o.bottome.getSelection().bind((n=>((e,t,o,n)=>{const r=zi(t)?((e,t,o)=>o.traverse(t).orThunk((()=>Ai(t,o.gather,e))).map(o.relative))(e,t,n):Li(e,t,o,n);return r.map((e=>({start:e,finish:e})))})(t,n.finish,n.foffset,o).fold((()=>C.some($s(n.finish,n.foffset))),(r=>{const s=e.fromSitus(r);return l=_i.verify(e,n.finish,n.foffset,s.finish,s.foffset,o.failure,t),_i.cata(l,(e=>C.none()),(()=>C.none()),(e=>C.some($s(e,0))),(e=>C.some($s(e,br(e)))));var l})))),Ji=(e,t,o,n,r,s)=>0===s?C.none():Zi(e,t,o,n,r).bind((l=>{const a=e.fromSitus(l),c=_i.verify(e,o,n,a.finish,a.foffset,r.failure,t);return _i.cata(c,(()=>C.none()),(()=>C.some(l)),(l=>Re(o,l)&&0===n?Qi(e,o,n,Mi,r):Ji(e,t,l,0,r,s-1)),(l=>Re(o,l)&&n===br(l)?Qi(e,o,n,Wi,r):Ji(e,t,l,br(l),r,s-1)))})),Qi=(e,t,o,n,r)=>Fi(e,t,o).bind((t=>Xi(e,r,n(t,Ki.getJumpSize())))),Xi=(e,t,o)=>{const n=Eo().browser;return n.isChromium()||n.isSafari()||n.isFirefox()?t.retry(e,o):C.none()},Zi=(e,t,o,n,r)=>Fi(e,o,n).bind((t=>Xi(e,r,t))),em=(e,t,o,n,r)=>bt(n,"td,th",t).bind((n=>bt(n,"table",t).bind((s=>((e,t)=>ut(e,(e=>Ne(e).exists((e=>Re(e,t)))),void 0).isSome())(r,s)?((e,t,o)=>Yi(e,t,o).bind((n=>Ji(e,t,n.element,n.offset,o,20).map(e.fromSitus))))(e,t,o).bind((e=>bt(e.finish,"td,th",t).map((t=>({start:n,finish:t,range:e}))))):C.none())))),tm=(e,t,o,n,r,s)=>s(n,t).orThunk((()=>em(e,t,o,n,r).map((e=>{const t=e.range;return ti(C.some(hi(t.start,t.soffset,t.finish,t.foffset)),!0)})))),om=(e,t)=>bt(e,"tr",t).bind((e=>bt(e,"table",t).bind((o=>{const n=mt(o,"tr");return Re(e,n[0])?((e,t,o)=>Ri(Oi,e,(e=>xr(e).isSome()),o))(o,0,t).map((e=>{const t=br(e);return ti(C.some(hi(e,t,e,t)),!0)})):C.none()})))),nm=(e,t)=>bt(e,"tr",t).bind((e=>bt(e,"table",t).bind((o=>{const n=mt(o,"tr");return Re(e,n[n.length-1])?((e,t,o)=>Di(Oi,e,(e=>yr(e).isSome()),o))(o,0,t).map((e=>ti(C.some(hi(e,0,e,0)),!0))):C.none()})))),rm=(e,t,o,n,r,s,l)=>em(e,o,n,r,s).bind((e=>pi(t,o,e.start,e.finish,l))),sm=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},lm=()=>{const e=(e=>{const t=sm(C.none()),o=()=>t.get().each(e);return{clear:()=>{o(),t.set(C.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{o(),t.set(C.some(e))}}})(f);return{...e,on:t=>e.get().each(t)}},am=(e,t)=>bt(e,"td,th",t),cm=e=>Be(e).exists(Jr),im={traverse:Ae,gather:Ei,relative:ei.before,retry:Ki.tryDown,failure:_i.failedDown},mm={traverse:ze,gather:ki,relative:ei.before,retry:Ki.tryUp,failure:_i.failedUp},dm=e=>t=>t===e,um=dm(38),fm=dm(40),gm=e=>e>=37&&e<=40,hm={isBackward:dm(37),isForward:dm(39)},pm={isBackward:dm(39),isForward:dm(37)},bm=ta([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),wm={domRange:bm.domRange,relative:bm.relative,exact:bm.exact,exactFromRange:e=>bm.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>xe.fromDom(e.startContainer),relative:(e,t)=>ei.getStart(e),exact:(e,t,o,n)=>e}))(e);return xe.fromDom(Ee(t).dom.defaultView)},range:ui},vm=(e,t)=>{const o=ne(e);return"input"===o?ei.after(e):D(["br","img"],o)?0===t?ei.before(e):ei.after(e):ei.on(e,t)},ym=e=>C.from(e.getSelection()),xm=(e,t)=>{ym(e).each((e=>{e.removeAllRanges(),e.addRange(t)}))},Cm=(e,t,o,n,r)=>{const s=li(e,t,o,n,r);xm(e,s)},Tm=(e,t)=>mi(e,t).match({ltr:(t,o,n,r)=>{Cm(e,t,o,n,r)},rtl:(t,o,n,r)=>{ym(e).each((s=>{if(s.setBaseAndExtent)s.setBaseAndExtent(t.dom,o,n.dom,r);else if(s.extend)try{((e,t,o,n,r,s)=>{t.collapse(o.dom,n),t.extend(r.dom,s)})(0,s,t,o,n,r)}catch(s){Cm(e,n,r,t,o)}else Cm(e,n,r,t,o)}))}}),Sm=(e,t,o,n,r)=>{const s=((e,t,o,n)=>{const r=vm(e,t),s=vm(o,n);return wm.relative(r,s)})(t,o,n,r);Tm(e,s)},Rm=(e,t,o)=>{const n=((e,t)=>{const o=e.fold(ei.before,vm,ei.after),n=t.fold(ei.before,vm,ei.after);return wm.relative(o,n)})(t,o);Tm(e,n)},Dm=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),o=e.getRangeAt(e.rangeCount-1);return C.some(ui(xe.fromDom(t.startContainer),t.startOffset,xe.fromDom(o.endContainer),o.endOffset))}return C.none()},Om=e=>{if(null===e.anchorNode||null===e.focusNode)return Dm(e);{const t=xe.fromDom(e.anchorNode),o=xe.fromDom(e.focusNode);return((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=ke(e).dom.createRange();return r.setStart(e.dom,t),r.setEnd(o.dom,n),r})(e,t,o,n),s=Re(e,o)&&t===n;return r.collapsed&&!s})(t,e.anchorOffset,o,e.focusOffset)?C.some(ui(t,e.anchorOffset,o,e.focusOffset)):Dm(e)}},km=(e,t,o=!0)=>{const n=(o?ni:oi)(e,t);xm(e,n)},Em=e=>(e=>ym(e).filter((e=>e.rangeCount>0)).bind(Om))(e).map((e=>wm.exact(e.start,e.soffset,e.finish,e.foffset))),Nm=(e,t,o)=>((e,t,o)=>((e,t,o)=>e.caretPositionFromPoint?((e,t,o)=>{var n;return C.from(null===(n=e.caretPositionFromPoint)||void 0===n?void 0:n.call(e,t,o)).bind((t=>{if(null===t.offsetNode)return C.none();const o=e.createRange();return o.setStart(t.offsetNode,t.offset),o.collapse(),C.some(o)}))})(e,t,o):e.caretRangeFromPoint?((e,t,o)=>{var n;return C.from(null===(n=e.caretRangeFromPoint)||void 0===n?void 0:n.call(e,t,o))})(e,t,o):C.none())(e.document,t,o).map((e=>ui(xe.fromDom(e.startContainer),e.startOffset,xe.fromDom(e.endContainer),e.endOffset))))(e,t,o),Bm=e=>({elementFromPoint:(t,o)=>xe.fromPoint(xe.fromDom(e.document),t,o),getRect:e=>e.dom.getBoundingClientRect(),getRangedRect:(t,o,n,r)=>{const s=wm.exact(t,o,n,r);return((e,t)=>(e=>{const t=e.getClientRects(),o=t.length>0?t[0]:e.getBoundingClientRect();return o.width>0||o.height>0?C.some(o).map(ai):C.none()})(di(e,t)))(e,s)},getSelection:()=>Em(e).map((t=>gi(e,t))),fromSitus:t=>{const o=wm.relative(t.start,t.finish);return gi(e,o)},situsFromPoint:(t,o)=>Nm(e,t,o).map((e=>fi(e.start,e.soffset,e.finish,e.foffset))),clearSelection:()=>{(e=>{ym(e).each((e=>e.removeAllRanges()))})(e)},collapseSelection:(t=!1)=>{Em(e).each((o=>o.fold((e=>e.collapse(t)),((o,n)=>{const r=t?o:n;Rm(e,r,r)}),((o,n,r,s)=>{const l=t?o:r,a=t?n:s;Sm(e,l,a,l,a)}))))},setSelection:t=>{Sm(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:(t,o)=>{Rm(e,t,o)},selectNode:t=>{km(e,t,!1)},selectContents:t=>{km(e,t)},getInnerHeight:()=>e.innerHeight,getScrollY:()=>(e=>{const t=void 0!==e?e.dom:document,o=t.body.scrollLeft||t.documentElement.scrollLeft,n=t.body.scrollTop||t.documentElement.scrollTop;return pn(o,n)})(xe.fromDom(e.document)).top,scrollBy:(t,o)=>{((e,t,o)=>{const n=(void 0!==o?o.dom:document).defaultView;n&&n.scrollBy(e,t)})(t,o,xe.fromDom(e.document))}}),_m=(e,t)=>({rows:e,cols:t}),zm=e=>ft(e,ae).exists(Jr),Am=(e,t)=>zm(e)||zm(t),Lm=e=>void 0!==e.dom.classList,Wm=(e,t)=>((e,t,o)=>{const n=((e,t)=>{const o=pe(e,t);return void 0===o||""===o?[]:o.split(" ")})(e,t).concat([o]);return ge(e,t,n.join(" ")),!0})(e,"class",t),Mm=(e,t)=>{Lm(e)?e.dom.classList.add(t):Wm(e,t)},jm=(e,t)=>Lm(e)&&e.dom.classList.contains(t),Pm=()=>({tag:"none"}),Im=e=>({tag:"multiple",elements:e}),Fm=e=>({tag:"single",element:e}),Hm=e=>{const t=xe.fromDom((e=>{if(m(e.target)){const t=xe.fromDom(e.target);if(ce(t)&&m(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return H(t)}}return C.from(e.target)})(e).getOr(e.target)),o=()=>e.stopPropagation(),n=()=>e.preventDefault(),r=(s=n,l=o,(...e)=>s(l.apply(null,e)));var s,l;return((e,t,o,n,r,s,l)=>({target:e,x:t,y:o,stop:n,prevent:r,kill:s,raw:l}))(t,e.clientX,e.clientY,o,n,r,e)},$m=(e,t,o,n)=>{e.dom.removeEventListener(t,o,n)},Vm=x,qm=(e,t,o)=>((e,t,o,n)=>((e,t,o,n,r)=>{const s=((e,t)=>o=>{e(o)&&t(Hm(o))})(o,n);return e.dom.addEventListener(t,s,r),{unbind:b($m,e,t,s,r)}})(e,t,o,n,!1))(e,t,Vm,o),Um=Hm,Gm=e=>!jm(xe.fromDom(e.target),"ephox-snooker-resizer-bar"),Km=(e,t)=>{const o=(r=Ws.selectedSelector,{get:()=>Os(xe.fromDom(e.getBody()),r).fold((()=>Is(ts(e),Zr(e)).fold(Pm,Fm)),Im)}),n=((e,t,o)=>{const n=t=>{we(t,e.selected),we(t,e.firstSelected),we(t,e.lastSelected)},r=t=>{ge(t,e.selected,"1")},s=e=>{l(e),o()},l=t=>{const o=mt(t,`${e.selectedSelector},${e.firstSelectedSelector},${e.lastSelectedSelector}`);N(o,n)};return{clearBeforeUpdate:l,clear:s,selectRange:(o,n,l,a)=>{s(o),N(n,r),ge(l,e.firstSelected,"1"),ge(a,e.lastSelected,"1"),t(n,l,a)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}})(Ws,((t,o,n)=>{Ut(o).each((r=>{const s=E(t,(e=>e.dom)),l=Lr(e),a=Nr(f,xe.fromDom(e.getDoc()),l),c=((e,t,o)=>{const n=Qo(e);return El(n,t).map((e=>{const t=Tl(n,o,!1),{rows:r}=$o(t),s=((e,t)=>{const o=e.slice(0,t[t.length-1].row+1),n=Sl(o);return j(n,(e=>{const o=e.cells.slice(0,t[t.length-1].column+1);return E(o,(e=>e.element))}))})(r,e),l=((e,t)=>{const o=e.slice(t[0].row+t[0].rowspan-1,e.length),n=Sl(o);return j(n,(e=>{const o=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return E(o,(e=>e.element))}))})(r,e);return{upOrLeftCells:s,downOrRightCells:l}}))})(r,{selection:Fs(e)},a).map((e=>K(e,(e=>E(e,(e=>e.dom)))))).getOrUndefined();((e,t,o,n,r)=>{e.dispatch("TableSelectionChange",{cells:t,start:o,finish:n,otherCells:r})})(e,s,o.dom,n.dom,c)}))}),(()=>(e=>{e.dispatch("TableSelectionClear")})(e)));var r;return e.on("init",(o=>{const r=e.getWin(),s=Xr(e),l=Zr(e),a=((e,t,o,n)=>{const r=((e,t,o,n)=>{const r=lm(),s=r.clear,l=s=>{r.on((r=>{n.clearBeforeUpdate(t),am(s.target,o).each((l=>{Ts(r,l,o).each((o=>{const r=o.boxes.getOr([]);if(1===r.length){const e=r[0],o="false"===Qr(e),l=wt(Yr(s.target),e,Re);o&&l&&n.selectRange(t,r,e,e)}else r.length>1&&(n.selectRange(t,r,o.start,o.finish),e.selectContents(l))}))}))}))};return{clearstate:s,mousedown:e=>{n.clear(t),am(e.target,o).filter(cm).each(r.set)},mouseover:e=>{l(e)},mouseup:e=>{l(e),s()}}})(Bm(e),t,o,n);return{clearstate:r.clearstate,mousedown:r.mousedown,mouseover:r.mouseover,mouseup:r.mouseup}})(r,s,l,n),c=((e,t,o,n)=>{const r=Bm(e),s=()=>(n.clear(t),C.none());return{keydown:(e,l,a,c,i,m)=>{const d=e.raw,u=d.which,f=!0===d.shiftKey,g=Ss(t,n.selectedSelector).fold((()=>(gm(u)&&!f&&n.clearBeforeUpdate(t),gm(u)&&f&&!Am(l,c)?C.none:fm(u)&&f?b(rm,r,t,o,im,c,l,n.selectRange):um(u)&&f?b(rm,r,t,o,mm,c,l,n.selectRange):fm(u)?b(tm,r,o,im,c,l,nm):um(u)?b(tm,r,o,mm,c,l,om):C.none)),(e=>{const o=o=>()=>{const s=V(o,(o=>((e,t,o,n,r)=>Ds(n,e,t,r.firstSelectedSelector,r.lastSelectedSelector).map((e=>(r.clearBeforeUpdate(o),r.selectRange(o,e.boxes,e.start,e.finish),e.boxes))))(o.rows,o.cols,t,e,n)));return s.fold((()=>Rs(t,n.firstSelectedSelector,n.lastSelectedSelector).map((e=>{const o=fm(u)||m.isForward(u)?ei.after:ei.before;return r.setRelativeSelection(ei.on(e.first,0),o(e.table)),n.clear(t),ti(C.none(),!0)}))),(e=>C.some(ti(C.none(),!0))))};return gm(u)&&f&&!Am(l,c)?C.none:fm(u)&&f?o([_m(1,0)]):um(u)&&f?o([_m(-1,0)]):m.isBackward(u)&&f?o([_m(0,-1),_m(-1,0)]):m.isForward(u)&&f?o([_m(0,1),_m(1,0)]):gm(u)&&!f?s:C.none}));return g()},keyup:(e,r,s,l,a)=>Ss(t,n.selectedSelector).fold((()=>{const c=e.raw,i=c.which;return!0===c.shiftKey&&gm(i)&&Am(r,l)?((e,t,o,n,r,s,l)=>Re(o,r)&&n===s?C.none():bt(o,"td,th",t).bind((o=>bt(r,"td,th",t).bind((n=>pi(e,t,o,n,l))))))(t,o,r,s,l,a,n.selectRange):C.none()}),C.none)}})(r,s,l,n),i=((e,t,o,n)=>{const r=Bm(e);return(e,s)=>{n.clearBeforeUpdate(t),Ts(e,s,o).each((e=>{const o=e.boxes.getOr([]);n.selectRange(t,o,e.start,e.finish),r.selectContents(s),r.collapseSelection()}))}})(r,s,l,n);e.on("TableSelectorChange",(e=>i(e.start,e.finish)));const m=(t,o)=>{(e=>!0===e.raw.shiftKey)(t)&&(o.kill&&t.kill(),o.selection.each((t=>{const o=wm.relative(t.start,t.finish),n=di(r,o);e.selection.setRng(n)})))},d=e=>0===e.button,u=(()=>{const e=sm(xe.fromDom(s)),t=sm(0);return{touchEnd:o=>{const n=xe.fromDom(o.target);if(ue("td")(n)||ue("th")(n)){const r=e.get(),s=t.get();Re(r,n)&&o.timeStamp-s<300&&(o.preventDefault(),i(n,n))}e.set(n),t.set(o.timeStamp)}}})();e.on("dragstart",(e=>{a.clearstate()})),e.on("mousedown",(e=>{d(e)&&Gm(e)&&a.mousedown(Um(e))})),e.on("mouseover",(e=>{var t;void 0!==(t=e).buttons&&0==(1&t.buttons)||!Gm(e)||a.mouseover(Um(e))})),e.on("mouseup",(e=>{d(e)&&Gm(e)&&a.mouseup(Um(e))})),e.on("touchend",u.touchEnd),e.on("keyup",(t=>{const o=Um(t);if(o.raw.shiftKey&&gm(o.raw.which)){const t=e.selection.getRng(),n=xe.fromDom(t.startContainer),r=xe.fromDom(t.endContainer);c.keyup(o,n,t.startOffset,r,t.endOffset).each((e=>{m(o,e)}))}})),e.on("keydown",(o=>{const n=Um(o);t.hide();const r=e.selection.getRng(),s=xe.fromDom(r.startContainer),l=xe.fromDom(r.endContainer),a=mn(hm,pm)(xe.fromDom(e.selection.getStart()));c.keydown(n,s,r.startOffset,l,r.endOffset,a).each((e=>{m(n,e)})),t.show()})),e.on("NodeChange",(()=>{const t=e.selection,o=xe.fromDom(t.getStart()),r=xe.fromDom(t.getEnd());xs(Ut,[o,r]).fold((()=>n.clear(s)),f)}))})),e.on("PreInit",(()=>{e.serializer.addTempAttr(Ws.firstSelected),e.serializer.addTempAttr(Ws.lastSelected)})),{getSelectedCells:()=>((e,t,o,n)=>{switch(e.tag){case"none":return t();case"single":return(e=>[e.dom])(e.element);case"multiple":return(e=>E(e,(e=>e.dom)))(e.elements)}})(o.get(),g([])),clearSelectedCells:e=>n.clear(xe.fromDom(e))}},Ym=e=>{let t=[];return{bind:e=>{if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:e=>{t=_(t,(t=>t!==e))},trigger:(...o)=>{const n={};N(e,((e,t)=>{n[e]=o[t]})),N(t,(e=>{e(n)}))}}},Jm=e=>({registry:K(e,(e=>({bind:e.bind,unbind:e.unbind}))),trigger:K(e,(e=>e.trigger))}),Qm=e=>e.slice(0).sort(),Xm=(e,t)=>{const o=_(t,(t=>!D(e,t)));o.length>0&&(e=>{throw new Error("Unsupported keys for object: "+Qm(e).join(", "))})(o)},Zm=e=>((e,t)=>((e,t,o)=>{if(0===t.length)throw new Error("You must specify at least one required field.");return((e,t)=>{if(!l(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");N(t,(t=>{if(!r(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")}))})("required",t),(e=>{const t=Qm(e);L(t,((e,o)=>o{throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+t.join(", ")+"].")}))})(t),n=>{const r=q(n);P(t,(e=>D(r,e)))||((e,t)=>{throw new Error("All required keys ("+Qm(e).join(", ")+") were not specified. Specified keys were: "+Qm(t).join(", ")+".")})(t,r),e(t,r);const s=_(t,(e=>!o.validate(n[e],e)));return s.length>0&&((e,t)=>{throw new Error("All values need to be of type: "+t+". Keys ("+Qm(e).join(", ")+") were not.")})(s,o.label),n}})(e,t,{validate:d,label:"function"}))(Xm,e),ed=Zm(["compare","extract","mutate","sink"]),td=Zm(["element","start","stop","destroy"]),od=Zm(["forceDrop","drop","move","delayDrop"]),nd=()=>{const e=(()=>{const e=Jm({move:Ym(["info"])});return{onEvent:f,reset:f,events:e.registry}})(),t=(()=>{let e=C.none();const t=Jm({move:Ym(["info"])});return{onEvent:(o,n)=>{n.extract(o).each((o=>{const r=((t,o)=>{const n=e.map((e=>t.compare(e,o)));return e=C.some(o),n})(n,o);r.each((e=>{t.trigger.move(e)}))}))},reset:()=>{e=C.none()},events:t.registry}})();let o=e;return{on:()=>{o.reset(),o=t},off:()=>{o.reset(),o=e},isOn:()=>o===t,onEvent:(e,t)=>{o.onEvent(e,t)},events:t.events}},rd=e=>{const t=e.replace(/\./g,"-");return{resolve:e=>t+"-"+e}},sd=rd("ephox-dragster").resolve;var ld=ed({compare:(e,t)=>pn(t.left-e.left,t.top-e.top),extract:e=>C.some(pn(e.x,e.y)),sink:(e,t)=>{const o=(e=>{const t={layerClass:sd("blocker"),...e},o=xe.fromTag("div");return ge(o,"role","presentation"),Nt(o,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),Mm(o,sd("blocker")),Mm(o,t.layerClass),{element:g(o),destroy:()=>{qe(o)}}})(t),n=qm(o.element(),"mousedown",e.forceDrop),r=qm(o.element(),"mouseup",e.drop),s=qm(o.element(),"mousemove",e.move),l=qm(o.element(),"mouseout",e.delayDrop);return td({element:o.element,start:e=>{Ie(e,o.element())},stop:()=>{qe(o.element())},destroy:()=>{o.destroy(),r.unbind(),s.unbind(),l.unbind(),n.unbind()}})},mutate:(e,t)=>{e.mutate(t.left,t.top)}});const ad=rd("ephox-snooker").resolve,cd=ad("resizer-bar"),id=ad("resizer-rows"),md=ad("resizer-cols"),dd=e=>{const t=mt(e.parent(),"."+cd);N(t,qe)},ud=(e,t,o)=>{const n=e.origin();N(t,(t=>{t.each((t=>{const r=o(n,t);Mm(r,cd),Ie(e.parent(),r)}))}))},fd=(e,t,o,n,r)=>{const s=wn(o),l=t.isResizable,a=n.length>0?Nn.positions(n,o):[],c=a.length>0?((e,t)=>j(e.all,((e,o)=>t(e.element)?[o]:[])))(e,l):[];((e,t,o,n)=>{ud(e,t,((e,t)=>{const r=((e,t,o,n,r)=>{const s=xe.fromTag("div");return Nt(s,{position:"absolute",left:t+"px",top:o-3.5+"px",height:"7px",width:n+"px"}),he(s,{"data-row":e,role:"presentation"}),s})(t.row,o.left-e.left,t.y-e.top,n);return Mm(r,id),r}))})(t,_(a,((e,t)=>O(c,(e=>t===e)))),s,Ao(o));const i=r.length>0?_n.positions(r,o):[],m=i.length>0?((e,t)=>{const o=[];return k(e.grid.columns,(n=>{sn(e,n).map((e=>e.element)).forall(t)&&o.push(n)})),_(o,(o=>{const n=tn(e,(e=>e.column===o));return P(n,(e=>t(e.element)))}))})(e,l):[];((e,t,o,n)=>{ud(e,t,((e,t)=>{const r=((e,t,o,n,r)=>{const s=xe.fromTag("div");return Nt(s,{position:"absolute",left:t-3.5+"px",top:o+"px",height:r+"px",width:"7px"}),he(s,{"data-column":e,role:"presentation"}),s})(t.col,t.x-e.left,o.top-e.top,0,n);return Mm(r,md),r}))})(t,_(i,((e,t)=>O(m,(e=>t===e)))),s,gn(o))},gd=(e,t)=>{if(dd(e),e.isResizable(t)){const o=Qo(t),n=cn(o),r=ln(o);fd(o,e,t,n,r)}},hd=(e,t)=>{const o=mt(e.parent(),"."+cd);N(o,t)},pd=e=>{hd(e,(e=>{Et(e,"display","none")}))},bd=e=>{hd(e,(e=>{Et(e,"display","block")}))},wd=ad("resizer-bar-dragging"),vd=e=>{const t=(()=>{const e=Jm({drag:Ym(["xDelta","yDelta","target"])});let t=C.none();const o=(()=>{const e=Jm({drag:Ym(["xDelta","yDelta"])});return{mutate:(t,o)=>{e.trigger.drag(t,o)},events:e.registry}})();return o.events.drag.bind((o=>{t.each((t=>{e.trigger.drag(o.xDelta,o.yDelta,t)}))})),{assign:e=>{t=C.some(e)},get:()=>t,mutate:o.mutate,events:e.registry}})(),o=((e,t={})=>{var o;return((e,t,o)=>{let n=!1;const r=Jm({start:Ym([]),stop:Ym([])}),s=nd(),l=()=>{m.stop(),s.isOn()&&(s.off(),r.trigger.stop())},c=((e,t)=>{let o=null;const n=()=>{a(o)||(clearTimeout(o),o=null)};return{cancel:n,throttle:(...t)=>{n(),o=setTimeout((()=>{o=null,e.apply(null,t)}),200)}}})(l);s.events.move.bind((o=>{t.mutate(e,o.info)}));const i=e=>(...t)=>{n&&e.apply(null,t)},m=t.sink(od({forceDrop:l,drop:i(l),move:i((e=>{c.cancel(),s.onEvent(e,t)})),delayDrop:i(c.throttle)}),o);return{element:m.element,go:e=>{m.start(e),s.on(),r.trigger.start()},on:()=>{n=!0},off:()=>{n=!1},isActive:()=>n,destroy:()=>{m.destroy()},events:r.registry}})(e,null!==(o=t.mode)&&void 0!==o?o:ld,t)})(t,{});let n=C.none();const r=(e,t)=>C.from(pe(e,t));t.events.drag.bind((e=>{r(e.target,"data-row").each((t=>{const o=jt(e.target,"top");Et(e.target,"top",o+e.yDelta+"px")})),r(e.target,"data-column").each((t=>{const o=jt(e.target,"left");Et(e.target,"left",o+e.xDelta+"px")}))}));const s=(e,t)=>jt(e,t)-Lt(e,"data-initial-"+t,0);o.events.stop.bind((()=>{t.get().each((t=>{n.each((o=>{r(t,"data-row").each((e=>{const n=s(t,"top");we(t,"data-initial-top"),d.trigger.adjustHeight(o,n,parseInt(e,10))})),r(t,"data-column").each((e=>{const n=s(t,"left");we(t,"data-initial-left"),d.trigger.adjustWidth(o,n,parseInt(e,10))})),gd(e,o)}))}))}));const l=(n,r)=>{d.trigger.startAdjust(),t.assign(n),ge(n,"data-initial-"+r,jt(n,r)),Mm(n,wd),Et(n,"opacity","0.2"),o.go(e.parent())},c=qm(e.parent(),"mousedown",(e=>{var t;t=e.target,jm(t,id)&&l(e.target,"top"),(e=>jm(e,md))(e.target)&&l(e.target,"left")})),i=t=>Re(t,e.view()),m=qm(e.view(),"mouseover",(t=>{var r;(r=t.target,bt(r,"table",i).filter(Jr)).fold((()=>{st(t.target)&&dd(e)}),(t=>{o.isActive()&&(n=C.some(t),gd(e,t))}))})),d=Jm({adjustHeight:Ym(["table","delta","row"]),adjustWidth:Ym(["table","delta","column"]),startAdjust:Ym([])});return{destroy:()=>{c.unbind(),m.unbind(),o.destroy(),dd(e)},refresh:t=>{gd(e,t)},on:o.on,off:o.off,hideBars:b(pd,e),showBars:b(bd,e),events:d.registry}},yd=e=>m(e)&&"TABLE"===e.nodeName,xd="bar-",Cd=e=>"false"!==pe(e,"data-mce-resize"),Td=e=>{const t=lm(),o=lm(),n=lm();let r,s,l,a;const c=t=>gc(e,t),i=()=>jr(e)?ol():tl(),m=(t,o,n,m)=>{const d=(e=>{return Tt(t=e,"corner-")?((e,t)=>e.substring(7))(t):t;var t})(o),u=St(d,"e"),f=Tt(d,"n");if(""===s&&Bc(t),""===a&&(e=>{const t=(e=>fn(e)+"px")(e);Dc(e,C.none(),C.some(t)),Nc(e)})(t),n!==r&&""!==s){Et(t,"width",s);const o=i(),l=c(t),a=jr(e)||u?(e=>nl(e).columns)(t)-1:0;ra(t,n-r,a,o,l)}else if((e=>/^(\d+(\.\d+)?)%$/.test(e))(s)){const e=parseFloat(s.replace("%",""));Et(t,"width",n*e/r+"%")}if((e=>/^(\d+(\.\d+)?)px$/.test(e))(s)&&(e=>{const t=Qo(e);rn(t)||N(Vt(e),(e=>{const t=Bt(e,"width");Et(e,"width",t),we(e,"width")}))})(t),m!==l&&""!==a){Et(t,"height",a);const e=f?0:(e=>nl(e).rows)(t)-1;sa(t,m-l,e)}};e.on("init",(()=>{const r=((e,t)=>e.inline?((e,t,o)=>({parent:g(t),view:g(e),origin:g(pn(0,0)),isResizable:o}))(xe.fromDom(e.getBody()),(()=>{const e=xe.fromTag("div");return Nt(e,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),Ie(lt(xe.fromDom(document)),e),e})(),t):((e,t)=>{const o=me(e)?(e=>xe.fromDom(Ee(e).dom.documentElement))(e):e;return{parent:g(o),view:g(e),origin:g(pn(0,0)),isResizable:t}})(xe.fromDom(e.getDoc()),t))(e,Cd);if(n.set(r),(e=>{const t=e.options.get("object_resizing");return D(t.split(","),"table")})(e)&&Vr(e)){const n=((e,t,o)=>{const n=Nn,r=_n,s=vd(e),l=Jm({beforeResize:Ym(["table","type"]),afterResize:Ym(["table","type"]),startDrag:Ym([])});return s.events.adjustHeight.bind((e=>{const t=e.table;l.trigger.beforeResize(t,"row");const o=n.delta(e.delta,t);sa(t,o,e.row),l.trigger.afterResize(t,"row")})),s.events.startAdjust.bind((e=>{l.trigger.startDrag()})),s.events.adjustWidth.bind((e=>{const n=e.table;l.trigger.beforeResize(n,"col");const s=r.delta(e.delta,n),a=o(n);ra(n,s,e.column,t,a),l.trigger.afterResize(n,"col")})),{on:s.on,off:s.off,refreshBars:s.refresh,hideBars:s.hideBars,showBars:s.showBars,destroy:s.destroy,events:l.registry}})(r,i(),c);e.mode.isReadOnly()||n.on(),n.events.startDrag.bind((o=>{t.set(e.selection.getRng())})),n.events.beforeResize.bind((t=>{const o=t.table.dom;((e,t,o,n,r)=>{e.dispatch("ObjectResizeStart",{target:t,width:o,height:n,origin:r})})(e,o,os(o),ns(o),xd+t.type)})),n.events.afterResize.bind((o=>{const n=o.table,r=n.dom;es(n),t.on((t=>{e.selection.setRng(t),e.focus()})),((e,t,o,n,r)=>{e.dispatch("ObjectResized",{target:t,width:o,height:n,origin:r})})(e,r,os(r),ns(r),xd+o.type),e.undoManager.add()})),o.set(n)}})),e.on("ObjectResizeStart",(t=>{const o=t.target;if(yd(o)&&!e.mode.isReadOnly()){const n=xe.fromDom(o);N(e.dom.select(".mce-clonedresizable"),(t=>{e.dom.addClass(t,"mce-"+Mr(e)+"-columns")})),!kc(n)&&Hr(e)?_c(n):!Oc(n)&&Fr(e)&&Bc(n),Ec(n)&&Tt(t.origin,xd)&&Bc(n),r=t.width,s=$r(e)?"":ss(e,o).getOr(""),l=t.height,a=ls(e,o).getOr("")}})),e.on("ObjectResized",(t=>{const o=t.target;if(yd(o)){const n=xe.fromDom(o),r=t.origin;(e=>Tt(e,"corner-"))(r)&&m(n,r,t.width,t.height),es(n),mc(e,n.dom,dc)}}));const d=()=>{o.on((e=>{e.on(),e.showBars()}))},u=()=>{o.on((e=>{e.off(),e.hideBars()}))};return e.on("DisabledStateChange",(e=>{e.state?u():d()})),e.on("SwitchMode",(()=>{e.mode.isReadOnly()?u():d()})),e.on("dragstart dragend",(e=>{"dragstart"===e.type?u():d()})),e.on("remove",(()=>{o.on((e=>{e.destroy()})),n.on((t=>{((e,t)=>{e.inline&&qe(t.parent())})(e,t)}))})),{refresh:e=>{o.on((t=>t.refreshBars(xe.fromDom(e))))},hide:()=>{o.on((e=>e.hideBars()))},show:()=>{o.on((e=>e.showBars()))}}},Sd=e=>{(e=>{const t=e.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:e=>{const t=D(["section","cells","sectionCells","auto"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:e=>{const t=D(["preservetable","resizetable"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0}),t("table_merge_content_on_paste",{processor:"boolean",default:!0})})(e);const t=Td(e),o=Km(e,t),n=hc(e,t,o);return Xc(e,n),((e,t)=>{const o=Zr(e),n=t=>Is(ts(e)).bind((n=>Ut(n,o).map((o=>{const r=Ms(Fs(e),o,n);return t(o,r)})))).getOr("");G({mceTableRowType:()=>n(t.getTableRowType),mceTableCellType:()=>n(t.getTableCellType),mceTableColType:()=>n(t.getTableColType)},((t,o)=>e.addQueryValueHandler(o,t)))})(e,n),Hs(e,n),{getSelectedCells:o.getSelectedCells,clearSelectedCells:o.clearSelectedCells}};e.add("dom",(e=>({table:Sd(e)})))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/accordion/plugin.min.js b/dsql-app/public/tinymce-public/plugins/accordion/plugin.min.js new file mode 100644 index 0000000..208436f --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/accordion/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=0;const o=e=>t=>typeof t===e,n=e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||(null===(s=n.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var o,n,r,s})(e),r=o("boolean"),s=e=>null==e,i=e=>!s(e),a=o("function"),d=o("number"),l=e=>()=>e,c=(e,t)=>e===t,m=l(!1);class u{constructor(e,t){this.tag=e,this.value=t}static some(e){return new u(!0,e)}static none(){return u.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?u.some(e(this.value)):u.none()}bind(e){return this.tag?e(this.value):u.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:u.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return i(e)?u.some(e):u.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}u.singletonNone=new u(!1);const g=Array.prototype.indexOf,p=(e,t)=>{return o=e,n=t,g.call(o,n)>-1;var o,n},h=(e,t)=>{const o=e.length,n=new Array(o);for(let r=0;r{for(let o=0,n=e.length;oe.dom.nodeName.toLowerCase(),w=e=>e.dom.nodeType,b=e=>t=>w(t)===e,N=b(1),T=b(3),A=b(9),C=b(11),S=(e,t,o)=>{if(!(n(o)||r(o)||d(o)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,o+"")},x=(e,t)=>{const o=e.dom.getAttribute(t);return null===o?void 0:o},D=(e,t)=>u.from(x(e,t)),E=(e,t)=>{e.dom.removeAttribute(t)},O=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},M={fromHtml:(e,t)=>{const o=(t||document).createElement("div");if(o.innerHTML=e,!o.hasChildNodes()||o.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return O(o.childNodes[0])},fromTag:(e,t)=>{const o=(t||document).createElement(e);return O(o)},fromText:(e,t)=>{const o=(t||document).createTextNode(e);return O(o)},fromDom:O,fromPoint:(e,t,o)=>u.from(e.dom.elementFromPoint(t,o)).map(O)},P=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},R=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,k=P,B=(L=/^\s+|\s+$/g,e=>e.replace(L,""));var L;const $=e=>void 0!==e.style&&a(e.style.getPropertyValue),V=e=>u.from(e.dom.parentNode).map(M.fromDom),I=e=>u.from(e.dom.nextSibling).map(M.fromDom),j=e=>h(e.dom.childNodes,M.fromDom),q=e=>M.fromDom(e.dom.host),F=e=>{const t=T(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const o=t.ownerDocument;return(e=>{const t=(e=>M.fromDom(e.dom.getRootNode()))(e);return C(o=t)&&i(o.dom.host)?u.some(t):u.none();var o})(M.fromDom(t)).fold((()=>o.body.contains(t)),(n=F,r=q,e=>n(r(e))));var n,r},H=(e,t)=>$(e)?e.style.getPropertyValue(t):"",z=(e,t)=>{V(e).each((o=>{o.dom.insertBefore(t.dom,e.dom)}))},K=(e,t)=>{I(e).fold((()=>{V(e).each((e=>{U(e,t)}))}),(e=>{z(e,t)}))},U=(e,t)=>{e.dom.appendChild(t.dom)},Y=(e,t)=>{f(t,((o,n)=>{const r=0===n?e:t[n-1];K(r,o)}))},_=(e,t)=>{let o=[];return f(j(e),(e=>{t(e)&&(o=o.concat([e])),o=o.concat(_(e,t))})),o},G=(e,t,o)=>{let n=e.dom;const r=a(o)?o:m;for(;n.parentNode;){n=n.parentNode;const e=M.fromDom(n);if(t(e))return u.some(e);if(r(e))break}return u.none()},J=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Q=(e,t,o)=>G(e,(e=>P(e,t)),o),W=(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return R(o)?u.none():u.from(o.querySelector(e)).map(M.fromDom)})(t,e),X=((e,t)=>{const o=t=>e(t)?u.from(t.dom.nodeValue):u.none();return{get:t=>{if(!e(t))throw new Error("Can only get text value of a text node");return o(t).getOr("")},getOption:o,set:(t,o)=>{if(!e(t))throw new Error("Can only set raw text value of a text node");t.dom.nodeValue=o}}})(T);var Z=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const ee=(e,t)=>({element:e,offset:t}),te=(e,t,o)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?o(t).bind((t=>te(e,t,o).orThunk((()=>u.some(t))))):u.none(),oe=(e,t)=>e.property().isText(t)?e.property().getText(t).length:e.property().children(t).length,ne=(e,t)=>{const o=te(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(o))return ee(o,oe(e,o));const n=e.property().children(o);return n.length>0?ne(e,n[n.length-1]):ee(o,oe(e,o))},re=ne,se={up:l({selector:Q,closest:(e,t,o)=>((e,t,o,n,r)=>((e,t)=>P(e,t))(o,n)?u.some(o):a(r)&&r(o)?u.none():t(o,n,r))(0,Q,e,t,o),predicate:G,all:(e,t)=>{const o=a(t)?t:m;let n=e.dom;const r=[];for(;null!==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=M.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r}}),down:l({selector:(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return R(o)?[]:h(o.querySelectorAll(e),M.fromDom)})(t,e),predicate:_}),styles:l({get:(e,t)=>{const o=e.dom,n=window.getComputedStyle(o).getPropertyValue(t);return""!==n||F(e)?n:H(o,t)},getRaw:(e,t)=>{const o=e.dom,n=H(o,t);return u.from(n).filter((e=>e.length>0))},set:(e,t,o)=>{((e,t,o)=>{if(!n(o))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);$(e)&&e.style.setProperty(t,o)})(e.dom,t,o)},remove:(e,t)=>{((e,t)=>{$(e)&&e.style.removeProperty(t)})(e.dom,t),((e,t,o=c)=>e.exists((e=>o(e,t))))(D(e,"style").map(B),"")&&E(e,"style")}}),attrs:l({get:x,set:(e,t,o)=>{S(e.dom,t,o)},remove:E,copyTo:(e,t)=>{const o=(n=e.dom.attributes,r=(e,t)=>(e[t.name]=t.value,e),s={},f(n,((e,t)=>{s=r(s,e)})),s);var n,r,s;((e,t)=>{const o=e.dom;((e,t)=>{const o=y(e);for(let n=0,r=o.length;n{S(o,t,e)}))})(t,o)}}),insert:l({before:z,after:K,afterAll:Y,append:U,appendAll:(e,t)=>{f(t,(t=>{U(e,t)}))},prepend:(e,t)=>{(e=>((e,t)=>{const o=e.dom.childNodes;return u.from(o[0]).map(M.fromDom)})(e))(e).fold((()=>{U(e,t)}),(o=>{e.dom.insertBefore(t.dom,o.dom)}))},wrap:(e,t)=>{z(e,t),U(t,e)}}),remove:l({unwrap:e=>{const t=j(e);t.length>0&&Y(e,t),J(e)},remove:J}),create:l({nu:M.fromTag,clone:e=>M.fromDom(e.dom.cloneNode(!1)),text:M.fromText}),query:l({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:e=>u.from(e.dom.previousSibling).map(M.fromDom),nextSibling:I}),property:l({children:j,name:v,parent:V,document:e=>{return(t=e,A(t)?t:M.fromDom(t.dom.ownerDocument)).dom;var t},isText:T,isComment:e=>8===w(e)||"#comment"===v(e),isElement:N,isSpecial:e=>{const t=v(e);return p(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>N(e)?D(e,"lang"):u.none(),getText:e=>X.get(e),setText:(e,t)=>X.set(e,t),isBoundary:e=>!!N(e)&&("body"===v(e)||p(Z,v(e))),isEmptyTag:e=>!!N(e)&&p(["br","img","hr","input"],v(e)),isNonEditable:e=>N(e)&&"false"===x(e,"contenteditable")}),eq:(e,t)=>e.dom===t.dom,is:k},ie="details",ae="mce-accordion",de="mce-accordion-summary",le="mce-accordion-body",ce="div";var me=tinymce.util.Tools.resolve("tinymce.util.Tools");const ue=e=>"SUMMARY"===(null==e?void 0:e.nodeName),ge=e=>"DETAILS"===(null==e?void 0:e.nodeName),pe=e=>e.hasAttribute("open"),he=e=>{const t=e.selection.getNode();return ue(t)||Boolean(e.dom.getParent(t,ue))},fe=e=>!he(e)&&e.dom.isEditable(e.selection.getNode())&&!e.mode.isReadOnly(),ye=e=>u.from(e.dom.getParent(e.selection.getNode(),ge)),ve=e=>(e.innerHTML='
',e),we=e=>ve(e.dom.create("p")),be=e=>t=>{((e,t)=>{if(ue(null==t?void 0:t.lastChild)){const o=we(e);t.appendChild(o),e.selection.setCursorLocation(o,0)}})(e,t),((e,t)=>{if(!ue(null==t?void 0:t.firstChild)){const o=(e=>ve(e.dom.create("summary")))(e);t.prepend(o),e.selection.setCursorLocation(o,0)}})(e,t)},Ne=e=>{if(!fe(e))return;const o=M.fromDom(e.getBody()),n=(e=>{const o=(new Date).getTime(),n=Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295*1e9);return t++,e+"_"+n+t+String(o)})("acc"),r=e.dom.encode(e.selection.getRng().toString()||e.translate("Accordion summary...")),s=e.dom.encode(e.translate("Accordion body...")),i=`${r}`,a=`<${ce} class="${le}">

${s}

`;e.undoManager.transact((()=>{e.insertContent([`
`,i,a,"
"].join("")),W(o,`[data-mce-id="${n}"]`).each((t=>{E(t,"data-mce-id"),W(t,"summary").each((t=>{const o=e.dom.createRng(),n=re(se,t);o.setStart(n.element.dom,n.offset),o.setEnd(n.element.dom,n.offset),e.selection.setRng(o)}))}))}))},Te=(e,t)=>{const o=null!=t?t:!pe(e);return o?e.setAttribute("open","open"):e.removeAttribute("open"),o},Ae=e=>{e.addCommand("InsertAccordion",(()=>Ne(e))),e.addCommand("ToggleAccordion",((t,o)=>((e,t)=>{ye(e).each((o=>{((e,t,o)=>{e.dispatch("ToggledAccordion",{element:t,state:o})})(e,o,Te(o,t))}))})(e,o))),e.addCommand("ToggleAllAccordions",((t,o)=>((e,t)=>{const o=Array.from(e.getBody().querySelectorAll("details"));0!==o.length&&(f(o,(e=>Te(e,null!=t?t:!pe(e)))),((e,t,o)=>{e.dispatch("ToggledAllAccordions",{elements:t,state:o})})(e,o,t))})(e,o))),e.addCommand("RemoveAccordion",(()=>(e=>{e.mode.isReadOnly()||ye(e).each((t=>{const{nextSibling:o}=t;o?(e.selection.select(o,!0),e.selection.collapse(!0)):((e,t)=>{const o=we(e);t.insertAdjacentElement("afterend",o),e.selection.setCursorLocation(o,0)})(e,t),t.remove()}))})(e)))};var Ce=tinymce.util.Tools.resolve("tinymce.html.Node");const Se=e=>{var t,o;return null!==(o=null===(t=e.attr("class"))||void 0===t?void 0:t.split(" "))&&void 0!==o?o:[]},xe=(e,t)=>{const o=new Set([...Se(e),...t]),n=Array.from(o);n.length>0&&e.attr("class",n.join(" "))},De=(e,t)=>{const o=((e,o)=>{const n=[];for(let o=0,s=e.length;o0?o.join(" "):null)},Ee=e=>e.name===ie&&p(Se(e),ae),Oe=e=>{const t=e.children();let o,n;const r=[];for(let e=0;e{const t=new Ce("br",1);t.attr("data-mce-bogus","1"),e.empty(),e.append(t)};var Pe=tinymce.util.Tools.resolve("tinymce.util.VK");const Re=e=>{(e=>{e.on("keydown",(t=>{(!t.shiftKey&&t.keyCode===Pe.ENTER&&he(e)||(e=>{const t=e.selection.getRng();return ge(t.startContainer)&&t.collapsed&&0===t.startOffset})(e))&&(t.preventDefault(),e.execCommand("ToggleAccordion"))}))})(e),e.on("ExecCommand",(t=>{const o=t.command.toLowerCase();"delete"!==o&&"forwarddelete"!==o||!(e=>ye(e).isSome())(e)||(e=>{me.each(me.grep(e.dom.select("details",e.getBody())),be(e))})(e)}))};var ke=tinymce.util.Tools.resolve("tinymce.Env");const Be=e=>t=>{const o=()=>t.setEnabled(fe(e));return e.on("NodeChange",o),()=>e.off("NodeChange",o)};e.add("accordion",(e=>{(e=>{const t=()=>e.execCommand("InsertAccordion");e.ui.registry.addButton("accordion",{icon:"accordion",tooltip:"Insert accordion",onSetup:Be(e),onAction:t}),e.ui.registry.addMenuItem("accordion",{icon:"accordion",text:"Accordion",onSetup:Be(e),onAction:t}),e.ui.registry.addToggleButton("accordiontoggle",{icon:"accordion-toggle",tooltip:"Toggle accordion",onAction:()=>e.execCommand("ToggleAccordion")}),e.ui.registry.addToggleButton("accordionremove",{icon:"remove",tooltip:"Delete accordion",onAction:()=>e.execCommand("RemoveAccordion")}),e.ui.registry.addContextToolbar("accordion",{predicate:t=>e.dom.is(t,"details")&&e.getBody().contains(t)&&e.dom.isEditable(t.parentNode),items:"accordiontoggle accordionremove",scope:"node",position:"node"})})(e),Ae(e),Re(e),(e=>{e.on("PreInit",(()=>{const{serializer:t,parser:o}=e;o.addNodeFilter(ie,(e=>{for(let t=0;t0)for(let e=0;e{const t=new Set([de]);for(let o=0;o{ke.browser.isSafari()&&e.on("click",(t=>{if(ue(t.target)){const o=t.target,n=e.selection.getRng();n.collapsed&&n.startContainer===o.parentNode&&0===n.startOffset&&e.selection.setCursorLocation(o,0)}}))})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/advlist/plugin.min.js b/dsql-app/public/tinymce-public/plugins/advlist/plugin.min.js new file mode 100644 index 0000000..1290b96 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/advlist/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),l=t=>null==t,i=t=>!l(t);class o{constructor(t,e){this.tag=t,this.value=e}static some(t){return new o(!0,t)}static none(){return o.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?o.some(t(this.value)):o.none()}bind(t){return this.tag?t(this.value):o.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:o.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return i(t)?o.some(t):o.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}o.singletonNone=new o(!1);const a=Array.prototype.indexOf,u=Object.keys;var d=tinymce.util.Tools.resolve("tinymce.util.Tools");const c=t=>e=>i(e)&&t.test(e.nodeName),h=c(/^(OL|UL|DL)$/),g=c(/^(TH|TD)$/),p=t=>l(t)||"default"===t?"":t,m=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(((t,e,s)=>((t,e,s)=>{for(let e=0,n=t.length;ee.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))))(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)||!t.selection.isEditable()})(t,n))})(t,r.parents))),v=(t,s,r,n,l,i)=>{const c={"lower-latin":"lower-alpha","upper-latin":"upper-alpha","lower-alpha":"lower-latin","upper-alpha":"upper-latin"},h=(g=t=>{return e=i,s=t,a.call(e,s)>-1;var e,s},((t,e)=>{const s={};return((t,e)=>{const s=u(t);for(let r=0,n=s.length;r{const n=e(t,r);s[n.k]=n.v})),s})(c,((t,e)=>({k:e,v:g(t)}))));var g;t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===l?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(d.map(i,(t=>{const e="OL"===l?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=p(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,l,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return o.from(s)})(t);return s.exists((t=>e===t||c[t]===e&&!h[e]))},onSetup:m(t,l)})},y=(t,s,r,n,l,i)=>{i.length>1?v(t,s,r,n,l,i):((t,s,r,n,l,i)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===l?"ordered-list":"unordered-list",onSetup:m(t,l),onAction:()=>t.queryCommandState(n)||""===i?t.execCommand(n):e(t,l,i)})})(t,s,r,n,l,p(i[0]))};t.add("advlist",(t=>{t.hasPlugin("lists")?((t=>{const e=t.options.register;e("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),e("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(t),(t=>{y(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),y(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the List Styles plugin.")}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/anchor/plugin.min.js b/dsql-app/public/tinymce-public/plugins/anchor/plugin.min.js new file mode 100644 index 0000000..d3bf665 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/anchor/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),o=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=("allow_html_in_named_anchor",e=>e.options.get("allow_html_in_named_anchor"));const a="a:not([href])",r=e=>!e,i=e=>e.getAttribute("id")||e.getAttribute("name")||"",l=e=>(e=>"a"===e.nodeName.toLowerCase())(e)&&!e.getAttribute("href")&&""!==i(e),s=e=>e.dom.getParent(e.selection.getStart(),a),d=(e,a)=>{const r=s(e);r?((e,t,o)=>{o.removeAttribute("name"),o.id=t,e.addVisual(),e.undoManager.add()})(e,a,r):((e,a)=>{e.undoManager.transact((()=>{n(e)||e.selection.collapse(!0),e.selection.isCollapsed()?e.insertContent(e.dom.createHTML("a",{id:a})):((e=>{const n=e.dom;t(n).walk(e.selection.getRng(),(e=>{o.each(e,(e=>{var t;l(t=e)&&!t.firstChild&&n.remove(e,!1)}))}))})(e),e.formatter.remove("namedAnchor",void 0,void 0,!0),e.formatter.apply("namedAnchor",{value:a}),e.addVisual())}))})(e,a),e.focus()},c=e=>(e=>r(e.attr("href"))&&!r(e.attr("id")||e.attr("name")))(e)&&!e.firstChild,m=e=>t=>{for(let o=0;ot=>{const o=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",o),o(),()=>{e.off("NodeChange",o)}};e.add("anchor",(e=>{(e=>{(0,e.options.register)("allow_html_in_named_anchor",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("a",m("false")),e.serializer.addNodeFilter("a",m(null))}))})(e),(e=>{e.addCommand("mceAnchor",(()=>{(e=>{const t=(e=>{const t=s(e);return t?i(t):""})(e);e.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:t=>{((e,t)=>/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)?(d(e,t),!0):(e.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1))(e,t.getData().id)&&t.close()}})})(e)}))})(e),(e=>{const t=()=>e.execCommand("mceAnchor");e.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:t,onSetup:t=>{const o=e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind,n=u(e)(t);return()=>{o(),n()}}}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t,onSetup:u(e)})})(e),e.on("PreInit",(()=>{(e=>{e.formatter.register("namedAnchor",{inline:"a",selector:a,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:(e,t,o)=>l(e)})})(e)}))}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/autolink/plugin.min.js b/dsql-app/public/tinymce-public/plugins/autolink/plugin.min.js new file mode 100644 index 0000000..4a4305a --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/autolink/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e));const l=(void 0,e=>undefined===e);const i=e=>!(e=>null==e)(e),c=Object.hasOwnProperty,d=e=>"\ufeff"===e;var u=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const f=e=>/^[(\[{ \u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},m=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),"a[href]")||e.mode.isReadOnly())return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||"false"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\uFEFF/g,"").match(s);if(C){let t=C[0];return $="www.",(b=t).length>=4&&b.substr(0,4)===$?t=r(e)+"://"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t),{rng:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:i};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(t)&&k(e,t)},y=p;e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),(e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=m(e,0);i(t)&&k(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?p(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/autoresize/plugin.min.js b/dsql-app/public/tinymce-public/plugins/autoresize/plugin.min.js new file mode 100644 index 0000000..8d9642e --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/autoresize/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");const o=e=>t=>t.options.get(e),n=o("min_height"),s=o("max_height"),i=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),g=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},l=(e,t,o,n)=>{var s;const i=parseInt(null!==(s=e.getStyle(t,o,n))&&void 0!==s?s:"",10);return isNaN(i)?0:i},a=(e,o,r,c)=>{var d;const u=e.dom,h=e.getDoc();if(!h)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void g(e,!0);const m=h.documentElement,f=c?c():i(e),p=null!==(d=n(e))&&void 0!==d?d:e.getElement().offsetHeight;let y=p;const S=l(u,m,"margin-top",!0),v=l(u,m,"margin-bottom",!0);let C=m.offsetHeight+S+v+f;C<0&&(C=0);const H=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+H>p&&(y=C+H);const b=s(e);b&&y>b?(y=b,g(e,!0)):g(e,!1);const w=o.get();if(w.set&&(e.dom.setStyles(e.getDoc().documentElement,{"min-height":0}),e.dom.setStyles(e.getBody(),{"min-height":"inherit"})),y!==w.totalHeight&&(C-f!==w.contentHeight||!w.set)){const n=y-w.totalHeight;if(u.setStyle(e.getContainer(),"height",y+"px"),o.set({totalHeight:y,contentHeight:C,set:!0}),(e=>{e.dispatch("ResizeEditor")})(e),t.browser.isSafari()&&(t.os.isMacOS()||t.os.isiOS())){const t=e.getWin();t.scrollTo(t.pageXOffset,t.pageYOffset)}e.hasFocus()&&(e=>{if("setcontent"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(r)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&n<0&&a(e,o,r,c)}};e.add("autoresize",(e=>{if((e=>{const t=e.options.register;t("autoresize_overflow_padding",{processor:"number",default:1}),t("autoresize_bottom_margin",{processor:"number",default:50})})(e),e.options.isSet("resize")||e.options.set("resize",!1),!e.inline){const o=(e=>{let t={totalHeight:0,contentHeight:0,set:!1};return{get:()=>t,set:e=>{t=e}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{a(e,t)}))})(e,o),((e,o)=>{const n=()=>r(e);e.on("init",(s=>{const r=i(e),g=e.dom;g.setStyles(e.getDoc().documentElement,{height:"auto"}),t.browser.isEdge()||t.browser.isIE()?g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r,"min-height":0}):g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r}),a(e,o,s,n)})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(t=>{a(e,o,t,n)}))})(e,o)}}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/autosave/plugin.min.js b/dsql-app/public/tinymce-public/plugins/autosave/plugin.min.js new file mode 100644 index 0000000..e92d32b --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/autosave/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=("string",t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(t));const r=(void 0,t=>undefined===t);var o=tinymce.util.Tools.resolve("tinymce.util.Delay"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),s=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=t=>{const e=/^(\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},i=t=>e=>e.options.get(t),u=i("autosave_ask_before_unload"),l=i("autosave_restore_when_empty"),c=i("autosave_interval"),d=i("autosave_retention"),m=t=>{const e=document.location;return t.options.get("autosave_prefix").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},v=(t,e)=>{if(r(e))return t.dom.isEmpty(t.getBody());{const r=s.trim(e);if(""===r)return!0;{const e=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(e)}}},f=t=>{var e;const r=parseInt(null!==(e=a.getItem(m(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>d(t)&&(p(t,!1),1))},p=(t,e)=>{const r=m(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},g=t=>{const e=m(t);!v(t)&&t.isDirty()&&(a.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),a.setItem(e+"time",(new Date).getTime().toString()),(t=>{t.dispatch("StoreDraft")})(t))},y=t=>{var e;const r=m(t);f(t)&&(t.setContent(null!==(e=a.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var D=tinymce.util.Tools.resolve("tinymce.EditorManager");const h=t=>e=>{const r=()=>f(t)&&!t.mode.isReadOnly();e.setEnabled(r());const o=()=>e.setEnabled(r());return t.on("StoreDraft RestoreDraft RemoveDraft",o),()=>t.off("StoreDraft RestoreDraft RemoveDraft",o)};t.add("autosave",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:n(t),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(t),(t=>{t.editorManager.on("BeforeUnload",(t=>{let e;s.each(D.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),(t=>{(t=>{const e=c(t);o.setEditorInterval(t,(()=>{g(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{y(t),p(t)})),t.focus()})(t)};t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)})})(t),t.on("init",(()=>{l(t)&&t.dom.isEmpty(t.getBody())&&y(t)})),(t=>({hasDraft:()=>f(t),storeDraft:()=>g(t),restoreDraft:()=>y(t),removeDraft:e=>p(t,e),isEmpty:e=>v(t,e)}))(t))))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/charmap/plugin.min.js b/dsql-app/public/tinymce-public/plugins/charmap/plugin.min.js new file mode 100644 index 0000000..2a40e15 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/charmap/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t)=>{const r=((e,t)=>e.dispatch("insertCustomChar",{chr:t}))(e,t).chr;e.execCommand("mceInsertContent",!1,r)},r=e=>t=>e===t,a=("array",e=>"array"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=a=e,(n=String).prototype.isPrototypeOf(r)||(null===(i=a.constructor)||void 0===i?void 0:i.name)===n.name)?"string":t;var r,a,n,i})(e));const n=r(null),i=r(void 0),o=e=>"function"==typeof e,s=(!1,()=>false);class l{constructor(e,t){this.tag=e,this.value=t}static some(e){return new l(!0,e)}static none(){return l.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?l.some(e(this.value)):l.none()}bind(e){return this.tag?e(this.value):l.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:l.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?l.none():l.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}l.singletonNone=new l(!1);const c=Array.prototype.push,u=(e,t)=>{const r=e.length,a=new Array(r);for(let n=0;nt=>t.options.get(e),m=h("charmap"),p=h("charmap_append"),d=g.isArray,f="User Defined",y=e=>{return d(e)?(t=e,g.grep(t,(e=>d(e)&&2===e.length))):"function"==typeof e?e():[];var t},b=e=>{const t=((e,t)=>{const r=m(e);r&&(t=[{name:f,characters:y(r)}]);const a=p(e);if(a){const e=g.grep(t,(e=>e.name===f));return e.length?(e[0].characters=[...e[0].characters,...y(a)],t):t.concat({name:f,characters:y(a)})}return t})(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return t.length>1?[{name:"All",characters:(r=t,n=e=>e.characters,(e=>{const t=[];for(let r=0,n=e.length;r{let t=e;return{get:()=>t,set:e=>{t=e}}},v=(e,t,r=0,a)=>{const n=e.indexOf(t,r);return-1!==n&&(!!i(a)||n+t.length<=a)},k=String.fromCodePoint,C=(e,t)=>{const r=[],a=t.toLowerCase();return((e,t)=>{for(let t=0,i=e.length;t!!v(k(e).toLowerCase(),r)||v(t.toLowerCase(),r)||v(t.toLowerCase().replace(/\s+/g,""),r))((n=e[t])[0],n[1],a)&&r.push(n);var n})(e.characters),u(r,(e=>({text:e[1],value:k(e[0]),icon:k(e[0])})))},x="pattern",A=(e,r)=>{const a=()=>[{label:"Search",type:"input",name:x},{type:"collection",name:"results"}],i=1===r.length?w(f):w("All"),o=((e,t)=>{let r=null;const a=()=>{n(r)||(clearTimeout(r),r=null)};return{cancel:a,throttle:(...t)=>{a(),r=setTimeout((()=>{r=null,e.apply(null,t)}),40)}}})((e=>{const t=e.getData().pattern;((e,t)=>{var a,n;(a=r,n=e=>e.name===i.get(),((e,t,r)=>{for(let a=0,n=e.length;a{const a=C(r,t);e.setData({results:a})}))})(e,t)})),c={title:"Special Character",size:"normal",body:1===r.length?{type:"panel",items:a()}:{type:"tabpanel",tabs:u(r,(e=>({title:e.name,name:e.name,items:a()})))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:C(r[0],"")},onAction:(r,a)=>{"results"===a.name&&(t(e,a.value),r.close())},onTabChange:(e,t)=>{i.set(t.newTabName),o.throttle(e)},onChange:(e,t)=>{t.name===x&&o.throttle(e)}};e.windowManager.open(c).focus(x)},q=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("charmap",(e=>{(e=>{const t=e.options.register,r=e=>o(e)||a(e);t("charmap",{processor:r}),t("charmap_append",{processor:r})})(e);const r=b(e);return((e,t)=>{e.addCommand("mceShowCharmap",(()=>{A(e,t)}))})(e,r),(e=>{const t=()=>e.execCommand("mceShowCharmap");e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:t,onSetup:q(e)}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:t,onSetup:q(e)})})(e),((e,t)=>{e.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(e,r)=>new Promise(((r,a)=>{r(C(t,e))})),onAction:(t,r,a)=>{e.selection.setRng(r),e.insertContent(a),t.hide()}})})(e,r[0]),(e=>({getCharMap:()=>b(e),insertChar:r=>{t(e,r)}}))(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/code/plugin.min.js b/dsql-app/public/tinymce-public/plugins/code/plugin.min.js new file mode 100644 index 0000000..37879a7 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/code/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(e=>((e=>{e.addCommand("mceCodeEditor",(()=>{(e=>{const o=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:o},onSubmit:o=>{((e,o)=>{e.focus(),e.undoManager.transact((()=>{e.setContent(o)})),e.selection.setCursorLocation(),e.nodeChanged()})(e,o.getData().code),o.close()}})})(e)}))})(e),(e=>{const o=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:o}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:o})})(e),{})))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/codesample/plugin.min.js b/dsql-app/public/tinymce-public/plugins/codesample/plugin.min.js new file mode 100644 index 0000000..697182c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/codesample/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>!(e=>null==e)(e),n=()=>{};class a{constructor(e,t){this.tag=e,this.value=t}static some(e){return new a(!0,e)}static none(){return a.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?a.some(e(this.value)):a.none()}bind(e){return this.tag?e(this.value):a.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:a.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return t(e)?a.some(e):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);var s=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils");const r="undefined"!=typeof window?window:Function("return this;")(),i=function(e,t,n){const a=window.Prism;window.Prism={manual:!0};var s=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},s={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof r?new r(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);x+=_.value.length,_=_.next){var F=_.value;if(t.length>e.length)return;if(!(F instanceof r)){var A,S=1;if(y){if(!(A=i(v,x,e,m))||A.index>=e.length)break;var $=A.index,z=A.index+A[0].length,E=x;for(E+=_.value.length;$>=E;)E+=(_=_.next).value.length;if(x=E-=_.value.length,_.value instanceof r)continue;for(var C=_;C!==t.tail&&(Ed.reach&&(d.reach=O);var P=_.prev;if(B&&(P=u(t,P,B),x+=B.length),c(t,P,S),_=u(t,P,new r(g,f?s.tokenize(j,f):j,w,j)),T&&u(t,_,T),S>1){var N={cause:g+","+b,reach:O};o(e,t,n,_.prev,x,N),d&&N.reach>d.reach&&(d.reach=N.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var a=t.next,s={value:n,prev:t,next:a};return t.next=s,a.prev=s,e.length++,s}function c(e,t,n){for(var a=t.next,s=0;s"+r.content+""},!e.document)return e.addEventListener?(s.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,r=n.code,i=n.immediateClose;e.postMessage(s.highlight(r,s.languages[a],a)),i&&e.close()}),!1),s):s;var d=s.util.currentScript();function g(){s.manual||s.highlightAll()}if(d&&(s.filename=d.src,d.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var p=document.readyState;"loading"===p||"interactive"===p&&d&&d.defer?document.addEventListener("DOMContentLoaded",g):window.requestAnimationFrame?window.requestAnimationFrame(g):window.setTimeout(g,16)}return s}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});return s.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,a,s,r){if(n.language===a){var i=n.tokenStack=[];n.code=n.code.replace(s,(function(e){if("function"==typeof r&&!r(e))return e;for(var s,o=i.length;-1!==n.code.indexOf(s=t(a,o));)++o;return i[o]=e,s})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,a){if(n.language===a&&n.tokenStack){n.grammar=e.languages[a];var s=0,r=Object.keys(n.tokenStack);!function i(o){for(var l=0;l=r.length);l++){var u=o[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=r[s],d=n.tokenStack[c],g="string"==typeof u?u:u.content,p=t(a,c),b=g.indexOf(p);if(b>-1){++s;var h=g.substring(0,b),f=new e.Token(a,e.tokenize(d,n.grammar),"language-"+a,d),m=g.substring(b+p.length),y=[];h&&y.push.apply(y,i([h])),y.push(f),m&&y.push.apply(y,i([m])),"string"==typeof u?o.splice.apply(o,[l,1].concat(y)):u.content=y}}else u.content&&i(u.content)}return o}(n.tokens)}}}})}(s),s.languages.c=s.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),s.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),s.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},s.languages.c.string],char:s.languages.c.char,comment:s.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:s.languages.c}}}}),s.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete s.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(s),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var s="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",r="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",o="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(r),c=RegExp(l(s+" "+r+" "+i+" "+o)),d=l(r+" "+i+" "+o),g=l(s+" "+r+" "+o),p=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),b=a(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[h,p]),m=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,f]),y=/\[\s*(?:,\s*)*\]/.source,w=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,y]),k=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,b,y]),v=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[k]),_=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[v,m,y]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},F=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,S=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,_]),lookbehind:!0,inside:x},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,f]),lookbehind:!0,inside:x},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:x},{pattern:n(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[w]),lookbehind:!0,inside:x},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,g,h]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[b]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,m]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,p]),inside:{function:n(/^<<0>>/.source,[h]),generic:{pattern:RegExp(p),alias:"class-name",inside:x}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,f,h,_,c.source,b,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,b]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(_),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var $=A+"|"+F,z=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$]),E=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),C=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,j=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,E]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[C,j]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[C]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[E]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var B=/:[^}\r\n]+/.source,T=a(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[z]),2),O=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[T,B]),P=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[$]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,B]);function R(t,a){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,B]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[O]),lookbehind:!0,greedy:!0,inside:R(O,T)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:R(N,P)}],char:{pattern:RegExp(F),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(s),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(s),function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(s),s.languages.javascript=s.languages.extend("clike",{"class-name":[s.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),s.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,s.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:s.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:s.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:s.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:s.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:s.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),s.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:s.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),s.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),s.languages.markup&&(s.languages.markup.tag.addInlined("script","javascript"),s.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),s.languages.js=s.languages.javascript,s.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},s.languages.markup.tag.inside["attr-value"].inside.entity=s.languages.markup.entity,s.languages.markup.doctype.inside["internal-subset"].inside=s.languages.markup,s.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(s.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:s.languages[t]},n.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:s.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},s.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(s.languages.markup.tag,"addAttribute",{value:function(e,t){s.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:s.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),s.languages.html=s.languages.markup,s.languages.mathml=s.languages.markup,s.languages.svg=s.languages.markup,s.languages.xml=s.languages.extend("markup",{}),s.languages.ssml=s.languages.xml,s.languages.atom=s.languages.xml,s.languages.rss=s.languages.xml,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,r=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:s,punctuation:r};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:i}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:s,punctuation:r}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(s),s.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},s.languages.python["string-interpolation"].inside.interpolation.inside.rest=s.languages.python,s.languages.py=s.languages.python,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(s),window.Prism=a,s}(),o=e=>t=>t.options.get(e),l=o("codesample_languages"),u=o("codesample_global_prismjs"),c=e=>r.Prism&&u(e)?r.Prism:i,d=e=>t(e)&&"PRE"===e.nodeName&&-1!==e.className.indexOf("language-"),g=e=>{const t=e.selection?e.selection.getNode():null;return d(t)?a.some(t):a.none()},p=e=>{const t=(e=>l(e)||[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}])(e),n=(r=t,((e,t)=>0""),(e=>e.value));var r;const i=((e,t)=>g(e).fold((()=>t),(e=>{const n=e.className.match(/language-(\w+)/);return n?n[1]:t})))(e,n),o=(e=>g(e).bind((e=>a.from(e.textContent))).getOr(""))(e);e.windowManager.open({title:"Insert/Edit Code Sample",size:"large",body:{type:"panel",items:[{type:"listbox",name:"language",label:"Language",items:t},{type:"textarea",name:"code",label:"Code view"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{language:i,code:o},onSubmit:t=>{const n=t.getData();((e,t,n)=>{const a=e.dom;e.undoManager.transact((()=>{const r=g(e);return n=s.DOM.encode(n),r.fold((()=>{e.insertContent('
'+n+"
");const s=a.select("#__new")[0];a.setAttrib(s,"id",null),e.selection.select(s)}),(s=>{a.setAttrib(s,"class","language-"+t),s.innerHTML=n,c(e).highlightElement(s),e.selection.select(s)}))}))})(e,n.language,n.code),t.close()}})},b=(h=/^\s+|\s+$/g,e=>e.replace(h,""));var h,f=tinymce.util.Tools.resolve("tinymce.util.Tools");const m=(e,t=n)=>n=>{const a=()=>{n.setEnabled(e.selection.isEditable()),t(n)};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("codesample",(e=>{(e=>{const t=e.options.register;t("codesample_languages",{processor:"object[]"}),t("codesample_global_prismjs",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreProcess",(t=>{const n=e.dom,a=n.select("pre[contenteditable=false]",t.node);f.each(f.grep(a,d),(e=>{const t=e.textContent;let a;for(n.setAttrib(e,"class",b(n.getAttrib(e,"class"))),n.setAttrib(e,"contentEditable",null),n.setAttrib(e,"data-mce-highlighted",null);a=e.firstChild;)e.removeChild(a);n.add(e,"code").textContent=t}))})),e.on("SetContent",(()=>{const t=e.dom,n=f.grep(t.select("pre"),(e=>d(e)&&"true"!==t.getAttrib(e,"data-mce-highlighted")));n.length&&e.undoManager.transact((()=>{f.each(n,(n=>{var a;f.each(t.select("br",n),(n=>{t.replace(e.getDoc().createTextNode("\n"),n)})),n.innerHTML=t.encode(null!==(a=n.textContent)&&void 0!==a?a:""),c(e).highlightElement(n),t.setAttrib(n,"data-mce-highlighted",!0),n.className=b(n.className)}))}))})),e.on("PreInit",(()=>{e.parser.addNodeFilter("pre",(e=>{var t;for(let n=0,a=e.length;n{const t=()=>e.execCommand("codesample");e.ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:t,onSetup:m(e,(t=>{t.setActive((e=>{const t=e.selection.getStart();return e.dom.is(t,'pre[class*="language-"]')})(e))}))}),e.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:t,onSetup:m(e)})})(e),(e=>{e.addCommand("codesample",(()=>{const t=e.selection.getNode();e.selection.isCollapsed()||d(t)?p(e):e.formatter.toggle("code")}))})(e),e.on("dblclick",(t=>{d(t.target)&&p(e)}))}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/directionality/plugin.min.js b/dsql-app/public/tinymce-public/plugins/directionality/plugin.min.js new file mode 100644 index 0000000..55b6d11 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/directionality/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>typeof e===t,o=t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(o=r=t,(n=String).prototype.isPrototypeOf(o)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===n.name)?"string":e;var o,r,n,i})(t),r=e("boolean"),n=t=>!(t=>null==t)(t),i=e("function"),s=e("number"),l=(!1,()=>false);class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return n(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=(t,e)=>{for(let o=0,r=t.length;o{if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},d=c,h=(t,e)=>{const o=t.dom;if(1!==o.nodeType)return!1;{const t=o;if(void 0!==t.matches)return t.matches(e);if(void 0!==t.msMatchesSelector)return t.msMatchesSelector(e);if(void 0!==t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(void 0!==t.mozMatchesSelector)return t.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const m=t=>e=>(t=>t.dom.nodeType)(e)===t,g=m(1),f=m(3),v=m(11),y=(t,e)=>{t.dom.removeAttribute(e)},p=t=>d(t.dom.host),w=t=>{const e=f(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;const o=e.ownerDocument;return(t=>{const e=(t=>d(t.dom.getRootNode()))(t);return v(o=e)&&n(o.dom.host)?a.some(e):a.none();var o})(d(e)).fold((()=>o.body.contains(e)),(r=w,i=p,t=>r(i(t))));var r,i},b=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||w(t)?r:((t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"")(o,e)})(t,"direction")?"rtl":"ltr",S=(t,e)=>((t,o)=>((t,e)=>{const o=[];for(let r=0,n=t.length;r{const o=t.length,r=new Array(o);for(let n=0;nh(t,e))))(t),N=("li",t=>g(t)&&"li"===t.dom.nodeName.toLowerCase());const A=(t,e,n)=>{u(e,(e=>{const c=d(e),m=N(c),f=((t,e)=>{return(e?(o=t,r="ol,ul",((t,e,o)=>{let n=t.dom;const s=i(o)?o:l;for(;n.parentNode;){n=n.parentNode;const t=d(n);if(h(t,r))return a.some(t);if(s(t))break}return a.none()})(o,0,n)):a.some(t)).getOr(t);var o,r,n})(c,m);var v;(v=f,(t=>a.from(t.dom.parentNode).map(d))(v).filter(g)).each((e=>{if(t.setStyle(f.dom,"direction",null),b(e)===n?y(f,"dir"):((t,e,n)=>{((t,e,n)=>{if(!(o(n)||r(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,n+"")})(t.dom,e,n)})(f,"dir",n),b(f)!==n&&t.setStyle(f.dom,"direction",n),m){const e=S(f,"li[dir],li[style]");u(e,(e=>{y(e,"dir"),t.setStyle(e.dom,"direction",null)}))}}))}))},T=(t,e)=>{t.selection.isEditable()&&(A(t.dom,t.selection.getSelectedBlocks(),e),t.nodeChanged())},C=(t,e)=>o=>{const r=r=>{const n=d(r.element);o.setActive(b(n)===e),o.setEnabled(t.selection.isEditable())};return t.on("NodeChange",r),o.setEnabled(t.selection.isEditable()),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{T(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{T(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:C(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:C(t,"rtl")})})(t)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.js b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.js new file mode 100644 index 0000000..6fcec71 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.js @@ -0,0 +1 @@ +window.tinymce.Resource.add("tinymce.plugins.emoticons",{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:'💯',fitzpatrick_scale:false,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:'🔢',fitzpatrick_scale:false,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:'😀',fitzpatrick_scale:false,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:'😬',fitzpatrick_scale:false,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:'😁',fitzpatrick_scale:false,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:'😂',fitzpatrick_scale:false,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:'🤣',fitzpatrick_scale:false,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:'🥳',fitzpatrick_scale:false,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:'😃',fitzpatrick_scale:false,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:'😄',fitzpatrick_scale:false,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:'😅',fitzpatrick_scale:false,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:'😆',fitzpatrick_scale:false,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:'😇',fitzpatrick_scale:false,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:'😉',fitzpatrick_scale:false,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:'😊',fitzpatrick_scale:false,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:'🙂',fitzpatrick_scale:false,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:'🙃',fitzpatrick_scale:false,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:'☺️',fitzpatrick_scale:false,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:'😋',fitzpatrick_scale:false,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:'😌',fitzpatrick_scale:false,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:'😍',fitzpatrick_scale:false,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:'🥰',fitzpatrick_scale:false,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'😘',fitzpatrick_scale:false,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:'😗',fitzpatrick_scale:false,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:'😙',fitzpatrick_scale:false,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'😚',fitzpatrick_scale:false,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:'😜',fitzpatrick_scale:false,category:"people"},zany:{keywords:["face","goofy","crazy"],char:'🤪',fitzpatrick_scale:false,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:'🤨',fitzpatrick_scale:false,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:'🧐',fitzpatrick_scale:false,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:'😝',fitzpatrick_scale:false,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:'😛',fitzpatrick_scale:false,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:'🤑',fitzpatrick_scale:false,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:'🤓',fitzpatrick_scale:false,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:'😎',fitzpatrick_scale:false,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:'🤩',fitzpatrick_scale:false,category:"people"},clown_face:{keywords:["face"],char:'🤡',fitzpatrick_scale:false,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:'🤠',fitzpatrick_scale:false,category:"people"},hugs:{keywords:["face","smile","hug"],char:'🤗',fitzpatrick_scale:false,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:'😏',fitzpatrick_scale:false,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:'😶',fitzpatrick_scale:false,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:'😐',fitzpatrick_scale:false,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:'😑',fitzpatrick_scale:false,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:'😒',fitzpatrick_scale:false,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:'🙄',fitzpatrick_scale:false,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:'🤔',fitzpatrick_scale:false,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:'🤥',fitzpatrick_scale:false,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:'🤭',fitzpatrick_scale:false,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:'🤫',fitzpatrick_scale:false,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:'🤬',fitzpatrick_scale:false,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:'🤯',fitzpatrick_scale:false,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:'😳',fitzpatrick_scale:false,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:'😞',fitzpatrick_scale:false,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:'😟',fitzpatrick_scale:false,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:'😠',fitzpatrick_scale:false,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:'😡',fitzpatrick_scale:false,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:'😔',fitzpatrick_scale:false,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:'😕',fitzpatrick_scale:false,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:'🙁',fitzpatrick_scale:false,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:'☹',fitzpatrick_scale:false,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:'😣',fitzpatrick_scale:false,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:'😖',fitzpatrick_scale:false,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:'😫',fitzpatrick_scale:false,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:'😩',fitzpatrick_scale:false,category:"people"},pleading:{keywords:["face","begging","mercy"],char:'🥺',fitzpatrick_scale:false,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:'😤',fitzpatrick_scale:false,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:'😮',fitzpatrick_scale:false,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:'😱',fitzpatrick_scale:false,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:'😨',fitzpatrick_scale:false,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:'😰',fitzpatrick_scale:false,category:"people"},hushed:{keywords:["face","woo","shh"],char:'😯',fitzpatrick_scale:false,category:"people"},frowning:{keywords:["face","aw","what"],char:'😦',fitzpatrick_scale:false,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:'😧',fitzpatrick_scale:false,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:'😢',fitzpatrick_scale:false,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:'😥',fitzpatrick_scale:false,category:"people"},drooling_face:{keywords:["face"],char:'🤤',fitzpatrick_scale:false,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:'😪',fitzpatrick_scale:false,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:'😓',fitzpatrick_scale:false,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:'🥵',fitzpatrick_scale:false,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:'🥶',fitzpatrick_scale:false,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:'😭',fitzpatrick_scale:false,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:'😵',fitzpatrick_scale:false,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:'😲',fitzpatrick_scale:false,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:'🤐',fitzpatrick_scale:false,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:'🤢',fitzpatrick_scale:false,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:'🤧',fitzpatrick_scale:false,category:"people"},vomiting:{keywords:["face","sick"],char:'🤮',fitzpatrick_scale:false,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:'😷',fitzpatrick_scale:false,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:'🤒',fitzpatrick_scale:false,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:'🤕',fitzpatrick_scale:false,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:'🥴',fitzpatrick_scale:false,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:'😴',fitzpatrick_scale:false,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:'💤',fitzpatrick_scale:false,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:'💩',fitzpatrick_scale:false,category:"people"},smiling_imp:{keywords:["devil","horns"],char:'😈',fitzpatrick_scale:false,category:"people"},imp:{keywords:["devil","angry","horns"],char:'👿',fitzpatrick_scale:false,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:'👹',fitzpatrick_scale:false,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:'👺',fitzpatrick_scale:false,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:'💀',fitzpatrick_scale:false,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:'👻',fitzpatrick_scale:false,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:'👽',fitzpatrick_scale:false,category:"people"},robot:{keywords:["computer","machine","bot"],char:'🤖',fitzpatrick_scale:false,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:'😺',fitzpatrick_scale:false,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:'😸',fitzpatrick_scale:false,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:'😹',fitzpatrick_scale:false,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:'😻',fitzpatrick_scale:false,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:'😼',fitzpatrick_scale:false,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:'😽',fitzpatrick_scale:false,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:'🙀',fitzpatrick_scale:false,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:'😿',fitzpatrick_scale:false,category:"people"},pouting_cat:{keywords:["animal","cats"],char:'😾',fitzpatrick_scale:false,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:'🤲',fitzpatrick_scale:true,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:'🙌',fitzpatrick_scale:true,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:'👏',fitzpatrick_scale:true,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:'👋',fitzpatrick_scale:true,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:'🤙',fitzpatrick_scale:true,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:'👍',fitzpatrick_scale:true,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:'👎',fitzpatrick_scale:true,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:'👊',fitzpatrick_scale:true,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:'✊',fitzpatrick_scale:true,category:"people"},fist_left:{keywords:["hand","fistbump"],char:'🤛',fitzpatrick_scale:true,category:"people"},fist_right:{keywords:["hand","fistbump"],char:'🤜',fitzpatrick_scale:true,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:'✌',fitzpatrick_scale:true,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:'👌',fitzpatrick_scale:true,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:'✋',fitzpatrick_scale:true,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:'🤚',fitzpatrick_scale:true,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:'👐',fitzpatrick_scale:true,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:'💪',fitzpatrick_scale:true,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:'🙏',fitzpatrick_scale:true,category:"people"},foot:{keywords:["kick","stomp"],char:'🦶',fitzpatrick_scale:true,category:"people"},leg:{keywords:["kick","limb"],char:'🦵',fitzpatrick_scale:true,category:"people"},handshake:{keywords:["agreement","shake"],char:'🤝',fitzpatrick_scale:false,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:'☝',fitzpatrick_scale:true,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:'👆',fitzpatrick_scale:true,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:'👇',fitzpatrick_scale:true,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:'👈',fitzpatrick_scale:true,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:'👉',fitzpatrick_scale:true,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:'🖕',fitzpatrick_scale:true,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:'🖐',fitzpatrick_scale:true,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:'🤟',fitzpatrick_scale:true,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:'🤘',fitzpatrick_scale:true,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:'🤞',fitzpatrick_scale:true,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:'🖖',fitzpatrick_scale:true,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:'✍',fitzpatrick_scale:true,category:"people"},selfie:{keywords:["camera","phone"],char:'🤳',fitzpatrick_scale:true,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:'💅',fitzpatrick_scale:true,category:"people"},lips:{keywords:["mouth","kiss"],char:'👄',fitzpatrick_scale:false,category:"people"},tooth:{keywords:["teeth","dentist"],char:'🦷',fitzpatrick_scale:false,category:"people"},tongue:{keywords:["mouth","playful"],char:'👅',fitzpatrick_scale:false,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:'👂',fitzpatrick_scale:true,category:"people"},nose:{keywords:["smell","sniff"],char:'👃',fitzpatrick_scale:true,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:'👁',fitzpatrick_scale:false,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:'👀',fitzpatrick_scale:false,category:"people"},brain:{keywords:["smart","intelligent"],char:'🧠',fitzpatrick_scale:false,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:'👤',fitzpatrick_scale:false,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:'👥',fitzpatrick_scale:false,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:'🗣',fitzpatrick_scale:false,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:'👶',fitzpatrick_scale:true,category:"people"},child:{keywords:["gender-neutral","young"],char:'🧒',fitzpatrick_scale:true,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:'👦',fitzpatrick_scale:true,category:"people"},girl:{keywords:["female","woman","teenager"],char:'👧',fitzpatrick_scale:true,category:"people"},adult:{keywords:["gender-neutral","person"],char:'🧑',fitzpatrick_scale:true,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:'👨',fitzpatrick_scale:true,category:"people"},woman:{keywords:["female","girls","lady"],char:'👩',fitzpatrick_scale:true,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:'👱‍♀️',fitzpatrick_scale:true,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:'👱',fitzpatrick_scale:true,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:'🧔',fitzpatrick_scale:true,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:'🧓',fitzpatrick_scale:true,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:'👴',fitzpatrick_scale:true,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:'👵',fitzpatrick_scale:true,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:'👲',fitzpatrick_scale:true,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:'🧕',fitzpatrick_scale:true,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:'👳‍♀️',fitzpatrick_scale:true,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:'👳',fitzpatrick_scale:true,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:'👮‍♀️',fitzpatrick_scale:true,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:'👮',fitzpatrick_scale:true,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:'👷‍♀️',fitzpatrick_scale:true,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:'👷',fitzpatrick_scale:true,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:'💂‍♀️',fitzpatrick_scale:true,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:'💂',fitzpatrick_scale:true,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:'🕵️‍♀️',fitzpatrick_scale:true,category:"people"},male_detective:{keywords:["human","spy","detective"],char:'🕵',fitzpatrick_scale:true,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:'👩‍⚕️',fitzpatrick_scale:true,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:'👨‍⚕️',fitzpatrick_scale:true,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:'👩‍🌾',fitzpatrick_scale:true,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:'👨‍🌾',fitzpatrick_scale:true,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:'👩‍🍳',fitzpatrick_scale:true,category:"people"},man_cook:{keywords:["chef","man","human"],char:'👨‍🍳',fitzpatrick_scale:true,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:'👩‍🎓',fitzpatrick_scale:true,category:"people"},man_student:{keywords:["graduate","man","human"],char:'👨‍🎓',fitzpatrick_scale:true,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:'👩‍🎤',fitzpatrick_scale:true,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:'👨‍🎤',fitzpatrick_scale:true,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:'👩‍🏫',fitzpatrick_scale:true,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:'👨‍🏫',fitzpatrick_scale:true,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:'👩‍🏭',fitzpatrick_scale:true,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:'👨‍🏭',fitzpatrick_scale:true,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:'👩‍💻',fitzpatrick_scale:true,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:'👨‍💻',fitzpatrick_scale:true,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:'👩‍💼',fitzpatrick_scale:true,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:'👨‍💼',fitzpatrick_scale:true,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:'👩‍🔧',fitzpatrick_scale:true,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:'👨‍🔧',fitzpatrick_scale:true,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:'👩‍🔬',fitzpatrick_scale:true,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:'👨‍🔬',fitzpatrick_scale:true,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:'👩‍🎨',fitzpatrick_scale:true,category:"people"},man_artist:{keywords:["painter","man","human"],char:'👨‍🎨',fitzpatrick_scale:true,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:'👩‍🚒',fitzpatrick_scale:true,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:'👨‍🚒',fitzpatrick_scale:true,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:'👩‍✈️',fitzpatrick_scale:true,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:'👨‍✈️',fitzpatrick_scale:true,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:'👩‍🚀',fitzpatrick_scale:true,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:'👨‍🚀',fitzpatrick_scale:true,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:'👩‍⚖️',fitzpatrick_scale:true,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:'👨‍⚖️',fitzpatrick_scale:true,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:'🦸‍♀️',fitzpatrick_scale:true,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:'🦸‍♂️',fitzpatrick_scale:true,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:'🦹‍♀️',fitzpatrick_scale:true,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:'🦹‍♂️',fitzpatrick_scale:true,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:'🤶',fitzpatrick_scale:true,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:'🎅',fitzpatrick_scale:true,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:'🧙‍♀️',fitzpatrick_scale:true,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:'🧙‍♂️',fitzpatrick_scale:true,category:"people"},woman_elf:{keywords:["woman","female"],char:'🧝‍♀️',fitzpatrick_scale:true,category:"people"},man_elf:{keywords:["man","male"],char:'🧝‍♂️',fitzpatrick_scale:true,category:"people"},woman_vampire:{keywords:["woman","female"],char:'🧛‍♀️',fitzpatrick_scale:true,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:'🧛‍♂️',fitzpatrick_scale:true,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:'🧟‍♀️',fitzpatrick_scale:false,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:'🧟‍♂️',fitzpatrick_scale:false,category:"people"},woman_genie:{keywords:["woman","female"],char:'🧞‍♀️',fitzpatrick_scale:false,category:"people"},man_genie:{keywords:["man","male"],char:'🧞‍♂️',fitzpatrick_scale:false,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:'🧜‍♀️',fitzpatrick_scale:true,category:"people"},merman:{keywords:["man","male","triton"],char:'🧜‍♂️',fitzpatrick_scale:true,category:"people"},woman_fairy:{keywords:["woman","female"],char:'🧚‍♀️',fitzpatrick_scale:true,category:"people"},man_fairy:{keywords:["man","male"],char:'🧚‍♂️',fitzpatrick_scale:true,category:"people"},angel:{keywords:["heaven","wings","halo"],char:'👼',fitzpatrick_scale:true,category:"people"},pregnant_woman:{keywords:["baby"],char:'🤰',fitzpatrick_scale:true,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:'🤱',fitzpatrick_scale:true,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:'👸',fitzpatrick_scale:true,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:'🤴',fitzpatrick_scale:true,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:'👰',fitzpatrick_scale:true,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:'🤵',fitzpatrick_scale:true,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:'🏃‍♀️',fitzpatrick_scale:true,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:'🏃',fitzpatrick_scale:true,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:'🚶‍♀️',fitzpatrick_scale:true,category:"people"},walking_man:{keywords:["human","feet","steps"],char:'🚶',fitzpatrick_scale:true,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:'💃',fitzpatrick_scale:true,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:'🕺',fitzpatrick_scale:true,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:'👯',fitzpatrick_scale:false,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:'👯‍♂️',fitzpatrick_scale:false,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:'👫',fitzpatrick_scale:false,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:'👬',fitzpatrick_scale:false,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:'👭',fitzpatrick_scale:false,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:'🙇‍♀️',fitzpatrick_scale:true,category:"people"},bowing_man:{keywords:["man","male","boy"],char:'🙇',fitzpatrick_scale:true,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:'🤦‍♂️',fitzpatrick_scale:true,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:'🤦‍♀️',fitzpatrick_scale:true,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:'🤷',fitzpatrick_scale:true,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:'🤷‍♂️',fitzpatrick_scale:true,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:'💁',fitzpatrick_scale:true,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:'💁‍♂️',fitzpatrick_scale:true,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:'🙅',fitzpatrick_scale:true,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:'🙅‍♂️',fitzpatrick_scale:true,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:'🙆',fitzpatrick_scale:true,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:'🙆‍♂️',fitzpatrick_scale:true,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:'🙋',fitzpatrick_scale:true,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:'🙋‍♂️',fitzpatrick_scale:true,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:'🙎',fitzpatrick_scale:true,category:"people"},pouting_man:{keywords:["male","boy","man"],char:'🙎‍♂️',fitzpatrick_scale:true,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:'🙍',fitzpatrick_scale:true,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:'🙍‍♂️',fitzpatrick_scale:true,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:'💇',fitzpatrick_scale:true,category:"people"},haircut_man:{keywords:["male","boy","man"],char:'💇‍♂️',fitzpatrick_scale:true,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:'💆',fitzpatrick_scale:true,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:'💆‍♂️',fitzpatrick_scale:true,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:'🧖‍♀️',fitzpatrick_scale:true,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:'🧖‍♂️',fitzpatrick_scale:true,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'💑',fitzpatrick_scale:false,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'👩‍❤️‍👩',fitzpatrick_scale:false,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'👨‍❤️‍👨',fitzpatrick_scale:false,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'💏',fitzpatrick_scale:false,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'👩‍❤️‍💋‍👩',fitzpatrick_scale:false,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:'👨‍❤️‍💋‍👨',fitzpatrick_scale:false,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:'👪',fitzpatrick_scale:false,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:'👨‍👩‍👧',fitzpatrick_scale:false,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'👩‍👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧',fitzpatrick_scale:false,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:'👨‍👨‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:'👩‍👦',fitzpatrick_scale:false,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:'👩‍👧',fitzpatrick_scale:false,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:'👩‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:'👩‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:'👩‍👧‍👧',fitzpatrick_scale:false,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:'👨‍👦',fitzpatrick_scale:false,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:'👨‍👧',fitzpatrick_scale:false,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:'👨‍👧‍👦',fitzpatrick_scale:false,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:'👨‍👦‍👦',fitzpatrick_scale:false,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:'👨‍👧‍👧',fitzpatrick_scale:false,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:'🧶',fitzpatrick_scale:false,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:'🧵',fitzpatrick_scale:false,category:"people"},coat:{keywords:["jacket"],char:'🧥',fitzpatrick_scale:false,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:'🥼',fitzpatrick_scale:false,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:'👚',fitzpatrick_scale:false,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:'👕',fitzpatrick_scale:false,category:"people"},jeans:{keywords:["fashion","shopping"],char:'👖',fitzpatrick_scale:false,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:'👔',fitzpatrick_scale:false,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:'👗',fitzpatrick_scale:false,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:'👙',fitzpatrick_scale:false,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:'👘',fitzpatrick_scale:false,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:'💄',fitzpatrick_scale:false,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:'💋',fitzpatrick_scale:false,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:'👣',fitzpatrick_scale:false,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:'🥿',fitzpatrick_scale:false,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:'👠',fitzpatrick_scale:false,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:'👡',fitzpatrick_scale:false,category:"people"},boot:{keywords:["shoes","fashion"],char:'👢',fitzpatrick_scale:false,category:"people"},mans_shoe:{keywords:["fashion","male"],char:'👞',fitzpatrick_scale:false,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:'👟',fitzpatrick_scale:false,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:'🥾',fitzpatrick_scale:false,category:"people"},socks:{keywords:["stockings","clothes"],char:'🧦',fitzpatrick_scale:false,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:'🧤',fitzpatrick_scale:false,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:'🧣',fitzpatrick_scale:false,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:'👒',fitzpatrick_scale:false,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:'🎩',fitzpatrick_scale:false,category:"people"},billed_hat:{keywords:["cap","baseball"],char:'🧢',fitzpatrick_scale:false,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:'⛑',fitzpatrick_scale:false,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:'🎓',fitzpatrick_scale:false,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:'👑',fitzpatrick_scale:false,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:'🎒',fitzpatrick_scale:false,category:"people"},luggage:{keywords:["packing","travel"],char:'🧳',fitzpatrick_scale:false,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:'👝',fitzpatrick_scale:false,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:'👛',fitzpatrick_scale:false,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:'👜',fitzpatrick_scale:false,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:'💼',fitzpatrick_scale:false,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:'👓',fitzpatrick_scale:false,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:'🕶',fitzpatrick_scale:false,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:'🥽',fitzpatrick_scale:false,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:'💍',fitzpatrick_scale:false,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:'🌂',fitzpatrick_scale:false,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:'🐶',fitzpatrick_scale:false,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:'🐱',fitzpatrick_scale:false,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:'🐭',fitzpatrick_scale:false,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:'🐹',fitzpatrick_scale:false,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:'🐰',fitzpatrick_scale:false,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:'🦊',fitzpatrick_scale:false,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:'🐻',fitzpatrick_scale:false,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:'🐼',fitzpatrick_scale:false,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:'🐨',fitzpatrick_scale:false,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:'🐯',fitzpatrick_scale:false,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:'🦁',fitzpatrick_scale:false,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:'🐮',fitzpatrick_scale:false,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:'🐷',fitzpatrick_scale:false,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:'🐽',fitzpatrick_scale:false,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:'🐸',fitzpatrick_scale:false,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:'🦑',fitzpatrick_scale:false,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:'🐙',fitzpatrick_scale:false,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:'🦐',fitzpatrick_scale:false,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:'🐵',fitzpatrick_scale:false,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:'🦍',fitzpatrick_scale:false,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:'🙈',fitzpatrick_scale:false,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:'🙉',fitzpatrick_scale:false,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:'🙊',fitzpatrick_scale:false,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:'🐒',fitzpatrick_scale:false,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:'🐔',fitzpatrick_scale:false,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:'🐧',fitzpatrick_scale:false,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:'🐦',fitzpatrick_scale:false,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:'🐤',fitzpatrick_scale:false,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:'🐣',fitzpatrick_scale:false,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:'🐥',fitzpatrick_scale:false,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:'🦆',fitzpatrick_scale:false,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:'🦅',fitzpatrick_scale:false,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:'🦉',fitzpatrick_scale:false,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:'🦇',fitzpatrick_scale:false,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:'🐺',fitzpatrick_scale:false,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:'🐗',fitzpatrick_scale:false,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:'🐴',fitzpatrick_scale:false,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:'🦄',fitzpatrick_scale:false,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:'🐝',fitzpatrick_scale:false,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:'🐛',fitzpatrick_scale:false,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:'🦋',fitzpatrick_scale:false,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:'🐌',fitzpatrick_scale:false,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:'🐞',fitzpatrick_scale:false,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:'🐜',fitzpatrick_scale:false,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:'🦗',fitzpatrick_scale:false,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:'🕷',fitzpatrick_scale:false,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:'🦂',fitzpatrick_scale:false,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:'🦀',fitzpatrick_scale:false,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:'🐍',fitzpatrick_scale:false,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:'🦎',fitzpatrick_scale:false,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:'🦖',fitzpatrick_scale:false,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:'🦕',fitzpatrick_scale:false,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:'🐢',fitzpatrick_scale:false,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:'🐠',fitzpatrick_scale:false,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:'🐟',fitzpatrick_scale:false,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:'🐡',fitzpatrick_scale:false,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:'🐬',fitzpatrick_scale:false,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:'🦈',fitzpatrick_scale:false,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:'🐳',fitzpatrick_scale:false,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:'🐋',fitzpatrick_scale:false,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:'🐊',fitzpatrick_scale:false,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:'🐆',fitzpatrick_scale:false,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:'🦓',fitzpatrick_scale:false,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:'🐅',fitzpatrick_scale:false,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:'🐃',fitzpatrick_scale:false,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:'🐂',fitzpatrick_scale:false,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:'🐄',fitzpatrick_scale:false,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:'🦌',fitzpatrick_scale:false,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:'🐪',fitzpatrick_scale:false,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:'🐫',fitzpatrick_scale:false,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:'🦒',fitzpatrick_scale:false,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:'🐘',fitzpatrick_scale:false,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:'🦏',fitzpatrick_scale:false,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:'🐐',fitzpatrick_scale:false,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:'🐏',fitzpatrick_scale:false,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:'🐑',fitzpatrick_scale:false,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:'🐎',fitzpatrick_scale:false,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:'🐖',fitzpatrick_scale:false,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:'🐀',fitzpatrick_scale:false,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:'🐁',fitzpatrick_scale:false,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:'🐓',fitzpatrick_scale:false,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:'🦃',fitzpatrick_scale:false,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:'🕊',fitzpatrick_scale:false,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:'🐕',fitzpatrick_scale:false,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:'🐩',fitzpatrick_scale:false,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:'🐈',fitzpatrick_scale:false,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:'🐇',fitzpatrick_scale:false,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:'🐿',fitzpatrick_scale:false,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:'🦔',fitzpatrick_scale:false,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:'🦝',fitzpatrick_scale:false,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:'🦙',fitzpatrick_scale:false,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:'🦛',fitzpatrick_scale:false,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:'🦘',fitzpatrick_scale:false,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:'🦡',fitzpatrick_scale:false,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:'🦢',fitzpatrick_scale:false,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:'🦚',fitzpatrick_scale:false,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:'🦜',fitzpatrick_scale:false,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:'🦞',fitzpatrick_scale:false,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:'🦟',fitzpatrick_scale:false,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:'🐾',fitzpatrick_scale:false,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:'🐉',fitzpatrick_scale:false,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:'🐲',fitzpatrick_scale:false,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:'🌵',fitzpatrick_scale:false,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:'🎄',fitzpatrick_scale:false,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:'🌲',fitzpatrick_scale:false,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:'🌳',fitzpatrick_scale:false,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:'🌴',fitzpatrick_scale:false,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:'🌱',fitzpatrick_scale:false,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:'🌿',fitzpatrick_scale:false,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:'☘',fitzpatrick_scale:false,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:'🍀',fitzpatrick_scale:false,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:'🎍',fitzpatrick_scale:false,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:'🎋',fitzpatrick_scale:false,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:'🍃',fitzpatrick_scale:false,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:'🍂',fitzpatrick_scale:false,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:'🍁',fitzpatrick_scale:false,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:'🌾',fitzpatrick_scale:false,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:'🌺',fitzpatrick_scale:false,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:'🌻',fitzpatrick_scale:false,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:'🌹',fitzpatrick_scale:false,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:'🥀',fitzpatrick_scale:false,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:'🌷',fitzpatrick_scale:false,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:'🌼',fitzpatrick_scale:false,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:'🌸',fitzpatrick_scale:false,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:'💐',fitzpatrick_scale:false,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:'🍄',fitzpatrick_scale:false,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:'🌰',fitzpatrick_scale:false,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:'🎃',fitzpatrick_scale:false,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:'🐚',fitzpatrick_scale:false,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:'🕸',fitzpatrick_scale:false,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:'🌎',fitzpatrick_scale:false,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:'🌍',fitzpatrick_scale:false,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:'🌏',fitzpatrick_scale:false,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:'🌕',fitzpatrick_scale:false,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:'🌖',fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌗',fitzpatrick_scale:false,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌘',fitzpatrick_scale:false,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌑',fitzpatrick_scale:false,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌒',fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌓',fitzpatrick_scale:false,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:'🌔',fitzpatrick_scale:false,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌚',fitzpatrick_scale:false,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌝',fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌛',fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'🌜',fitzpatrick_scale:false,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:'🌞',fitzpatrick_scale:false,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:'🌙',fitzpatrick_scale:false,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:'⭐',fitzpatrick_scale:false,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:'🌟',fitzpatrick_scale:false,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:'💫',fitzpatrick_scale:false,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:'✨',fitzpatrick_scale:false,category:"animals_and_nature"},comet:{keywords:["space"],char:'☄',fitzpatrick_scale:false,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:'☀️',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:'🌤',fitzpatrick_scale:false,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:'⛅',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:'🌥',fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:'🌦',fitzpatrick_scale:false,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:'☁️',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:'🌧',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:'⛈',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:'🌩',fitzpatrick_scale:false,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:'⚡',fitzpatrick_scale:false,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:'🔥',fitzpatrick_scale:false,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:'💥',fitzpatrick_scale:false,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:'❄️',fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:'🌨',fitzpatrick_scale:false,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:'⛄',fitzpatrick_scale:false,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:'☃',fitzpatrick_scale:false,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:'🌬',fitzpatrick_scale:false,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:'💨',fitzpatrick_scale:false,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:'🌪',fitzpatrick_scale:false,category:"animals_and_nature"},fog:{keywords:["weather"],char:'🌫',fitzpatrick_scale:false,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:'☂',fitzpatrick_scale:false,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:'☔',fitzpatrick_scale:false,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:'💧',fitzpatrick_scale:false,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:'💦',fitzpatrick_scale:false,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:'🌊',fitzpatrick_scale:false,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:'🍏',fitzpatrick_scale:false,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:'🍎',fitzpatrick_scale:false,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:'🍐',fitzpatrick_scale:false,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:'🍊',fitzpatrick_scale:false,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:'🍋',fitzpatrick_scale:false,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:'🍌',fitzpatrick_scale:false,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:'🍉',fitzpatrick_scale:false,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:'🍇',fitzpatrick_scale:false,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:'🍓',fitzpatrick_scale:false,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:'🍈',fitzpatrick_scale:false,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:'🍒',fitzpatrick_scale:false,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:'🍑',fitzpatrick_scale:false,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:'🍍',fitzpatrick_scale:false,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:'🥥',fitzpatrick_scale:false,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:'🥝',fitzpatrick_scale:false,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:'🥭',fitzpatrick_scale:false,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:'🥑',fitzpatrick_scale:false,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:'🥦',fitzpatrick_scale:false,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:'🍅',fitzpatrick_scale:false,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:'🍆',fitzpatrick_scale:false,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:'🥒',fitzpatrick_scale:false,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:'🥕',fitzpatrick_scale:false,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:'🌶',fitzpatrick_scale:false,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:'🥔',fitzpatrick_scale:false,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:'🌽',fitzpatrick_scale:false,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:'🥬',fitzpatrick_scale:false,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:'🍠',fitzpatrick_scale:false,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:'🥜',fitzpatrick_scale:false,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:'🍯',fitzpatrick_scale:false,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:'🥐',fitzpatrick_scale:false,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:'🍞',fitzpatrick_scale:false,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:'🥖',fitzpatrick_scale:false,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:'🥯',fitzpatrick_scale:false,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:'🥨',fitzpatrick_scale:false,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:'🧀',fitzpatrick_scale:false,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:'🥚',fitzpatrick_scale:false,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:'🥓',fitzpatrick_scale:false,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:'🥩',fitzpatrick_scale:false,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:'🥞',fitzpatrick_scale:false,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:'🍗',fitzpatrick_scale:false,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:'🍖',fitzpatrick_scale:false,category:"food_and_drink"},bone:{keywords:["skeleton"],char:'🦴',fitzpatrick_scale:false,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:'🍤',fitzpatrick_scale:false,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:'🍳',fitzpatrick_scale:false,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:'🍔',fitzpatrick_scale:false,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:'🍟',fitzpatrick_scale:false,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:'🥙',fitzpatrick_scale:false,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:'🌭',fitzpatrick_scale:false,category:"food_and_drink"},pizza:{keywords:["food","party"],char:'🍕',fitzpatrick_scale:false,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:'🥪',fitzpatrick_scale:false,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:'🥫',fitzpatrick_scale:false,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:'🍝',fitzpatrick_scale:false,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:'🌮',fitzpatrick_scale:false,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:'🌯',fitzpatrick_scale:false,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:'🥗',fitzpatrick_scale:false,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:'🥘',fitzpatrick_scale:false,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:'🍜',fitzpatrick_scale:false,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:'🍲',fitzpatrick_scale:false,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:'🍥',fitzpatrick_scale:false,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:'🥠',fitzpatrick_scale:false,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:'🍣',fitzpatrick_scale:false,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:'🍱',fitzpatrick_scale:false,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:'🍛',fitzpatrick_scale:false,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:'🍙',fitzpatrick_scale:false,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:'🍚',fitzpatrick_scale:false,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:'🍘',fitzpatrick_scale:false,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:'🍢',fitzpatrick_scale:false,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:'🍡',fitzpatrick_scale:false,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:'🍧',fitzpatrick_scale:false,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:'🍨',fitzpatrick_scale:false,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:'🍦',fitzpatrick_scale:false,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:'🥧',fitzpatrick_scale:false,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:'🍰',fitzpatrick_scale:false,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:'🧁',fitzpatrick_scale:false,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:'🥮',fitzpatrick_scale:false,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:'🎂',fitzpatrick_scale:false,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:'🍮',fitzpatrick_scale:false,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:'🍬',fitzpatrick_scale:false,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:'🍭',fitzpatrick_scale:false,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:'🍫',fitzpatrick_scale:false,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:'🍿',fitzpatrick_scale:false,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:'🥟',fitzpatrick_scale:false,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:'🍩',fitzpatrick_scale:false,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:'🍪',fitzpatrick_scale:false,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:'🥛',fitzpatrick_scale:false,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'🍺',fitzpatrick_scale:false,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'🍻',fitzpatrick_scale:false,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:'🥂',fitzpatrick_scale:false,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:'🍷',fitzpatrick_scale:false,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:'🥃',fitzpatrick_scale:false,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:'🍸',fitzpatrick_scale:false,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:'🍹',fitzpatrick_scale:false,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:'🍾',fitzpatrick_scale:false,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:'🍶',fitzpatrick_scale:false,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:'🍵',fitzpatrick_scale:false,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:'🥤',fitzpatrick_scale:false,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:'☕',fitzpatrick_scale:false,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:'🍼',fitzpatrick_scale:false,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:'🧂',fitzpatrick_scale:false,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:'🥄',fitzpatrick_scale:false,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:'🍴',fitzpatrick_scale:false,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:'🍽',fitzpatrick_scale:false,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:'🥣',fitzpatrick_scale:false,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:'🥡',fitzpatrick_scale:false,category:"food_and_drink"},chopsticks:{keywords:["food"],char:'🥢',fitzpatrick_scale:false,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:'⚽',fitzpatrick_scale:false,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:'🏀',fitzpatrick_scale:false,category:"activity"},football:{keywords:["sports","balls","NFL"],char:'🏈',fitzpatrick_scale:false,category:"activity"},baseball:{keywords:["sports","balls"],char:'⚾',fitzpatrick_scale:false,category:"activity"},softball:{keywords:["sports","balls"],char:'🥎',fitzpatrick_scale:false,category:"activity"},tennis:{keywords:["sports","balls","green"],char:'🎾',fitzpatrick_scale:false,category:"activity"},volleyball:{keywords:["sports","balls"],char:'🏐',fitzpatrick_scale:false,category:"activity"},rugby_football:{keywords:["sports","team"],char:'🏉',fitzpatrick_scale:false,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:'🥏',fitzpatrick_scale:false,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:'🎱',fitzpatrick_scale:false,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:'⛳',fitzpatrick_scale:false,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:'🏌️‍♀️',fitzpatrick_scale:false,category:"activity"},golfing_man:{keywords:["sports","business"],char:'🏌',fitzpatrick_scale:true,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:'🏓',fitzpatrick_scale:false,category:"activity"},badminton:{keywords:["sports"],char:'🏸',fitzpatrick_scale:false,category:"activity"},goal_net:{keywords:["sports"],char:'🥅',fitzpatrick_scale:false,category:"activity"},ice_hockey:{keywords:["sports"],char:'🏒',fitzpatrick_scale:false,category:"activity"},field_hockey:{keywords:["sports"],char:'🏑',fitzpatrick_scale:false,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:'🥍',fitzpatrick_scale:false,category:"activity"},cricket:{keywords:["sports"],char:'🏏',fitzpatrick_scale:false,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:'🎿',fitzpatrick_scale:false,category:"activity"},skier:{keywords:["sports","winter","snow"],char:'⛷',fitzpatrick_scale:false,category:"activity"},snowboarder:{keywords:["sports","winter"],char:'🏂',fitzpatrick_scale:true,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:'🤺',fitzpatrick_scale:false,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:'🤼‍♀️',fitzpatrick_scale:false,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:'🤼‍♂️',fitzpatrick_scale:false,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:'🤸‍♀️',fitzpatrick_scale:true,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:'🤸‍♂️',fitzpatrick_scale:true,category:"activity"},woman_playing_handball:{keywords:["sports"],char:'🤾‍♀️',fitzpatrick_scale:true,category:"activity"},man_playing_handball:{keywords:["sports"],char:'🤾‍♂️',fitzpatrick_scale:true,category:"activity"},ice_skate:{keywords:["sports"],char:'⛸',fitzpatrick_scale:false,category:"activity"},curling_stone:{keywords:["sports"],char:'🥌',fitzpatrick_scale:false,category:"activity"},skateboard:{keywords:["board"],char:'🛹',fitzpatrick_scale:false,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:'🛷',fitzpatrick_scale:false,category:"activity"},bow_and_arrow:{keywords:["sports"],char:'🏹',fitzpatrick_scale:false,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:'🎣',fitzpatrick_scale:false,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:'🥊',fitzpatrick_scale:false,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:'🥋',fitzpatrick_scale:false,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:'🚣‍♀️',fitzpatrick_scale:true,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:'🚣',fitzpatrick_scale:true,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:'🧗‍♀️',fitzpatrick_scale:true,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:'🧗‍♂️',fitzpatrick_scale:true,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:'🏊‍♀️',fitzpatrick_scale:true,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:'🏊',fitzpatrick_scale:true,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:'🤽‍♀️',fitzpatrick_scale:true,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:'🤽‍♂️',fitzpatrick_scale:true,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:'🧘‍♀️',fitzpatrick_scale:true,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:'🧘‍♂️',fitzpatrick_scale:true,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:'🏄‍♀️',fitzpatrick_scale:true,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:'🏄',fitzpatrick_scale:true,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:'🛀',fitzpatrick_scale:true,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:'⛹️‍♀️',fitzpatrick_scale:true,category:"activity"},basketball_man:{keywords:["sports","human"],char:'⛹',fitzpatrick_scale:true,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:'🏋️‍♀️',fitzpatrick_scale:true,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:'🏋',fitzpatrick_scale:true,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:'🚴‍♀️',fitzpatrick_scale:true,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:'🚴',fitzpatrick_scale:true,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:'🚵‍♀️',fitzpatrick_scale:true,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:'🚵',fitzpatrick_scale:true,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:'🏇',fitzpatrick_scale:true,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:'🕴',fitzpatrick_scale:true,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:'🏆',fitzpatrick_scale:false,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:'🎽',fitzpatrick_scale:false,category:"activity"},medal_sports:{keywords:["award","winning"],char:'🏅',fitzpatrick_scale:false,category:"activity"},medal_military:{keywords:["award","winning","army"],char:'🎖',fitzpatrick_scale:false,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:'🥇',fitzpatrick_scale:false,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:'🥈',fitzpatrick_scale:false,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:'🥉',fitzpatrick_scale:false,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:'🎗',fitzpatrick_scale:false,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:'🏵',fitzpatrick_scale:false,category:"activity"},ticket:{keywords:["event","concert","pass"],char:'🎫',fitzpatrick_scale:false,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:'🎟',fitzpatrick_scale:false,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:'🎭',fitzpatrick_scale:false,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:'🎨',fitzpatrick_scale:false,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:'🎪',fitzpatrick_scale:false,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:'🤹‍♀️',fitzpatrick_scale:true,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:'🤹‍♂️',fitzpatrick_scale:true,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:'🎤',fitzpatrick_scale:false,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:'🎧',fitzpatrick_scale:false,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:'🎼',fitzpatrick_scale:false,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:'🎹',fitzpatrick_scale:false,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:'🥁',fitzpatrick_scale:false,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:'🎷',fitzpatrick_scale:false,category:"activity"},trumpet:{keywords:["music","brass"],char:'🎺',fitzpatrick_scale:false,category:"activity"},guitar:{keywords:["music","instrument"],char:'🎸',fitzpatrick_scale:false,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:'🎻',fitzpatrick_scale:false,category:"activity"},clapper:{keywords:["movie","film","record"],char:'🎬',fitzpatrick_scale:false,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:'🎮',fitzpatrick_scale:false,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:'👾',fitzpatrick_scale:false,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:'🎯',fitzpatrick_scale:false,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:'🎲',fitzpatrick_scale:false,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:false,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:'🎰',fitzpatrick_scale:false,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:'🧩',fitzpatrick_scale:false,category:"activity"},bowling:{keywords:["sports","fun","play"],char:'🎳',fitzpatrick_scale:false,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:'🚗',fitzpatrick_scale:false,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:'🚕',fitzpatrick_scale:false,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:'🚙',fitzpatrick_scale:false,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:'🚌',fitzpatrick_scale:false,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:'🚎',fitzpatrick_scale:false,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:'🏎',fitzpatrick_scale:false,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:'🚓',fitzpatrick_scale:false,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:'🚑',fitzpatrick_scale:false,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:'🚒',fitzpatrick_scale:false,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:'🚐',fitzpatrick_scale:false,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:'🚚',fitzpatrick_scale:false,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:'🚛',fitzpatrick_scale:false,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:'🚜',fitzpatrick_scale:false,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:'🛴',fitzpatrick_scale:false,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:'🏍',fitzpatrick_scale:false,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:'🚲',fitzpatrick_scale:false,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:'🛵',fitzpatrick_scale:false,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:'🚨',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:'🚔',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:'🚍',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:'🚘',fitzpatrick_scale:false,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:'🚖',fitzpatrick_scale:false,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:'🚡',fitzpatrick_scale:false,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:'🚠',fitzpatrick_scale:false,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:'🚟',fitzpatrick_scale:false,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:'🚃',fitzpatrick_scale:false,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:'🚋',fitzpatrick_scale:false,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:'🚝',fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:'🚄',fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:'🚅',fitzpatrick_scale:false,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:'🚈',fitzpatrick_scale:false,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:'🚞',fitzpatrick_scale:false,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:'🚂',fitzpatrick_scale:false,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:'🚆',fitzpatrick_scale:false,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:'🚇',fitzpatrick_scale:false,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:'🚊',fitzpatrick_scale:false,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:'🚉',fitzpatrick_scale:false,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:'🛸',fitzpatrick_scale:false,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:'🚁',fitzpatrick_scale:false,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:'🛩',fitzpatrick_scale:false,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:'✈️',fitzpatrick_scale:false,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:'🛫',fitzpatrick_scale:false,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:'🛬',fitzpatrick_scale:false,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:'⛵',fitzpatrick_scale:false,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:'🛥',fitzpatrick_scale:false,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:'🚤',fitzpatrick_scale:false,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:'⛴',fitzpatrick_scale:false,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:'🛳',fitzpatrick_scale:false,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:'🚀',fitzpatrick_scale:false,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:'🛰',fitzpatrick_scale:false,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:'💺',fitzpatrick_scale:false,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:'🛶',fitzpatrick_scale:false,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:'⚓',fitzpatrick_scale:false,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:'🚧',fitzpatrick_scale:false,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:'⛽',fitzpatrick_scale:false,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:'🚏',fitzpatrick_scale:false,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:'🚦',fitzpatrick_scale:false,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:'🚥',fitzpatrick_scale:false,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:'🏁',fitzpatrick_scale:false,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:'🚢',fitzpatrick_scale:false,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:'🎡',fitzpatrick_scale:false,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:'🎢',fitzpatrick_scale:false,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:'🎠',fitzpatrick_scale:false,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:'🏗',fitzpatrick_scale:false,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:'🌁',fitzpatrick_scale:false,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:'🗼',fitzpatrick_scale:false,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:'🏭',fitzpatrick_scale:false,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:'⛲',fitzpatrick_scale:false,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:'🎑',fitzpatrick_scale:false,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:'⛰',fitzpatrick_scale:false,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:'🏔',fitzpatrick_scale:false,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:'🗻',fitzpatrick_scale:false,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:'🌋',fitzpatrick_scale:false,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:'🗾',fitzpatrick_scale:false,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:'🏕',fitzpatrick_scale:false,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:'⛺',fitzpatrick_scale:false,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:'🏞',fitzpatrick_scale:false,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:'🛣',fitzpatrick_scale:false,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:'🛤',fitzpatrick_scale:false,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:'🌅',fitzpatrick_scale:false,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:'🌄',fitzpatrick_scale:false,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:'🏜',fitzpatrick_scale:false,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:'🏖',fitzpatrick_scale:false,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:'🏝',fitzpatrick_scale:false,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:'🌇',fitzpatrick_scale:false,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:'🌆',fitzpatrick_scale:false,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:'🏙',fitzpatrick_scale:false,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:'🌃',fitzpatrick_scale:false,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:'🌉',fitzpatrick_scale:false,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:'🌌',fitzpatrick_scale:false,category:"travel_and_places"},stars:{keywords:["night","photo"],char:'🌠',fitzpatrick_scale:false,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:'🎇',fitzpatrick_scale:false,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:'🎆',fitzpatrick_scale:false,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:'🌈',fitzpatrick_scale:false,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:'🏘',fitzpatrick_scale:false,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:'🏰',fitzpatrick_scale:false,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:'🏯',fitzpatrick_scale:false,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:'🏟',fitzpatrick_scale:false,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:'🗽',fitzpatrick_scale:false,category:"travel_and_places"},house:{keywords:["building","home"],char:'🏠',fitzpatrick_scale:false,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:'🏡',fitzpatrick_scale:false,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:'🏚',fitzpatrick_scale:false,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:'🏢',fitzpatrick_scale:false,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:'🏬',fitzpatrick_scale:false,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:'🏣',fitzpatrick_scale:false,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:'🏤',fitzpatrick_scale:false,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:'🏥',fitzpatrick_scale:false,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:'🏦',fitzpatrick_scale:false,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:'🏨',fitzpatrick_scale:false,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:'🏪',fitzpatrick_scale:false,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:'🏫',fitzpatrick_scale:false,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:'🏩',fitzpatrick_scale:false,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:'💒',fitzpatrick_scale:false,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:'🏛',fitzpatrick_scale:false,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:'⛪',fitzpatrick_scale:false,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:'🕌',fitzpatrick_scale:false,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:'🕍',fitzpatrick_scale:false,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:'🕋',fitzpatrick_scale:false,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:'⛩',fitzpatrick_scale:false,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:'⌚',fitzpatrick_scale:false,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:'📱',fitzpatrick_scale:false,category:"objects"},calling:{keywords:["iphone","incoming"],char:'📲',fitzpatrick_scale:false,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:'💻',fitzpatrick_scale:false,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:'⌨',fitzpatrick_scale:false,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:'🖥',fitzpatrick_scale:false,category:"objects"},printer:{keywords:["paper","ink"],char:'🖨',fitzpatrick_scale:false,category:"objects"},computer_mouse:{keywords:["click"],char:'🖱',fitzpatrick_scale:false,category:"objects"},trackball:{keywords:["technology","trackpad"],char:'🖲',fitzpatrick_scale:false,category:"objects"},joystick:{keywords:["game","play"],char:'🕹',fitzpatrick_scale:false,category:"objects"},clamp:{keywords:["tool"],char:'🗜',fitzpatrick_scale:false,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:'💽',fitzpatrick_scale:false,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:'💾',fitzpatrick_scale:false,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:'💿',fitzpatrick_scale:false,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:'📀',fitzpatrick_scale:false,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:'📼',fitzpatrick_scale:false,category:"objects"},camera:{keywords:["gadgets","photography"],char:'📷',fitzpatrick_scale:false,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:'📸',fitzpatrick_scale:false,category:"objects"},video_camera:{keywords:["film","record"],char:'📹',fitzpatrick_scale:false,category:"objects"},movie_camera:{keywords:["film","record"],char:'🎥',fitzpatrick_scale:false,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:'📽',fitzpatrick_scale:false,category:"objects"},film_strip:{keywords:["movie"],char:'🎞',fitzpatrick_scale:false,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:'📞',fitzpatrick_scale:false,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:'☎️',fitzpatrick_scale:false,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:'📟',fitzpatrick_scale:false,category:"objects"},fax:{keywords:["communication","technology"],char:'📠',fitzpatrick_scale:false,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:'📺',fitzpatrick_scale:false,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:'📻',fitzpatrick_scale:false,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:'🎙',fitzpatrick_scale:false,category:"objects"},level_slider:{keywords:["scale"],char:'🎚',fitzpatrick_scale:false,category:"objects"},control_knobs:{keywords:["dial"],char:'🎛',fitzpatrick_scale:false,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:'🧭',fitzpatrick_scale:false,category:"objects"},stopwatch:{keywords:["time","deadline"],char:'⏱',fitzpatrick_scale:false,category:"objects"},timer_clock:{keywords:["alarm"],char:'⏲',fitzpatrick_scale:false,category:"objects"},alarm_clock:{keywords:["time","wake"],char:'⏰',fitzpatrick_scale:false,category:"objects"},mantelpiece_clock:{keywords:["time"],char:'🕰',fitzpatrick_scale:false,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:'⏳',fitzpatrick_scale:false,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:'⌛',fitzpatrick_scale:false,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:'📡',fitzpatrick_scale:false,category:"objects"},battery:{keywords:["power","energy","sustain"],char:'🔋',fitzpatrick_scale:false,category:"objects"},electric_plug:{keywords:["charger","power"],char:'🔌',fitzpatrick_scale:false,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:'💡',fitzpatrick_scale:false,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:'🔦',fitzpatrick_scale:false,category:"objects"},candle:{keywords:["fire","wax"],char:'🕯',fitzpatrick_scale:false,category:"objects"},fire_extinguisher:{keywords:["quench"],char:'🧯',fitzpatrick_scale:false,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:'🗑',fitzpatrick_scale:false,category:"objects"},oil_drum:{keywords:["barrell"],char:'🛢',fitzpatrick_scale:false,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:'💸',fitzpatrick_scale:false,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:'💵',fitzpatrick_scale:false,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:'💴',fitzpatrick_scale:false,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:'💶',fitzpatrick_scale:false,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:'💷',fitzpatrick_scale:false,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:'💰',fitzpatrick_scale:false,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:'💳',fitzpatrick_scale:false,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:'💎',fitzpatrick_scale:false,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:'⚖',fitzpatrick_scale:false,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:'🧰',fitzpatrick_scale:false,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:'🔧',fitzpatrick_scale:false,category:"objects"},hammer:{keywords:["tools","build","create"],char:'🔨',fitzpatrick_scale:false,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:'⚒',fitzpatrick_scale:false,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:'🛠',fitzpatrick_scale:false,category:"objects"},pick:{keywords:["tools","dig"],char:'⛏',fitzpatrick_scale:false,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:'🔩',fitzpatrick_scale:false,category:"objects"},gear:{keywords:["cog"],char:'⚙',fitzpatrick_scale:false,category:"objects"},brick:{keywords:["bricks"],char:'🧱',fitzpatrick_scale:false,category:"objects"},chains:{keywords:["lock","arrest"],char:'⛓',fitzpatrick_scale:false,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:'🧲',fitzpatrick_scale:false,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:'🔫',fitzpatrick_scale:false,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:'💣',fitzpatrick_scale:false,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:'🧨',fitzpatrick_scale:false,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:'🔪',fitzpatrick_scale:false,category:"objects"},dagger:{keywords:["weapon"],char:'🗡',fitzpatrick_scale:false,category:"objects"},crossed_swords:{keywords:["weapon"],char:'⚔',fitzpatrick_scale:false,category:"objects"},shield:{keywords:["protection","security"],char:'🛡',fitzpatrick_scale:false,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:'🚬',fitzpatrick_scale:false,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:'☠',fitzpatrick_scale:false,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:'⚰',fitzpatrick_scale:false,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:'⚱',fitzpatrick_scale:false,category:"objects"},amphora:{keywords:["vase","jar"],char:'🏺',fitzpatrick_scale:false,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:'🔮',fitzpatrick_scale:false,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:'📿',fitzpatrick_scale:false,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:'🧿',fitzpatrick_scale:false,category:"objects"},barber:{keywords:["hair","salon","style"],char:'💈',fitzpatrick_scale:false,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:'⚗',fitzpatrick_scale:false,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:'🔭',fitzpatrick_scale:false,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:'🔬',fitzpatrick_scale:false,category:"objects"},hole:{keywords:["embarrassing"],char:'🕳',fitzpatrick_scale:false,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:'💊',fitzpatrick_scale:false,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:'💉',fitzpatrick_scale:false,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:'🧬',fitzpatrick_scale:false,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:'🦠',fitzpatrick_scale:false,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:'🧫',fitzpatrick_scale:false,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:'🧪',fitzpatrick_scale:false,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:'🌡',fitzpatrick_scale:false,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:'🧹',fitzpatrick_scale:false,category:"objects"},basket:{keywords:["laundry"],char:'🧺',fitzpatrick_scale:false,category:"objects"},toilet_paper:{keywords:["roll"],char:'🧻',fitzpatrick_scale:false,category:"objects"},label:{keywords:["sale","tag"],char:'🏷',fitzpatrick_scale:false,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:'🔖',fitzpatrick_scale:false,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:'🚽',fitzpatrick_scale:false,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:'🚿',fitzpatrick_scale:false,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:'🛁',fitzpatrick_scale:false,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:'🧼',fitzpatrick_scale:false,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:'🧽',fitzpatrick_scale:false,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:'🧴',fitzpatrick_scale:false,category:"objects"},key:{keywords:["lock","door","password"],char:'🔑',fitzpatrick_scale:false,category:"objects"},old_key:{keywords:["lock","door","password"],char:'🗝',fitzpatrick_scale:false,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:'🛋',fitzpatrick_scale:false,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:'🛌',fitzpatrick_scale:true,category:"objects"},bed:{keywords:["sleep","rest"],char:'🛏',fitzpatrick_scale:false,category:"objects"},door:{keywords:["house","entry","exit"],char:'🚪',fitzpatrick_scale:false,category:"objects"},bellhop_bell:{keywords:["service"],char:'🛎',fitzpatrick_scale:false,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:'🧸',fitzpatrick_scale:false,category:"objects"},framed_picture:{keywords:["photography"],char:'🖼',fitzpatrick_scale:false,category:"objects"},world_map:{keywords:["location","direction"],char:'🗺',fitzpatrick_scale:false,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:'⛱',fitzpatrick_scale:false,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:'🗿',fitzpatrick_scale:false,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:'🛍',fitzpatrick_scale:false,category:"objects"},shopping_cart:{keywords:["trolley"],char:'🛒',fitzpatrick_scale:false,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:'🎈',fitzpatrick_scale:false,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:'🎏',fitzpatrick_scale:false,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:'🎀',fitzpatrick_scale:false,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:'🎁',fitzpatrick_scale:false,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:'🎊',fitzpatrick_scale:false,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:'🎉',fitzpatrick_scale:false,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:'🎎',fitzpatrick_scale:false,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:'🎐',fitzpatrick_scale:false,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:'🎌',fitzpatrick_scale:false,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:'🏮',fitzpatrick_scale:false,category:"objects"},red_envelope:{keywords:["gift"],char:'🧧',fitzpatrick_scale:false,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:'✉️',fitzpatrick_scale:false,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:'📩',fitzpatrick_scale:false,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:'📨',fitzpatrick_scale:false,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:'📧',fitzpatrick_scale:false,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:'💌',fitzpatrick_scale:false,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:'📮',fitzpatrick_scale:false,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:'📪',fitzpatrick_scale:false,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:'📫',fitzpatrick_scale:false,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:'📬',fitzpatrick_scale:false,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:'📭',fitzpatrick_scale:false,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:'📦',fitzpatrick_scale:false,category:"objects"},postal_horn:{keywords:["instrument","music"],char:'📯',fitzpatrick_scale:false,category:"objects"},inbox_tray:{keywords:["email","documents"],char:'📥',fitzpatrick_scale:false,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:'📤',fitzpatrick_scale:false,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:'📜',fitzpatrick_scale:false,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:'📃',fitzpatrick_scale:false,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:'📑',fitzpatrick_scale:false,category:"objects"},receipt:{keywords:["accounting","expenses"],char:'🧾',fitzpatrick_scale:false,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:'📊',fitzpatrick_scale:false,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:'📈',fitzpatrick_scale:false,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:'📉',fitzpatrick_scale:false,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:'📄',fitzpatrick_scale:false,category:"objects"},date:{keywords:["calendar","schedule"],char:'📅',fitzpatrick_scale:false,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:'📆',fitzpatrick_scale:false,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:'🗓',fitzpatrick_scale:false,category:"objects"},card_index:{keywords:["business","stationery"],char:'📇',fitzpatrick_scale:false,category:"objects"},card_file_box:{keywords:["business","stationery"],char:'🗃',fitzpatrick_scale:false,category:"objects"},ballot_box:{keywords:["election","vote"],char:'🗳',fitzpatrick_scale:false,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:'🗄',fitzpatrick_scale:false,category:"objects"},clipboard:{keywords:["stationery","documents"],char:'📋',fitzpatrick_scale:false,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:'🗒',fitzpatrick_scale:false,category:"objects"},file_folder:{keywords:["documents","business","office"],char:'📁',fitzpatrick_scale:false,category:"objects"},open_file_folder:{keywords:["documents","load"],char:'📂',fitzpatrick_scale:false,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:'🗂',fitzpatrick_scale:false,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:'🗞',fitzpatrick_scale:false,category:"objects"},newspaper:{keywords:["press","headline"],char:'📰',fitzpatrick_scale:false,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:'📓',fitzpatrick_scale:false,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:'📕',fitzpatrick_scale:false,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:'📗',fitzpatrick_scale:false,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:'📘',fitzpatrick_scale:false,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:'📙',fitzpatrick_scale:false,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:'📔',fitzpatrick_scale:false,category:"objects"},ledger:{keywords:["notes","paper"],char:'📒',fitzpatrick_scale:false,category:"objects"},books:{keywords:["literature","library","study"],char:'📚',fitzpatrick_scale:false,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:'📖',fitzpatrick_scale:false,category:"objects"},safety_pin:{keywords:["diaper"],char:'🧷',fitzpatrick_scale:false,category:"objects"},link:{keywords:["rings","url"],char:'🔗',fitzpatrick_scale:false,category:"objects"},paperclip:{keywords:["documents","stationery"],char:'📎',fitzpatrick_scale:false,category:"objects"},paperclips:{keywords:["documents","stationery"],char:'🖇',fitzpatrick_scale:false,category:"objects"},scissors:{keywords:["stationery","cut"],char:'✂️',fitzpatrick_scale:false,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:'📐',fitzpatrick_scale:false,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:'📏',fitzpatrick_scale:false,category:"objects"},abacus:{keywords:["calculation"],char:'🧮',fitzpatrick_scale:false,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:'📌',fitzpatrick_scale:false,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:'📍',fitzpatrick_scale:false,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:'🚩',fitzpatrick_scale:false,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:'🏳',fitzpatrick_scale:false,category:"objects"},black_flag:{keywords:["pirate"],char:'🏴',fitzpatrick_scale:false,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:'🏳️‍🌈',fitzpatrick_scale:false,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:'🔐',fitzpatrick_scale:false,category:"objects"},lock:{keywords:["security","password","padlock"],char:'🔒',fitzpatrick_scale:false,category:"objects"},unlock:{keywords:["privacy","security"],char:'🔓',fitzpatrick_scale:false,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:'🔏',fitzpatrick_scale:false,category:"objects"},pen:{keywords:["stationery","writing","write"],char:'🖊',fitzpatrick_scale:false,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:'🖋',fitzpatrick_scale:false,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:'✒️',fitzpatrick_scale:false,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:'📝',fitzpatrick_scale:false,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:'✏️',fitzpatrick_scale:false,category:"objects"},crayon:{keywords:["drawing","creativity"],char:'🖍',fitzpatrick_scale:false,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:'🖌',fitzpatrick_scale:false,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:'🔍',fitzpatrick_scale:false,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:'🔎',fitzpatrick_scale:false,category:"objects"},heart:{keywords:["love","like","valentines"],char:'❤️',fitzpatrick_scale:false,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:'🧡',fitzpatrick_scale:false,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:'💛',fitzpatrick_scale:false,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:'💚',fitzpatrick_scale:false,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:'💙',fitzpatrick_scale:false,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:'💜',fitzpatrick_scale:false,category:"symbols"},black_heart:{keywords:["evil"],char:'🖤',fitzpatrick_scale:false,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:'💔',fitzpatrick_scale:false,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:'❣',fitzpatrick_scale:false,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:'💕',fitzpatrick_scale:false,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:'💞',fitzpatrick_scale:false,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:'💓',fitzpatrick_scale:false,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:'💗',fitzpatrick_scale:false,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:'💖',fitzpatrick_scale:false,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:'💘',fitzpatrick_scale:false,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:'💝',fitzpatrick_scale:false,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:'💟',fitzpatrick_scale:false,category:"symbols"},peace_symbol:{keywords:["hippie"],char:'☮',fitzpatrick_scale:false,category:"symbols"},latin_cross:{keywords:["christianity"],char:'✝',fitzpatrick_scale:false,category:"symbols"},star_and_crescent:{keywords:["islam"],char:'☪',fitzpatrick_scale:false,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'🕉',fitzpatrick_scale:false,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'☸',fitzpatrick_scale:false,category:"symbols"},star_of_david:{keywords:["judaism"],char:'✡',fitzpatrick_scale:false,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:'🔯',fitzpatrick_scale:false,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:'🕎',fitzpatrick_scale:false,category:"symbols"},yin_yang:{keywords:["balance"],char:'☯',fitzpatrick_scale:false,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:'☦',fitzpatrick_scale:false,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:'🛐',fitzpatrick_scale:false,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:'⛎',fitzpatrick_scale:false,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:'♈',fitzpatrick_scale:false,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:'♉',fitzpatrick_scale:false,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:'♊',fitzpatrick_scale:false,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:'♋',fitzpatrick_scale:false,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:'♌',fitzpatrick_scale:false,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:'♍',fitzpatrick_scale:false,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:'♎',fitzpatrick_scale:false,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:'♏',fitzpatrick_scale:false,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:'♐',fitzpatrick_scale:false,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:'♑',fitzpatrick_scale:false,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:'♒',fitzpatrick_scale:false,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:'♓',fitzpatrick_scale:false,category:"symbols"},id:{keywords:["purple-square","words"],char:'🆔',fitzpatrick_scale:false,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:'⚛',fitzpatrick_scale:false,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:'🈳',fitzpatrick_scale:false,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:'🈹',fitzpatrick_scale:false,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:'☢',fitzpatrick_scale:false,category:"symbols"},biohazard:{keywords:["danger"],char:'☣',fitzpatrick_scale:false,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:'📴',fitzpatrick_scale:false,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:'📳',fitzpatrick_scale:false,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:'🈶',fitzpatrick_scale:false,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:'🈚',fitzpatrick_scale:false,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:'🈸',fitzpatrick_scale:false,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:'🈺',fitzpatrick_scale:false,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:'🈷️',fitzpatrick_scale:false,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:'✴️',fitzpatrick_scale:false,category:"symbols"},vs:{keywords:["words","orange-square"],char:'🆚',fitzpatrick_scale:false,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:'🉑',fitzpatrick_scale:false,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:'💮',fitzpatrick_scale:false,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:'🉐',fitzpatrick_scale:false,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:'㊙️',fitzpatrick_scale:false,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:'㊗️',fitzpatrick_scale:false,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:'🈴',fitzpatrick_scale:false,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:'🈵',fitzpatrick_scale:false,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:'🈲',fitzpatrick_scale:false,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:'🅰️',fitzpatrick_scale:false,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:'🅱️',fitzpatrick_scale:false,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:'🆎',fitzpatrick_scale:false,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:'🆑',fitzpatrick_scale:false,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:'🅾️',fitzpatrick_scale:false,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:'🆘',fitzpatrick_scale:false,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:'⛔',fitzpatrick_scale:false,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:'📛',fitzpatrick_scale:false,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:'🚫',fitzpatrick_scale:false,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:'❌',fitzpatrick_scale:false,category:"symbols"},o:{keywords:["circle","round"],char:'⭕',fitzpatrick_scale:false,category:"symbols"},stop_sign:{keywords:["stop"],char:'🛑',fitzpatrick_scale:false,category:"symbols"},anger:{keywords:["angry","mad"],char:'💢',fitzpatrick_scale:false,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:'♨️',fitzpatrick_scale:false,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:'🚷',fitzpatrick_scale:false,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:'🚯',fitzpatrick_scale:false,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:'🚳',fitzpatrick_scale:false,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:'🚱',fitzpatrick_scale:false,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:'🔞',fitzpatrick_scale:false,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:'📵',fitzpatrick_scale:false,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:'❗',fitzpatrick_scale:false,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:'❕',fitzpatrick_scale:false,category:"symbols"},question:{keywords:["doubt","confused"],char:'❓',fitzpatrick_scale:false,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:'❔',fitzpatrick_scale:false,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:'‼️',fitzpatrick_scale:false,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:'⁉️',fitzpatrick_scale:false,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:'🔅',fitzpatrick_scale:false,category:"symbols"},high_brightness:{keywords:["sun","light"],char:'🔆',fitzpatrick_scale:false,category:"symbols"},trident:{keywords:["weapon","spear"],char:'🔱',fitzpatrick_scale:false,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:'⚜',fitzpatrick_scale:false,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:'〽️',fitzpatrick_scale:false,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:'⚠️',fitzpatrick_scale:false,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:'🚸',fitzpatrick_scale:false,category:"symbols"},beginner:{keywords:["badge","shield"],char:'🔰',fitzpatrick_scale:false,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:'♻️',fitzpatrick_scale:false,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:'🈯',fitzpatrick_scale:false,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:'💹',fitzpatrick_scale:false,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:'❇️',fitzpatrick_scale:false,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:'✳️',fitzpatrick_scale:false,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:'❎',fitzpatrick_scale:false,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:'✅',fitzpatrick_scale:false,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:'💠',fitzpatrick_scale:false,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:'🌀',fitzpatrick_scale:false,category:"symbols"},loop:{keywords:["tape","cassette"],char:'➿',fitzpatrick_scale:false,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:'🌐',fitzpatrick_scale:false,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:'Ⓜ️',fitzpatrick_scale:false,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:'🏧',fitzpatrick_scale:false,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:'🈂️',fitzpatrick_scale:false,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:'🛂',fitzpatrick_scale:false,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:'🛃',fitzpatrick_scale:false,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:'🛄',fitzpatrick_scale:false,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:'🛅',fitzpatrick_scale:false,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:'♿',fitzpatrick_scale:false,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:'🚭',fitzpatrick_scale:false,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:'🚾',fitzpatrick_scale:false,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:'🅿️',fitzpatrick_scale:false,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:'🚰',fitzpatrick_scale:false,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:'🚹',fitzpatrick_scale:false,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:'🚺',fitzpatrick_scale:false,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:'🚼',fitzpatrick_scale:false,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:'🚻',fitzpatrick_scale:false,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:'🚮',fitzpatrick_scale:false,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:'🎦',fitzpatrick_scale:false,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:'📶',fitzpatrick_scale:false,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:'🈁',fitzpatrick_scale:false,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:'🆖',fitzpatrick_scale:false,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:'🆗',fitzpatrick_scale:false,category:"symbols"},up:{keywords:["blue-square","above","high"],char:'🆙',fitzpatrick_scale:false,category:"symbols"},cool:{keywords:["words","blue-square"],char:'🆒',fitzpatrick_scale:false,category:"symbols"},new:{keywords:["blue-square","words","start"],char:'🆕',fitzpatrick_scale:false,category:"symbols"},free:{keywords:["blue-square","words"],char:'🆓',fitzpatrick_scale:false,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:'0️⃣',fitzpatrick_scale:false,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:'1️⃣',fitzpatrick_scale:false,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:'2️⃣',fitzpatrick_scale:false,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:'3️⃣',fitzpatrick_scale:false,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:'4️⃣',fitzpatrick_scale:false,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:'5️⃣',fitzpatrick_scale:false,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:'6️⃣',fitzpatrick_scale:false,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:'7️⃣',fitzpatrick_scale:false,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:'8️⃣',fitzpatrick_scale:false,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:'9️⃣',fitzpatrick_scale:false,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:'🔟',fitzpatrick_scale:false,category:"symbols"},asterisk:{keywords:["star","keycap"],char:'*⃣',fitzpatrick_scale:false,category:"symbols"},eject_button:{keywords:["blue-square"],char:'⏏️',fitzpatrick_scale:false,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:'▶️',fitzpatrick_scale:false,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:'⏸',fitzpatrick_scale:false,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:'⏭',fitzpatrick_scale:false,category:"symbols"},stop_button:{keywords:["blue-square"],char:'⏹',fitzpatrick_scale:false,category:"symbols"},record_button:{keywords:["blue-square"],char:'⏺',fitzpatrick_scale:false,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:'⏯',fitzpatrick_scale:false,category:"symbols"},previous_track_button:{keywords:["backward"],char:'⏮',fitzpatrick_scale:false,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:'⏩',fitzpatrick_scale:false,category:"symbols"},rewind:{keywords:["play","blue-square"],char:'⏪',fitzpatrick_scale:false,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:'🔀',fitzpatrick_scale:false,category:"symbols"},repeat:{keywords:["loop","record"],char:'🔁',fitzpatrick_scale:false,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:'🔂',fitzpatrick_scale:false,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:'◀️',fitzpatrick_scale:false,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:'🔼',fitzpatrick_scale:false,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:'🔽',fitzpatrick_scale:false,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:'⏫',fitzpatrick_scale:false,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:'⏬',fitzpatrick_scale:false,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:'➡️',fitzpatrick_scale:false,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:'⬅️',fitzpatrick_scale:false,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:'⬆️',fitzpatrick_scale:false,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:'⬇️',fitzpatrick_scale:false,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:'↗️',fitzpatrick_scale:false,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:'↘️',fitzpatrick_scale:false,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:'↙️',fitzpatrick_scale:false,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:'↖️',fitzpatrick_scale:false,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:'↕️',fitzpatrick_scale:false,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:'↔️',fitzpatrick_scale:false,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:'🔄',fitzpatrick_scale:false,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:'↪️',fitzpatrick_scale:false,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:'↩️',fitzpatrick_scale:false,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:'⤴️',fitzpatrick_scale:false,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:'⤵️',fitzpatrick_scale:false,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:'#️⃣',fitzpatrick_scale:false,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:'ℹ️',fitzpatrick_scale:false,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:'🔤',fitzpatrick_scale:false,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:'🔡',fitzpatrick_scale:false,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:'🔠',fitzpatrick_scale:false,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:'🔣',fitzpatrick_scale:false,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:'🎵',fitzpatrick_scale:false,category:"symbols"},notes:{keywords:["music","score"],char:'🎶',fitzpatrick_scale:false,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:'〰️',fitzpatrick_scale:false,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:'➰',fitzpatrick_scale:false,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:'✔️',fitzpatrick_scale:false,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:'🔃',fitzpatrick_scale:false,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:'➕',fitzpatrick_scale:false,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:'➖',fitzpatrick_scale:false,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:'➗',fitzpatrick_scale:false,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:'✖️',fitzpatrick_scale:false,category:"symbols"},infinity:{keywords:["forever"],char:'♾',fitzpatrick_scale:false,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:'💲',fitzpatrick_scale:false,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:'💱',fitzpatrick_scale:false,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:'©️',fitzpatrick_scale:false,category:"symbols"},registered:{keywords:["alphabet","circle"],char:'®️',fitzpatrick_scale:false,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:'™️',fitzpatrick_scale:false,category:"symbols"},end:{keywords:["words","arrow"],char:'🔚',fitzpatrick_scale:false,category:"symbols"},back:{keywords:["arrow","words","return"],char:'🔙',fitzpatrick_scale:false,category:"symbols"},on:{keywords:["arrow","words"],char:'🔛',fitzpatrick_scale:false,category:"symbols"},top:{keywords:["words","blue-square"],char:'🔝',fitzpatrick_scale:false,category:"symbols"},soon:{keywords:["arrow","words"],char:'🔜',fitzpatrick_scale:false,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:'☑️',fitzpatrick_scale:false,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:'🔘',fitzpatrick_scale:false,category:"symbols"},white_circle:{keywords:["shape","round"],char:'⚪',fitzpatrick_scale:false,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:'⚫',fitzpatrick_scale:false,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:'🔴',fitzpatrick_scale:false,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:'🔵',fitzpatrick_scale:false,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:'🔸',fitzpatrick_scale:false,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:'🔹',fitzpatrick_scale:false,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:'🔶',fitzpatrick_scale:false,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:'🔷',fitzpatrick_scale:false,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:'🔺',fitzpatrick_scale:false,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:'▪️',fitzpatrick_scale:false,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:'▫️',fitzpatrick_scale:false,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:'⬛',fitzpatrick_scale:false,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:'⬜',fitzpatrick_scale:false,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:'🔻',fitzpatrick_scale:false,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:'◼️',fitzpatrick_scale:false,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:'◻️',fitzpatrick_scale:false,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:'◾',fitzpatrick_scale:false,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:'◽',fitzpatrick_scale:false,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:'🔲',fitzpatrick_scale:false,category:"symbols"},white_square_button:{keywords:["shape","input"],char:'🔳',fitzpatrick_scale:false,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:'🔈',fitzpatrick_scale:false,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:'🔉',fitzpatrick_scale:false,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:'🔊',fitzpatrick_scale:false,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:'🔇',fitzpatrick_scale:false,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:'📣',fitzpatrick_scale:false,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:'📢',fitzpatrick_scale:false,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:'🔔',fitzpatrick_scale:false,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:'🔕',fitzpatrick_scale:false,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:'🃏',fitzpatrick_scale:false,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:'🀄',fitzpatrick_scale:false,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:'♠️',fitzpatrick_scale:false,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:'♣️',fitzpatrick_scale:false,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:'♥️',fitzpatrick_scale:false,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:'♦️',fitzpatrick_scale:false,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:'🎴',fitzpatrick_scale:false,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:'💭',fitzpatrick_scale:false,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:'🗯',fitzpatrick_scale:false,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:'💬',fitzpatrick_scale:false,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:'🗨',fitzpatrick_scale:false,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:'🕐',fitzpatrick_scale:false,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:'🕑',fitzpatrick_scale:false,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:'🕒',fitzpatrick_scale:false,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:'🕓',fitzpatrick_scale:false,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:'🕔',fitzpatrick_scale:false,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:'🕕',fitzpatrick_scale:false,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:'🕖',fitzpatrick_scale:false,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:'🕗',fitzpatrick_scale:false,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:'🕘',fitzpatrick_scale:false,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:'🕙',fitzpatrick_scale:false,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:'🕚',fitzpatrick_scale:false,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:'🕛',fitzpatrick_scale:false,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:'🕜',fitzpatrick_scale:false,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:'🕝',fitzpatrick_scale:false,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:'🕞',fitzpatrick_scale:false,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:'🕟',fitzpatrick_scale:false,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:'🕠',fitzpatrick_scale:false,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:'🕡',fitzpatrick_scale:false,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:'🕢',fitzpatrick_scale:false,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:'🕣',fitzpatrick_scale:false,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:'🕤',fitzpatrick_scale:false,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:'🕥',fitzpatrick_scale:false,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:'🕦',fitzpatrick_scale:false,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:'🕧',fitzpatrick_scale:false,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:'🇦🇫',fitzpatrick_scale:false,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:'🇦🇽',fitzpatrick_scale:false,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:'🇦🇱',fitzpatrick_scale:false,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:'🇩🇿',fitzpatrick_scale:false,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:'🇦🇸',fitzpatrick_scale:false,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:'🇦🇩',fitzpatrick_scale:false,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:'🇦🇴',fitzpatrick_scale:false,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:'🇦🇮',fitzpatrick_scale:false,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:'🇦🇶',fitzpatrick_scale:false,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:'🇦🇬',fitzpatrick_scale:false,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:'🇦🇷',fitzpatrick_scale:false,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:'🇦🇲',fitzpatrick_scale:false,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:'🇦🇼',fitzpatrick_scale:false,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:'🇦🇺',fitzpatrick_scale:false,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:'🇦🇹',fitzpatrick_scale:false,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:'🇦🇿',fitzpatrick_scale:false,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:'🇧🇸',fitzpatrick_scale:false,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:'🇧🇭',fitzpatrick_scale:false,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:'🇧🇩',fitzpatrick_scale:false,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:'🇧🇧',fitzpatrick_scale:false,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:'🇧🇾',fitzpatrick_scale:false,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:'🇧🇪',fitzpatrick_scale:false,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:'🇧🇿',fitzpatrick_scale:false,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:'🇧🇯',fitzpatrick_scale:false,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:'🇧🇲',fitzpatrick_scale:false,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:'🇧🇹',fitzpatrick_scale:false,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:'🇧🇴',fitzpatrick_scale:false,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:'🇧🇶',fitzpatrick_scale:false,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:'🇧🇦',fitzpatrick_scale:false,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:'🇧🇼',fitzpatrick_scale:false,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:'🇧🇷',fitzpatrick_scale:false,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:'🇮🇴',fitzpatrick_scale:false,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:'🇻🇬',fitzpatrick_scale:false,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:'🇧🇳',fitzpatrick_scale:false,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:'🇧🇬',fitzpatrick_scale:false,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:'🇧🇫',fitzpatrick_scale:false,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:'🇧🇮',fitzpatrick_scale:false,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:'🇨🇻',fitzpatrick_scale:false,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:'🇰🇭',fitzpatrick_scale:false,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:'🇨🇲',fitzpatrick_scale:false,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:'🇨🇦',fitzpatrick_scale:false,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:'🇮🇨',fitzpatrick_scale:false,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:'🇰🇾',fitzpatrick_scale:false,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:'🇨🇫',fitzpatrick_scale:false,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:'🇹🇩',fitzpatrick_scale:false,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:'🇨🇱',fitzpatrick_scale:false,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:'🇨🇳',fitzpatrick_scale:false,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:'🇨🇽',fitzpatrick_scale:false,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:'🇨🇨',fitzpatrick_scale:false,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:'🇨🇴',fitzpatrick_scale:false,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:'🇰🇲',fitzpatrick_scale:false,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:'🇨🇬',fitzpatrick_scale:false,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:'🇨🇩',fitzpatrick_scale:false,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:'🇨🇰',fitzpatrick_scale:false,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:'🇨🇷',fitzpatrick_scale:false,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:'🇭🇷',fitzpatrick_scale:false,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:'🇨🇺',fitzpatrick_scale:false,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:'🇨🇼',fitzpatrick_scale:false,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:'🇨🇾',fitzpatrick_scale:false,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:'🇨🇿',fitzpatrick_scale:false,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:'🇩🇰',fitzpatrick_scale:false,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:'🇩🇯',fitzpatrick_scale:false,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:'🇩🇲',fitzpatrick_scale:false,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:'🇩🇴',fitzpatrick_scale:false,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:'🇪🇨',fitzpatrick_scale:false,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:'🇪🇬',fitzpatrick_scale:false,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:'🇸🇻',fitzpatrick_scale:false,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:'🇬🇶',fitzpatrick_scale:false,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:'🇪🇷',fitzpatrick_scale:false,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:'🇪🇪',fitzpatrick_scale:false,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:'🇪🇹',fitzpatrick_scale:false,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:'🇪🇺',fitzpatrick_scale:false,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:'🇫🇰',fitzpatrick_scale:false,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:'🇫🇴',fitzpatrick_scale:false,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:'🇫🇯',fitzpatrick_scale:false,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:'🇫🇮',fitzpatrick_scale:false,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:'🇫🇷',fitzpatrick_scale:false,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:'🇬🇫',fitzpatrick_scale:false,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:'🇵🇫',fitzpatrick_scale:false,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:'🇹🇫',fitzpatrick_scale:false,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:'🇬🇦',fitzpatrick_scale:false,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:'🇬🇲',fitzpatrick_scale:false,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:'🇬🇪',fitzpatrick_scale:false,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:'🇩🇪',fitzpatrick_scale:false,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:'🇬🇭',fitzpatrick_scale:false,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:'🇬🇮',fitzpatrick_scale:false,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:'🇬🇷',fitzpatrick_scale:false,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:'🇬🇱',fitzpatrick_scale:false,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:'🇬🇩',fitzpatrick_scale:false,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:'🇬🇵',fitzpatrick_scale:false,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:'🇬🇺',fitzpatrick_scale:false,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:'🇬🇹',fitzpatrick_scale:false,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:'🇬🇬',fitzpatrick_scale:false,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:'🇬🇳',fitzpatrick_scale:false,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:'🇬🇼',fitzpatrick_scale:false,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:'🇬🇾',fitzpatrick_scale:false,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:'🇭🇹',fitzpatrick_scale:false,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:'🇭🇳',fitzpatrick_scale:false,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:'🇭🇰',fitzpatrick_scale:false,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:'🇭🇺',fitzpatrick_scale:false,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:'🇮🇸',fitzpatrick_scale:false,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:'🇮🇳',fitzpatrick_scale:false,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:'🇮🇩',fitzpatrick_scale:false,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:'🇮🇷',fitzpatrick_scale:false,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:'🇮🇶',fitzpatrick_scale:false,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:'🇮🇪',fitzpatrick_scale:false,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:'🇮🇲',fitzpatrick_scale:false,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:'🇮🇱',fitzpatrick_scale:false,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:'🇮🇹',fitzpatrick_scale:false,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:'🇨🇮',fitzpatrick_scale:false,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:'🇯🇲',fitzpatrick_scale:false,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:'🇯🇵',fitzpatrick_scale:false,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:'🇯🇪',fitzpatrick_scale:false,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:'🇯🇴',fitzpatrick_scale:false,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:'🇰🇿',fitzpatrick_scale:false,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:'🇰🇪',fitzpatrick_scale:false,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:'🇰🇮',fitzpatrick_scale:false,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:'🇽🇰',fitzpatrick_scale:false,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:'🇰🇼',fitzpatrick_scale:false,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:'🇰🇬',fitzpatrick_scale:false,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:'🇱🇦',fitzpatrick_scale:false,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:'🇱🇻',fitzpatrick_scale:false,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:'🇱🇧',fitzpatrick_scale:false,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:'🇱🇸',fitzpatrick_scale:false,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:'🇱🇷',fitzpatrick_scale:false,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:'🇱🇾',fitzpatrick_scale:false,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:'🇱🇮',fitzpatrick_scale:false,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:'🇱🇹',fitzpatrick_scale:false,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:'🇱🇺',fitzpatrick_scale:false,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:'🇲🇴',fitzpatrick_scale:false,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:'🇲🇰',fitzpatrick_scale:false,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:'🇲🇬',fitzpatrick_scale:false,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:'🇲🇼',fitzpatrick_scale:false,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:'🇲🇾',fitzpatrick_scale:false,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:'🇲🇻',fitzpatrick_scale:false,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:'🇲🇱',fitzpatrick_scale:false,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:'🇲🇹',fitzpatrick_scale:false,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:'🇲🇭',fitzpatrick_scale:false,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:'🇲🇶',fitzpatrick_scale:false,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:'🇲🇷',fitzpatrick_scale:false,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:'🇲🇺',fitzpatrick_scale:false,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:'🇾🇹',fitzpatrick_scale:false,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:'🇲🇽',fitzpatrick_scale:false,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:'🇫🇲',fitzpatrick_scale:false,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:'🇲🇩',fitzpatrick_scale:false,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:'🇲🇨',fitzpatrick_scale:false,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:'🇲🇳',fitzpatrick_scale:false,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:'🇲🇪',fitzpatrick_scale:false,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:'🇲🇸',fitzpatrick_scale:false,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:'🇲🇦',fitzpatrick_scale:false,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:'🇲🇿',fitzpatrick_scale:false,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:'🇲🇲',fitzpatrick_scale:false,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:'🇳🇦',fitzpatrick_scale:false,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:'🇳🇷',fitzpatrick_scale:false,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:'🇳🇵',fitzpatrick_scale:false,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:'🇳🇱',fitzpatrick_scale:false,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:'🇳🇨',fitzpatrick_scale:false,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:'🇳🇿',fitzpatrick_scale:false,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:'🇳🇮',fitzpatrick_scale:false,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:'🇳🇪',fitzpatrick_scale:false,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:'🇳🇬',fitzpatrick_scale:false,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:'🇳🇺',fitzpatrick_scale:false,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:'🇳🇫',fitzpatrick_scale:false,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:'🇲🇵',fitzpatrick_scale:false,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:'🇰🇵',fitzpatrick_scale:false,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:'🇳🇴',fitzpatrick_scale:false,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:'🇴🇲',fitzpatrick_scale:false,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:'🇵🇰',fitzpatrick_scale:false,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:'🇵🇼',fitzpatrick_scale:false,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:'🇵🇸',fitzpatrick_scale:false,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:'🇵🇦',fitzpatrick_scale:false,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:'🇵🇬',fitzpatrick_scale:false,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:'🇵🇾',fitzpatrick_scale:false,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:'🇵🇪',fitzpatrick_scale:false,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:'🇵🇭',fitzpatrick_scale:false,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:'🇵🇳',fitzpatrick_scale:false,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:'🇵🇱',fitzpatrick_scale:false,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:'🇵🇹',fitzpatrick_scale:false,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:'🇵🇷',fitzpatrick_scale:false,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:'🇶🇦',fitzpatrick_scale:false,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:'🇷🇪',fitzpatrick_scale:false,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:'🇷🇴',fitzpatrick_scale:false,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:'🇷🇺',fitzpatrick_scale:false,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:'🇷🇼',fitzpatrick_scale:false,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:'🇧🇱',fitzpatrick_scale:false,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:'🇸🇭',fitzpatrick_scale:false,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:'🇰🇳',fitzpatrick_scale:false,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:'🇱🇨',fitzpatrick_scale:false,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:'🇵🇲',fitzpatrick_scale:false,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:'🇻🇨',fitzpatrick_scale:false,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:'🇼🇸',fitzpatrick_scale:false,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:'🇸🇲',fitzpatrick_scale:false,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:'🇸🇹',fitzpatrick_scale:false,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:'🇸🇦',fitzpatrick_scale:false,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:'🇸🇳',fitzpatrick_scale:false,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:'🇷🇸',fitzpatrick_scale:false,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:'🇸🇨',fitzpatrick_scale:false,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:'🇸🇱',fitzpatrick_scale:false,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:'🇸🇬',fitzpatrick_scale:false,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:'🇸🇽',fitzpatrick_scale:false,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:'🇸🇰',fitzpatrick_scale:false,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:'🇸🇮',fitzpatrick_scale:false,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:'🇸🇧',fitzpatrick_scale:false,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:'🇸🇴',fitzpatrick_scale:false,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:'🇿🇦',fitzpatrick_scale:false,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:'🇬🇸',fitzpatrick_scale:false,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:'🇰🇷',fitzpatrick_scale:false,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:'🇸🇸',fitzpatrick_scale:false,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:'🇪🇸',fitzpatrick_scale:false,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:'🇱🇰',fitzpatrick_scale:false,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:'🇸🇩',fitzpatrick_scale:false,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:'🇸🇷',fitzpatrick_scale:false,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:'🇸🇿',fitzpatrick_scale:false,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:'🇸🇪',fitzpatrick_scale:false,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:'🇨🇭',fitzpatrick_scale:false,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:'🇸🇾',fitzpatrick_scale:false,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:'🇹🇼',fitzpatrick_scale:false,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:'🇹🇯',fitzpatrick_scale:false,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:'🇹🇿',fitzpatrick_scale:false,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:'🇹🇭',fitzpatrick_scale:false,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:'🇹🇱',fitzpatrick_scale:false,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:'🇹🇬',fitzpatrick_scale:false,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:'🇹🇰',fitzpatrick_scale:false,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:'🇹🇴',fitzpatrick_scale:false,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:'🇹🇹',fitzpatrick_scale:false,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:'🇹🇳',fitzpatrick_scale:false,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:'🇹🇷',fitzpatrick_scale:false,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:'🇹🇲',fitzpatrick_scale:false,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:'🇹🇨',fitzpatrick_scale:false,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:'🇹🇻',fitzpatrick_scale:false,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:'🇺🇬',fitzpatrick_scale:false,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:'🇺🇦',fitzpatrick_scale:false,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:'🇦🇪',fitzpatrick_scale:false,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:'🇬🇧',fitzpatrick_scale:false,category:"flags"},england:{keywords:["flag","english"],char:'🏴󠁧󠁢󠁥󠁮󠁧󠁿',fitzpatrick_scale:false,category:"flags"},scotland:{keywords:["flag","scottish"],char:'🏴󠁧󠁢󠁳󠁣󠁴󠁿',fitzpatrick_scale:false,category:"flags"},wales:{keywords:["flag","welsh"],char:'🏴󠁧󠁢󠁷󠁬󠁳󠁿',fitzpatrick_scale:false,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:'🇺🇸',fitzpatrick_scale:false,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:'🇻🇮',fitzpatrick_scale:false,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:'🇺🇾',fitzpatrick_scale:false,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:'🇺🇿',fitzpatrick_scale:false,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:'🇻🇺',fitzpatrick_scale:false,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:'🇻🇦',fitzpatrick_scale:false,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:'🇻🇪',fitzpatrick_scale:false,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:'🇻🇳',fitzpatrick_scale:false,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:'🇼🇫',fitzpatrick_scale:false,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:'🇪🇭',fitzpatrick_scale:false,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:'🇾🇪',fitzpatrick_scale:false,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:'🇿🇲',fitzpatrick_scale:false,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:'🇿🇼',fitzpatrick_scale:false,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:'🇺🇳',fitzpatrick_scale:false,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:'🏴‍☠️',fitzpatrick_scale:false,category:"flags"}}); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.min.js b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.min.js new file mode 100644 index 0000000..37f3bcf --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojiimages.min.js @@ -0,0 +1,3 @@ +// Source: npm package: emojilib +// Images provided by twemoji: https://github.com/twitter/twemoji +window.tinymce.Resource.add("tinymce.plugins.emoticons",{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:'\u{1f4af}',fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:'\u{1f522}',fitzpatrick_scale:!1,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:'\u{1f600}',fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:'\u{1f62c}',fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:'\u{1f601}',fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:'\u{1f602}',fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:'\u{1f923}',fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:'\u{1f973}',fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:'\u{1f603}',fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:'\u{1f604}',fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:'\u{1f605}',fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:'\u{1f606}',fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:'\u{1f607}',fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:'\u{1f609}',fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:'\u{1f60a}',fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:'\u{1f642}',fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:'\u{1f643}',fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:'\u263a\ufe0f',fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:'\u{1f60b}',fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:'\u{1f60c}',fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:'\u{1f60d}',fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:'\u{1f970}',fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\u{1f618}',fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:'\u{1f617}',fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:'\u{1f619}',fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\u{1f61a}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:'\u{1f61c}',fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:'\u{1f92a}',fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:'\u{1f928}',fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:'\u{1f9d0}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:'\u{1f61d}',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:'\u{1f61b}',fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:'\u{1f911}',fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:'\u{1f913}',fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:'\u{1f60e}',fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:'\u{1f929}',fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:'\u{1f921}',fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:'\u{1f920}',fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:'\u{1f917}',fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:'\u{1f60f}',fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:'\u{1f636}',fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:'\u{1f610}',fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:'\u{1f611}',fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:'\u{1f612}',fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:'\u{1f644}',fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:'\u{1f914}',fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:'\u{1f925}',fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:'\u{1f92d}',fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:'\u{1f92b}',fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:'\u{1f92c}',fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:'\u{1f92f}',fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:'\u{1f633}',fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:'\u{1f61e}',fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:'\u{1f61f}',fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:'\u{1f620}',fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:'\u{1f621}',fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:'\u{1f614}',fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:'\u{1f615}',fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:'\u{1f641}',fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:'\u2639',fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:'\u{1f623}',fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:'\u{1f616}',fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:'\u{1f62b}',fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:'\u{1f629}',fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:'\u{1f97a}',fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:'\u{1f624}',fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:'\u{1f62e}',fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:'\u{1f631}',fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:'\u{1f628}',fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:'\u{1f630}',fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:'\u{1f62f}',fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:'\u{1f626}',fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:'\u{1f627}',fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:'\u{1f622}',fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:'\u{1f625}',fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:'\u{1f924}',fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:'\u{1f62a}',fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:'\u{1f613}',fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:'\u{1f975}',fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:'\u{1f976}',fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:'\u{1f62d}',fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:'\u{1f635}',fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:'\u{1f632}',fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:'\u{1f910}',fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:'\u{1f922}',fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:'\u{1f927}',fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:'\u{1f92e}',fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:'\u{1f637}',fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:'\u{1f912}',fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:'\u{1f915}',fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:'\u{1f974}',fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:'\u{1f634}',fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:'\u{1f4a4}',fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:'\u{1f4a9}',fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:'\u{1f608}',fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:'\u{1f47f}',fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:'\u{1f479}',fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:'\u{1f47a}',fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:'\u{1f480}',fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:'\u{1f47b}',fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:'\u{1f47d}',fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:'\u{1f916}',fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:'\u{1f63a}',fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:'\u{1f638}',fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:'\u{1f639}',fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:'\u{1f63b}',fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:'\u{1f63c}',fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:'\u{1f63d}',fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:'\u{1f640}',fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:'\u{1f63f}',fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:'\u{1f63e}',fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:'\u{1f932}',fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:'\u{1f64c}',fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:'\u{1f44f}',fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:'\u{1f44b}',fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:'\u{1f919}',fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:'\u{1f44d}',fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:'\u{1f44e}',fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:'\u{1f44a}',fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:'\u270a',fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:'\u{1f91b}',fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:'\u{1f91c}',fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:'\u270c',fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:'\u{1f44c}',fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:'\u270b',fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:'\u{1f91a}',fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:'\u{1f450}',fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:'\u{1f4aa}',fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:'\u{1f64f}',fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:'\u{1f9b6}',fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:'\u{1f9b5}',fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:'\u{1f91d}',fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:'\u261d',fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:'\u{1f446}',fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:'\u{1f447}',fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:'\u{1f448}',fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:'\u{1f449}',fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:'\u{1f595}',fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:'\u{1f590}',fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:'\u{1f91f}',fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:'\u{1f918}',fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:'\u{1f91e}',fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:'\u{1f596}',fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:'\u270d',fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:'\u{1f933}',fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:'\u{1f485}',fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:'\u{1f444}',fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:'\u{1f9b7}',fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:'\u{1f445}',fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:'\u{1f442}',fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:'\u{1f443}',fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:'\u{1f441}',fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:'\u{1f440}',fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:'\u{1f9e0}',fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:'\u{1f464}',fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:'\u{1f465}',fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:'\u{1f5e3}',fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:'\u{1f476}',fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:'\u{1f9d2}',fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:'\u{1f466}',fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:'\u{1f467}',fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:'\u{1f9d1}',fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:'\u{1f468}',fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:'\u{1f469}',fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:'\u{1f471}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:'\u{1f471}',fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:'\u{1f9d4}',fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:'\u{1f9d3}',fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:'\u{1f474}',fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:'\u{1f475}',fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:'\u{1f472}',fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:'\u{1f9d5}',fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:'\u{1f473}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:'\u{1f473}',fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:'\u{1f46e}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:'\u{1f46e}',fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:'\u{1f477}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:'\u{1f477}',fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:'\u{1f482}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:'\u{1f482}',fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:'\u{1f575}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:'\u{1f575}',fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:'\u{1f469}\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:'\u{1f468}\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:'\u{1f469}\u200d\u{1f33e}',fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:'\u{1f468}\u200d\u{1f33e}',fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:'\u{1f469}\u200d\u{1f373}',fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:'\u{1f468}\u200d\u{1f373}',fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:'\u{1f469}\u200d\u{1f393}',fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:'\u{1f468}\u200d\u{1f393}',fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:'\u{1f469}\u200d\u{1f3a4}',fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:'\u{1f468}\u200d\u{1f3a4}',fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:'\u{1f469}\u200d\u{1f3eb}',fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:'\u{1f468}\u200d\u{1f3eb}',fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:'\u{1f469}\u200d\u{1f3ed}',fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:'\u{1f468}\u200d\u{1f3ed}',fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:'\u{1f469}\u200d\u{1f4bb}',fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:'\u{1f468}\u200d\u{1f4bb}',fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:'\u{1f469}\u200d\u{1f4bc}',fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:'\u{1f468}\u200d\u{1f4bc}',fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:'\u{1f469}\u200d\u{1f527}',fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:'\u{1f468}\u200d\u{1f527}',fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:'\u{1f469}\u200d\u{1f52c}',fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:'\u{1f468}\u200d\u{1f52c}',fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:'\u{1f469}\u200d\u{1f3a8}',fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:'\u{1f468}\u200d\u{1f3a8}',fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:'\u{1f469}\u200d\u{1f692}',fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:'\u{1f468}\u200d\u{1f692}',fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:'\u{1f469}\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:'\u{1f468}\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:'\u{1f469}\u200d\u{1f680}',fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:'\u{1f468}\u200d\u{1f680}',fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:'\u{1f469}\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:'\u{1f468}\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:'\u{1f9b8}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:'\u{1f9b8}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:'\u{1f9b9}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:'\u{1f9b9}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:'\u{1f936}',fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:'\u{1f385}',fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:'\u{1f9d9}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:'\u{1f9d9}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:'\u{1f9dd}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:'\u{1f9dd}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:'\u{1f9db}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:'\u{1f9db}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:'\u{1f9df}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:'\u{1f9df}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:'\u{1f9de}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:'\u{1f9de}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:'\u{1f9dc}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:'\u{1f9dc}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:'\u{1f9da}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:'\u{1f9da}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:'\u{1f47c}',fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:'\u{1f930}',fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:'\u{1f931}',fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:'\u{1f478}',fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:'\u{1f934}',fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:'\u{1f470}',fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:'\u{1f935}',fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:'\u{1f3c3}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:'\u{1f3c3}',fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:'\u{1f6b6}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:'\u{1f6b6}',fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:'\u{1f483}',fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:'\u{1f57a}',fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:'\u{1f46f}',fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:'\u{1f46f}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:'\u{1f46b}',fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:'\u{1f46c}',fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:'\u{1f46d}',fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:'\u{1f647}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:'\u{1f647}',fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:'\u{1f926}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:'\u{1f926}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:'\u{1f937}',fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:'\u{1f937}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:'\u{1f481}',fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:'\u{1f481}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:'\u{1f645}',fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:'\u{1f645}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:'\u{1f646}',fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:'\u{1f646}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:'\u{1f64b}',fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:'\u{1f64b}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:'\u{1f64e}',fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:'\u{1f64e}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:'\u{1f64d}',fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:'\u{1f64d}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:'\u{1f487}',fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:'\u{1f487}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:'\u{1f486}',fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:'\u{1f486}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:'\u{1f9d6}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:'\u{1f9d6}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f491}',fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f469}',fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f468}',fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f48f}',fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f469}',fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f468}',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:'\u{1f46a}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:'\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:'\u{1f469}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:'\u{1f469}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:'\u{1f469}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:'\u{1f468}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:'\u{1f468}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f467}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f466}\u200d\u{1f466}',fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:'\u{1f468}\u200d\u{1f467}\u200d\u{1f467}',fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:'\u{1f9f6}',fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:'\u{1f9f5}',fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:'\u{1f9e5}',fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:'\u{1f97c}',fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:'\u{1f45a}',fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:'\u{1f455}',fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:'\u{1f456}',fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:'\u{1f454}',fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:'\u{1f457}',fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:'\u{1f459}',fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:'\u{1f458}',fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:'\u{1f484}',fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:'\u{1f48b}',fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:'\u{1f463}',fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:'\u{1f97f}',fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:'\u{1f460}',fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:'\u{1f461}',fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:'\u{1f462}',fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:'\u{1f45e}',fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:'\u{1f45f}',fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:'\u{1f97e}',fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:'\u{1f9e6}',fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:'\u{1f9e4}',fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:'\u{1f9e3}',fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:'\u{1f452}',fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:'\u{1f3a9}',fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:'\u{1f9e2}',fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:'\u26d1',fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:'\u{1f393}',fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:'\u{1f451}',fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:'\u{1f392}',fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:'\u{1f9f3}',fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:'\u{1f45d}',fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:'\u{1f45b}',fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:'\u{1f45c}',fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:'\u{1f4bc}',fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:'\u{1f453}',fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:'\u{1f576}',fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:'\u{1f97d}',fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:'\u{1f48d}',fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:'\u{1f302}',fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:'\u{1f436}',fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:'\u{1f431}',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:'\u{1f42d}',fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:'\u{1f439}',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:'\u{1f430}',fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:'\u{1f98a}',fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:'\u{1f43b}',fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:'\u{1f43c}',fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:'\u{1f428}',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:'\u{1f42f}',fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:'\u{1f981}',fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\u{1f42e}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:'\u{1f437}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:'\u{1f43d}',fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:'\u{1f438}',fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:'\u{1f991}',fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:'\u{1f419}',fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:'\u{1f990}',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:'\u{1f435}',fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:'\u{1f98d}',fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:'\u{1f648}',fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:'\u{1f649}',fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:'\u{1f64a}',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:'\u{1f412}',fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:'\u{1f414}',fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:'\u{1f427}',fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:'\u{1f426}',fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:'\u{1f424}',fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:'\u{1f423}',fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:'\u{1f425}',fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:'\u{1f986}',fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:'\u{1f985}',fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:'\u{1f989}',fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:'\u{1f987}',fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:'\u{1f43a}',fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:'\u{1f417}',fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:'\u{1f434}',fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:'\u{1f984}',fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:'\u{1f41d}',fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:'\u{1f41b}',fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:'\u{1f98b}',fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:'\u{1f40c}',fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:'\u{1f41e}',fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:'\u{1f41c}',fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:'\u{1f997}',fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:'\u{1f577}',fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:'\u{1f982}',fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:'\u{1f980}',fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:'\u{1f40d}',fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:'\u{1f98e}',fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:'\u{1f996}',fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:'\u{1f995}',fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:'\u{1f422}',fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:'\u{1f420}',fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:'\u{1f41f}',fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:'\u{1f421}',fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:'\u{1f42c}',fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:'\u{1f988}',fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:'\u{1f433}',fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:'\u{1f40b}',fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:'\u{1f40a}',fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:'\u{1f406}',fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:'\u{1f993}',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:'\u{1f405}',fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:'\u{1f403}',fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:'\u{1f402}',fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\u{1f404}',fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:'\u{1f98c}',fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:'\u{1f42a}',fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:'\u{1f42b}',fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:'\u{1f992}',fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:'\u{1f418}',fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:'\u{1f98f}',fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:'\u{1f410}',fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:'\u{1f40f}',fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:'\u{1f411}',fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:'\u{1f40e}',fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:'\u{1f416}',fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:'\u{1f400}',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:'\u{1f401}',fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:'\u{1f413}',fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:'\u{1f983}',fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:'\u{1f54a}',fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:'\u{1f415}',fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:'\u{1f429}',fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:'\u{1f408}',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:'\u{1f407}',fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:'\u{1f43f}',fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:'\u{1f994}',fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:'\u{1f99d}',fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:'\u{1f999}',fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:'\u{1f99b}',fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:'\u{1f998}',fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:'\u{1f9a1}',fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:'\u{1f9a2}',fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:'\u{1f99a}',fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:'\u{1f99c}',fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:'\u{1f99e}',fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:'\u{1f99f}',fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:'\u{1f43e}',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:'\u{1f409}',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:'\u{1f432}',fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:'\u{1f335}',fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:'\u{1f384}',fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:'\u{1f332}',fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:'\u{1f333}',fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:'\u{1f334}',fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:'\u{1f331}',fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:'\u{1f33f}',fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:'\u2618',fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:'\u{1f340}',fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:'\u{1f38d}',fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:'\u{1f38b}',fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:'\u{1f343}',fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:'\u{1f342}',fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:'\u{1f341}',fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:'\u{1f33e}',fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:'\u{1f33a}',fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:'\u{1f33b}',fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:'\u{1f339}',fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:'\u{1f940}',fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:'\u{1f337}',fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:'\u{1f33c}',fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:'\u{1f338}',fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:'\u{1f490}',fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:'\u{1f344}',fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:'\u{1f330}',fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:'\u{1f383}',fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:'\u{1f41a}',fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:'\u{1f578}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:'\u{1f30e}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:'\u{1f30d}',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:'\u{1f30f}',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:'\u{1f315}',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:'\u{1f316}',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f317}',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f318}',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f311}',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f312}',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f313}',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:'\u{1f314}',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31a}',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31d}',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31b}',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\u{1f31c}',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:'\u{1f31e}',fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:'\u{1f319}',fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:'\u2b50',fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:'\u{1f31f}',fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:'\u{1f4ab}',fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:'\u2728',fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:'\u2604',fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:'\u2600\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:'\u{1f324}',fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:'\u26c5',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:'\u{1f325}',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:'\u{1f326}',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:'\u2601\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:'\u{1f327}',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:'\u26c8',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:'\u{1f329}',fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:'\u26a1',fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:'\u{1f525}',fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:'\u{1f4a5}',fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:'\u2744\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:'\u{1f328}',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:'\u26c4',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:'\u2603',fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:'\u{1f32c}',fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:'\u{1f4a8}',fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:'\u{1f32a}',fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:'\u{1f32b}',fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:'\u2602',fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:'\u2614',fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:'\u{1f4a7}',fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:'\u{1f4a6}',fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:'\u{1f30a}',fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:'\u{1f34f}',fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:'\u{1f34e}',fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:'\u{1f350}',fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:'\u{1f34a}',fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:'\u{1f34b}',fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:'\u{1f34c}',fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:'\u{1f349}',fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:'\u{1f347}',fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:'\u{1f353}',fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:'\u{1f348}',fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:'\u{1f352}',fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:'\u{1f351}',fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:'\u{1f34d}',fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:'\u{1f965}',fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:'\u{1f95d}',fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:'\u{1f96d}',fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:'\u{1f951}',fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:'\u{1f966}',fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:'\u{1f345}',fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:'\u{1f346}',fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:'\u{1f952}',fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:'\u{1f955}',fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:'\u{1f336}',fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:'\u{1f954}',fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:'\u{1f33d}',fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:'\u{1f96c}',fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:'\u{1f360}',fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:'\u{1f95c}',fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:'\u{1f36f}',fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:'\u{1f950}',fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:'\u{1f35e}',fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:'\u{1f956}',fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:'\u{1f96f}',fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:'\u{1f968}',fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:'\u{1f9c0}',fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:'\u{1f95a}',fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:'\u{1f953}',fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:'\u{1f969}',fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:'\u{1f95e}',fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:'\u{1f357}',fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:'\u{1f356}',fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:'\u{1f9b4}',fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:'\u{1f364}',fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:'\u{1f373}',fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:'\u{1f354}',fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:'\u{1f35f}',fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:'\u{1f959}',fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:'\u{1f32d}',fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:'\u{1f355}',fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:'\u{1f96a}',fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:'\u{1f96b}',fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:'\u{1f35d}',fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:'\u{1f32e}',fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:'\u{1f32f}',fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:'\u{1f957}',fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:'\u{1f958}',fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:'\u{1f35c}',fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:'\u{1f372}',fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:'\u{1f365}',fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:'\u{1f960}',fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:'\u{1f363}',fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:'\u{1f371}',fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:'\u{1f35b}',fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:'\u{1f359}',fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:'\u{1f35a}',fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:'\u{1f358}',fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:'\u{1f362}',fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:'\u{1f361}',fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:'\u{1f367}',fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:'\u{1f368}',fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:'\u{1f366}',fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:'\u{1f967}',fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:'\u{1f370}',fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:'\u{1f9c1}',fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:'\u{1f96e}',fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:'\u{1f382}',fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:'\u{1f36e}',fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:'\u{1f36c}',fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:'\u{1f36d}',fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:'\u{1f36b}',fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:'\u{1f37f}',fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:'\u{1f95f}',fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:'\u{1f369}',fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:'\u{1f36a}',fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:'\u{1f95b}',fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\u{1f37a}',fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\u{1f37b}',fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:'\u{1f942}',fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:'\u{1f377}',fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:'\u{1f943}',fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:'\u{1f378}',fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:'\u{1f379}',fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:'\u{1f37e}',fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:'\u{1f376}',fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:'\u{1f375}',fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:'\u{1f964}',fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:'\u2615',fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:'\u{1f37c}',fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:'\u{1f9c2}',fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:'\u{1f944}',fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:'\u{1f374}',fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:'\u{1f37d}',fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:'\u{1f963}',fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:'\u{1f961}',fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:'\u{1f962}',fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:'\u26bd',fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:'\u{1f3c0}',fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:'\u{1f3c8}',fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:'\u26be',fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:'\u{1f94e}',fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:'\u{1f3be}',fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:'\u{1f3d0}',fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:'\u{1f3c9}',fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:'\u{1f94f}',fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:'\u{1f3b1}',fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:'\u26f3',fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:'\u{1f3cc}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:'\u{1f3cc}',fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:'\u{1f3d3}',fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:'\u{1f3f8}',fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:'\u{1f945}',fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:'\u{1f3d2}',fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:'\u{1f3d1}',fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:'\u{1f94d}',fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:'\u{1f3cf}',fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:'\u{1f3bf}',fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:'\u26f7',fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:'\u{1f3c2}',fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:'\u{1f93a}',fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:'\u{1f93c}\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:'\u{1f93c}\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:'\u{1f938}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:'\u{1f938}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:'\u{1f93e}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:'\u{1f93e}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:'\u26f8',fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:'\u{1f94c}',fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:'\u{1f6f9}',fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:'\u{1f6f7}',fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:'\u{1f3f9}',fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:'\u{1f3a3}',fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:'\u{1f94a}',fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:'\u{1f94b}',fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:'\u{1f6a3}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:'\u{1f6a3}',fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:'\u{1f9d7}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:'\u{1f9d7}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:'\u{1f3ca}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:'\u{1f3ca}',fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:'\u{1f93d}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:'\u{1f93d}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:'\u{1f9d8}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:'\u{1f9d8}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:'\u{1f3c4}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:'\u{1f3c4}',fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:'\u{1f6c0}',fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:'\u26f9\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:'\u26f9',fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:'\u{1f3cb}\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:'\u{1f3cb}',fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:'\u{1f6b4}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:'\u{1f6b4}',fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:'\u{1f6b5}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:'\u{1f6b5}',fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:'\u{1f3c7}',fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:'\u{1f574}',fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:'\u{1f3c6}',fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:'\u{1f3bd}',fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:'\u{1f3c5}',fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:'\u{1f396}',fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:'\u{1f947}',fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:'\u{1f948}',fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:'\u{1f949}',fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:'\u{1f397}',fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:'\u{1f3f5}',fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:'\u{1f3ab}',fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:'\u{1f39f}',fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:'\u{1f3ad}',fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:'\u{1f3a8}',fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:'\u{1f3aa}',fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\u{1f939}\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\u{1f939}\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:'\u{1f3a4}',fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:'\u{1f3a7}',fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:'\u{1f3bc}',fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:'\u{1f3b9}',fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:'\u{1f941}',fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:'\u{1f3b7}',fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:'\u{1f3ba}',fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:'\u{1f3b8}',fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:'\u{1f3bb}',fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:'\u{1f3ac}',fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:'\u{1f3ae}',fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:'\u{1f47e}',fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:'\u{1f3af}',fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:'\u{1f3b2}',fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:'\u{1f3b0}',fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:'\u{1f9e9}',fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:'\u{1f3b3}',fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:'\u{1f697}',fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:'\u{1f695}',fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:'\u{1f699}',fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:'\u{1f68c}',fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:'\u{1f68e}',fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:'\u{1f3ce}',fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:'\u{1f693}',fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:'\u{1f691}',fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:'\u{1f692}',fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:'\u{1f690}',fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:'\u{1f69a}',fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:'\u{1f69b}',fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:'\u{1f69c}',fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:'\u{1f6f4}',fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:'\u{1f3cd}',fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:'\u{1f6b2}',fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:'\u{1f6f5}',fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:'\u{1f6a8}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:'\u{1f694}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:'\u{1f68d}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:'\u{1f698}',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:'\u{1f696}',fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:'\u{1f6a1}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:'\u{1f6a0}',fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:'\u{1f69f}',fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:'\u{1f683}',fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:'\u{1f68b}',fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:'\u{1f69d}',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:'\u{1f684}',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:'\u{1f685}',fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:'\u{1f688}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:'\u{1f69e}',fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:'\u{1f682}',fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:'\u{1f686}',fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:'\u{1f687}',fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:'\u{1f68a}',fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:'\u{1f689}',fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:'\u{1f6f8}',fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:'\u{1f681}',fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:'\u{1f6e9}',fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:'\u2708\ufe0f',fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:'\u{1f6eb}',fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:'\u{1f6ec}',fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:'\u26f5',fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:'\u{1f6e5}',fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:'\u{1f6a4}',fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:'\u26f4',fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:'\u{1f6f3}',fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:'\u{1f680}',fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:'\u{1f6f0}',fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:'\u{1f4ba}',fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:'\u{1f6f6}',fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:'\u2693',fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:'\u{1f6a7}',fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:'\u26fd',fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:'\u{1f68f}',fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:'\u{1f6a6}',fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:'\u{1f6a5}',fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:'\u{1f3c1}',fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:'\u{1f6a2}',fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:'\u{1f3a1}',fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:'\u{1f3a2}',fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:'\u{1f3a0}',fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:'\u{1f3d7}',fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:'\u{1f301}',fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:'\u{1f5fc}',fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:'\u{1f3ed}',fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:'\u26f2',fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:'\u{1f391}',fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:'\u26f0',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:'\u{1f3d4}',fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:'\u{1f5fb}',fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:'\u{1f30b}',fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:'\u{1f5fe}',fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:'\u{1f3d5}',fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:'\u26fa',fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:'\u{1f3de}',fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:'\u{1f6e3}',fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:'\u{1f6e4}',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:'\u{1f305}',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:'\u{1f304}',fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:'\u{1f3dc}',fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:'\u{1f3d6}',fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:'\u{1f3dd}',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:'\u{1f307}',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:'\u{1f306}',fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:'\u{1f3d9}',fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:'\u{1f303}',fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:'\u{1f309}',fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:'\u{1f30c}',fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:'\u{1f320}',fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:'\u{1f387}',fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:'\u{1f386}',fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:'\u{1f308}',fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:'\u{1f3d8}',fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:'\u{1f3f0}',fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:'\u{1f3ef}',fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:'\u{1f3df}',fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:'\u{1f5fd}',fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:'\u{1f3e0}',fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:'\u{1f3e1}',fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:'\u{1f3da}',fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:'\u{1f3e2}',fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:'\u{1f3ec}',fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:'\u{1f3e3}',fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:'\u{1f3e4}',fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:'\u{1f3e5}',fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:'\u{1f3e6}',fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:'\u{1f3e8}',fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:'\u{1f3ea}',fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:'\u{1f3eb}',fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:'\u{1f3e9}',fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:'\u{1f492}',fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:'\u{1f3db}',fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:'\u26ea',fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:'\u{1f54c}',fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:'\u{1f54d}',fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:'\u{1f54b}',fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:'\u26e9',fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:'\u231a',fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:'\u{1f4f1}',fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:'\u{1f4f2}',fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:'\u{1f4bb}',fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:'\u2328',fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:'\u{1f5a5}',fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:'\u{1f5a8}',fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:'\u{1f5b1}',fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:'\u{1f5b2}',fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:'\u{1f579}',fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:'\u{1f5dc}',fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:'\u{1f4bd}',fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:'\u{1f4be}',fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:'\u{1f4bf}',fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:'\u{1f4c0}',fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:'\u{1f4fc}',fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:'\u{1f4f7}',fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:'\u{1f4f8}',fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:'\u{1f4f9}',fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:'\u{1f3a5}',fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:'\u{1f4fd}',fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:'\u{1f39e}',fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:'\u{1f4de}',fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:'\u260e\ufe0f',fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:'\u{1f4df}',fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:'\u{1f4e0}',fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:'\u{1f4fa}',fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:'\u{1f4fb}',fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:'\u{1f399}',fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:'\u{1f39a}',fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:'\u{1f39b}',fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:'\u{1f9ed}',fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:'\u23f1',fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:'\u23f2',fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:'\u23f0',fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:'\u{1f570}',fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:'\u23f3',fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:'\u231b',fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:'\u{1f4e1}',fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:'\u{1f50b}',fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:'\u{1f50c}',fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:'\u{1f4a1}',fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:'\u{1f526}',fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:'\u{1f56f}',fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:'\u{1f9ef}',fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:'\u{1f5d1}',fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:'\u{1f6e2}',fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:'\u{1f4b8}',fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:'\u{1f4b5}',fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:'\u{1f4b4}',fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:'\u{1f4b6}',fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:'\u{1f4b7}',fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:'\u{1f4b0}',fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:'\u{1f4b3}',fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:'\u{1f48e}',fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:'\u2696',fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:'\u{1f9f0}',fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:'\u{1f527}',fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:'\u{1f528}',fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:'\u2692',fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:'\u{1f6e0}',fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:'\u26cf',fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:'\u{1f529}',fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:'\u2699',fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:'\u{1f9f1}',fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:'\u26d3',fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:'\u{1f9f2}',fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:'\u{1f52b}',fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:'\u{1f4a3}',fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:'\u{1f9e8}',fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:'\u{1f52a}',fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:'\u{1f5e1}',fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:'\u2694',fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:'\u{1f6e1}',fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:'\u{1f6ac}',fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:'\u2620',fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:'\u26b0',fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:'\u26b1',fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:'\u{1f3fa}',fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:'\u{1f52e}',fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:'\u{1f4ff}',fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:'\u{1f9ff}',fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:'\u{1f488}',fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:'\u2697',fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:'\u{1f52d}',fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:'\u{1f52c}',fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:'\u{1f573}',fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:'\u{1f48a}',fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:'\u{1f489}',fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:'\u{1f9ec}',fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:'\u{1f9a0}',fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:'\u{1f9eb}',fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:'\u{1f9ea}',fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:'\u{1f321}',fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:'\u{1f9f9}',fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:'\u{1f9fa}',fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:'\u{1f9fb}',fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:'\u{1f3f7}',fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:'\u{1f516}',fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:'\u{1f6bd}',fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:'\u{1f6bf}',fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:'\u{1f6c1}',fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:'\u{1f9fc}',fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:'\u{1f9fd}',fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:'\u{1f9f4}',fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:'\u{1f511}',fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:'\u{1f5dd}',fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:'\u{1f6cb}',fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:'\u{1f6cc}',fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:'\u{1f6cf}',fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:'\u{1f6aa}',fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:'\u{1f6ce}',fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:'\u{1f9f8}',fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:'\u{1f5bc}',fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:'\u{1f5fa}',fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:'\u26f1',fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:'\u{1f5ff}',fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:'\u{1f6cd}',fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:'\u{1f6d2}',fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:'\u{1f388}',fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:'\u{1f38f}',fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:'\u{1f380}',fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:'\u{1f381}',fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:'\u{1f38a}',fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:'\u{1f389}',fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:'\u{1f38e}',fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:'\u{1f390}',fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:'\u{1f38c}',fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:'\u{1f3ee}',fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:'\u{1f9e7}',fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:'\u2709\ufe0f',fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:'\u{1f4e9}',fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:'\u{1f4e8}',fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:'\u{1f4e7}',fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:'\u{1f48c}',fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:'\u{1f4ee}',fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:'\u{1f4ea}',fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:'\u{1f4eb}',fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:'\u{1f4ec}',fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:'\u{1f4ed}',fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:'\u{1f4e6}',fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:'\u{1f4ef}',fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:'\u{1f4e5}',fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:'\u{1f4e4}',fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:'\u{1f4dc}',fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:'\u{1f4c3}',fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:'\u{1f4d1}',fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:'\u{1f9fe}',fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:'\u{1f4ca}',fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:'\u{1f4c8}',fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:'\u{1f4c9}',fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:'\u{1f4c4}',fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:'\u{1f4c5}',fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:'\u{1f4c6}',fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:'\u{1f5d3}',fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:'\u{1f4c7}',fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:'\u{1f5c3}',fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:'\u{1f5f3}',fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:'\u{1f5c4}',fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:'\u{1f4cb}',fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:'\u{1f5d2}',fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:'\u{1f4c1}',fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:'\u{1f4c2}',fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:'\u{1f5c2}',fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:'\u{1f5de}',fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:'\u{1f4f0}',fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:'\u{1f4d3}',fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:'\u{1f4d5}',fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:'\u{1f4d7}',fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:'\u{1f4d8}',fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:'\u{1f4d9}',fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:'\u{1f4d4}',fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:'\u{1f4d2}',fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:'\u{1f4da}',fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:'\u{1f4d6}',fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:'\u{1f9f7}',fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:'\u{1f517}',fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:'\u{1f4ce}',fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:'\u{1f587}',fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:'\u2702\ufe0f',fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:'\u{1f4d0}',fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:'\u{1f4cf}',fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:'\u{1f9ee}',fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:'\u{1f4cc}',fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:'\u{1f4cd}',fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:'\u{1f6a9}',fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:'\u{1f3f3}',fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:'\u{1f3f4}',fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:'\u{1f3f3}\ufe0f\u200d\u{1f308}',fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:'\u{1f510}',fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:'\u{1f512}',fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:'\u{1f513}',fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:'\u{1f50f}',fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:'\u{1f58a}',fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:'\u{1f58b}',fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:'\u2712\ufe0f',fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:'\u{1f4dd}',fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:'\u270f\ufe0f',fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:'\u{1f58d}',fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:'\u{1f58c}',fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:'\u{1f50d}',fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:'\u{1f50e}',fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:'\u2764\ufe0f',fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f9e1}',fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49b}',fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49a}',fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f499}',fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f49c}',fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:'\u{1f5a4}',fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:'\u{1f494}',fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:'\u2763',fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:'\u{1f495}',fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:'\u{1f49e}',fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:'\u{1f493}',fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:'\u{1f497}',fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:'\u{1f496}',fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:'\u{1f498}',fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:'\u{1f49d}',fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:'\u{1f49f}',fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:'\u262e',fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:'\u271d',fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:'\u262a',fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\u{1f549}',fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\u2638',fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:'\u2721',fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:'\u{1f52f}',fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:'\u{1f54e}',fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:'\u262f',fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:'\u2626',fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:'\u{1f6d0}',fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:'\u26ce',fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2648',fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2649',fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264a',fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264b',fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264c',fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264d',fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264e',fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:'\u264f',fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2650',fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2651',fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2652',fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2653',fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:'\u{1f194}',fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:'\u269b',fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:'\u{1f233}',fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:'\u{1f239}',fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:'\u2622',fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:'\u2623',fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:'\u{1f4f4}',fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:'\u{1f4f3}',fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:'\u{1f236}',fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:'\u{1f21a}',fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:'\u{1f238}',fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:'\u{1f23a}',fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:'\u{1f237}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:'\u2734\ufe0f',fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:'\u{1f19a}',fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:'\u{1f251}',fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:'\u{1f4ae}',fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:'\u{1f250}',fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:'\u3299\ufe0f',fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:'\u3297\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:'\u{1f234}',fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:'\u{1f235}',fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:'\u{1f232}',fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:'\u{1f170}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:'\u{1f171}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:'\u{1f18e}',fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:'\u{1f191}',fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:'\u{1f17e}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:'\u{1f198}',fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:'\u26d4',fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:'\u{1f4db}',fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:'\u{1f6ab}',fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:'\u274c',fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:'\u2b55',fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:'\u{1f6d1}',fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:'\u{1f4a2}',fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:'\u2668\ufe0f',fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:'\u{1f6b7}',fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:'\u{1f6af}',fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:'\u{1f6b3}',fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:'\u{1f6b1}',fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:'\u{1f51e}',fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:'\u{1f4f5}',fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:'\u2757',fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:'\u2755',fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:'\u2753',fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:'\u2754',fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:'\u203c\ufe0f',fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:'\u2049\ufe0f',fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:'\u{1f505}',fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:'\u{1f506}',fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:'\u{1f531}',fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:'\u269c',fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:'\u303d\ufe0f',fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:'\u26a0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:'\u{1f6b8}',fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:'\u{1f530}',fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:'\u267b\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:'\u{1f22f}',fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:'\u{1f4b9}',fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:'\u2747\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:'\u2733\ufe0f',fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:'\u274e',fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:'\u2705',fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:'\u{1f4a0}',fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:'\u{1f300}',fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:'\u27bf',fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:'\u{1f310}',fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:'\u24c2\ufe0f',fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:'\u{1f3e7}',fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:'\u{1f202}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:'\u{1f6c2}',fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:'\u{1f6c3}',fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:'\u{1f6c4}',fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:'\u{1f6c5}',fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:'\u267f',fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:'\u{1f6ad}',fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:'\u{1f6be}',fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:'\u{1f17f}\ufe0f',fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:'\u{1f6b0}',fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:'\u{1f6b9}',fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:'\u{1f6ba}',fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:'\u{1f6bc}',fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:'\u{1f6bb}',fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:'\u{1f6ae}',fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:'\u{1f3a6}',fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:'\u{1f4f6}',fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:'\u{1f201}',fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:'\u{1f196}',fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:'\u{1f197}',fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:'\u{1f199}',fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:'\u{1f192}',fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:'\u{1f195}',fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:'\u{1f193}',fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:'0\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:'1\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:'2\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:'3\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:'4\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:'5\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:'6\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:'7\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:'8\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:'9\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:'\u{1f51f}',fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:'*\u20e3',fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:'\u23cf\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:'\u25b6\ufe0f',fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:'\u23f8',fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:'\u23ed',fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:'\u23f9',fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:'\u23fa',fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:'\u23ef',fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:'\u23ee',fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:'\u23e9',fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:'\u23ea',fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:'\u{1f500}',fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:'\u{1f501}',fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:'\u{1f502}',fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:'\u25c0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:'\u{1f53c}',fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:'\u{1f53d}',fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:'\u23eb',fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:'\u23ec',fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:'\u27a1\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:'\u2b05\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:'\u2b06\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:'\u2b07\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:'\u2197\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:'\u2198\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:'\u2199\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:'\u2196\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:'\u2195\ufe0f',fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:'\u2194\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:'\u{1f504}',fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:'\u21aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:'\u21a9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:'\u2934\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:'\u2935\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:'#\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:'\u2139\ufe0f',fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:'\u{1f524}',fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:'\u{1f521}',fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:'\u{1f520}',fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:'\u{1f523}',fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:'\u{1f3b5}',fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:'\u{1f3b6}',fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:'\u3030\ufe0f',fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:'\u27b0',fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:'\u2714\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:'\u{1f503}',fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:'\u2795',fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:'\u2796',fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:'\u2797',fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:'\u2716\ufe0f',fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:'\u267e',fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:'\u{1f4b2}',fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:'\u{1f4b1}',fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:'\xa9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:'\xae\ufe0f',fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:'\u2122\ufe0f',fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:'\u{1f51a}',fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:'\u{1f519}',fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:'\u{1f51b}',fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:'\u{1f51d}',fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:'\u{1f51c}',fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:'\u2611\ufe0f',fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:'\u{1f518}',fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:'\u26aa',fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:'\u26ab',fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:'\u{1f534}',fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:'\u{1f535}',fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f538}',fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f539}',fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f536}',fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:'\u{1f537}',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:'\u{1f53a}',fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:'\u25aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:'\u25ab\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:'\u2b1b',fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:'\u2b1c',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:'\u{1f53b}',fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:'\u25fc\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:'\u25fb\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:'\u25fe',fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:'\u25fd',fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:'\u{1f532}',fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:'\u{1f533}',fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:'\u{1f508}',fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:'\u{1f509}',fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:'\u{1f50a}',fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:'\u{1f507}',fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:'\u{1f4e3}',fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:'\u{1f4e2}',fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:'\u{1f514}',fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:'\u{1f515}',fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:'\u{1f0cf}',fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:'\u{1f004}',fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:'\u2660\ufe0f',fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:'\u2663\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:'\u2665\ufe0f',fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:'\u2666\ufe0f',fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:'\u{1f3b4}',fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:'\u{1f4ad}',fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:'\u{1f5ef}',fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:'\u{1f4ac}',fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:'\u{1f5e8}',fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:'\u{1f550}',fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:'\u{1f551}',fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:'\u{1f552}',fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:'\u{1f553}',fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:'\u{1f554}',fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:'\u{1f555}',fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:'\u{1f556}',fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:'\u{1f557}',fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:'\u{1f558}',fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:'\u{1f559}',fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:'\u{1f55a}',fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:'\u{1f55b}',fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:'\u{1f55c}',fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:'\u{1f55d}',fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:'\u{1f55e}',fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:'\u{1f55f}',fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:'\u{1f560}',fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:'\u{1f561}',fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:'\u{1f562}',fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:'\u{1f563}',fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:'\u{1f564}',fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:'\u{1f565}',fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:'\u{1f566}',fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:'\u{1f567}',fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:'\u{1f1e8}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:'\u{1f1e9}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:'\u{1f1ea}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:'\u{1f1eb}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:'\u{1f1e9}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:'\u{1f1ed}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:'\u{1f1ee}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:'\u{1f1ef}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:'\u{1f1ef}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:'\u{1f1fd}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f6}',fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:'\u{1f1fe}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:'\u{1f1eb}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:'\u{1f1f2}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:'\u{1f1f0}\u{1f1f5}',fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:'\u{1f1f3}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:'\u{1f1f4}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:'\u{1f1f6}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:'\u{1f1e7}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:'\u{1f1f0}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:'\u{1f1f5}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:'\u{1f1fc}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:'\u{1f1f7}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fd}',fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:'\u{1f1ec}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:'\u{1f1f0}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:'\u{1f1f1}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1e9}',fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:'\u{1f1e8}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:'\u{1f1f8}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ef}',fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f1}',fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f0}',fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f4}',fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f9}',fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f7}',fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1e8}',fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:'\u{1f1f9}\u{1f1fb}',fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1ec}',fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:'\u{1f1e6}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:'\u{1f1ec}\u{1f1e7}',fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0065}\u{e006e}\u{e0067}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0073}\u{e0063}\u{e0074}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:'\u{1f3f4}\u{e0067}\u{e0062}\u{e0077}\u{e006c}\u{e0073}\u{e007f}',fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1f8}',fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ee}',fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1fe}',fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:'\u{1f1fa}\u{1f1ff}',fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1fa}',fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1e6}',fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:'\u{1f1fb}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:'\u{1f1fc}\u{1f1eb}',fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:'\u{1f1ea}\u{1f1ed}',fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:'\u{1f1fe}\u{1f1ea}',fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1f2}',fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:'\u{1f1ff}\u{1f1fc}',fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:'\u{1f1fa}\u{1f1f3}',fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:'\u{1f3f4}\u200d\u2620\ufe0f',fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.js b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.js new file mode 100644 index 0000000..88455e9 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.js @@ -0,0 +1 @@ +window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:false,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:false,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:false,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:false,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:false,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:false,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:false,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:false,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:false,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:false,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:false,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:false,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:false,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"🙂",fitzpatrick_scale:false,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:false,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:false,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:false,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:false,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:false,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:false,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:false,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:false,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:false,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:false,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:false,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:false,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:false,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:false,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:false,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:false,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:false,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:false,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:false,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:false,category:"people"},clown_face:{keywords:["face"],char:"🤡",fitzpatrick_scale:false,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:false,category:"people"},hugs:{keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:false,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:false,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:false,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:false,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:false,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:false,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:false,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:false,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:false,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:false,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:false,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:false,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:false,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:false,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:false,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:false,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:false,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:false,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:false,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:false,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:false,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:false,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:false,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:false,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:false,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:false,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:false,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:false,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:false,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:false,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:false,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:false,category:"people"},hushed:{keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:false,category:"people"},frowning:{keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:false,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:false,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:false,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:false,category:"people"},drooling_face:{keywords:["face"],char:"🤤",fitzpatrick_scale:false,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:false,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:false,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:false,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:false,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:false,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:false,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:false,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:false,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:false,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:false,category:"people"},vomiting:{keywords:["face","sick"],char:"🤮",fitzpatrick_scale:false,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:false,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:false,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:false,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:false,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:false,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:false,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:false,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"😈",fitzpatrick_scale:false,category:"people"},imp:{keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:false,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:false,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:false,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:false,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:false,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:false,category:"people"},robot:{keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:false,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:false,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:false,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:false,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:false,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:false,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:false,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:false,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:false,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"😾",fitzpatrick_scale:false,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:true,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:true,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:true,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:true,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:true,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:true,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:true,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:true,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:true,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:true,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:true,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:true,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:true,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:true,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:true,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:true,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:true,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:true,category:"people"},foot:{keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:true,category:"people"},leg:{keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:true,category:"people"},handshake:{keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:false,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:true,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:true,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:true,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:true,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:true,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:true,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:true,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:true,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:true,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:true,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:true,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:true,category:"people"},selfie:{keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:true,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:true,category:"people"},lips:{keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:false,category:"people"},tooth:{keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:false,category:"people"},tongue:{keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:false,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:true,category:"people"},nose:{keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:true,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:false,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:false,category:"people"},brain:{keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:false,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"👤",fitzpatrick_scale:false,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:false,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:false,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:true,category:"people"},child:{keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:true,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:true,category:"people"},girl:{keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:true,category:"people"},adult:{keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:true,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:true,category:"people"},woman:{keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:true,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"👱‍♀️",fitzpatrick_scale:true,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:true,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:true,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:true,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:true,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:true,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:true,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:true,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"👳‍♀️",fitzpatrick_scale:true,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:true,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮‍♀️",fitzpatrick_scale:true,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:true,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷‍♀️",fitzpatrick_scale:true,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:true,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"💂‍♀️",fitzpatrick_scale:true,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:true,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"🕵️‍♀️",fitzpatrick_scale:true,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:true,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩‍⚕️",fitzpatrick_scale:true,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨‍⚕️",fitzpatrick_scale:true,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"👩‍🌾",fitzpatrick_scale:true,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"👨‍🌾",fitzpatrick_scale:true,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"👩‍🍳",fitzpatrick_scale:true,category:"people"},man_cook:{keywords:["chef","man","human"],char:"👨‍🍳",fitzpatrick_scale:true,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"👩‍🎓",fitzpatrick_scale:true,category:"people"},man_student:{keywords:["graduate","man","human"],char:"👨‍🎓",fitzpatrick_scale:true,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"👩‍🎤",fitzpatrick_scale:true,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"👨‍🎤",fitzpatrick_scale:true,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"👩‍🏫",fitzpatrick_scale:true,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"👨‍🏫",fitzpatrick_scale:true,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"👩‍🏭",fitzpatrick_scale:true,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"👨‍🏭",fitzpatrick_scale:true,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩‍💻",fitzpatrick_scale:true,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨‍💻",fitzpatrick_scale:true,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"👩‍💼",fitzpatrick_scale:true,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"👨‍💼",fitzpatrick_scale:true,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"👩‍🔧",fitzpatrick_scale:true,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"👨‍🔧",fitzpatrick_scale:true,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩‍🔬",fitzpatrick_scale:true,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨‍🔬",fitzpatrick_scale:true,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"👩‍🎨",fitzpatrick_scale:true,category:"people"},man_artist:{keywords:["painter","man","human"],char:"👨‍🎨",fitzpatrick_scale:true,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"👩‍🚒",fitzpatrick_scale:true,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"👨‍🚒",fitzpatrick_scale:true,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"👩‍✈️",fitzpatrick_scale:true,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"👨‍✈️",fitzpatrick_scale:true,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"👩‍🚀",fitzpatrick_scale:true,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"👨‍🚀",fitzpatrick_scale:true,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"👩‍⚖️",fitzpatrick_scale:true,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"👨‍⚖️",fitzpatrick_scale:true,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"🦸‍♀️",fitzpatrick_scale:true,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"🦸‍♂️",fitzpatrick_scale:true,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹‍♀️",fitzpatrick_scale:true,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹‍♂️",fitzpatrick_scale:true,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:true,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:true,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"🧙‍♀️",fitzpatrick_scale:true,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"🧙‍♂️",fitzpatrick_scale:true,category:"people"},woman_elf:{keywords:["woman","female"],char:"🧝‍♀️",fitzpatrick_scale:true,category:"people"},man_elf:{keywords:["man","male"],char:"🧝‍♂️",fitzpatrick_scale:true,category:"people"},woman_vampire:{keywords:["woman","female"],char:"🧛‍♀️",fitzpatrick_scale:true,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"🧛‍♂️",fitzpatrick_scale:true,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"🧟‍♀️",fitzpatrick_scale:false,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"🧟‍♂️",fitzpatrick_scale:false,category:"people"},woman_genie:{keywords:["woman","female"],char:"🧞‍♀️",fitzpatrick_scale:false,category:"people"},man_genie:{keywords:["man","male"],char:"🧞‍♂️",fitzpatrick_scale:false,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"🧜‍♀️",fitzpatrick_scale:true,category:"people"},merman:{keywords:["man","male","triton"],char:"🧜‍♂️",fitzpatrick_scale:true,category:"people"},woman_fairy:{keywords:["woman","female"],char:"🧚‍♀️",fitzpatrick_scale:true,category:"people"},man_fairy:{keywords:["man","male"],char:"🧚‍♂️",fitzpatrick_scale:true,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:true,category:"people"},pregnant_woman:{keywords:["baby"],char:"🤰",fitzpatrick_scale:true,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:true,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:true,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:true,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:true,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:true,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"🏃‍♀️",fitzpatrick_scale:true,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:true,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"🚶‍♀️",fitzpatrick_scale:true,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:true,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:true,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:true,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:false,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"👯‍♂️",fitzpatrick_scale:false,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:false,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:false,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:false,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"🙇‍♀️",fitzpatrick_scale:true,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:true,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"🤦‍♂️",fitzpatrick_scale:true,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"🤦‍♀️",fitzpatrick_scale:true,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:true,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷‍♂️",fitzpatrick_scale:true,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:true,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"💁‍♂️",fitzpatrick_scale:true,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:true,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"🙅‍♂️",fitzpatrick_scale:true,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:true,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"🙆‍♂️",fitzpatrick_scale:true,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:true,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"🙋‍♂️",fitzpatrick_scale:true,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:true,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"🙎‍♂️",fitzpatrick_scale:true,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:true,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍‍♂️",fitzpatrick_scale:true,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:true,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"💇‍♂️",fitzpatrick_scale:true,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:true,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"💆‍♂️",fitzpatrick_scale:true,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"🧖‍♀️",fitzpatrick_scale:true,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"🧖‍♂️",fitzpatrick_scale:true,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:false,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩‍❤️‍👩",fitzpatrick_scale:false,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨‍❤️‍👨",fitzpatrick_scale:false,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:false,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👩‍❤️‍💋‍👩",fitzpatrick_scale:false,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"👨‍❤️‍💋‍👨",fitzpatrick_scale:false,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:false,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"👨‍👩‍👧",fitzpatrick_scale:false,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"👩‍👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧",fitzpatrick_scale:false,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"👨‍👨‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"👩‍👦",fitzpatrick_scale:false,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"👩‍👧",fitzpatrick_scale:false,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"👩‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"👩‍👧‍👧",fitzpatrick_scale:false,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"👨‍👦",fitzpatrick_scale:false,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"👨‍👧",fitzpatrick_scale:false,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👦",fitzpatrick_scale:false,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"👨‍👦‍👦",fitzpatrick_scale:false,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"👨‍👧‍👧",fitzpatrick_scale:false,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:false,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:false,category:"people"},coat:{keywords:["jacket"],char:"🧥",fitzpatrick_scale:false,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:false,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:false,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:false,category:"people"},jeans:{keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:false,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:false,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:false,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:false,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:false,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:false,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:false,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:false,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:false,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:false,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:false,category:"people"},boot:{keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:false,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"👞",fitzpatrick_scale:false,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:false,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:false,category:"people"},socks:{keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:false,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:false,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:false,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:false,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:false,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:false,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"⛑",fitzpatrick_scale:false,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:false,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:false,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:false,category:"people"},luggage:{keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:false,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:false,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:false,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:false,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:false,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:false,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:false,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:false,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:false,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:false,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:false,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:false,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:false,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:false,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:false,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:false,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:false,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:false,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:false,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:false,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:false,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:false,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:false,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:false,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:false,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:false,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:false,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:false,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:false,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:false,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:false,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:false,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:false,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:false,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:false,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:false,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:false,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:false,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:false,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:false,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:false,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:false,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:false,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:false,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:false,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:false,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:false,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:false,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:false,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:false,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:false,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:false,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:false,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:false,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:false,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:false,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:false,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:false,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:false,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:false,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:false,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:false,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:false,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:false,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:false,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:false,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:false,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:false,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:false,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:false,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:false,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:false,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:false,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:false,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:false,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:false,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:false,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:false,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:false,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:false,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:false,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:false,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:false,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:false,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:false,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:false,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:false,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:false,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:false,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:false,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:false,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:false,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:false,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:false,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:false,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:false,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:false,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:false,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:false,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:false,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:false,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:false,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:false,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:false,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:false,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:false,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:false,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:false,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:false,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:false,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:false,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:false,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:false,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:false,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:false,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:false,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:false,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:false,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:false,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:false,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:false,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:false,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:false,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:false,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:false,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:false,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:false,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:false,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:false,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:false,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:false,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:false,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:false,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:false,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:false,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:false,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:false,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:false,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:false,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:false,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:false,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:false,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:false,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:false,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:false,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:false,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:false,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:false,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:false,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:false,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:false,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:false,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:false,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:false,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:false,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:false,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:false,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:false,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:false,category:"animals_and_nature"},comet:{keywords:["space"],char:"☄",fitzpatrick_scale:false,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"🌤",fitzpatrick_scale:false,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"🌥",fitzpatrick_scale:false,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"🌦",fitzpatrick_scale:false,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"🌧",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:false,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:false,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:false,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:false,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:false,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"🌨",fitzpatrick_scale:false,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:false,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:false,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"🌬",fitzpatrick_scale:false,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:false,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:false,category:"animals_and_nature"},fog:{keywords:["weather"],char:"🌫",fitzpatrick_scale:false,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"☂",fitzpatrick_scale:false,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:false,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:false,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:false,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:false,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:false,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:false,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:false,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:false,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:false,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:false,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:false,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:false,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:false,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:false,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:false,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:false,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:false,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:false,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:false,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:false,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:false,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:false,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:false,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:false,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:false,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:false,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:false,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:false,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:false,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:false,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"🍠",fitzpatrick_scale:false,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"🥜",fitzpatrick_scale:false,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:false,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:false,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:false,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:false,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:false,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:false,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:false,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:false,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:false,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:false,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:false,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:false,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:false,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"🦴",fitzpatrick_scale:false,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:false,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:false,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:false,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:false,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:false,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:false,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"🍕",fitzpatrick_scale:false,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:false,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"🥫",fitzpatrick_scale:false,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:false,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:false,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:false,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:false,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:false,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:false,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:false,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:false,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:false,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:false,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:false,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:false,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:false,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:false,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:false,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:false,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:false,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:false,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:false,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:false,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:false,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:false,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:false,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:false,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:false,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:false,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:false,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:false,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:false,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:false,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:false,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:false,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:false,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:false,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:false,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:false,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:false,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:false,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:false,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:false,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:false,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:false,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:false,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:false,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:false,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:false,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:false,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:false,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:false,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:false,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:false,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:false,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:false,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"🥢",fitzpatrick_scale:false,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"⚽",fitzpatrick_scale:false,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:false,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:false,category:"activity"},baseball:{keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:false,category:"activity"},softball:{keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:false,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:false,category:"activity"},volleyball:{keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:false,category:"activity"},rugby_football:{keywords:["sports","team"],char:"🏉",fitzpatrick_scale:false,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:false,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:false,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:false,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"🏌️‍♀️",fitzpatrick_scale:false,category:"activity"},golfing_man:{keywords:["sports","business"],char:"🏌",fitzpatrick_scale:true,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:false,category:"activity"},badminton:{keywords:["sports"],char:"🏸",fitzpatrick_scale:false,category:"activity"},goal_net:{keywords:["sports"],char:"🥅",fitzpatrick_scale:false,category:"activity"},ice_hockey:{keywords:["sports"],char:"🏒",fitzpatrick_scale:false,category:"activity"},field_hockey:{keywords:["sports"],char:"🏑",fitzpatrick_scale:false,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:false,category:"activity"},cricket:{keywords:["sports"],char:"🏏",fitzpatrick_scale:false,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:false,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:false,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:true,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:false,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♀️",fitzpatrick_scale:false,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"🤼‍♂️",fitzpatrick_scale:false,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♀️",fitzpatrick_scale:true,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"🤸‍♂️",fitzpatrick_scale:true,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"🤾‍♀️",fitzpatrick_scale:true,category:"activity"},man_playing_handball:{keywords:["sports"],char:"🤾‍♂️",fitzpatrick_scale:true,category:"activity"},ice_skate:{keywords:["sports"],char:"⛸",fitzpatrick_scale:false,category:"activity"},curling_stone:{keywords:["sports"],char:"🥌",fitzpatrick_scale:false,category:"activity"},skateboard:{keywords:["board"],char:"🛹",fitzpatrick_scale:false,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:false,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"🏹",fitzpatrick_scale:false,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:false,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:false,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:false,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"🚣‍♀️",fitzpatrick_scale:true,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:true,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"🧗‍♀️",fitzpatrick_scale:true,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"🧗‍♂️",fitzpatrick_scale:true,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊‍♀️",fitzpatrick_scale:true,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:true,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♀️",fitzpatrick_scale:true,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"🤽‍♂️",fitzpatrick_scale:true,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♀️",fitzpatrick_scale:true,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘‍♂️",fitzpatrick_scale:true,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄‍♀️",fitzpatrick_scale:true,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:true,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:true,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"⛹️‍♀️",fitzpatrick_scale:true,category:"activity"},basketball_man:{keywords:["sports","human"],char:"⛹",fitzpatrick_scale:true,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"🏋️‍♀️",fitzpatrick_scale:true,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:true,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴‍♀️",fitzpatrick_scale:true,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:true,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵‍♀️",fitzpatrick_scale:true,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:true,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:true,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:true,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:false,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:false,category:"activity"},medal_sports:{keywords:["award","winning"],char:"🏅",fitzpatrick_scale:false,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:false,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:false,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:false,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:false,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:false,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:false,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:false,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:false,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:false,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:false,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:false,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♀️",fitzpatrick_scale:true,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"🤹‍♂️",fitzpatrick_scale:true,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:false,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:false,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:false,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:false,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:false,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:false,category:"activity"},trumpet:{keywords:["music","brass"],char:"🎺",fitzpatrick_scale:false,category:"activity"},guitar:{keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:false,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:false,category:"activity"},clapper:{keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:false,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:false,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:false,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:false,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:false,category:"activity"},chess_pawn:{keywords:["expendable"],char:"♟",fitzpatrick_scale:false,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:false,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:false,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:false,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:false,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:false,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:false,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:false,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:false,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:false,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:false,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:false,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:false,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:false,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:false,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:false,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:false,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:false,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:false,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:false,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:false,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:false,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:false,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:false,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:false,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:false,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:false,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:false,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:false,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:false,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:false,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:false,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:false,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:false,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:false,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:false,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:false,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:false,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:false,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:false,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:false,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:false,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:false,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:false,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"🛥",fitzpatrick_scale:false,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:false,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:false,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:false,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:false,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:false,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:false,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:false,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:false,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:false,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:false,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:false,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:false,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:false,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:false,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:false,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:false,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:false,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:false,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:false,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:false,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:false,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:false,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:false,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:false,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:false,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:false,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:false,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:false,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:false,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:false,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:false,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:false,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:false,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:false,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:false,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:false,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:false,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:false,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:false,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:false,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:false,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:false,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:false,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:false,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:false,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"🌠",fitzpatrick_scale:false,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:false,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:false,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:false,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:false,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:false,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"🏯",fitzpatrick_scale:false,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:false,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:false,category:"travel_and_places"},house:{keywords:["building","home"],char:"🏠",fitzpatrick_scale:false,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:false,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:false,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:false,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:false,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:false,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"🏤",fitzpatrick_scale:false,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:false,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:false,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:false,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:false,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:false,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:false,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:false,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:false,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:false,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:false,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:false,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:false,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:false,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:false,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:false,category:"objects"},calling:{keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:false,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:false,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:false,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:false,category:"objects"},printer:{keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:false,category:"objects"},computer_mouse:{keywords:["click"],char:"🖱",fitzpatrick_scale:false,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:false,category:"objects"},joystick:{keywords:["game","play"],char:"🕹",fitzpatrick_scale:false,category:"objects"},clamp:{keywords:["tool"],char:"🗜",fitzpatrick_scale:false,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:false,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:false,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:false,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:false,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:false,category:"objects"},camera:{keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:false,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:false,category:"objects"},video_camera:{keywords:["film","record"],char:"📹",fitzpatrick_scale:false,category:"objects"},movie_camera:{keywords:["film","record"],char:"🎥",fitzpatrick_scale:false,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:false,category:"objects"},film_strip:{keywords:["movie"],char:"🎞",fitzpatrick_scale:false,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:false,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:false,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:false,category:"objects"},fax:{keywords:["communication","technology"],char:"📠",fitzpatrick_scale:false,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:false,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:false,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:false,category:"objects"},level_slider:{keywords:["scale"],char:"🎚",fitzpatrick_scale:false,category:"objects"},control_knobs:{keywords:["dial"],char:"🎛",fitzpatrick_scale:false,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:false,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:false,category:"objects"},timer_clock:{keywords:["alarm"],char:"⏲",fitzpatrick_scale:false,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"⏰",fitzpatrick_scale:false,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"🕰",fitzpatrick_scale:false,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:false,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:false,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:false,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:false,category:"objects"},electric_plug:{keywords:["charger","power"],char:"🔌",fitzpatrick_scale:false,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:false,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:false,category:"objects"},candle:{keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:false,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"🧯",fitzpatrick_scale:false,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:false,category:"objects"},oil_drum:{keywords:["barrell"],char:"🛢",fitzpatrick_scale:false,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:false,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:false,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:false,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:false,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:false,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:false,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:false,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:false,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:false,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:false,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:false,category:"objects"},hammer:{keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:false,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:false,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:false,category:"objects"},pick:{keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:false,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:false,category:"objects"},gear:{keywords:["cog"],char:"⚙",fitzpatrick_scale:false,category:"objects"},brick:{keywords:["bricks"],char:"🧱",fitzpatrick_scale:false,category:"objects"},chains:{keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:false,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:false,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:false,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:false,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:false,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:false,category:"objects"},dagger:{keywords:["weapon"],char:"🗡",fitzpatrick_scale:false,category:"objects"},crossed_swords:{keywords:["weapon"],char:"⚔",fitzpatrick_scale:false,category:"objects"},shield:{keywords:["protection","security"],char:"🛡",fitzpatrick_scale:false,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:false,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:false,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:false,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:false,category:"objects"},amphora:{keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:false,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:false,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:false,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:false,category:"objects"},barber:{keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:false,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:false,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:false,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:false,category:"objects"},hole:{keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:false,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:false,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:false,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:false,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:false,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:false,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:false,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:false,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:false,category:"objects"},basket:{keywords:["laundry"],char:"🧺",fitzpatrick_scale:false,category:"objects"},toilet_paper:{keywords:["roll"],char:"🧻",fitzpatrick_scale:false,category:"objects"},label:{keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:false,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:false,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:false,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:false,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:false,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:false,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:false,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:false,category:"objects"},key:{keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:false,category:"objects"},old_key:{keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:false,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"🛋",fitzpatrick_scale:false,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:true,category:"objects"},bed:{keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:false,category:"objects"},door:{keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:false,category:"objects"},bellhop_bell:{keywords:["service"],char:"🛎",fitzpatrick_scale:false,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:false,category:"objects"},framed_picture:{keywords:["photography"],char:"🖼",fitzpatrick_scale:false,category:"objects"},world_map:{keywords:["location","direction"],char:"🗺",fitzpatrick_scale:false,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:false,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:false,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:false,category:"objects"},shopping_cart:{keywords:["trolley"],char:"🛒",fitzpatrick_scale:false,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:false,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:false,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:false,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:false,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:false,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:false,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:false,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:false,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:false,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:false,category:"objects"},red_envelope:{keywords:["gift"],char:"🧧",fitzpatrick_scale:false,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:false,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"📩",fitzpatrick_scale:false,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"📨",fitzpatrick_scale:false,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:false,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:false,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:false,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:false,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:false,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:false,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"📭",fitzpatrick_scale:false,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:false,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"📯",fitzpatrick_scale:false,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"📥",fitzpatrick_scale:false,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"📤",fitzpatrick_scale:false,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:false,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:false,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:false,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:false,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:false,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:false,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:false,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:false,category:"objects"},date:{keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:false,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:false,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:false,category:"objects"},card_index:{keywords:["business","stationery"],char:"📇",fitzpatrick_scale:false,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:false,category:"objects"},ballot_box:{keywords:["election","vote"],char:"🗳",fitzpatrick_scale:false,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:false,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:false,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:false,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:false,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"📂",fitzpatrick_scale:false,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:false,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"🗞",fitzpatrick_scale:false,category:"objects"},newspaper:{keywords:["press","headline"],char:"📰",fitzpatrick_scale:false,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:false,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:false,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:false,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:false,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:false,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:false,category:"objects"},ledger:{keywords:["notes","paper"],char:"📒",fitzpatrick_scale:false,category:"objects"},books:{keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:false,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:false,category:"objects"},safety_pin:{keywords:["diaper"],char:"🧷",fitzpatrick_scale:false,category:"objects"},link:{keywords:["rings","url"],char:"🔗",fitzpatrick_scale:false,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:false,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:false,category:"objects"},scissors:{keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:false,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:false,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:false,category:"objects"},abacus:{keywords:["calculation"],char:"🧮",fitzpatrick_scale:false,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:false,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:false,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:false,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:false,category:"objects"},black_flag:{keywords:["pirate"],char:"🏴",fitzpatrick_scale:false,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️‍🌈",fitzpatrick_scale:false,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:false,category:"objects"},lock:{keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:false,category:"objects"},unlock:{keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:false,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"🔏",fitzpatrick_scale:false,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:false,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:false,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:false,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:false,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:false,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:false,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:false,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:false,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:false,category:"objects"},heart:{keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:false,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:false,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:false,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:false,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:false,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:false,category:"symbols"},black_heart:{keywords:["evil"],char:"🖤",fitzpatrick_scale:false,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:false,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"❣",fitzpatrick_scale:false,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:false,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:false,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:false,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:false,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:false,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:false,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"💝",fitzpatrick_scale:false,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:false,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"☮",fitzpatrick_scale:false,category:"symbols"},latin_cross:{keywords:["christianity"],char:"✝",fitzpatrick_scale:false,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"☪",fitzpatrick_scale:false,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:false,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:false,category:"symbols"},star_of_david:{keywords:["judaism"],char:"✡",fitzpatrick_scale:false,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:false,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:false,category:"symbols"},yin_yang:{keywords:["balance"],char:"☯",fitzpatrick_scale:false,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:false,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:false,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:false,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:false,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:false,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:false,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:false,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:false,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:false,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:false,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:false,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:false,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:false,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:false,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:false,category:"symbols"},id:{keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:false,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:false,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:false,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:false,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:false,category:"symbols"},biohazard:{keywords:["danger"],char:"☣",fitzpatrick_scale:false,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:false,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:false,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:false,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:false,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:false,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:false,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:false,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:false,category:"symbols"},vs:{keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:false,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:false,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:false,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:false,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:false,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:false,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:false,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:false,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:false,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:false,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:false,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:false,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:false,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:false,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:false,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:false,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:false,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:false,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:false,category:"symbols"},o:{keywords:["circle","round"],char:"⭕",fitzpatrick_scale:false,category:"symbols"},stop_sign:{keywords:["stop"],char:"🛑",fitzpatrick_scale:false,category:"symbols"},anger:{keywords:["angry","mad"],char:"💢",fitzpatrick_scale:false,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:false,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:false,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:false,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:false,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:false,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:false,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:false,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:false,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:false,category:"symbols"},question:{keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:false,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:false,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:false,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:false,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:false,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:false,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"🔆",fitzpatrick_scale:false,category:"symbols"},trident:{keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:false,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:false,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:false,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:false,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:false,category:"symbols"},beginner:{keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:false,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:false,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:false,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:false,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:false,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:false,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:false,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:false,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:false,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:false,category:"symbols"},loop:{keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:false,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:false,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:false,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:false,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:false,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:false,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:false,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:false,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:false,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:false,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:false,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:false,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:false,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:false,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:false,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:false,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:false,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:false,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:false,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:false,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:false,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:false,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:false,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:false,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:false,category:"symbols"},cool:{keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:false,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:false,category:"symbols"},free:{keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:false,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:false,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:false,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:false,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:false,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:false,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:false,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:false,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:false,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:false,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:false,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:false,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:false,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:false,category:"symbols"},eject_button:{keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:false,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:false,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:false,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:false,category:"symbols"},stop_button:{keywords:["blue-square"],char:"⏹",fitzpatrick_scale:false,category:"symbols"},record_button:{keywords:["blue-square"],char:"⏺",fitzpatrick_scale:false,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:false,category:"symbols"},previous_track_button:{keywords:["backward"],char:"⏮",fitzpatrick_scale:false,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:false,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:false,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:false,category:"symbols"},repeat:{keywords:["loop","record"],char:"🔁",fitzpatrick_scale:false,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:false,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:false,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:false,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:false,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:false,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:false,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:false,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:false,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:false,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:false,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:false,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:false,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:false,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:false,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:false,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:false,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:false,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:false,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:false,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:false,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:false,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:false,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:false,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:false,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:false,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:false,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:false,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:false,category:"symbols"},notes:{keywords:["music","score"],char:"🎶",fitzpatrick_scale:false,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:false,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:false,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:false,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:false,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:false,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:false,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:false,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:false,category:"symbols"},infinity:{keywords:["forever"],char:"♾",fitzpatrick_scale:false,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:false,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:false,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:false,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:false,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:false,category:"symbols"},end:{keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:false,category:"symbols"},back:{keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:false,category:"symbols"},on:{keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:false,category:"symbols"},top:{keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:false,category:"symbols"},soon:{keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:false,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:false,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:false,category:"symbols"},white_circle:{keywords:["shape","round"],char:"⚪",fitzpatrick_scale:false,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:false,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:false,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:false,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:false,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:false,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:false,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:false,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:false,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:false,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:false,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:false,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:false,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:false,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:false,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:false,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:false,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:false,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:false,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"🔳",fitzpatrick_scale:false,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:false,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:false,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:false,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:false,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:false,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"📢",fitzpatrick_scale:false,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:false,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:false,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:false,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:false,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:false,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:false,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:false,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:false,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:false,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:false,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:false,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:false,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:false,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:false,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:false,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:false,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:false,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:false,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:false,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:false,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:false,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:false,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:false,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:false,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:false,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:false,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:false,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:false,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:false,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:false,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:false,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:false,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:false,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:false,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:false,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:false,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:false,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:false,category:"flags"},aland_islands:{keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:false,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:false,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:false,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:false,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:false,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:false,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:false,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:false,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:false,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:false,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:false,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:false,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:false,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:false,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:false,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:false,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:false,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:false,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:false,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:false,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:false,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:false,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:false,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:false,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:false,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:false,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:false,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:false,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:false,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:false,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:false,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:false,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:false,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:false,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:false,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:false,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:false,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:false,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:false,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:false,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:false,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:false,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:false,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:false,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:false,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:false,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:false,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:false,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:false,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:false,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:false,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:false,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:false,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:false,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:false,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:false,category:"flags"},curacao:{keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:false,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:false,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:false,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:false,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:false,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:false,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:false,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:false,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:false,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:false,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:false,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:false,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:false,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:false,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:false,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:false,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:false,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:false,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:false,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:false,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:false,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:false,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:false,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:false,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:false,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:false,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:false,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:false,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:false,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:false,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:false,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:false,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:false,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:false,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:false,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:false,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:false,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:false,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:false,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:false,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:false,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:false,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:false,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:false,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:false,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:false,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:false,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:false,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:false,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:false,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:false,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:false,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:false,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:false,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:false,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:false,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:false,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:false,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:false,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:false,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:false,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:false,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:false,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:false,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:false,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:false,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:false,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:false,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:false,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:false,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:false,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:false,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:false,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:false,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:false,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:false,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:false,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:false,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:false,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:false,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:false,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:false,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:false,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:false,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:false,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:false,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:false,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:false,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:false,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:false,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:false,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:false,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:false,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:false,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:false,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:false,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:false,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:false,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:false,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:false,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:false,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:false,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:false,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:false,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:false,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:false,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:false,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:false,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:false,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:false,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:false,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:false,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:false,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:false,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:false,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:false,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:false,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:false,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:false,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:false,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:false,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:false,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:false,category:"flags"},reunion:{keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:false,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:false,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:false,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:false,category:"flags"},st_barthelemy:{keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:false,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:false,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:false,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:false,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:false,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:false,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:false,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:false,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:false,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:false,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:false,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:false,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:false,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:false,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:false,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:false,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:false,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:false,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:false,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:false,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:false,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:false,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:false,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:false,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:false,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:false,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:false,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:false,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:false,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:false,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:false,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:false,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:false,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:false,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:false,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:false,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:false,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:false,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:false,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:false,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:false,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:false,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:false,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:false,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:false,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:false,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:false,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:false,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:false,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:false,category:"flags"},england:{keywords:["flag","english"],char:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",fitzpatrick_scale:false,category:"flags"},scotland:{keywords:["flag","scottish"],char:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",fitzpatrick_scale:false,category:"flags"},wales:{keywords:["flag","welsh"],char:"🏴󠁧󠁢󠁷󠁬󠁳󠁿",fitzpatrick_scale:false,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:false,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:false,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:false,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:false,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:false,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:false,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:false,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:false,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:false,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:false,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:false,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:false,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:false,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:false,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"🏴‍☠️",fitzpatrick_scale:false,category:"flags"}}); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.min.js b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.min.js new file mode 100644 index 0000000..5a1c491 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/emoticons/js/emojis.min.js @@ -0,0 +1,2 @@ +// Source: npm package: emojilib, file:emojis.json +window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"\u{1f600}",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"\u{1f62c}",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"\u{1f601}",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"\u{1f602}",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"\u{1f923}",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"\u{1f973}",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"\u{1f603}",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"\u{1f604}",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"\u{1f605}",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"\u{1f606}",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"\u{1f607}",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"\u{1f609}",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"\u{1f60a}",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"\u{1f642}",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"\u{1f643}",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"\u263a\ufe0f",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"\u{1f60b}",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"\u{1f60c}",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"\u{1f60d}",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"\u{1f970}",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1f618}",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"\u{1f617}",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"\u{1f619}",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1f61a}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"\u{1f61c}",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"\u{1f92a}",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"\u{1f928}",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"\u{1f9d0}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"\u{1f61d}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"\u{1f61b}",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"\u{1f911}",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"\u{1f913}",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"\u{1f60e}",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"\u{1f929}",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"\u{1f921}",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"\u{1f920}",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"\u{1f917}",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"\u{1f60f}",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"\u{1f636}",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"\u{1f610}",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"\u{1f611}",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"\u{1f612}",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"\u{1f644}",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"\u{1f914}",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"\u{1f925}",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"\u{1f92d}",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"\u{1f92b}",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"\u{1f92c}",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"\u{1f92f}",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"\u{1f633}",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"\u{1f61e}",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"\u{1f61f}",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"\u{1f620}",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"\u{1f621}",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"\u{1f614}",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"\u{1f615}",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"\u{1f641}",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"\u2639",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"\u{1f623}",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"\u{1f616}",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"\u{1f62b}",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"\u{1f629}",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"\u{1f97a}",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"\u{1f624}",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"\u{1f62e}",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"\u{1f631}",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"\u{1f628}",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"\u{1f630}",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"\u{1f62f}",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"\u{1f626}",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"\u{1f627}",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"\u{1f622}",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"\u{1f625}",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"\u{1f924}",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"\u{1f62a}",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"\u{1f613}",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"\u{1f975}",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"\u{1f976}",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"\u{1f62d}",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"\u{1f635}",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"\u{1f632}",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"\u{1f910}",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"\u{1f922}",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"\u{1f927}",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"\u{1f92e}",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"\u{1f637}",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"\u{1f912}",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"\u{1f915}",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"\u{1f974}",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"\u{1f634}",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"\u{1f4a4}",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"\u{1f4a9}",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"\u{1f608}",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"\u{1f47f}",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"\u{1f479}",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"\u{1f47a}",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"\u{1f480}",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"\u{1f47b}",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"\u{1f47d}",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"\u{1f916}",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"\u{1f63a}",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"\u{1f638}",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"\u{1f639}",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"\u{1f63b}",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"\u{1f63c}",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"\u{1f63d}",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"\u{1f640}",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"\u{1f63f}",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"\u{1f63e}",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"\u{1f932}",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"\u{1f64c}",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"\u{1f44f}",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"\u{1f44b}",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"\u{1f919}",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"\u{1f44d}",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"\u{1f44e}",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"\u{1f44a}",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"\u270a",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"\u{1f91b}",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"\u{1f91c}",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"\u270c",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"\u{1f44c}",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"\u270b",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"\u{1f91a}",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"\u{1f450}",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"\u{1f4aa}",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"\u{1f64f}",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"\u{1f9b6}",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"\u{1f9b5}",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"\u{1f91d}",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"\u261d",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"\u{1f446}",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"\u{1f447}",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"\u{1f448}",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"\u{1f449}",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"\u{1f595}",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"\u{1f590}",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"\u{1f91f}",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"\u{1f918}",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"\u{1f91e}",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"\u{1f596}",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"\u270d",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"\u{1f933}",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"\u{1f485}",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"\u{1f444}",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"\u{1f9b7}",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"\u{1f445}",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"\u{1f442}",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"\u{1f443}",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"\u{1f441}",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"\u{1f440}",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"\u{1f9e0}",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"\u{1f464}",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"\u{1f465}",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"\u{1f5e3}",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"\u{1f476}",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"\u{1f9d2}",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"\u{1f466}",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"\u{1f467}",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"\u{1f9d1}",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"\u{1f468}",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"\u{1f469}",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"\u{1f471}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"\u{1f471}",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"\u{1f9d4}",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"\u{1f9d3}",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"\u{1f474}",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"\u{1f475}",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"\u{1f472}",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"\u{1f9d5}",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"\u{1f473}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"\u{1f473}",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"\u{1f46e}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"\u{1f46e}",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"\u{1f477}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"\u{1f477}",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"\u{1f482}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"\u{1f482}",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"\u{1f575}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"\u{1f575}",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"\u{1f469}\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"\u{1f468}\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"\u{1f469}\u200d\u{1f33e}",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"\u{1f468}\u200d\u{1f33e}",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"\u{1f469}\u200d\u{1f373}",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"\u{1f468}\u200d\u{1f373}",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"\u{1f469}\u200d\u{1f393}",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"\u{1f468}\u200d\u{1f393}",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"\u{1f469}\u200d\u{1f3a4}",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"\u{1f468}\u200d\u{1f3a4}",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"\u{1f469}\u200d\u{1f3eb}",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"\u{1f468}\u200d\u{1f3eb}",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"\u{1f469}\u200d\u{1f3ed}",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"\u{1f468}\u200d\u{1f3ed}",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"\u{1f469}\u200d\u{1f4bb}",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"\u{1f468}\u200d\u{1f4bb}",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"\u{1f469}\u200d\u{1f4bc}",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"\u{1f468}\u200d\u{1f4bc}",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"\u{1f469}\u200d\u{1f527}",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"\u{1f468}\u200d\u{1f527}",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"\u{1f469}\u200d\u{1f52c}",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"\u{1f468}\u200d\u{1f52c}",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"\u{1f469}\u200d\u{1f3a8}",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"\u{1f468}\u200d\u{1f3a8}",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"\u{1f469}\u200d\u{1f692}",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"\u{1f468}\u200d\u{1f692}",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"\u{1f469}\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"\u{1f468}\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"\u{1f469}\u200d\u{1f680}",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"\u{1f468}\u200d\u{1f680}",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"\u{1f469}\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"\u{1f468}\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"\u{1f9b8}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"\u{1f9b8}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"\u{1f9b9}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"\u{1f9b9}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"\u{1f936}",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"\u{1f385}",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"\u{1f9d9}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"\u{1f9d9}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"\u{1f9dd}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"\u{1f9dd}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"\u{1f9db}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"\u{1f9db}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"\u{1f9df}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"\u{1f9df}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"\u{1f9de}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"\u{1f9de}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"\u{1f9dc}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"\u{1f9dc}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"\u{1f9da}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"\u{1f9da}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"\u{1f47c}",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"\u{1f930}",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"\u{1f931}",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"\u{1f478}",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"\u{1f934}",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"\u{1f470}",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"\u{1f935}",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"\u{1f3c3}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"\u{1f3c3}",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"\u{1f6b6}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"\u{1f6b6}",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"\u{1f483}",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"\u{1f57a}",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"\u{1f46f}",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"\u{1f46f}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"\u{1f46b}",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"\u{1f46c}",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"\u{1f46d}",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"\u{1f647}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"\u{1f647}",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"\u{1f926}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"\u{1f926}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"\u{1f937}",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"\u{1f937}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"\u{1f481}",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"\u{1f481}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"\u{1f645}",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"\u{1f645}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"\u{1f646}",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"\u{1f646}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"\u{1f64b}",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"\u{1f64b}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"\u{1f64e}",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"\u{1f64e}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"\u{1f64d}",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"\u{1f64d}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"\u{1f487}",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"\u{1f487}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"\u{1f486}",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"\u{1f486}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"\u{1f9d6}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"\u{1f9d6}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f491}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f469}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f468}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f48f}",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f469}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f469}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1f468}\u200d\u2764\ufe0f\u200d\u{1f48b}\u200d\u{1f468}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"\u{1f46a}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f469}\u200d\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1f468}\u200d\u{1f468}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"\u{1f469}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"\u{1f469}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1f469}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"\u{1f468}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"\u{1f468}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f467}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f466}\u200d\u{1f466}",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1f468}\u200d\u{1f467}\u200d\u{1f467}",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"\u{1f9f6}",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"\u{1f9f5}",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"\u{1f9e5}",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"\u{1f97c}",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"\u{1f45a}",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"\u{1f455}",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"\u{1f456}",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"\u{1f454}",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"\u{1f457}",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"\u{1f459}",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"\u{1f458}",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"\u{1f484}",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"\u{1f48b}",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"\u{1f463}",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"\u{1f97f}",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"\u{1f460}",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"\u{1f461}",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"\u{1f462}",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"\u{1f45e}",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"\u{1f45f}",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"\u{1f97e}",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"\u{1f9e6}",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"\u{1f9e4}",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"\u{1f9e3}",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"\u{1f452}",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"\u{1f3a9}",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"\u{1f9e2}",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"\u26d1",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"\u{1f393}",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"\u{1f451}",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"\u{1f392}",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"\u{1f9f3}",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"\u{1f45d}",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"\u{1f45b}",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"\u{1f45c}",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"\u{1f4bc}",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"\u{1f453}",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"\u{1f576}",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"\u{1f97d}",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"\u{1f48d}",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"\u{1f302}",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"\u{1f436}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"\u{1f431}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"\u{1f42d}",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"\u{1f439}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"\u{1f430}",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"\u{1f98a}",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"\u{1f43b}",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"\u{1f43c}",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"\u{1f428}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"\u{1f42f}",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"\u{1f981}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1f42e}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"\u{1f437}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"\u{1f43d}",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"\u{1f438}",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"\u{1f991}",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"\u{1f419}",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"\u{1f990}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"\u{1f435}",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"\u{1f98d}",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"\u{1f648}",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"\u{1f649}",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"\u{1f64a}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"\u{1f412}",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"\u{1f414}",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"\u{1f427}",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"\u{1f426}",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"\u{1f424}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"\u{1f423}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"\u{1f425}",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"\u{1f986}",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"\u{1f985}",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"\u{1f989}",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"\u{1f987}",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"\u{1f43a}",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"\u{1f417}",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"\u{1f434}",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"\u{1f984}",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"\u{1f41d}",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"\u{1f41b}",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"\u{1f98b}",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"\u{1f40c}",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"\u{1f41e}",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"\u{1f41c}",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"\u{1f997}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"\u{1f577}",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"\u{1f982}",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"\u{1f980}",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"\u{1f40d}",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"\u{1f98e}",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"\u{1f996}",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"\u{1f995}",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"\u{1f422}",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"\u{1f420}",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"\u{1f41f}",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"\u{1f421}",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"\u{1f42c}",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"\u{1f988}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"\u{1f433}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"\u{1f40b}",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"\u{1f40a}",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"\u{1f406}",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"\u{1f993}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"\u{1f405}",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"\u{1f403}",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"\u{1f402}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1f404}",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"\u{1f98c}",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"\u{1f42a}",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"\u{1f42b}",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"\u{1f992}",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"\u{1f418}",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"\u{1f98f}",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"\u{1f410}",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"\u{1f40f}",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"\u{1f411}",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"\u{1f40e}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"\u{1f416}",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"\u{1f400}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"\u{1f401}",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"\u{1f413}",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"\u{1f983}",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"\u{1f54a}",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"\u{1f415}",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"\u{1f429}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"\u{1f408}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"\u{1f407}",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"\u{1f43f}",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"\u{1f994}",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"\u{1f99d}",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"\u{1f999}",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"\u{1f99b}",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"\u{1f998}",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"\u{1f9a1}",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"\u{1f9a2}",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"\u{1f99a}",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"\u{1f99c}",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"\u{1f99e}",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"\u{1f99f}",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"\u{1f43e}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1f409}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1f432}",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"\u{1f335}",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"\u{1f384}",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"\u{1f332}",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"\u{1f333}",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"\u{1f334}",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"\u{1f331}",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"\u{1f33f}",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"\u2618",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"\u{1f340}",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"\u{1f38d}",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"\u{1f38b}",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"\u{1f343}",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"\u{1f342}",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"\u{1f341}",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"\u{1f33e}",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"\u{1f33a}",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"\u{1f33b}",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"\u{1f339}",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"\u{1f940}",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"\u{1f337}",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"\u{1f33c}",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"\u{1f338}",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"\u{1f490}",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"\u{1f344}",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"\u{1f330}",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"\u{1f383}",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"\u{1f41a}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"\u{1f578}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"\u{1f30e}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"\u{1f30d}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"\u{1f30f}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"\u{1f315}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"\u{1f316}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f317}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f318}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f311}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f312}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f313}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"\u{1f314}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31a}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31d}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31b}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1f31c}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"\u{1f31e}",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"\u{1f319}",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"\u2b50",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"\u{1f31f}",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"\u{1f4ab}",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"\u2728",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"\u2604",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"\u2600\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"\u{1f324}",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"\u26c5",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"\u{1f325}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"\u{1f326}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"\u2601\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"\u{1f327}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"\u26c8",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"\u{1f329}",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"\u26a1",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"\u{1f525}",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"\u{1f4a5}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"\u2744\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"\u{1f328}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"\u26c4",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"\u2603",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"\u{1f32c}",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"\u{1f4a8}",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"\u{1f32a}",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"\u{1f32b}",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"\u2602",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"\u2614",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"\u{1f4a7}",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"\u{1f4a6}",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"\u{1f30a}",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"\u{1f34f}",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"\u{1f34e}",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"\u{1f350}",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"\u{1f34a}",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"\u{1f34b}",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"\u{1f34c}",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"\u{1f349}",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"\u{1f347}",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"\u{1f353}",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"\u{1f348}",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"\u{1f352}",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"\u{1f351}",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"\u{1f34d}",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"\u{1f965}",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"\u{1f95d}",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"\u{1f96d}",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"\u{1f951}",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"\u{1f966}",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"\u{1f345}",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"\u{1f346}",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"\u{1f952}",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"\u{1f955}",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"\u{1f336}",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"\u{1f954}",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"\u{1f33d}",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"\u{1f96c}",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"\u{1f360}",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"\u{1f95c}",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"\u{1f36f}",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"\u{1f950}",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"\u{1f35e}",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"\u{1f956}",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"\u{1f96f}",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"\u{1f968}",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"\u{1f9c0}",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"\u{1f95a}",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"\u{1f953}",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"\u{1f969}",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"\u{1f95e}",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"\u{1f357}",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"\u{1f356}",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"\u{1f9b4}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"\u{1f364}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"\u{1f373}",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"\u{1f354}",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"\u{1f35f}",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"\u{1f959}",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"\u{1f32d}",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"\u{1f355}",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"\u{1f96a}",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"\u{1f96b}",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"\u{1f35d}",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"\u{1f32e}",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"\u{1f32f}",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"\u{1f957}",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"\u{1f958}",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"\u{1f35c}",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"\u{1f372}",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"\u{1f365}",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"\u{1f960}",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"\u{1f363}",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"\u{1f371}",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"\u{1f35b}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"\u{1f359}",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"\u{1f35a}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"\u{1f358}",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"\u{1f362}",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"\u{1f361}",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"\u{1f367}",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"\u{1f368}",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"\u{1f366}",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"\u{1f967}",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"\u{1f370}",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"\u{1f9c1}",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"\u{1f96e}",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"\u{1f382}",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"\u{1f36e}",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"\u{1f36c}",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"\u{1f36d}",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"\u{1f36b}",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"\u{1f37f}",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"\u{1f95f}",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"\u{1f369}",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"\u{1f36a}",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"\u{1f95b}",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1f37a}",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1f37b}",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"\u{1f942}",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"\u{1f377}",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"\u{1f943}",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"\u{1f378}",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"\u{1f379}",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"\u{1f37e}",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"\u{1f376}",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"\u{1f375}",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"\u{1f964}",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"\u2615",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"\u{1f37c}",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"\u{1f9c2}",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"\u{1f944}",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"\u{1f374}",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"\u{1f37d}",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"\u{1f963}",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"\u{1f961}",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"\u{1f962}",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"\u26bd",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"\u{1f3c0}",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"\u{1f3c8}",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"\u26be",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"\u{1f94e}",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"\u{1f3be}",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"\u{1f3d0}",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"\u{1f3c9}",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"\u{1f94f}",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"\u{1f3b1}",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"\u26f3",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"\u{1f3cc}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"\u{1f3cc}",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"\u{1f3d3}",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"\u{1f3f8}",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"\u{1f945}",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"\u{1f3d2}",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"\u{1f3d1}",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"\u{1f94d}",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"\u{1f3cf}",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"\u{1f3bf}",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"\u26f7",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"\u{1f3c2}",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"\u{1f93a}",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"\u{1f93c}\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"\u{1f93c}\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"\u{1f938}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"\u{1f938}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"\u{1f93e}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"\u{1f93e}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"\u26f8",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"\u{1f94c}",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"\u{1f6f9}",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"\u{1f6f7}",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"\u{1f3f9}",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"\u{1f3a3}",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"\u{1f94a}",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"\u{1f94b}",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"\u{1f6a3}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"\u{1f6a3}",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"\u{1f9d7}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"\u{1f9d7}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"\u{1f3ca}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"\u{1f3ca}",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"\u{1f93d}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"\u{1f93d}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1f9d8}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1f9d8}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"\u{1f3c4}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"\u{1f3c4}",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"\u{1f6c0}",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"\u26f9\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"\u26f9",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"\u{1f3cb}\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"\u{1f3cb}",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"\u{1f6b4}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"\u{1f6b4}",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"\u{1f6b5}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"\u{1f6b5}",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"\u{1f3c7}",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"\u{1f574}",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"\u{1f3c6}",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"\u{1f3bd}",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"\u{1f3c5}",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"\u{1f396}",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"\u{1f947}",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"\u{1f948}",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"\u{1f949}",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"\u{1f397}",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"\u{1f3f5}",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"\u{1f3ab}",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"\u{1f39f}",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"\u{1f3ad}",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"\u{1f3a8}",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"\u{1f3aa}",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1f939}\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1f939}\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"\u{1f3a4}",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"\u{1f3a7}",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"\u{1f3bc}",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"\u{1f3b9}",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"\u{1f941}",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"\u{1f3b7}",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"\u{1f3ba}",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"\u{1f3b8}",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"\u{1f3bb}",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"\u{1f3ac}",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"\u{1f3ae}",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"\u{1f47e}",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"\u{1f3af}",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"\u{1f3b2}",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"\u{1f3b0}",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"\u{1f9e9}",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"\u{1f3b3}",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"\u{1f697}",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"\u{1f695}",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"\u{1f699}",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"\u{1f68c}",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"\u{1f68e}",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"\u{1f3ce}",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"\u{1f693}",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"\u{1f691}",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"\u{1f692}",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"\u{1f690}",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"\u{1f69a}",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"\u{1f69b}",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"\u{1f69c}",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"\u{1f6f4}",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"\u{1f3cd}",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"\u{1f6b2}",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"\u{1f6f5}",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"\u{1f6a8}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"\u{1f694}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"\u{1f68d}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"\u{1f698}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"\u{1f696}",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"\u{1f6a1}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"\u{1f6a0}",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"\u{1f69f}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"\u{1f683}",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"\u{1f68b}",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"\u{1f69d}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"\u{1f684}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"\u{1f685}",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"\u{1f688}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"\u{1f69e}",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"\u{1f682}",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"\u{1f686}",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"\u{1f687}",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"\u{1f68a}",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"\u{1f689}",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"\u{1f6f8}",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"\u{1f681}",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"\u{1f6e9}",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"\u2708\ufe0f",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"\u{1f6eb}",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"\u{1f6ec}",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"\u26f5",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"\u{1f6e5}",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"\u{1f6a4}",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"\u26f4",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"\u{1f6f3}",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"\u{1f680}",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"\u{1f6f0}",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"\u{1f4ba}",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"\u{1f6f6}",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"\u2693",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"\u{1f6a7}",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"\u26fd",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"\u{1f68f}",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"\u{1f6a6}",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"\u{1f6a5}",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"\u{1f3c1}",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"\u{1f6a2}",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"\u{1f3a1}",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"\u{1f3a2}",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"\u{1f3a0}",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"\u{1f3d7}",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"\u{1f301}",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"\u{1f5fc}",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"\u{1f3ed}",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"\u26f2",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"\u{1f391}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"\u26f0",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"\u{1f3d4}",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"\u{1f5fb}",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"\u{1f30b}",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"\u{1f5fe}",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"\u{1f3d5}",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"\u26fa",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"\u{1f3de}",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"\u{1f6e3}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"\u{1f6e4}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"\u{1f305}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"\u{1f304}",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"\u{1f3dc}",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"\u{1f3d6}",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"\u{1f3dd}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"\u{1f307}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"\u{1f306}",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"\u{1f3d9}",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"\u{1f303}",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"\u{1f309}",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"\u{1f30c}",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"\u{1f320}",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"\u{1f387}",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"\u{1f386}",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"\u{1f308}",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"\u{1f3d8}",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"\u{1f3f0}",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"\u{1f3ef}",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"\u{1f3df}",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"\u{1f5fd}",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"\u{1f3e0}",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"\u{1f3e1}",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"\u{1f3da}",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"\u{1f3e2}",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"\u{1f3ec}",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"\u{1f3e3}",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"\u{1f3e4}",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"\u{1f3e5}",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"\u{1f3e6}",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"\u{1f3e8}",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"\u{1f3ea}",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"\u{1f3eb}",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"\u{1f3e9}",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"\u{1f492}",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"\u{1f3db}",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"\u26ea",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"\u{1f54c}",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"\u{1f54d}",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"\u{1f54b}",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"\u26e9",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"\u231a",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"\u{1f4f1}",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"\u{1f4f2}",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"\u{1f4bb}",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"\u2328",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"\u{1f5a5}",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"\u{1f5a8}",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"\u{1f5b1}",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"\u{1f5b2}",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"\u{1f579}",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"\u{1f5dc}",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"\u{1f4bd}",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"\u{1f4be}",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"\u{1f4bf}",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"\u{1f4c0}",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"\u{1f4fc}",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"\u{1f4f7}",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"\u{1f4f8}",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"\u{1f4f9}",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"\u{1f3a5}",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"\u{1f4fd}",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"\u{1f39e}",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"\u{1f4de}",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"\u260e\ufe0f",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"\u{1f4df}",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"\u{1f4e0}",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"\u{1f4fa}",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"\u{1f4fb}",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"\u{1f399}",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"\u{1f39a}",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"\u{1f39b}",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"\u{1f9ed}",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"\u23f1",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"\u23f2",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"\u23f0",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"\u{1f570}",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"\u23f3",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"\u231b",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"\u{1f4e1}",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"\u{1f50b}",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"\u{1f50c}",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"\u{1f4a1}",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"\u{1f526}",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"\u{1f56f}",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"\u{1f9ef}",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"\u{1f5d1}",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"\u{1f6e2}",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"\u{1f4b8}",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"\u{1f4b5}",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"\u{1f4b4}",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"\u{1f4b6}",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"\u{1f4b7}",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"\u{1f4b0}",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"\u{1f4b3}",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"\u{1f48e}",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"\u2696",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"\u{1f9f0}",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"\u{1f527}",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"\u{1f528}",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"\u2692",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"\u{1f6e0}",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"\u26cf",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"\u{1f529}",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"\u2699",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"\u{1f9f1}",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"\u26d3",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"\u{1f9f2}",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"\u{1f52b}",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"\u{1f4a3}",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"\u{1f9e8}",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"\u{1f52a}",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"\u{1f5e1}",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"\u2694",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"\u{1f6e1}",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"\u{1f6ac}",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"\u2620",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"\u26b0",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"\u26b1",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"\u{1f3fa}",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"\u{1f52e}",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"\u{1f4ff}",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"\u{1f9ff}",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"\u{1f488}",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"\u2697",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"\u{1f52d}",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"\u{1f52c}",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"\u{1f573}",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"\u{1f48a}",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"\u{1f489}",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"\u{1f9ec}",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"\u{1f9a0}",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"\u{1f9eb}",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"\u{1f9ea}",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"\u{1f321}",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"\u{1f9f9}",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"\u{1f9fa}",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"\u{1f9fb}",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"\u{1f3f7}",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"\u{1f516}",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"\u{1f6bd}",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"\u{1f6bf}",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"\u{1f6c1}",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"\u{1f9fc}",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"\u{1f9fd}",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"\u{1f9f4}",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"\u{1f511}",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"\u{1f5dd}",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"\u{1f6cb}",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"\u{1f6cc}",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"\u{1f6cf}",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"\u{1f6aa}",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"\u{1f6ce}",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"\u{1f9f8}",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"\u{1f5bc}",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"\u{1f5fa}",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"\u26f1",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"\u{1f5ff}",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"\u{1f6cd}",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"\u{1f6d2}",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"\u{1f388}",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"\u{1f38f}",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"\u{1f380}",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"\u{1f381}",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"\u{1f38a}",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"\u{1f389}",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"\u{1f38e}",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"\u{1f390}",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"\u{1f38c}",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"\u{1f3ee}",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"\u{1f9e7}",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"\u2709\ufe0f",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"\u{1f4e9}",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"\u{1f4e8}",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"\u{1f4e7}",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"\u{1f48c}",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"\u{1f4ee}",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"\u{1f4ea}",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"\u{1f4eb}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"\u{1f4ec}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"\u{1f4ed}",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"\u{1f4e6}",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"\u{1f4ef}",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"\u{1f4e5}",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"\u{1f4e4}",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"\u{1f4dc}",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"\u{1f4c3}",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"\u{1f4d1}",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"\u{1f9fe}",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"\u{1f4ca}",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"\u{1f4c8}",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"\u{1f4c9}",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"\u{1f4c4}",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"\u{1f4c5}",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"\u{1f4c6}",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"\u{1f5d3}",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"\u{1f4c7}",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"\u{1f5c3}",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"\u{1f5f3}",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"\u{1f5c4}",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"\u{1f4cb}",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"\u{1f5d2}",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"\u{1f4c1}",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"\u{1f4c2}",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"\u{1f5c2}",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"\u{1f5de}",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"\u{1f4f0}",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"\u{1f4d3}",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"\u{1f4d5}",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"\u{1f4d7}",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"\u{1f4d8}",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"\u{1f4d9}",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"\u{1f4d4}",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"\u{1f4d2}",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"\u{1f4da}",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"\u{1f4d6}",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"\u{1f9f7}",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"\u{1f517}",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"\u{1f4ce}",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"\u{1f587}",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"\u2702\ufe0f",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"\u{1f4d0}",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"\u{1f4cf}",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"\u{1f9ee}",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"\u{1f4cc}",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"\u{1f4cd}",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"\u{1f6a9}",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"\u{1f3f3}",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"\u{1f3f4}",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"\u{1f3f3}\ufe0f\u200d\u{1f308}",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"\u{1f510}",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"\u{1f512}",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"\u{1f513}",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"\u{1f50f}",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"\u{1f58a}",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"\u{1f58b}",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"\u2712\ufe0f",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"\u{1f4dd}",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"\u270f\ufe0f",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"\u{1f58d}",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"\u{1f58c}",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"\u{1f50d}",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"\u{1f50e}",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"\u2764\ufe0f",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f9e1}",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49b}",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49a}",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f499}",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f49c}",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"\u{1f5a4}",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"\u{1f494}",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"\u2763",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"\u{1f495}",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"\u{1f49e}",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"\u{1f493}",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"\u{1f497}",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"\u{1f496}",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"\u{1f498}",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"\u{1f49d}",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"\u{1f49f}",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"\u262e",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"\u271d",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"\u262a",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u{1f549}",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u2638",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"\u2721",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"\u{1f52f}",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"\u{1f54e}",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"\u262f",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"\u2626",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"\u{1f6d0}",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"\u26ce",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2648",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2649",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264a",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264b",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264c",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264d",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264e",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"\u264f",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2650",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2651",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2652",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2653",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"\u{1f194}",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"\u269b",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"\u{1f233}",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"\u{1f239}",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"\u2622",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"\u2623",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"\u{1f4f4}",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"\u{1f4f3}",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"\u{1f236}",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"\u{1f21a}",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"\u{1f238}",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"\u{1f23a}",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"\u{1f237}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"\u2734\ufe0f",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"\u{1f19a}",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"\u{1f251}",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"\u{1f4ae}",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"\u{1f250}",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"\u3299\ufe0f",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"\u3297\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"\u{1f234}",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"\u{1f235}",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"\u{1f232}",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"\u{1f170}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"\u{1f171}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"\u{1f18e}",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"\u{1f191}",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"\u{1f17e}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"\u{1f198}",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"\u26d4",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"\u{1f4db}",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"\u{1f6ab}",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"\u274c",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"\u2b55",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"\u{1f6d1}",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"\u{1f4a2}",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"\u2668\ufe0f",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"\u{1f6b7}",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"\u{1f6af}",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"\u{1f6b3}",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"\u{1f6b1}",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"\u{1f51e}",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"\u{1f4f5}",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"\u2757",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"\u2755",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"\u2753",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"\u2754",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"\u203c\ufe0f",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"\u2049\ufe0f",fitzpatrick_scale:!1,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"\u{1f4af}",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"\u{1f505}",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"\u{1f506}",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"\u{1f531}",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"\u269c",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"\u303d\ufe0f",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"\u26a0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"\u{1f6b8}",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"\u{1f530}",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"\u267b\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"\u{1f22f}",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"\u{1f4b9}",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"\u2747\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"\u2733\ufe0f",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"\u274e",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"\u2705",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"\u{1f4a0}",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"\u{1f300}",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"\u27bf",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"\u{1f310}",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"\u24c2\ufe0f",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"\u{1f3e7}",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"\u{1f202}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"\u{1f6c2}",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"\u{1f6c3}",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"\u{1f6c4}",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"\u{1f6c5}",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"\u267f",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"\u{1f6ad}",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"\u{1f6be}",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"\u{1f17f}\ufe0f",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"\u{1f6b0}",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"\u{1f6b9}",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"\u{1f6ba}",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"\u{1f6bc}",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"\u{1f6bb}",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"\u{1f6ae}",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"\u{1f3a6}",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"\u{1f4f6}",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"\u{1f201}",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"\u{1f196}",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"\u{1f197}",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"\u{1f199}",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"\u{1f192}",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"\u{1f195}",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"\u{1f193}",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"\u{1f51f}",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*\u20e3",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"\u{1f522}",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"\u23cf\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"\u25b6\ufe0f",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"\u23f8",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"\u23ed",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"\u23f9",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"\u23fa",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"\u23ef",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"\u23ee",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"\u23e9",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"\u23ea",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"\u{1f500}",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"\u{1f501}",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"\u{1f502}",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"\u25c0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"\u{1f53c}",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"\u{1f53d}",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"\u23eb",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"\u23ec",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"\u27a1\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"\u2b05\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"\u2b06\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"\u2b07\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"\u2197\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"\u2198\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"\u2199\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"\u2196\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"\u2195\ufe0f",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"\u2194\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"\u{1f504}",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"\u21aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"\u21a9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"\u2934\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"\u2935\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"\u2139\ufe0f",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"\u{1f524}",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"\u{1f521}",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"\u{1f520}",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"\u{1f523}",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"\u{1f3b5}",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"\u{1f3b6}",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"\u3030\ufe0f",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"\u27b0",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"\u2714\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"\u{1f503}",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"\u2795",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"\u2796",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"\u2797",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"\u2716\ufe0f",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"\u267e",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"\u{1f4b2}",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"\u{1f4b1}",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"\xa9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"\xae\ufe0f",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"\u2122\ufe0f",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"\u{1f51a}",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"\u{1f519}",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"\u{1f51b}",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"\u{1f51d}",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"\u{1f51c}",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"\u2611\ufe0f",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"\u{1f518}",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"\u26aa",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"\u26ab",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"\u{1f534}",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"\u{1f535}",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f538}",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f539}",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f536}",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1f537}",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"\u{1f53a}",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"\u25aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"\u25ab\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"\u2b1b",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"\u2b1c",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"\u{1f53b}",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"\u25fc\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"\u25fb\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"\u25fe",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"\u25fd",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"\u{1f532}",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"\u{1f533}",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"\u{1f508}",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"\u{1f509}",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"\u{1f50a}",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"\u{1f507}",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"\u{1f4e3}",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"\u{1f4e2}",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"\u{1f514}",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"\u{1f515}",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"\u{1f0cf}",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"\u{1f004}",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"\u2660\ufe0f",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"\u2663\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"\u2665\ufe0f",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"\u2666\ufe0f",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"\u{1f3b4}",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"\u{1f4ad}",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"\u{1f5ef}",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"\u{1f4ac}",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"\u{1f5e8}",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"\u{1f550}",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"\u{1f551}",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"\u{1f552}",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"\u{1f553}",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"\u{1f554}",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"\u{1f555}",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"\u{1f556}",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"\u{1f557}",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"\u{1f558}",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"\u{1f559}",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"\u{1f55a}",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"\u{1f55b}",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"\u{1f55c}",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"\u{1f55d}",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"\u{1f55e}",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"\u{1f55f}",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"\u{1f560}",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"\u{1f561}",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"\u{1f562}",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"\u{1f563}",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"\u{1f564}",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"\u{1f565}",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"\u{1f566}",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"\u{1f567}",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"\u{1f1e8}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"\u{1f1e9}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"\u{1f1ea}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"\u{1f1eb}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"\u{1f1e9}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"\u{1f1ed}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"\u{1f1ee}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"\u{1f1ef}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"\u{1f1ef}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"\u{1f1fd}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f6}",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"\u{1f1fe}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"\u{1f1eb}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"\u{1f1f2}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"\u{1f1f0}\u{1f1f5}",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"\u{1f1f3}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"\u{1f1f4}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"\u{1f1f6}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:"\u{1f1e7}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"\u{1f1f0}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"\u{1f1f5}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"\u{1f1fc}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"\u{1f1f7}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fd}",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"\u{1f1ec}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"\u{1f1f0}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"\u{1f1f1}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1e9}",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"\u{1f1e8}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"\u{1f1f8}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ef}",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f1}",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f0}",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f4}",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f9}",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f7}",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1e8}",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"\u{1f1f9}\u{1f1fb}",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1ec}",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"\u{1f1e6}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"\u{1f1ec}\u{1f1e7}",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0065}\u{e006e}\u{e0067}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0073}\u{e0063}\u{e0074}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"\u{1f3f4}\u{e0067}\u{e0062}\u{e0077}\u{e006c}\u{e0073}\u{e007f}",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1f8}",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ee}",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1fe}",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"\u{1f1fa}\u{1f1ff}",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1fa}",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1e6}",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"\u{1f1fb}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\u{1f1fc}\u{1f1eb}",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\u{1f1ea}\u{1f1ed}",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\u{1f1fe}\u{1f1ea}",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1f2}",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\u{1f1ff}\u{1f1fc}",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\u{1f1fa}\u{1f1f3}",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\u{1f3f4}\u200d\u2620\ufe0f",fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/emoticons/plugin.min.js b/dsql-app/public/tinymce-public/plugins/emoticons/plugin.min.js new file mode 100644 index 0000000..d4c494b --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/emoticons/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>t===e,o=e(null),n=e(void 0),s=()=>{},r=()=>!1;class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return null==t?a.none():a.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const i=(t,e)=>{const o=t.length,n=new Array(o);for(let s=0;s{let e=t;return{get:()=>e,set:t=>{e=t}}},c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,s=o.length;nu.call(t,e),m=(h=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const e={};for(let o=0;o{const t=(t=>{const e=l(a.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(a.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(a.some(t))}}})(s);return{...t,on:e=>t.get().each(e)}},y=(t,e,o=0,s)=>{const r=t.indexOf(e,o);return-1!==r&&(!!n(s)||r+e.length<=s)};var v=tinymce.util.Tools.resolve("tinymce.Resource");const f=t=>e=>e.options.get(t),b=f("emoticons_database"),w=f("emoticons_database_url"),j=f("emoticons_database_id"),C=f("emoticons_append"),_=f("emoticons_images_url"),A="All",k={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},O=(t,e)=>d(t,e)?t[e]:e,x=t=>{const e=C(t);return o=t=>({keywords:[],category:"user",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const s=e(t,n);o[s.k]=s.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o},E=(t,e)=>y(t.title.toLowerCase(),e)||((t,o)=>{for(let o=0,s=t.length;o{const n=[],s=e.toLowerCase(),a=o.fold((()=>r),(t=>e=>e>=t));for(let o=0;o{const n={pattern:"",results:L(e.listAll(),"",a.some(300))},s=l(A),r=((t,e)=>{let n=null;const s=()=>{o(n)||(clearTimeout(n),n=null)};return{cancel:s,throttle:(...e)=>{s(),n=setTimeout((()=>{n=null,t.apply(null,e)}),200)}}})((t=>{(t=>{const o=t.getData(),n=s.get(),r=e.listCategory(n),i=L(r,o[S],n===A?a.some(300):a.none());t.setData({results:i})})(t)})),c={label:"Search",type:"input",name:S},u={type:"collection",name:"results"},g=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:i(e.listCategories(),(t=>({title:t,name:t,items:[c,u]})))},initialData:n,onTabChange:(t,e)=>{s.set(e.newTabName),r.throttle(t)},onChange:r.throttle,onAction:(e,o)=>{"results"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),d=t.windowManager.open(g());d.focus(S),e.hasLoaded()||(d.block("Loading emojis..."),e.waitForLoad().then((()=>{d.redial(g()),r.throttle(d),d.focus(S),d.unblock()})).catch((t=>{d.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),d.focus(S),d.unblock()})))},T=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on("NodeChange",o),o(),()=>{t.off("NodeChange",o)}};t.add("emoticons",((t,e)=>{((t,e)=>{const o=t.options.register;o("emoticons_database",{processor:"string",default:"emojis"}),o("emoticons_database_url",{processor:"string",default:`${e}/js/${b(t)}${t.suffix}.js`}),o("emoticons_database_id",{processor:"string",default:"tinymce.plugins.emoticons"}),o("emoticons_append",{processor:"object",default:{}}),o("emoticons_images_url",{processor:"string",default:"https://cdnjs.cloudflare.com/ajax/libs/twemoji/15.1.0/72x72/"})})(t,e);const o=((t,e,o)=>{const n=p(),s=p(),r=_(t),i=t=>{return o="=4&&e.substr(0,4)===o?t.char.replace(/src="([^"]+)"/,((t,e)=>`src="${r}${e}"`)):t.char;var e,o};t.on("init",(()=>{v.load(o,e).then((e=>{const o=x(t);(t=>{const e={},o=[];g(t,((t,n)=>{const s={title:n,keywords:t.keywords,char:i(t),category:O(k,t.category)},r=void 0!==e[s.category]?e[s.category]:[];e[s.category]=r.concat([s]),o.push(s)})),n.set(e),s.set(o)})(m(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),s.set([])}))}));const l=()=>s.get().getOr([]),u=()=>n.isSet()&&s.isSet();return{listCategories:()=>[A].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const s=setInterval((()=>{u()?(clearInterval(s),t(!0)):(n--,n<0&&(console.log("Could not load emojis from url: "+e),clearInterval(s),o(!1)))}),100)})),listAll:l,listCategory:t=>t===A?l():n.get().bind((e=>a.from(e[t]))).getOr([])}})(t,w(t),j(t));return((t,e)=>{t.addCommand("mceEmoticons",(()=>N(t,e)))})(t,o),(t=>{const e=()=>t.execCommand("mceEmoticons");t.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:e,onSetup:T(t)}),t.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:e,onSetup:T(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return L(n,t,a.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on("PreInit",(()=>{t.parser.addAttributeFilter("data-emoticon",(t=>{((t,e)=>{for(let e=0,n=t.length;eo.waitForLoad().then((()=>o.listAll()))}}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/fullscreen/plugin.min.js b/dsql-app/public/tinymce-public/plugins/fullscreen/plugin.min.js new file mode 100644 index 0000000..505ea0b --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/fullscreen/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";const e=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}};var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const n=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,(o=String).prototype.isPrototypeOf(n)||(null===(s=r.constructor)||void 0===s?void 0:s.name)===o.name)?"string":t;var n,r,o,s})(t)===e,r=e=>t=>typeof t===e,o=e=>t=>e===t,s=n("string"),i=n("object"),l=n("array"),a=o(null),c=r("boolean"),u=o(void 0),d=e=>!(e=>null==e)(e),m=r("function"),h=r("number"),g=()=>{},p=e=>()=>e;function f(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const v=p(!1),w=p(!0);class y{constructor(e,t){this.tag=e,this.value=t}static some(e){return new y(!0,e)}static none(){return y.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?y.some(e(this.value)):y.none()}bind(e){return this.tag?e(this.value):y.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:y.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return d(e)?y.some(e):y.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}y.singletonNone=new y(!1);const b=Array.prototype.push,S=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o{for(let n=0,r=e.length;n{const n=[];for(let r=0,o=e.length;r((e,t,n)=>{for(let r=0,o=e.length;r{const n=e(y.none()),r=()=>n.get().each(t);return{clear:()=>{r(),n.set(y.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:e=>{r(),n.set(y.some(e))}}},k=()=>O((e=>e.unbind())),T=Object.keys,C="undefined"!=typeof window?window:Function("return this;")(),A=(e,t)=>((e,t)=>{let n=null!=t?t:C;for(let t=0;t{const t=A("ownerDocument.defaultView",e);return i(e)&&((e=>((e,t)=>{const n=((e,t)=>A(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(R(e).constructor.name))},M=e=>t=>(e=>e.dom.nodeType)(t)===e,P=M(1),D=M(3),N=M(11),H=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},V=(e,t)=>{e.dom.removeAttribute(t)},W=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!u(r)||o+t.length<=r)},q=e=>void 0!==e.style&&m(e.style.getPropertyValue),B=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},I=B,j=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},_=e=>I(e.dom.ownerDocument),z=e=>S(e.dom.childNodes,I),K=e=>{const t=(e=>I(e.dom.getRootNode()))(e);return N(n=t)&&d(n.dom.host)?y.some(t):y.none();var n},$=e=>I(e.dom.host),U=e=>{const t=D(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return K(I(t)).fold((()=>n.body.contains(t)),(r=U,o=$,e=>r(o(e))));var r,o},X=(e,t,n)=>{if(!s(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);q(e)&&e.style.setProperty(t,n)},Y=(e,t,n)=>{const r=e.dom;X(r,t,n)},G=(e,t)=>{const n=e.dom;((e,t)=>{const n=T(e);for(let r=0,o=n.length;r{X(n,t,e)}))},J=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||U(e)?r:Q(n,t)},Q=(e,t)=>q(e)?e.style.getPropertyValue(t):"",Z=e=>{const t=I((e=>{if(d(e.target)){const t=I(e.target);if(P(t)&&d(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return((e,t)=>0e.stopPropagation(),r=()=>e.preventDefault(),o=(s=r,i=n,(...e)=>s(i.apply(null,e)));var s,i;return((e,t,n,r,o,s,i)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:s,raw:i}))(t,e.clientX,e.clientY,n,r,o,e)},ee=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},te=w,ne=(e,t,n)=>((e,t,n,r)=>((e,t,n,r,o)=>{const s=((e,t)=>n=>{e(n)&&t(Z(n))})(n,r);return e.dom.addEventListener(t,s,o),{unbind:f(ee,e,t,s,o)}})(e,t,n,r,!1))(e,t,te,n),re=()=>oe(0,0),oe=(e,t)=>({major:e,minor:t}),se={nu:oe,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?re():((e,t)=>{const n=((e,t)=>{for(let n=0;nNumber(t.replace(n,"$"+e));return oe(r(1),r(2))})(e,n)},unknown:re},ie=(e,t)=>{const n=String(t).toLowerCase();return F(e,(e=>e.search(n)))},le=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,ae=e=>t=>W(t,e),ce=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>W(e,"edge/")&&W(e,"chrome")&&W(e,"safari")&&W(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,le],search:e=>W(e,"chrome")&&!W(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>W(e,"msie")||W(e,"trident")},{name:"Opera",versionRegexes:[le,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:ae("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:ae("firefox")},{name:"Safari",versionRegexes:[le,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(W(e,"safari")||W(e,"mobile/"))&&W(e,"applewebkit")}],ue=[{name:"Windows",search:ae("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>W(e,"iphone")||W(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:ae("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:ae("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:ae("linux"),versionRegexes:[]},{name:"Solaris",search:ae("sunos"),versionRegexes:[]},{name:"FreeBSD",search:ae("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:ae("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],de={browsers:p(ce),oses:p(ue)},me="Edge",he="Chromium",ge="Opera",pe="Firefox",fe="Safari",ve=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(me),isChromium:r(he),isIE:r("IE"),isOpera:r(ge),isFirefox:r(pe),isSafari:r(fe)}},we=()=>ve({current:void 0,version:se.unknown()}),ye=ve,be=(p(me),p(he),p("IE"),p(ge),p(pe),p(fe),"Windows"),Se="Android",xe="Linux",Ee="macOS",Fe="Solaris",Oe="FreeBSD",ke="ChromeOS",Te=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(be),isiOS:r("iOS"),isAndroid:r(Se),isMacOS:r(Ee),isLinux:r(xe),isSolaris:r(Fe),isFreeBSD:r(Oe),isChromeOS:r(ke)}},Ce=()=>Te({current:void 0,version:se.unknown()}),Ae=Te,Re=(p(be),p("iOS"),p(Se),p(xe),p(Ee),p(Fe),p(Oe),p(ke),(e,t,n)=>{const r=de.browsers(),o=de.oses(),s=t.bind((e=>((e,t)=>((e,t)=>{for(let n=0;n{const n=t.brand.toLowerCase();return F(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:se.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>ie(e,t).map((e=>{const n=se.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(we,ye),i=((e,t)=>ie(e,t).map((e=>{const n=se.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(Ce,Ae),l=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!o,i=e.isiOS()||e.isAndroid(),l=i||r("(pointer:coarse)"),a=o||!s&&i&&r("(min-device-width:768px)"),c=s||i&&!a,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!a&&!u;return{isiPad:p(o),isiPhone:p(s),isTablet:p(a),isPhone:p(c),isTouch:p(l),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:p(u),isDesktop:p(d)}})(i,s,e,n);return{browser:s,os:i,deviceType:l}}),Le=e=>window.matchMedia(e).matches;let Me=(e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)})((()=>Re(window.navigator.userAgent,y.from(window.navigator.userAgentData),Le)));const Pe=(e,t)=>({left:e,top:t,translate:(n,r)=>Pe(e+n,t+r)}),De=Pe,Ne=e=>{const t=void 0===e?window:e;return Me().browser.isFirefox()?y.none():y.from(t.visualViewport)},He=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),Ve=e=>{const t=void 0===e?window:e,n=t.document,r=(e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return De(n,r)})(I(n));return Ne(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return He(r.left,r.top,n,o)}),(e=>He(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},We=(e,t,n)=>Ne(n).map((n=>{const r=e=>t(Z(e));return n.addEventListener(e,r),{unbind:()=>n.removeEventListener(e,r)}})).getOrThunk((()=>({unbind:g})));var qe=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Be=tinymce.util.Tools.resolve("tinymce.Env");const Ie=(e,t)=>{e.dispatch("FullscreenStateChanged",{state:t}),e.dispatch("ResizeEditor")},je=("fullscreen_native",e=>e.options.get("fullscreen_native"));const _e=e=>{return e.dom===(void 0!==(t=_(e).dom).fullscreenElement?t.fullscreenElement:void 0!==t.msFullscreenElement?t.msFullscreenElement:void 0!==t.webkitFullscreenElement?t.webkitFullscreenElement:null);var t},ze=(e,t,n)=>((e,t,n)=>E(((e,t)=>{const n=m(t)?t:v;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=I(e);if(o.push(t),!0===n(t))break;r=e}return o})(e,n),t))(e,(e=>j(e,t)),n),Ke=(e,t)=>((e,n)=>{return E((e=>y.from(e.dom.parentNode).map(I))(r=e).map(z).map((e=>E(e,(e=>{return t=e,!(r.dom===t.dom);var t})))).getOr([]),(e=>j(e,t)));var r})(e),$e="data-ephox-mobile-fullscreen-style",Ue="position:absolute!important;",Xe="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Ye=Be.os.isAndroid(),Ge=(e,t,n)=>{const r=t=>n=>{const r=H(n,"style"),o=void 0===r?"no-styles":r.trim();o!==t&&(((e,t,n)=>{((e,t,n)=>{if(!(s(n)||c(n)||h(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(e.dom,t,n)})(n,$e,o),G(n,e.parseStyle(t)))},o=ze(t,"*"),i=(e=>{const t=[];for(let n=0,r=e.length;nKe(e,"*:not(.tox-silver-sink)")))),a=(e=>{const t=J(e,"background-color");return void 0!==t&&""!==t?"background-color:"+t+"!important":"background-color:rgb(255,255,255)!important;"})(n);x(i,r("display:none!important;")),x(o,r(Ue+Xe+a)),r((!0===Ye?"":Ue)+Xe+a)(t)},Je=qe.DOM,Qe=Ne().fold((()=>({bind:g,unbind:g})),(e=>{const t=(()=>{const e=O(g);return{...e,on:t=>e.get().each(t)}})(),n=k(),r=k(),o=((e,t)=>{let n=null;return{cancel:()=>{a(n)||(clearTimeout(n),n=null)},throttle:(...t)=>{a(n)&&(n=setTimeout((()=>{n=null,e.apply(null,t)}),50))}}})((()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0,window.requestAnimationFrame((()=>{t.on((t=>G(t,{top:e.offsetTop+"px",left:e.offsetLeft+"px",height:e.height+"px",width:e.width+"px"})))}))}));return{bind:e=>{t.set(e),o.throttle(),n.set(We("resize",o.throttle)),r.set(We("scroll",o.throttle))},unbind:()=>{t.on((()=>{n.clear(),r.clear()})),t.clear()}}})),Ze=(e,t)=>{const n=document.body,r=document.documentElement,o=e.getContainer(),s=I(o),i=(l=s,y.from(l.dom.nextSibling).map(I)).filter((e=>(e=>P(e)&&L(e.dom))(e)&&((e,t)=>(e=>void 0!==e.dom.classList)(e)&&e.dom.classList.contains("tox-silver-sink"))(e)));var l;const a=(e=>{const t=I(e.getElement());return K(t).map($).getOrThunk((()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return I(t)})(_(t))))})(e),c=t.get(),u=I(e.getBody()),d=Be.deviceType.isTouch(),m=o.style,h=e.iframeElement,g=null==h?void 0:h.style,p=e=>{e(n,"tox-fullscreen"),e(r,"tox-fullscreen"),e(o,"tox-fullscreen"),K(s).map((e=>$(e).dom)).each((t=>{e(t,"tox-fullscreen"),e(t,"tox-shadowhost")}))},f=()=>{d&&(e=>{const t=((e,t)=>{const n=document;return 1!==(r=n).nodeType&&9!==r.nodeType&&11!==r.nodeType||0===r.childElementCount?[]:S(n.querySelectorAll(e),I);var r})("["+$e+"]");x(t,(t=>{const n=H(t,$e);n&&"no-styles"!==n?G(t,e.parseStyle(n)):V(t,"style"),V(t,$e)}))})(e.dom),p(Je.removeClass),Qe.unbind(),y.from(t.get()).each((e=>e.fullscreenChangeHandler.unbind()))};if(c)c.fullscreenChangeHandler.unbind(),je(e)&&_e(a)&&(e=>{const t=e.dom;t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitCancelFullScreen&&t.webkitCancelFullScreen()})(_(a)),g.width=c.iframeWidth,g.height=c.iframeHeight,m.width=c.containerWidth,m.height=c.containerHeight,m.top=c.containerTop,m.left=c.containerLeft,w=i,b=c.sinkCssPosition,E=(e,t)=>{Y(e,"position",t)},w.isSome()&&b.isSome()?y.some(E(w.getOrDie(),b.getOrDie())):y.none(),f(),v=c.scrollPos,window.scrollTo(v.x,v.y),t.set(null),Ie(e,!1),e.off("remove",f);else{const n=ne(_(a),void 0!==document.fullscreenElement?"fullscreenchange":void 0!==document.msFullscreenElement?"MSFullscreenChange":void 0!==document.webkitFullscreenElement?"webkitfullscreenchange":"fullscreenchange",(n=>{je(e)&&(_e(a)||null===t.get()||Ze(e,t))})),r={scrollPos:Ve(window),containerWidth:m.width,containerHeight:m.height,containerTop:m.top,containerLeft:m.left,iframeWidth:g.width,iframeHeight:g.height,fullscreenChangeHandler:n,sinkCssPosition:i.map((e=>J(e,"position")))};d&&Ge(e.dom,s,u),g.width=g.height="100%",m.width=m.height="",p(Je.addClass),i.each((e=>{Y(e,"position","fixed")})),Qe.bind(s),e.on("remove",f),t.set(r),je(e)&&(e=>{const t=e.dom;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()})(a),Ie(e,!0)}var v,w,b,E};var et=tinymce.util.Tools.resolve("tinymce.util.VK");const tt=(e,t)=>n=>{n.setActive(null!==t.get());const r=e=>n.setActive(e.state);return e.on("FullscreenStateChanged",r),()=>e.off("FullscreenStateChanged",r)};t.add("fullscreen",(t=>{const n=e(null);return t.inline||((e=>{(0,e.options.register)("fullscreen_native",{processor:"boolean",default:!1})})(t),((e,t)=>{e.addCommand("mceFullScreen",(()=>{Ze(e,t)}))})(t,n),((e,t)=>{const n=()=>e.execCommand("mceFullScreen");e.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:n,onSetup:tt(e,t),context:"any"}),e.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:n,onSetup:tt(e,t),shortcut:"Meta+Shift+F",context:"any"})})(t,n),((e,t)=>{e.on("init",(()=>{e.on("keydown",(e=>{e.keyCode!==et.TAB||e.metaKey||e.ctrlKey||!t.get()||e.preventDefault()}))}))})(t,n),t.addShortcut("Meta+Shift+F","","mceFullScreen")),(e=>({isFullscreen:()=>null!==e.get()}))(n)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ar.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ar.js new file mode 100644 index 0000000..e2cf02f --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ar.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ar', +'

بدء التنقل بواسطة لوحة المفاتيح

\n' + + '\n' + + '
\n' + + '
التركيز على شريط القوائم
\n' + + '
نظاما التشغيل Windows أو Linux: Alt + F9
\n' + + '
نظام التشغيل macOS: ⌥F9
\n' + + '
التركيز على شريط الأدوات
\n' + + '
نظاما التشغيل Windows أو Linux: Alt + F10
\n' + + '
نظام التشغيل macOS: ⌥F10
\n' + + '
التركيز على التذييل
\n' + + '
نظاما التشغيل Windows أو Linux: Alt + F11
\n' + + '
نظام التشغيل macOS: ⌥F11
\n' + + '
تركيز الإشعارات
\n' + + '
نظاما التشغيل Windows أو Linux: Alt + F12
\n' + + '
نظام التشغيل macOS: ⌥F12
\n' + + '
التركيز على شريط أدوات السياق
\n' + + '
أنظمة التشغيل Windows أو Linux أو macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

سيبدأ التنقل عند عنصر واجهة المستخدم الأول، والذي سيتم تمييزه أو تسطيره في حالة العنصر الأول في\n' + + ' مسار عنصر التذييل.

\n' + + '\n' + + '

التنقل بين أقسام واجهة المستخدم

\n' + + '\n' + + '

للانتقال من أحد أقسام واجهة المستخدم إلى القسم التالي، اضغط على Tab.

\n' + + '\n' + + '

للانتقال من أحد أقسام واجهة المستخدم إلى القسم السابق، اضغط على Shift+Tab.

\n' + + '\n' + + '

ترتيب علامات Tab لأقسام واجهة المستخدم هذه هو:

\n' + + '\n' + + '
    \n' + + '
  1. شريط القوائم
  2. \n' + + '
  3. كل مجموعة شريط الأدوات
  4. \n' + + '
  5. الشريط الجانبي
  6. \n' + + '
  7. مسار العنصر في التذييل
  8. \n' + + '
  9. زر تبديل عدد الكلمات في التذييل
  10. \n' + + '
  11. رابط إدراج العلامة التجارية في التذييل
  12. \n' + + '
  13. مؤشر تغيير حجم المحرر في التذييل
  14. \n' + + '
\n' + + '\n' + + '

إذا لم يكن قسم واجهة المستخدم موجودًا، فسيتم تخطيه.

\n' + + '\n' + + '

إذا كان التذييل يحتوي على التركيز على ‏‫التنقل بواسطة لوحة المفاتيح، ولا يوجد شريط جانبي مرئي، فإن الضغط على Shift+Tab\n' + + ' ينقل التركيز إلى مجموعة شريط الأدوات الأولى، وليس الأخيرة.

\n' + + '\n' + + '

التنقل بين أقسام واجهة المستخدم

\n' + + '\n' + + '

للانتقال من أحد عناصر واجهة المستخدم إلى العنصر التالي، اضغط على مفتاح السهم المناسب.

\n' + + '\n' + + '

مفتاحا السهمين اليسار‎ واليمين‎

\n' + + '\n' + + '
    \n' + + '
  • التنقل بين القوائم في شريط القوائم.
  • \n' + + '
  • فتح قائمة فرعية في القائمة.
  • \n' + + '
  • التنقل بين الأزرار في مجموعة شريط الأدوات.
  • \n' + + '
  • التنقل بين العناصر في مسار عنصر التذييل.
  • \n' + + '
\n' + + '\n' + + '

مفتاحا السهمين لأسفل‎ ولأعلى‎

\n' + + '\n' + + '
    \n' + + '
  • التنقل بين عناصر القائمة في القائمة.
  • \n' + + '
  • التنقل بين العناصر في قائمة شريط الأدوات المنبثقة.
  • \n' + + '
\n' + + '\n' + + '

دورة مفاتيح الأسهم‎ داخل قسم واجهة المستخدم التي تم التركيز عليها.

\n' + + '\n' + + '

لإغلاق قائمة مفتوحة أو قائمة فرعية مفتوحة أو قائمة منبثقة مفتوحة، اضغط على مفتاح Esc.

\n' + + '\n' + + '

إذا كان التركيز الحالي على "الجزء العلوي" من قسم معين لواجهة المستخدم، فإن الضغط على مفتاح Esc يؤدي أيضًا إلى الخروج\n' + + ' من التنقل بواسطة لوحة المفاتيح بالكامل.

\n' + + '\n' + + '

تنفيذ عنصر قائمة أو زر شريط أدوات

\n' + + '\n' + + '

عندما يتم تمييز عنصر القائمة المطلوب أو زر شريط الأدوات، اضغط على زر Return، أو Enter،\n' + + ' أو مفتاح المسافة لتنفيذ العنصر.

\n' + + '\n' + + '

التنقل في مربعات الحوار غير المبوبة

\n' + + '\n' + + '

في مربعات الحوار غير المبوبة، يتم التركيز على المكون التفاعلي الأول عند فتح مربع الحوار.

\n' + + '\n' + + '

التنقل بين مكونات الحوار التفاعلي بالضغط على زر Tab أو Shift+Tab.

\n' + + '\n' + + '

التنقل في مربعات الحوار المبوبة

\n' + + '\n' + + '

في مربعات الحوار المبوبة، يتم التركيز على الزر الأول في قائمة علامات التبويب عند فتح مربع الحوار.

\n' + + '\n' + + '

التنقل بين المكونات التفاعلية لعلامة التبويب لمربع الحوار هذه بالضغط على زر Tab أو\n' + + ' Shift+Tab.

\n' + + '\n' + + '

التبديل إلى علامة تبويب أخرى لمربع الحوار من خلال التركيز على قائمة علامة التبويب ثم الضغط على زر السهم المناسب\n' + + ' مفتاح للتنقل بين علامات التبويب المتاحة.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/bg_BG.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/bg_BG.js new file mode 100644 index 0000000..09eacf3 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/bg_BG.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.bg_BG', +'

Начало на навигацията с клавиатурата

\n' + + '\n' + + '
\n' + + '
Фокусиране върху лентата с менюта
\n' + + '
Windows или Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Фокусиране върху лентата с инструменти
\n' + + '
Windows или Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Фокусиране върху долния колонтитул
\n' + + '
Windows или Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Фокусиране на известието
\n' + + '
Windows или Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Фокусиране върху контекстуалната лента с инструменти
\n' + + '
Windows, Linux или macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Навигацията ще започне с първия елемент на ПИ, който ще бъде маркиран или подчертан в случая на първия елемент в\n' + + ' пътя до елемента в долния колонтитул.

\n' + + '\n' + + '

Навигиране между раздели на ПИ

\n' + + '\n' + + '

За да преминете от един раздел на ПИ към следващия, натиснете Tab.

\n' + + '\n' + + '

За да преминете от един раздел на ПИ към предишния, натиснете Shift+Tab.

\n' + + '\n' + + '

Редът за обхождане с табулация на тези раздели на ПИ е:

\n' + + '\n' + + '
    \n' + + '
  1. Лентата с менюта
  2. \n' + + '
  3. Всяка група на лентата с инструменти
  4. \n' + + '
  5. Страничната лента
  6. \n' + + '
  7. Пътят до елемента в долния колонтитул
  8. \n' + + '
  9. Бутонът за превключване на броя на думите в долния колонтитул
  10. \n' + + '
  11. Връзката за търговска марка в долния колонтитул
  12. \n' + + '
  13. Манипулаторът за преоразмеряване на редактора в долния колонтитул
  14. \n' + + '
\n' + + '\n' + + '

Ако някой раздел на ПИ липсва, той се пропуска.

\n' + + '\n' + + '

Ако долният колонтитул има фокус за навигация с клавиатурата и няма странична лента, натискането на Shift+Tab\n' + + ' премества фокуса към първата група на лентата с инструменти, а не към последната.

\n' + + '\n' + + '

Навигиране в разделите на ПИ

\n' + + '\n' + + '

За да преминете от един елемент на ПИ към следващия, натиснете съответния клавиш със стрелка.

\n' + + '\n' + + '

С клавишите със стрелка наляво и надясно

\n' + + '\n' + + '
    \n' + + '
  • се придвижвате между менютата в лентата с менюто;
  • \n' + + '
  • отваряте подменю в меню;
  • \n' + + '
  • се придвижвате между бутоните в група на лентата с инструменти;
  • \n' + + '
  • се придвижвате между елементи в пътя до елемент в долния колонтитул.
  • \n' + + '
\n' + + '\n' + + '

С клавишите със стрелка надолу и нагоре

\n' + + '\n' + + '
    \n' + + '
  • се придвижвате между елементите от менюто в дадено меню;
  • \n' + + '
  • се придвижвате между елементите в изскачащо меню на лентата с инструменти.
  • \n' + + '
\n' + + '\n' + + '

Клавишите със стрелки се придвижват в рамките на фокусирания раздел на ПИ.

\n' + + '\n' + + '

За да затворите отворено меню, подменю или изскачащо меню, натиснете клавиша Esc.

\n' + + '\n' + + '

Ако текущият фокус е върху „горната част“ на конкретен раздел на ПИ, натискането на клавиша Esc също излиза\n' + + ' напълно от навигацията с клавиатурата.

\n' + + '\n' + + '

Изпълнение на елемент от менюто или бутон от лентата с инструменти

\n' + + '\n' + + '

Когато желаният елемент от менюто или бутон от лентата с инструменти е маркиран, натиснете Return, Enter\n' + + ' или клавиша за интервал, за да изпълните елемента.

\n' + + '\n' + + '

Навигиране в диалогови прозорци без раздели

\n' + + '\n' + + '

В диалоговите прозорци без раздели първият интерактивен компонент се фокусира, когато се отвори диалоговият прозорец.

\n' + + '\n' + + '

Навигирайте между интерактивните компоненти на диалоговия прозорец, като натиснете Tab или Shift+Tab.

\n' + + '\n' + + '

Навигиране в диалогови прозорци с раздели

\n' + + '\n' + + '

В диалоговите прозорци с раздели първият бутон в менюто с раздели се фокусира, когато се отвори диалоговият прозорец.

\n' + + '\n' + + '

Навигирайте между интерактивните компоненти на този диалогов раздел, като натиснете Tab или\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Превключете към друг диалогов раздел, като фокусирате върху менюто с раздели и след това натиснете съответния клавиш със стрелка,\n' + + ' за да преминете през наличните раздели.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ca.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ca.js new file mode 100644 index 0000000..996e29c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ca.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ca', +'

Inici de la navegació amb el teclat

\n' + + '\n' + + '
\n' + + '
Enfocar la barra de menús
\n' + + '
Windows o Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + "
Enfocar la barra d'eines
\n" + + '
Windows o Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Enfocar el peu de pàgina
\n' + + '
Windows o Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Enfocar la notificació
\n' + + '
Windows o Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + "
Enfocar una barra d'eines contextual
\n" + + '
Windows, Linux o macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + "

La navegació començarà en el primer element de la interfície d'usuari, que es ressaltarà o subratllarà per al primer element a\n" + + " la ruta de l'element de peu de pàgina.

\n" + + '\n' + + "

Navegació entre seccions de la interfície d'usuari

\n" + + '\n' + + "

Per desplaçar-vos des d'una secció de la interfície d'usuari a la següent, premeu la tecla Tab.

\n" + + '\n' + + "

Per desplaçar-vos des d'una secció de la interfície d'usuari a l'anterior, premeu les tecles Maj+Tab.

\n" + + '\n' + + "

L'ordre en prémer la tecla Tab d'aquestes secciones de la interfície d'usuari és:

\n" + + '\n' + + '
    \n' + + '
  1. Barra de menús
  2. \n' + + "
  3. Cada grup de la barra d'eines
  4. \n" + + '
  5. Barra lateral
  6. \n' + + "
  7. Ruta de l'element del peu de pàgina
  8. \n" + + '
  9. Botó de commutació de recompte de paraules al peu de pàgina
  10. \n' + + '
  11. Enllaç de marca del peu de pàgina
  12. \n' + + "
  13. Control de canvi de mida de l'editor al peu de pàgina
  14. \n" + + '
\n' + + '\n' + + "

Si no hi ha una secció de la interfície d'usuari, s'ometrà.

\n" + + '\n' + + '

Si el peu de pàgina té el focus de navegació del teclat i no hi ha cap barra lateral visible, en prémer Maj+Tab\n' + + " el focus es mou al primer grup de la barra d'eines, no l'últim.

\n" + + '\n' + + "

Navegació dins de les seccions de la interfície d'usuari

\n" + + '\n' + + "

Per desplaçar-vos des d'un element de la interfície d'usuari al següent, premeu la tecla de Fletxa adequada.

\n" + + '\n' + + '

Les tecles de fletxa Esquerra i Dreta

\n' + + '\n' + + '
    \n' + + '
  • us permeten desplaçar-vos entre menús de la barra de menús.
  • \n' + + '
  • obren un submenú en un menú.
  • \n' + + "
  • us permeten desplaçar-vos entre botons d'un grup de la barra d'eines.
  • \n" + + "
  • us permeten desplaçar-vos entre elements de la ruta d'elements del peu de pàgina.
  • \n" + + '
\n' + + '\n' + + '

Les tecles de fletxa Avall i Amunt

\n' + + '\n' + + '
    \n' + + "
  • us permeten desplaçar-vos entre elements de menú d'un menú.
  • \n" + + "
  • us permeten desplaçar-vos entre elements d'un menú emergent de la barra d'eines.
  • \n" + + '
\n' + + '\n' + + "

Les tecles de Fletxa us permeten desplaçar-vos dins de la secció de la interfície d'usuari que té el focus.

\n" + + '\n' + + '

Per tancar un menú, un submenú o un menú emergent oberts, premeu la tecla Esc.

\n' + + '\n' + + "

Si el focus actual es troba a la ‘part superior’ d'una secció específica de la interfície d'usuari, en prémer la tecla Esc també es tanca\n" + + ' completament la navegació amb el teclat.

\n' + + '\n' + + "

Execució d'un element de menú o d'un botó de la barra d'eines

\n" + + '\n' + + "

Quan l'element del menú o el botó de la barra d'eines que desitgeu estigui ressaltat, premeu Retorn, Intro\n" + + " o la barra d'espai per executar l'element.

\n" + + '\n' + + '

Navegació per quadres de diàleg sense pestanyes

\n' + + '\n' + + "

En els quadres de diàleg sense pestanyes, el primer component interactiu pren el focus quan s'obre el quadre diàleg.

\n" + + '\n' + + '

Premeu la tecla Tab o les tecles Maj+Tab per desplaçar-vos entre components interactius del quadre de diàleg.

\n' + + '\n' + + '

Navegació per quadres de diàleg amb pestanyes

\n' + + '\n' + + "

En els quadres de diàleg amb pestanyes, el primer botó del menú de la pestanya pren el focus quan s'obre el quadre diàleg.

\n" + + '\n' + + "

Per desplaçar-vos entre components interactius d'aquest quadre de diàleg, premeu la tecla Tab o\n" + + ' les tecles Maj+Tab.

\n' + + '\n' + + "

Canvieu a la pestanya d'un altre quadre de diàleg, tot enfocant el menú de la pestanya, i després premeu la tecla Fletxa adequada\n" + + ' per canviar entre les pestanyes disponibles.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/cs.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/cs.js new file mode 100644 index 0000000..4a5a902 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/cs.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.cs', +'

Začínáme navigovat pomocí klávesnice

\n' + + '\n' + + '
\n' + + '
Přejít na řádek nabídek
\n' + + '
Windows nebo Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Přejít na panel nástrojů
\n' + + '
Windows nebo Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Přejít na zápatí
\n' + + '
Windows nebo Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Přejít na oznámení
\n' + + '
Windows nebo Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Přejít na kontextový panel nástrojů
\n' + + '
Windows, Linux nebo macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigace začne u první položky uživatelského rozhraní, která bude zvýrazněna nebo v případě první položky\n' + + ' cesty k prvku zápatí podtržena.

\n' + + '\n' + + '

Navigace mezi oddíly uživatelského rozhraní

\n' + + '\n' + + '

Stisknutím klávesy Tab se posunete z jednoho oddílu uživatelského rozhraní na další.

\n' + + '\n' + + '

Stisknutím kláves Shift+Tab se posunete z jednoho oddílu uživatelského rozhraní na předchozí.

\n' + + '\n' + + '

Pořadí přepínání mezi oddíly uživatelského rozhraní pomocí klávesy Tab:

\n' + + '\n' + + '
    \n' + + '
  1. Řádek nabídek
  2. \n' + + '
  3. Každá skupina panelu nástrojů
  4. \n' + + '
  5. Boční panel
  6. \n' + + '
  7. Cesta k prvku v zápatí.
  8. \n' + + '
  9. Tlačítko přepínače počtu slov v zápatí
  10. \n' + + '
  11. Odkaz na informace o značce v zápatí
  12. \n' + + '
  13. Úchyt pro změnu velikosti editoru v zápatí
  14. \n' + + '
\n' + + '\n' + + '

Pokud nějaký oddíl uživatelského rozhraní není přítomen, je přeskočen.

\n' + + '\n' + + '

Pokud je zápatí vybrané pro navigaci pomocí klávesnice a není zobrazen žádný boční panel, stisknutím kláves Shift+Tab\n' + + ' přejdete na první skupinu panelu nástrojů, nikoli na poslední.

\n' + + '\n' + + '

Navigace v rámci oddílů uživatelského rozhraní

\n' + + '\n' + + '

Chcete-li se přesunout z jednoho prvku uživatelského rozhraní na další, stiskněte příslušnou klávesu s šipkou.

\n' + + '\n' + + '

Klávesy s šipkou vlevovpravo

\n' + + '\n' + + '
    \n' + + '
  • umožňují přesun mezi nabídkami na řádku nabídek;
  • \n' + + '
  • otevírají podnabídku nabídky;
  • \n' + + '
  • umožňují přesun mezi tlačítky ve skupině panelu nástrojů;
  • \n' + + '
  • umožňují přesun mezi položkami cesty prvku v zápatí.
  • \n' + + '
\n' + + '\n' + + '

Klávesy se šipkou dolůnahoru

\n' + + '\n' + + '
    \n' + + '
  • umožňují přesun mezi položkami nabídky;
  • \n' + + '
  • umožňují přesun mezi položkami místní nabídky panelu nástrojů.
  • \n' + + '
\n' + + '\n' + + '

Šipky provádí přepínání v rámci vybraného oddílu uživatelského rozhraní.

\n' + + '\n' + + '

Chcete-li zavřít otevřenou nabídku, podnabídku nebo místní nabídku, stiskněte klávesu Esc.

\n' + + '\n' + + '

Pokud je aktuálně vybrána horní část oddílu uživatelského rozhraní, stisknutím klávesy Esc zcela ukončíte také\n' + + ' navigaci pomocí klávesnice.

\n' + + '\n' + + '

Provedení příkazu položky nabídky nebo tlačítka panelu nástrojů

\n' + + '\n' + + '

Pokud je zvýrazněna požadovaná položka nabídky nebo tlačítko panelu nástrojů, stisknutím klávesy Return, Enter\n' + + ' nebo mezerníku provedete příslušný příkaz.

\n' + + '\n' + + '

Navigace v dialogových oknech bez záložek

\n' + + '\n' + + '

Při otevření dialogových oken bez záložek přejdete na první interaktivní komponentu.

\n' + + '\n' + + '

Přecházet mezi interaktivními komponentami dialogového okna můžete stisknutím klávesy Tab nebo kombinace Shift+Tab.

\n' + + '\n' + + '

Navigace v dialogových oknech se záložkami

\n' + + '\n' + + '

Při otevření dialogových oken se záložkami přejdete na první tlačítko v nabídce záložek.

\n' + + '\n' + + '

Přecházet mezi interaktivními komponentami této záložky dialogového okna můžete stisknutím klávesy Tab nebo\n' + + ' kombinace Shift+Tab.

\n' + + '\n' + + '

Chcete-li přepnout na další záložku dialogového okna, přejděte na nabídku záložek a poté můžete stisknutím požadované šipky\n' + + ' přepínat mezi dostupnými záložkami.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/da.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/da.js new file mode 100644 index 0000000..4d1e1d4 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/da.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.da', +'

Start tastaturnavigation

\n' + + '\n' + + '
\n' + + '
Fokuser på menulinjen
\n' + + '
Windows eller Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokuser på værktøjslinjen
\n' + + '
Windows eller Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokuser på sidefoden
\n' + + '
Windows eller Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokuser på meddelelsen
\n' + + '
Windows eller Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokuser på kontekstuel værktøjslinje
\n' + + '
Windows, Linux eller macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigationen starter ved det første UI-element, som fremhæves eller understreges hvad angår det første element i\n' + + ' sidefodens sti til elementet.

\n' + + '\n' + + '

Naviger mellem UI-sektioner

\n' + + '\n' + + '

Gå fra én UI-sektion til den næste ved at trykke på Tab.

\n' + + '\n' + + '

Gå fra én UI-sektion til den forrige ved at trykke på Shift+Tab.

\n' + + '\n' + + '

Tab-rækkefølgen af disse UI-sektioner er:

\n' + + '\n' + + '
    \n' + + '
  1. Menulinje
  2. \n' + + '
  3. Hver værktøjsgruppe
  4. \n' + + '
  5. Sidepanel
  6. \n' + + '
  7. Sti til elementet i sidefoden
  8. \n' + + '
  9. Til/fra-knap for ordoptælling i sidefoden
  10. \n' + + '
  11. Brandinglink i sidefoden
  12. \n' + + '
  13. Tilpasningshåndtag for editor i sidefoden
  14. \n' + + '
\n' + + '\n' + + '

Hvis en UI-sektion ikke er til stede, springes den over.

\n' + + '\n' + + '

Hvis sidefoden har fokus til tastaturnavigation, og der ikke er noget synligt sidepanel, kan der trykkes på Shift+Tab\n' + + ' for at flytte fokus til den første værktøjsgruppe, ikke den sidste.

\n' + + '\n' + + '

Naviger inden for UI-sektioner

\n' + + '\n' + + '

Gå fra ét UI-element til det næste ved at trykke på den relevante piletast.

\n' + + '\n' + + '

Venstre og højre piletast

\n' + + '\n' + + '
    \n' + + '
  • flytter mellem menuerne i menulinjen.
  • \n' + + '
  • åbner en undermenu i en menu.
  • \n' + + '
  • flytter mellem knapperne i en værktøjsgruppe.
  • \n' + + '
  • flytter mellem elementer i sidefodens sti til elementet.
  • \n' + + '
\n' + + '\n' + + '

Pil ned og op

\n' + + '\n' + + '
    \n' + + '
  • flytter mellem menupunkterne i en menu.
  • \n' + + '
  • flytter mellem punkterne i en genvejsmenu i værktøjslinjen.
  • \n' + + '
\n' + + '\n' + + '

Piletasterne kører rundt inden for UI-sektionen, der fokuseres på.

\n' + + '\n' + + '

For at lukke en åben menu, en åben undermenu eller en åben genvejsmenu trykkes der på Esc-tasten.

\n' + + '\n' + + "

Hvis det aktuelle fokus er i 'toppen' af en bestemt UI-sektion, vil tryk på Esc-tasten også afslutte\n" + + ' tastaturnavigationen helt.

\n' + + '\n' + + '

Udfør et menupunkt eller en værktøjslinjeknap

\n' + + '\n' + + '

Når det ønskede menupunkt eller den ønskede værktøjslinjeknap er fremhævet, trykkes der på Retur, Enter\n' + + ' eller mellemrumstasten for at udføre elementet.

\n' + + '\n' + + '

Naviger i ikke-faneopdelte dialogbokse

\n' + + '\n' + + '

I ikke-faneopdelte dialogbokse får den første interaktive komponent fokus, når dialogboksen åbnes.

\n' + + '\n' + + '

Naviger mellem interaktive dialogbokskomponenter ved at trykke på Tab eller Shift+Tab.

\n' + + '\n' + + '

Naviger i faneopdelte dialogbokse

\n' + + '\n' + + '

I faneopdelte dialogbokse får den første knap i fanemenuen fokus, når dialogboksen åbnes.

\n' + + '\n' + + '

Naviger mellem interaktive komponenter i denne dialogboksfane ved at trykke på Tab eller\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Skift til en anden dialogboksfane ved at fokusere på fanemenuen og derefter trykke på den relevante piletast\n' + + ' for at køre igennem de tilgængelige faner.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/de.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/de.js new file mode 100644 index 0000000..b8711ed --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/de.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.de', +'

Grundlagen der Tastaturnavigation

\n' + + '\n' + + '
\n' + + '
Fokus auf Menüleiste
\n' + + '
Windows oder Linux: ALT+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokus auf Symbolleiste
\n' + + '
Windows oder Linux: ALT+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokus auf Fußzeile
\n' + + '
Windows oder Linux: ALT+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Benachrichtigung fokussieren
\n' + + '
Windows oder Linux: ALT+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokus auf kontextbezogene Symbolleiste
\n' + + '
Windows, Linux oder macOS: STRG+F9
\n' + + '
\n' + + '\n' + + '

Die Navigation beginnt beim ersten Benutzeroberflächenelement, welches hervorgehoben ist. Falls sich das erste Element im Pfad der Fußzeile befindet,\n' + + ' ist es unterstrichen.

\n' + + '\n' + + '

Zwischen Abschnitten der Benutzeroberfläche navigieren

\n' + + '\n' + + '

Um von einem Abschnitt der Benutzeroberfläche zum nächsten zu wechseln, drücken Sie TAB.

\n' + + '\n' + + '

Um von einem Abschnitt der Benutzeroberfläche zum vorherigen zu wechseln, drücken Sie UMSCHALT+TAB.

\n' + + '\n' + + '

Die Abschnitte der Benutzeroberfläche haben folgende TAB-Reihenfolge:

\n' + + '\n' + + '
    \n' + + '
  1. Menüleiste
  2. \n' + + '
  3. Einzelne Gruppen der Symbolleiste
  4. \n' + + '
  5. Randleiste
  6. \n' + + '
  7. Elementpfad in der Fußzeile
  8. \n' + + '
  9. Umschaltfläche „Wörter zählen“ in der Fußzeile
  10. \n' + + '
  11. Branding-Link in der Fußzeile
  12. \n' + + '
  13. Editor-Ziehpunkt zur Größenänderung in der Fußzeile
  14. \n' + + '
\n' + + '\n' + + '

Falls ein Abschnitt der Benutzeroberflächen nicht vorhanden ist, wird er übersprungen.

\n' + + '\n' + + '

Wenn in der Fußzeile die Tastaturnavigation fokussiert ist und keine Randleiste angezeigt wird, wechselt der Fokus durch Drücken von UMSCHALT+TAB\n' + + ' zur ersten Gruppe der Symbolleiste, nicht zur letzten.

\n' + + '\n' + + '

Innerhalb von Abschnitten der Benutzeroberfläche navigieren

\n' + + '\n' + + '

Um von einem Element der Benutzeroberfläche zum nächsten zu wechseln, drücken Sie die entsprechende Pfeiltaste.

\n' + + '\n' + + '

Die Pfeiltasten Links und Rechts

\n' + + '\n' + + '
    \n' + + '
  • wechseln zwischen Menüs in der Menüleiste.
  • \n' + + '
  • öffnen das Untermenü eines Menüs.
  • \n' + + '
  • wechseln zwischen Schaltflächen in einer Gruppe der Symbolleiste.
  • \n' + + '
  • wechseln zwischen Elementen im Elementpfad der Fußzeile.
  • \n' + + '
\n' + + '\n' + + '

Die Pfeiltasten Abwärts und Aufwärts

\n' + + '\n' + + '
    \n' + + '
  • wechseln zwischen Menüelementen in einem Menü.
  • \n' + + '
  • wechseln zwischen Elementen in einem Popupmenü der Symbolleiste.
  • \n' + + '
\n' + + '\n' + + '

Die Pfeiltasten rotieren innerhalb des fokussierten Abschnitts der Benutzeroberfläche.

\n' + + '\n' + + '

Um ein geöffnetes Menü, ein geöffnetes Untermenü oder ein geöffnetes Popupmenü zu schließen, drücken Sie die ESC-Taste.

\n' + + '\n' + + '

Wenn sich der aktuelle Fokus ganz oben in einem bestimmten Abschnitt der Benutzeroberfläche befindet, wird durch Drücken der ESC-Taste auch\n' + + ' die Tastaturnavigation beendet.

\n' + + '\n' + + '

Ein Menüelement oder eine Symbolleistenschaltfläche ausführen

\n' + + '\n' + + '

Wenn das gewünschte Menüelement oder die gewünschte Symbolleistenschaltfläche hervorgehoben ist, drücken Sie Zurück, Eingabe\n' + + ' oder die Leertaste, um das Element auszuführen.

\n' + + '\n' + + '

In Dialogfeldern ohne Registerkarten navigieren

\n' + + '\n' + + '

In Dialogfeldern ohne Registerkarten ist beim Öffnen eines Dialogfelds die erste interaktive Komponente fokussiert.

\n' + + '\n' + + '

Navigieren Sie zwischen den interaktiven Komponenten eines Dialogfelds, indem Sie TAB oder UMSCHALT+TAB drücken.

\n' + + '\n' + + '

In Dialogfeldern mit Registerkarten navigieren

\n' + + '\n' + + '

In Dialogfeldern mit Registerkarten ist beim Öffnen eines Dialogfelds die erste Schaltfläche eines Registerkartenmenüs fokussiert.

\n' + + '\n' + + '

Navigieren Sie zwischen den interaktiven Komponenten auf dieser Registerkarte des Dialogfelds, indem Sie TAB oder\n' + + ' UMSCHALT+TAB drücken.

\n' + + '\n' + + '

Wechseln Sie zu einer anderen Registerkarte des Dialogfelds, indem Sie den Fokus auf das Registerkartenmenü legen und dann die entsprechende Pfeiltaste\n' + + ' drücken, um durch die verfügbaren Registerkarten zu rotieren.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/el.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/el.js new file mode 100644 index 0000000..98afabe --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/el.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.el', +'

Έναρξη πλοήγησης μέσω πληκτρολογίου

\n' + + '\n' + + '
\n' + + '
Εστίαση στη γραμμή μενού
\n' + + '
Windows ή Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Εστίαση στη γραμμή εργαλείων
\n' + + '
Windows ή Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Εστίαση στο υποσέλιδο
\n' + + '
Windows ή Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Εστίαση στην ειδοποίηση
\n' + + '
Windows ή Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Εστίαση σε γραμμή εργαλείων βάσει περιεχομένου
\n' + + '
Windows, Linux ή macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Η πλοήγηση θα ξεκινήσει από το πρώτο στοιχείο περιβάλλοντος χρήστη, που θα επισημαίνεται ή θα είναι υπογραμμισμένο,\n' + + ' όπως στην περίπτωση της διαδρομής του στοιχείου Υποσέλιδου.

\n' + + '\n' + + '

Πλοήγηση μεταξύ ενοτήτων του περιβάλλοντος χρήστη

\n' + + '\n' + + '

Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην επόμενη, πιέστε το πλήκτρο Tab.

\n' + + '\n' + + '

Για να μετακινηθείτε από μια ενότητα περιβάλλοντος χρήστη στην προηγούμενη, πιέστε τα πλήκτρα Shift+Tab.

\n' + + '\n' + + '

Η σειρά Tab αυτών των ενοτήτων περιβάλλοντος χρήστη είναι η εξής:

\n' + + '\n' + + '
    \n' + + '
  1. Γραμμή μενού
  2. \n' + + '
  3. Κάθε ομάδα γραμμής εργαλείων
  4. \n' + + '
  5. Πλαϊνή γραμμή
  6. \n' + + '
  7. Διαδρομή στοιχείου στο υποσέλιδο
  8. \n' + + '
  9. Κουμπί εναλλαγής μέτρησης λέξεων στο υποσέλιδο
  10. \n' + + '
  11. Σύνδεσμος επωνυμίας στο υποσέλιδο
  12. \n' + + '
  13. Λαβή αλλαγής μεγέθους προγράμματος επεξεργασίας στο υποσέλιδο
  14. \n' + + '
\n' + + '\n' + + '

Εάν δεν εμφανίζεται ενότητα περιβάλλοντος χρήστη, παραλείπεται.

\n' + + '\n' + + '

Εάν η εστίαση πλοήγησης βρίσκεται στο πληκτρολόγιο και δεν υπάρχει εμφανής πλαϊνή γραμμή, εάν πιέσετε Shift+Tab\n' + + ' η εστίαση μετακινείται στην πρώτη ομάδα γραμμής εργαλείων, όχι στην τελευταία.

\n' + + '\n' + + '

Πλοήγηση εντός των ενοτήτων του περιβάλλοντος χρήστη

\n' + + '\n' + + '

Για να μετακινηθείτε από ένα στοιχείο περιβάλλοντος χρήστη στο επόμενο, πιέστε το αντίστοιχο πλήκτρο βέλους.

\n' + + '\n' + + '

Με τα πλήκτρα αριστερού και δεξιού βέλους

\n' + + '\n' + + '
    \n' + + '
  • γίνεται μετακίνηση μεταξύ των μενού στη γραμμή μενού.
  • \n' + + '
  • ανοίγει ένα υπομενού σε ένα μενού.
  • \n' + + '
  • γίνεται μετακίνηση μεταξύ κουμπιών σε μια ομάδα γραμμής εργαλείων.
  • \n' + + '
  • γίνεται μετακίνηση μεταξύ στοιχείων στη διαδρομή στοιχείου στο υποσέλιδο.
  • \n' + + '
\n' + + '\n' + + '

Με τα πλήκτρα επάνω και κάτω βέλους

\n' + + '\n' + + '
    \n' + + '
  • γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα μενού.
  • \n' + + '
  • γίνεται μετακίνηση μεταξύ των στοιχείων μενού σε ένα αναδυόμενο μενού γραμμής εργαλείων.
  • \n' + + '
\n' + + '\n' + + '

Με τα πλήκτρα βέλους γίνεται κυκλική μετακίνηση εντός της εστιασμένης ενότητας περιβάλλοντος χρήστη.

\n' + + '\n' + + '

Για να κλείσετε ένα ανοιχτό μενού, ένα ανοιχτό υπομενού ή ένα ανοιχτό αναδυόμενο μενού, πιέστε το πλήκτρο Esc.

\n' + + '\n' + + '

Εάν η τρέχουσα εστίαση βρίσκεται στην κορυφή μιας ενότητας περιβάλλοντος χρήστη, πιέζοντας το πλήκτρο Esc,\n' + + ' γίνεται επίσης πλήρης έξοδος από την πλοήγηση μέσω πληκτρολογίου.

\n' + + '\n' + + '

Εκτέλεση ενός στοιχείου μενού ή κουμπιού γραμμής εργαλείων

\n' + + '\n' + + '

Όταν το επιθυμητό στοιχείο μενού ή κουμπί γραμμής εργαλείων είναι επισημασμένο, πιέστε τα πλήκτρα Return, Enter,\n' + + ' ή το πλήκτρο διαστήματος για να εκτελέσετε το στοιχείο.

\n' + + '\n' + + '

Πλοήγηση σε παράθυρα διαλόγου χωρίς καρτέλες

\n' + + '\n' + + '

Σε παράθυρα διαλόγου χωρίς καρτέλες, το πρώτο αλληλεπιδραστικό στοιχείο λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.

\n' + + '\n' + + '

Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων παραθύρων διαλόγων πιέζοντας τα πλήκτρα Tab ή Shift+Tab.

\n' + + '\n' + + '

Πλοήγηση σε παράθυρα διαλόγου με καρτέλες

\n' + + '\n' + + '

Σε παράθυρα διαλόγου με καρτέλες, το πρώτο κουμπί στο μενού καρτέλας λαμβάνει την εστίαση όταν ανοίγει το παράθυρο διαλόγου.

\n' + + '\n' + + '

Μπορείτε να πλοηγηθείτε μεταξύ των αλληλεπιδραστικών στοιχείων αυτής της καρτέλα διαλόγου πιέζοντας τα πλήκτρα Tab ή\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Μπορείτε να κάνετε εναλλαγή σε άλλη καρτέλα του παραθύρου διαλόγου, μεταφέροντας την εστίαση στο μενού καρτέλας και πιέζοντας το κατάλληλο πλήκτρο βέλους\n' + + ' για να μετακινηθείτε κυκλικά στις διαθέσιμες καρτέλες.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/en.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/en.js new file mode 100644 index 0000000..5dd753e --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/en.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.en', +'

Begin keyboard navigation

\n' + + '\n' + + '
\n' + + '
Focus the Menu bar
\n' + + '
Windows or Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Focus the Toolbar
\n' + + '
Windows or Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Focus the footer
\n' + + '
Windows or Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Focus the notification
\n' + + '
Windows or Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Focus a contextual toolbar
\n' + + '
Windows, Linux or macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigation will start at the first UI item, which will be highlighted, or underlined in the case of the first item in\n' + + ' the Footer element path.

\n' + + '\n' + + '

Navigate between UI sections

\n' + + '\n' + + '

To move from one UI section to the next, press Tab.

\n' + + '\n' + + '

To move from one UI section to the previous, press Shift+Tab.

\n' + + '\n' + + '

The Tab order of these UI sections is:

\n' + + '\n' + + '
    \n' + + '
  1. Menu bar
  2. \n' + + '
  3. Each toolbar group
  4. \n' + + '
  5. Sidebar
  6. \n' + + '
  7. Element path in the footer
  8. \n' + + '
  9. Word count toggle button in the footer
  10. \n' + + '
  11. Branding link in the footer
  12. \n' + + '
  13. Editor resize handle in the footer
  14. \n' + + '
\n' + + '\n' + + '

If a UI section is not present, it is skipped.

\n' + + '\n' + + '

If the footer has keyboard navigation focus, and there is no visible sidebar, pressing Shift+Tab\n' + + ' moves focus to the first toolbar group, not the last.

\n' + + '\n' + + '

Navigate within UI sections

\n' + + '\n' + + '

To move from one UI element to the next, press the appropriate Arrow key.

\n' + + '\n' + + '

The Left and Right arrow keys

\n' + + '\n' + + '
    \n' + + '
  • move between menus in the menu bar.
  • \n' + + '
  • open a sub-menu in a menu.
  • \n' + + '
  • move between buttons in a toolbar group.
  • \n' + + '
  • move between items in the footer’s element path.
  • \n' + + '
\n' + + '\n' + + '

The Down and Up arrow keys

\n' + + '\n' + + '
    \n' + + '
  • move between menu items in a menu.
  • \n' + + '
  • move between items in a toolbar pop-up menu.
  • \n' + + '
\n' + + '\n' + + '

Arrow keys cycle within the focused UI section.

\n' + + '\n' + + '

To close an open menu, an open sub-menu, or an open pop-up menu, press the Esc key.

\n' + + '\n' + + '

If the current focus is at the ‘top’ of a particular UI section, pressing the Esc key also exits\n' + + ' keyboard navigation entirely.

\n' + + '\n' + + '

Execute a menu item or toolbar button

\n' + + '\n' + + '

When the desired menu item or toolbar button is highlighted, press Return, Enter,\n' + + ' or the Space bar to execute the item.

\n' + + '\n' + + '

Navigate non-tabbed dialogs

\n' + + '\n' + + '

In non-tabbed dialogs, the first interactive component takes focus when the dialog opens.

\n' + + '\n' + + '

Navigate between interactive dialog components by pressing Tab or Shift+Tab.

\n' + + '\n' + + '

Navigate tabbed dialogs

\n' + + '\n' + + '

In tabbed dialogs, the first button in the tab menu takes focus when the dialog opens.

\n' + + '\n' + + '

Navigate between interactive components of this dialog tab by pressing Tab or\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Switch to another dialog tab by giving the tab menu focus and then pressing the appropriate Arrow\n' + + ' key to cycle through the available tabs.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/es.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/es.js new file mode 100644 index 0000000..e426c2e --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/es.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.es', +'

Iniciar la navegación con el teclado

\n' + + '\n' + + '
\n' + + '
Enfocar la barra de menús
\n' + + '
Windows o Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Enfocar la barra de herramientas
\n' + + '
Windows o Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Enfocar el pie de página
\n' + + '
Windows o Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Enfocar la notificación
\n' + + '
Windows o Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Enfocar una barra de herramientas contextual
\n' + + '
Windows, Linux o macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

La navegación comenzará por el primer elemento de la interfaz de usuario (IU), de tal manera que se resaltará, o bien se subrayará si se trata del primer elemento de\n' + + ' la ruta de elemento del pie de página.

\n' + + '\n' + + '

Navegar entre las secciones de la IU

\n' + + '\n' + + '

Para pasar de una sección de la IU a la siguiente, pulse la tecla Tab.

\n' + + '\n' + + '

Para pasar de una sección de la IU a la anterior, pulse Mayús+Tab.

\n' + + '\n' + + '

El orden de tabulación de estas secciones de la IU es:

\n' + + '\n' + + '
    \n' + + '
  1. Barra de menús
  2. \n' + + '
  3. Cada grupo de barra de herramientas
  4. \n' + + '
  5. Barra lateral
  6. \n' + + '
  7. Ruta del elemento en el pie de página
  8. \n' + + '
  9. Botón de alternancia de recuento de palabras en el pie de página
  10. \n' + + '
  11. Enlace de personalización de marca en el pie de página
  12. \n' + + '
  13. Controlador de cambio de tamaño en el pie de página
  14. \n' + + '
\n' + + '\n' + + '

Si una sección de la IU no está presente, esta se omite.

\n' + + '\n' + + '

Si el pie de página tiene un enfoque de navegación con el teclado y no hay ninguna barra lateral visible, al pulsar Mayús+Tab,\n' + + ' el enfoque se moverá al primer grupo de barra de herramientas, en lugar de al último.

\n' + + '\n' + + '

Navegar dentro de las secciones de la IU

\n' + + '\n' + + '

Para pasar de un elemento de la IU al siguiente, pulse la tecla de flecha correspondiente.

\n' + + '\n' + + '

Las teclas de flecha izquierda y derecha permiten

\n' + + '\n' + + '
    \n' + + '
  • desplazarse entre los menús de la barra de menús.
  • \n' + + '
  • abrir el submenú de un menú.
  • \n' + + '
  • desplazarse entre los botones de un grupo de barra de herramientas.
  • \n' + + '
  • desplazarse entre los elementos de la ruta de elemento del pie de página.
  • \n' + + '
\n' + + '\n' + + '

Las teclas de flecha abajo y arriba permiten

\n' + + '\n' + + '
    \n' + + '
  • desplazarse entre los elementos de menú de un menú.
  • \n' + + '
  • desplazarse entre los elementos de un menú emergente de una barra de herramientas.
  • \n' + + '
\n' + + '\n' + + '

Las teclas de flecha van cambiando dentro de la sección de la IU enfocada.

\n' + + '\n' + + '

Para cerrar un menú, un submenú o un menú emergente que estén abiertos, pulse la tecla Esc.

\n' + + '\n' + + '

Si el enfoque actual se encuentra en la parte superior de una sección de la IU determinada, al pulsar la tecla Esc saldrá\n' + + ' de la navegación con el teclado por completo.

\n' + + '\n' + + '

Ejecutar un elemento de menú o un botón de barra de herramientas

\n' + + '\n' + + '

Si el elemento de menú o el botón de barra de herramientas deseado está resaltado, pulse la tecla Retorno o Entrar,\n' + + ' o la barra espaciadora para ejecutar el elemento.

\n' + + '\n' + + '

Navegar por cuadros de diálogo sin pestañas

\n' + + '\n' + + '

En los cuadros de diálogo sin pestañas, el primer componente interactivo se enfoca al abrirse el cuadro de diálogo.

\n' + + '\n' + + '

Para navegar entre los componentes interactivos del cuadro de diálogo, pulse las teclas Tab o Mayús+Tab.

\n' + + '\n' + + '

Navegar por cuadros de diálogo con pestañas

\n' + + '\n' + + '

En los cuadros de diálogo con pestañas, el primer botón del menú de pestaña se enfoca al abrirse el cuadro de diálogo.

\n' + + '\n' + + '

Para navegar entre componentes interactivos de esta pestaña del cuadro de diálogo, pulse las teclas Tab o\n' + + ' Mayús+Tab.

\n' + + '\n' + + '

Si desea cambiar a otra pestaña del cuadro de diálogo, enfoque el menú de pestañas y, a continuación, pulse la tecla de flecha\n' + + ' correspondiente para moverse por las pestañas disponibles.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/eu.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/eu.js new file mode 100644 index 0000000..c18b940 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/eu.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.eu', +'

Hasi teklatuaren nabigazioa

\n' + + '\n' + + '
\n' + + '
Fokuratu menu-barra
\n' + + '
Windows edo Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokuratu tresna-barra
\n' + + '
Windows edo Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokuratu orri-oina
\n' + + '
Windows edo Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokuratu jakinarazpena
\n' + + '
Windows edo Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokuratu testuinguruaren tresna-barra
\n' + + '
Windows, Linux edo macOS: Ktrl+F9
\n' + + '
\n' + + '\n' + + '

Nabigazioa EIko lehen elementuan hasiko da: elementu hori nabarmendu egingo da, edo azpimarratu lehen elementua bada\n' + + ' orri-oineko elementuaren bidea.

\n' + + '\n' + + '

Nabigatu EIko atalen artean

\n' + + '\n' + + '

EIko atal batetik hurrengora mugitzeko, sakatu Tabuladorea.

\n' + + '\n' + + '

EIko atal batetik aurrekora mugitzeko, sakatu Maius+Tabuladorea.

\n' + + '\n' + + '

EIko atal hauen Tabuladorea da:

\n' + + '\n' + + '
    \n' + + '
  1. Menu-barra
  2. \n' + + '
  3. Tresna-barraren talde bakoitza
  4. \n' + + '
  5. Alboko barra
  6. \n' + + '
  7. Orri-oineko elementuaren bidea
  8. \n' + + '
  9. Orri-oneko urrats-kontaketa txandakatzeko botoia
  10. \n' + + '
  11. Orri-oineko marken esteka
  12. \n' + + '
  13. Orri-oineko editorearen tamaina aldatzeko heldulekua
  14. \n' + + '
\n' + + '\n' + + '

EIko atal bat ez badago, saltatu egin da.

\n' + + '\n' + + '

Orri-oinak teklatuaren nabigazioa fokuratuta badago, eta alboko barra ikusgai ez badago, Maius+Tabuladorea sakatuz gero,\n' + + ' fokua tresna-barrako lehen taldera eramaten da, ez azkenera.

\n' + + '\n' + + '

Nabigatu EIko atalen barruan

\n' + + '\n' + + '

EIko elementu batetik hurrengora mugitzeko, sakatu dagokion Gezia tekla.

\n' + + '\n' + + '

Ezkerrera eta Eskuinera gezi-teklak

\n' + + '\n' + + '
    \n' + + '
  • menu-barrako menuen artean mugitzen da.
  • \n' + + '
  • ireki azpimenu bat menuan.
  • \n' + + '
  • mugitu botoi batetik bestera tresna-barren talde batean.
  • \n' + + '
  • mugitu orri-oineko elementuaren bideko elementu batetik bestera.
  • \n' + + '
\n' + + '\n' + + '

Gora eta Behera gezi-teklak

\n' + + '\n' + + '
    \n' + + '
  • mugitu menu bateko menu-elementuen artean.
  • \n' + + '
  • mugitu tresna-barrako menu gainerakor bateko menu-elementuen artean.
  • \n' + + '
\n' + + '\n' + + '

Gezia teklen zikloa nabarmendutako EI atalen barruan.

\n' + + '\n' + + '

Irekitako menu bat ixteko, ireki azpimenua, edo ireki menu gainerakorra, sakatu Ihes tekla.

\n' + + '\n' + + '

Une horretan fokuratzea EIko atal jakin baten "goialdean" badago, Ihes tekla sakatuz gero\n' + + ' teklatuaren nabigaziotik irtengo zara.

\n' + + '\n' + + '

Exekutatu menuko elementu bat edo tresna-barrako botoi bat

\n' + + '\n' + + '

Nahi den menuaren elementua edo tresna-barraren botoia nabarmenduta dagoenean, sakatu Itzuli, Sartu\n' + + ' edo Zuriune-barra elementua exekutatzeko.

\n' + + '\n' + + '

Nabigatu fitxarik gabeko elkarrizketak

\n' + + '\n' + + '

Fitxarik gabeko elkarrizketetan, lehen osagai interaktiboa fokuratzen da elkarrizketa irekitzen denean.

\n' + + '\n' + + '

Nabigatu elkarrizketa interaktiboko osagai batetik bestera Tabuladorea edo Maius+Tabuladorea sakatuta.

\n' + + '\n' + + '

Nabigatu fitxadun elkarrizketak

\n' + + '\n' + + '

Fitxadun elkarrizketetan, fitxa-menuko lehen botoia fokuratzen da elkarrizketa irekitzen denean.

\n' + + '\n' + + '

Nabigatu elkarrizketa-fitxa honen interaktiboko osagai batetik bestera Tabuladorea edo\n' + + ' Maius+Tabuladorea sakatuta.

\n' + + '\n' + + '

Aldatu beste elkarrizketa-fitxa batera fitxa-menua fokuratu eta dagokion Gezia\n' + + ' tekla sakatzeko, erabilgarri dauden fitxa batetik bestera txandakatzeko.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fa.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fa.js new file mode 100644 index 0000000..2a55012 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fa.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.fa', +'

شروع پیمایش صفحه‌کلید

\n' + + '\n' + + '
\n' + + '
تمرکز بر نوار منو
\n' + + '
Windows یا Linux:‎‏: Alt+F9
\n' + + '
‎‏macOS: ⌥F9‎‏
\n' + + '
تمرکز بر نوار ابزار
\n' + + '
Windows یا Linux‎‏: Alt+F10
\n' + + '
‎‏macOS: ⌥F10‎‏
\n' + + '
تمرکز بر پانویس
\n' + + '
Windows یا Linux‎‏: Alt+F11
\n' + + '
‎‏macOS: ⌥F11‎‏
\n' + + '
تمرکز اعلان
\n' + + '
ویندوز یا لینوکس: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
تمرکز بر نوار ابزار بافتاری
\n' + + '
Windows ،Linux یا macOS:‏ Ctrl+F9
\n' + + '
\n' + + '\n' + + '

پیمایش در اولین مورد رابط کاربری شروع می‌شود و درخصوص اولین مورد در\n' + + ' مسیر عنصر پانویس، برجسته یا زیرخط‌دار می‌شود.

\n' + + '\n' + + '

پیمایش بین بخش‌های رابط کاربری

\n' + + '\n' + + '

برای جابجایی از یک بخش رابط کاربری به بخش بعدی، Tab را فشار دهید.

\n' + + '\n' + + '

برای جابجایی از یک بخش رابط کاربری به بخش قبلی، Shift+Tab را فشار دهید.

\n' + + '\n' + + '

ترتیب Tab این بخش‌های رابط کاربری عبارتند از:

\n' + + '\n' + + '
    \n' + + '
  1. نوار منو
  2. \n' + + '
  3. هر گروه نوار ابزار
  4. \n' + + '
  5. نوار کناری
  6. \n' + + '
  7. مسیر عنصر در پانویس
  8. \n' + + '
  9. دکمه تغییر وضعیت تعداد کلمات در پانویس
  10. \n' + + '
  11. پیوند نمانام‌سازی در پانویس
  12. \n' + + '
  13. دسته تغییر اندازه ویرایشگر در پانویس
  14. \n' + + '
\n' + + '\n' + + '

اگر بخشی از رابط کاربری موجود نباشد، رد می‌شود.

\n' + + '\n' + + '

اگر پانویس دارای تمرکز بر پیمایش صفحه‌کلید باشد،‌ و نوار کناری قابل‌مشاهده وجود ندارد، فشردن Shift+Tab\n' + + ' تمرکز را به گروه نوار ابزار اول می‌برد، نه آخر.

\n' + + '\n' + + '

پیمایش در بخش‌های رابط کاربری

\n' + + '\n' + + '

برای جابجایی از یک عنصر رابط کاربری به بعدی، کلید جهت‌نمای مناسب را فشار دهید.

\n' + + '\n' + + '

کلیدهای جهت‌نمای چپ و راست

\n' + + '\n' + + '
    \n' + + '
  • جابجایی بین منوها در نوار منو.
  • \n' + + '
  • باز کردن منوی فرعی در یک منو.
  • \n' + + '
  • جابجایی بین دکمه‌ها در یک گروه نوار ابزار.
  • \n' + + '
  • جابجایی بین موارد در مسیر عنصر پانویس.
  • \n' + + '
\n' + + '\n' + + '

کلیدهای جهت‌نمای پایین و بالا

\n' + + '\n' + + '
    \n' + + '
  • جابجایی بین موارد منو در یک منو.
  • \n' + + '
  • جابجایی بین موارد در یک منوی بازشوی نوار ابزار.
  • \n' + + '
\n' + + '\n' + + '

کلیدهایجهت‌نما در بخش رابط کاربری متمرکز می‌چرخند.

\n' + + '\n' + + '

برای بستن یک منوی باز، یک منوی فرعی باز، یا یک منوی بازشوی باز، کلید Esc را فشار دهید.

\n' + + '\n' + + '

اگر تمرکز فعلی در «بالای» یک بخش رابط کاربری خاص است، فشردن کلید Esc نیز موجب\n' + + ' خروج کامل از پیمایش صفحه‌کلید می‌شود.

\n' + + '\n' + + '

اجرای یک مورد منو یا دکمه نوار ابزار

\n' + + '\n' + + '

وقتی مورد منو یا دکمه نوار ابزار مورد نظر هایلایت شد، دکمه بازگشت، Enter،\n' + + ' یا نوار Space را فشار دهید تا مورد را اجرا کنید.

\n' + + '\n' + + '

پیمایش در کادرهای گفتگوی بدون زبانه

\n' + + '\n' + + '

در کادرهای گفتگوی بدون زبانه، وقتی کادر گفتگو باز می‌شود، اولین جزء تعاملی متمرکز می‌شود.

\n' + + '\n' + + '

با فشردن Tab یا Shift+Tab، بین اجزای کادر گفتگوی تعاملی پیمایش کنید.

\n' + + '\n' + + '

پیمایش کادرهای گفتگوی زبانه‌دار

\n' + + '\n' + + '

در کادرهای گفتگوی زبانه‌دار، وقتی کادر گفتگو باز می‌شود، اولین دکمه در منوی زبانه متمرکز می‌شود.

\n' + + '\n' + + '

با فشردن Tab یا\n' + + ' Shift+Tab، بین اجزای تعاملی این زبانه کادر گفتگو پیمایش کنید.

\n' + + '\n' + + '

با دادن تمرکز به منوی زبانه و سپس فشار دادن کلید جهت‌نمای\n' + + ' مناسب برای چرخش میان زبانه‌های موجود، به زبانه کادر گفتگوی دیگری بروید.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fi.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fi.js new file mode 100644 index 0000000..f01dc91 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fi.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.fi', +'

Näppäimistönavigoinnin aloittaminen

\n' + + '\n' + + '
\n' + + '
Siirrä kohdistus valikkopalkkiin
\n' + + '
Windows tai Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Siirrä kohdistus työkalupalkkiin
\n' + + '
Windows tai Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Siirrä kohdistus alatunnisteeseen
\n' + + '
Windows tai Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Keskitä ilmoitukseen
\n' + + '
Windows ja Linux: Alt + F12
\n' + + '
macOS: ⌥F12
\n' + + '
Siirrä kohdistus kontekstuaaliseen työkalupalkkiin
\n' + + '
Windows, Linux tai macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigointi aloitetaan ensimmäisestä käyttöliittymän kohteesta, joka joko korostetaan tai alleviivataan, jos\n' + + ' kyseessä on Alatunniste-elementin polun ensimmäinen kohde.

\n' + + '\n' + + '

Käyttöliittymän eri osien välillä navigointi

\n' + + '\n' + + '

Paina sarkainnäppäintä siirtyäksesi käyttöliittymän osasta seuraavaan.

\n' + + '\n' + + '

Jos haluat siirtyä edelliseen käyttöliittymän osaan, paina Shift+sarkainnäppäin.

\n' + + '\n' + + '

Sarkainnäppäin siirtää sinua näissä käyttöliittymän osissa tässä järjestyksessä:

\n' + + '\n' + + '
    \n' + + '
  1. Valikkopalkki
  2. \n' + + '
  3. Työkalupalkin ryhmät
  4. \n' + + '
  5. Sivupalkki
  6. \n' + + '
  7. Elementin polku alatunnisteessa
  8. \n' + + '
  9. Sanalaskurin vaihtopainike alatunnisteessa
  10. \n' + + '
  11. Brändäyslinkki alatunnisteessa
  12. \n' + + '
  13. Editorin koon muuttamisen kahva alatunnisteessa
  14. \n' + + '
\n' + + '\n' + + '

Jos jotakin käyttöliittymän osaa ei ole, se ohitetaan.

\n' + + '\n' + + '

Jos kohdistus on siirretty alatunnisteeseen näppäimistönavigoinnilla eikä sivupalkkia ole näkyvissä, Shift+sarkainnäppäin\n' + + ' siirtää kohdistuksen työkalupalkin ensimmäiseen ryhmään, eikä viimeiseen.

\n' + + '\n' + + '

Käyttöliittymän eri osien sisällä navigointi

\n' + + '\n' + + '

Paina nuolinäppäimiä siirtyäksesi käyttöliittymäelementistä seuraavaan.

\n' + + '\n' + + '

Vasen- ja Oikea-nuolinäppäimet

\n' + + '\n' + + '
    \n' + + '
  • siirtävät sinua valikkopalkin valikoiden välillä.
  • \n' + + '
  • avaavat valikon alavalikon.
  • \n' + + '
  • siirtävät sinua työkalupalkin ryhmän painikkeiden välillä.
  • \n' + + '
  • siirtävät sinua kohteiden välillä alatunnisteen elementin polussa.
  • \n' + + '
\n' + + '\n' + + '

Alas- ja Ylös-nuolinäppäimet

\n' + + '\n' + + '
    \n' + + '
  • siirtävät sinua valikon valikkokohteiden välillä.
  • \n' + + '
  • siirtävät sinua työkalupalkin ponnahdusvalikon kohteiden välillä.
  • \n' + + '
\n' + + '\n' + + '

Nuolinäppäimet siirtävät sinua käyttöliittymän korostetun osan sisällä syklissä.

\n' + + '\n' + + '

Paina Esc-näppäintä sulkeaksesi avoimen valikon, avataksesi alavalikon tai avataksesi ponnahdusvalikon.

\n' + + '\n' + + '

Jos kohdistus on käyttöliittymän tietyn osion ylälaidassa, Esc-näppäimen painaminen\n' + + ' poistuu myös näppäimistönavigoinnista kokonaan.

\n' + + '\n' + + '

Suorita valikkokohde tai työkalupalkin painike

\n' + + '\n' + + '

Kun haluamasi valikkokohde tai työkalupalkin painike on korostettuna, paina Return-, Enter-\n' + + ' tai välilyöntinäppäintä suorittaaksesi kohteen.

\n' + + '\n' + + '

Välilehdittömissä valintaikkunoissa navigointi

\n' + + '\n' + + '

Kun välilehdetön valintaikkuna avautuu, kohdistus siirtyy sen ensimmäiseen interaktiiviseen komponenttiin.

\n' + + '\n' + + '

Voit siirtyä valintaikkunan interaktiivisten komponenttien välillä painamalla sarkainnäppäintä tai Shift+sarkainnäppäin.

\n' + + '\n' + + '

Välilehdellisissä valintaikkunoissa navigointi

\n' + + '\n' + + '

Kun välilehdellinen valintaikkuna avautuu, kohdistus siirtyy välilehtivalikon ensimmäiseen painikkeeseen.

\n' + + '\n' + + '

Voit siirtyä valintaikkunan välilehden interaktiivisen komponenttien välillä painamalla sarkainnäppäintä tai\n' + + ' Shift+sarkainnäppäin.

\n' + + '\n' + + '

Voit siirtyä valintaikkunan toiseen välilehteen siirtämällä kohdistuksen välilehtivalikkoon ja painamalla sopivaa nuolinäppäintä\n' + + ' siirtyäksesi käytettävissä olevien välilehtien välillä syklissä.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fr_FR.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fr_FR.js new file mode 100644 index 0000000..3f611e8 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/fr_FR.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.fr_FR', +'

Débuter la navigation au clavier

\n' + + '\n' + + '
\n' + + '
Cibler la barre du menu
\n' + + '
Windows ou Linux : Alt+F9
\n' + + '
macOS : ⌥F9
\n' + + "
Cibler la barre d'outils
\n" + + '
Windows ou Linux : Alt+F10
\n' + + '
macOS : ⌥F10
\n' + + '
Cibler le pied de page
\n' + + '
Windows ou Linux : Alt+F11
\n' + + '
macOS : ⌥F11
\n' + + '
Cibler la notification
\n' + + '
Windows ou Linux : Alt+F12
\n' + + '
macOS : ⌥F12
\n' + + "
Cibler une barre d'outils contextuelle
\n" + + '
Windows, Linux ou macOS : Ctrl+F9
\n' + + '
\n' + + '\n' + + "

La navigation débutera sur le premier élément de l'interface utilisateur, qui sera mis en surbrillance ou bien souligné dans le cas du premier élément du\n" + + " chemin d'éléments du pied de page.

\n" + + '\n' + + "

Naviguer entre les sections de l'interface utilisateur

\n" + + '\n' + + "

Pour passer d'une section de l'interface utilisateur à la suivante, appuyez sur Tabulation.

\n" + + '\n' + + "

Pour passer d'une section de l'interface utilisateur à la précédente, appuyez sur Maj+Tabulation.

\n" + + '\n' + + "

L'ordre de Tabulation de ces sections de l'interface utilisateur est le suivant :

\n" + + '\n' + + '
    \n' + + '
  1. Barre du menu
  2. \n' + + "
  3. Chaque groupe de barres d'outils
  4. \n" + + '
  5. Barre latérale
  6. \n' + + "
  7. Chemin d'éléments du pied de page
  8. \n" + + "
  9. Bouton d'activation du compteur de mots dans le pied de page
  10. \n" + + '
  11. Lien de marque dans le pied de page
  12. \n' + + "
  13. Poignée de redimensionnement de l'éditeur dans le pied de page
  14. \n" + + '
\n' + + '\n' + + "

Si une section de l'interface utilisateur n'est pas présente, elle sera ignorée.

\n" + + '\n' + + "

Si le pied de page comporte un ciblage par navigation au clavier et qu'il n'y a aucune barre latérale visible, appuyer sur Maj+Tabulation\n" + + " déplace le ciblage vers le premier groupe de barres d'outils et non le dernier.

\n" + + '\n' + + "

Naviguer au sein des sections de l'interface utilisateur

\n" + + '\n' + + "

Pour passer d'un élément de l'interface utilisateur au suivant, appuyez sur la Flèche appropriée.

\n" + + '\n' + + '

Les touches fléchées Gauche et Droite

\n' + + '\n' + + '
    \n' + + '
  • se déplacent entre les menus de la barre des menus.
  • \n' + + "
  • ouvrent un sous-menu au sein d'un menu.
  • \n" + + "
  • se déplacent entre les boutons d'un groupe de barres d'outils.
  • \n" + + "
  • se déplacent entre les éléments du chemin d'éléments du pied de page.
  • \n" + + '
\n' + + '\n' + + '

Les touches fléchées Bas et Haut

\n' + + '\n' + + '
    \n' + + "
  • se déplacent entre les éléments de menu au sein d'un menu.
  • \n" + + "
  • se déplacent entre les éléments au sein d'un menu contextuel de barre d'outils.
  • \n" + + '
\n' + + '\n' + + "

Les Flèches parcourent la section de l'interface utilisateur ciblée.

\n" + + '\n' + + '

Pour fermer un menu ouvert, un sous-menu ouvert ou un menu contextuel ouvert, appuyez sur Echap.

\n' + + '\n' + + "

Si l'actuel ciblage se trouve en « haut » d'une section spécifique de l'interface utilisateur, appuyer sur Echap permet également de quitter\n" + + ' entièrement la navigation au clavier.

\n' + + '\n' + + "

Exécuter un élément de menu ou un bouton de barre d'outils

\n" + + '\n' + + "

Lorsque l'élément de menu ou le bouton de barre d'outils désiré est mis en surbrillance, appuyez sur la touche Retour arrière, Entrée\n" + + " ou la Barre d'espace pour exécuter l'élément.

\n" + + '\n' + + '

Naviguer au sein de dialogues sans onglets

\n' + + '\n' + + "

Dans les dialogues sans onglets, le premier composant interactif est ciblé lorsque le dialogue s'ouvre.

\n" + + '\n' + + '

Naviguez entre les composants du dialogue interactif en appuyant sur Tabulation ou Maj+Tabulation.

\n' + + '\n' + + '

Naviguer au sein de dialogues avec onglets

\n' + + '\n' + + "

Dans les dialogues avec onglets, le premier bouton du menu de l'onglet est ciblé lorsque le dialogue s'ouvre.

\n" + + '\n' + + '

Naviguez entre les composants interactifs de cet onglet de dialogue en appuyant sur Tabulation ou\n' + + ' Maj+Tabulation.

\n' + + '\n' + + "

Passez à un autre onglet de dialogue en ciblant le menu de l'onglet et en appuyant sur la Flèche\n" + + ' appropriée pour parcourir les onglets disponibles.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/he_IL.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/he_IL.js new file mode 100644 index 0000000..7d6513a --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/he_IL.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.he_IL', +'

התחל ניווט במקלדת

\n' + + '\n' + + '
\n' + + '
התמקד בשורת התפריטים
\n' + + '
Windows או Linux:‏ Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
העבר מיקוד לסרגל הכלים
\n' + + '
Windows או Linux:‏ Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
העבר מיקוד לכותרת התחתונה
\n' + + '
Windows או Linux:‏ Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
העבר מיקוד להודעה
\n' + + '
Windows או Linux:‏ Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
העבר מיקוד לסרגל כלים הקשרי
\n' + + '
Windows‏, Linux או macOS:‏ Ctrl+F9
\n' + + '
\n' + + '\n' + + '

הניווט יתחיל ברכיב הראשון במשך, שיודגש או שיהיה מתחתיו קו תחתון במקרה של הפריט הראשון\n' + + ' הנתיב של רכיב הכותרת התחתונה.

\n' + + '\n' + + '

עבור בין מקטעים במסך

\n' + + '\n' + + '

כדי לעבור בין המקטעים במסך, הקש Tab.

\n' + + '\n' + + '

כדי לעבור למקטע הקודם במסך, הקש Shift+Tab.

\n' + + '\n' + + '

הסדר מבחינת מקש Tab של הרכיבים במסך:

\n' + + '\n' + + '
    \n' + + '
  1. שורת התפריטים
  2. \n' + + '
  3. כל קבוצה בסרגל הכלים
  4. \n' + + '
  5. הסרגל הצידי
  6. \n' + + '
  7. נתיב של רכיב בכותרת התחתונה
  8. \n' + + '
  9. לחצן לספירת מילים בכותרת התחתונה
  10. \n' + + '
  11. קישור של המותג בכותרת התחתונה
  12. \n' + + '
  13. ידית לשינוי גודל עבור העורך בכותרת התחתונה
  14. \n' + + '
\n' + + '\n' + + '

אם רכיב כלשהו במסך לא מופיע, המערכת תדלג עליו.

\n' + + '\n' + + '

אם בכותרת התחתונה יש מיקוד של ניווט במקלדת, ולא מופיע סרגל בצד, יש להקיש Shift+Tab\n' + + ' מעביר את המיקוד לקבוצה הראשונה בסרגל הכלים, לא האחרונה.

\n' + + '\n' + + '

עבור בתוך מקטעים במסך

\n' + + '\n' + + '

כדי לעבור מרכיב אחד לרכיב אחר במסך, הקש על מקש החץ המתאים.

\n' + + '\n' + + '

מקשי החיצים שמאלה וימינה

\n' + + '\n' + + '
    \n' + + '
  • עבור בין תפריטים בשורת התפריטים.
  • \n' + + '
  • פתח תפריט משני בתפריט.
  • \n' + + '
  • עבור בין לחצנים בקבוצה בסרגל הכלים.
  • \n' + + '
  • עבור בין פריטים ברכיב בכותרת התחתונה.
  • \n' + + '
\n' + + '\n' + + '

מקשי החיצים למטה ולמעלה

\n' + + '\n' + + '
    \n' + + '
  • עבור בין פריטים בתפריט.
  • \n' + + '
  • עבור בין פריטים בחלון הקובץ של סרגל הכלים.
  • \n' + + '
\n' + + '\n' + + '

מקשי החצים משתנים בתוך המקטע במסך שעליו נמצא המיקוד.

\n' + + '\n' + + '

כדי לסגור תפריט פתוח, תפריט משני פתוח או חלון קופץ, הקש על Esc.

\n' + + '\n' + + "

אם המיקוד הוא על החלק 'העליון' של מקטע מסוים במסך, הקשה על Esc מביאה גם ליציאה\n" + + ' מהניווט במקלדת לחלוטין.

\n' + + '\n' + + '

הפעל פריט בתפריט או לחצן בסרגל הכלים

\n' + + '\n' + + '

כאשר הפריט הרצוי בתפריט או הלחצן בסרגל הכלים מודגשים, הקש על Return, Enter,\n' + + ' או על מקש הרווח כדי להפעיל את הפריט.

\n' + + '\n' + + '

ניווט בחלונות דו-שיח בלי כרטיסיות

\n' + + '\n' + + '

בחלונות דו-שיח בלי כרטיסיות, הרכיב האינטראקטיבי הראשון מקבל את המיקוד כאשר החלון נפתח.

\n' + + '\n' + + '

עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על Tab או Shift+Tab.

\n' + + '\n' + + '

ניווט בחלונות דו-שיח עם כרטיסיות

\n' + + '\n' + + '

בחלונות דו-שיח עם כרטיסיות, הלחצן הראשון בתפריט מקבל את המיקוד כאשר החלון נפתח.

\n' + + '\n' + + '

עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על Tab או\n' + + ' Shift+Tab.

\n' + + '\n' + + '

עבור לכרטיסיה אחרת בחלון על ידי העברת המיקוד לתפריט הכרטיסיות והקשה על החץהמתאים\n' + + ' כדי לעבור בין הכרטיסיות הזמינות.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hi.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hi.js new file mode 100644 index 0000000..ef59a5c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hi.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.hi', +'

कीबोर्ड नेविगेशन शुरू करें

\n' + + '\n' + + '
\n' + + '
मेन्यू बार पर फ़ोकस करें
\n' + + '
Windows या Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
टूलबार पर फ़ोकस करें
\n' + + '
Windows या Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
फ़ुटर पर फ़ोकस करें
\n' + + '
Windows या Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
नोटिफ़िकेशन फ़ोकस
\n' + + '
Windows या Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
प्रासंगिक टूलबार पर फ़ोकस करें
\n' + + '
Windows, Linux या macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

नेविगेशन पहले UI आइटम पर शुरू होगा, जिसे हाइलाइट किया जाएगा या पहले आइटम के मामले में फ़ुटर तत्व पथ में\n' + + ' रेखांकित किया जाएगा।

\n' + + '\n' + + '

UI सेक्शन के बीच नेविगेट करें

\n' + + '\n' + + '

एक UI सेक्शन से दूसरे सेक्शन में जाने के लिए, Tab दबाएं।

\n' + + '\n' + + '

एक UI सेक्शन से पिछले सेक्शन में जाने के लिए, Shift+Tab दबाएं।

\n' + + '\n' + + '

इन UI सेक्शन का Tab क्रम नीचे दिया गया है:

\n' + + '\n' + + '
    \n' + + '
  1. मेन्यू बार
  2. \n' + + '
  3. प्रत्येक टूलबार समूह
  4. \n' + + '
  5. साइडबार
  6. \n' + + '
  7. फ़ुटर में तत्व पथ
  8. \n' + + '
  9. फ़ुटर में शब्द गणना टॉगल बटन
  10. \n' + + '
  11. फ़ुटर में ब्रांडिंग लिंक
  12. \n' + + '
  13. फ़ुटर में संपादक का आकार बदलने का हैंडल
  14. \n' + + '
\n' + + '\n' + + '

अगर कोई UI सेक्शन मौजूद नहीं है, तो उसे छोड़ दिया जाता है।

\n' + + '\n' + + '

अगर फ़ुटर में कीबोर्ड नेविगेशन फ़ोकस है, और कोई दिखा देने वाला साइडबार नहीं है, तो Shift+Tab दबाने से\n' + + ' फ़ोकस पहले टूलबार समूह पर चला जाता है, पिछले पर नहीं।

\n' + + '\n' + + '

UI सेक्शन के भीतर नेविगेट करें

\n' + + '\n' + + '

एक UI तत्व से दूसरे में जाने के लिए उपयुक्त ऐरो कुंजी दबाएं।

\n' + + '\n' + + '

बाएं और दाएं ऐरो कुंजियां

\n' + + '\n' + + '
    \n' + + '
  • मेन्यू बार में मेन्यू के बीच ले जाती हैं।
  • \n' + + '
  • मेन्यू में एक सब-मेन्यू खोलें।
  • \n' + + '
  • टूलबार समूह में बटनों के बीच ले जाएं।
  • \n' + + '
  • फ़ुटर के तत्व पथ में आइटम के बीच ले जाएं।
  • \n' + + '
\n' + + '\n' + + '

नीचे और ऊपर ऐरो कुंजियां

\n' + + '\n' + + '
    \n' + + '
  • मेन्यू में मेन्यू आइटम के बीच ले जाती हैं।
  • \n' + + '
  • टूलबार पॉप-अप मेन्यू में आइटम के बीच ले जाएं।
  • \n' + + '
\n' + + '\n' + + '

फ़ोकस वाले UI सेक्शन के भीतर ऐरो कुंजियां चलाती रहती हैं।

\n' + + '\n' + + '

कोई खुला मेन्यू, कोई खुला सब-मेन्यू या कोई खुला पॉप-अप मेन्यू बंद करने के लिए Esc कुंजी दबाएं।

\n' + + '\n' + + "

अगर मौजूदा फ़ोकस किसी विशेष UI सेक्शन के 'शीर्ष' पर है, तो Esc कुंजी दबाने से भी\n" + + ' कीबोर्ड नेविगेशन पूरी तरह से बाहर हो जाता है।

\n' + + '\n' + + '

मेन्यू आइटम या टूलबार बटन निष्पादित करें

\n' + + '\n' + + '

जब वांछित मेन्यू आइटम या टूलबार बटन हाइलाइट किया जाता है, तो आइटम को निष्पादित करने के लिए Return, Enter,\n' + + ' या Space bar दबाएं।

\n' + + '\n' + + '

गैर-टैब वाले डायलॉग पर नेविगेट करें

\n' + + '\n' + + '

गैर-टैब वाले डायलॉग में, डायलॉग खुलने पर पहला इंटरैक्टिव घटक फ़ोकस लेता है।

\n' + + '\n' + + '

Tab or Shift+Tab दबाकर इंटरैक्टिव डायलॉग घटकों के बीच नेविगेट करें।

\n' + + '\n' + + '

टैब किए गए डायलॉग पर नेविगेट करें

\n' + + '\n' + + '

टैब किए गए डायलॉग में, डायलॉग खुलने पर टैब मेन्यू में पहला बटन फ़ोकस लेता है।

\n' + + '\n' + + '

इस डायलॉग टैब के इंटरैक्टिव घटकों के बीच नेविगेट करने के लिए Tab या\n' + + ' Shift+Tab दबाएं।

\n' + + '\n' + + '

टैब मेन्यू को फ़ोकस देकर और फिर उपलब्ध टैब में के बीच जाने के लिए उपयुक्त ऐरो\n' + + ' कुंजी दबाकर दूसरे डायलॉग टैब पर स्विच करें।

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hr.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hr.js new file mode 100644 index 0000000..1bf35c5 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hr.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.hr', +'

Početak navigacije na tipkovnici

\n' + + '\n' + + '
\n' + + '
Fokusiranje trake izbornika
\n' + + '
Windows ili Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokusiranje alatne trake
\n' + + '
Windows ili Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokusiranje podnožja
\n' + + '
Windows ili Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokusiranje obavijesti
\n' + + '
Windows ili Linux: Alt + F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokusiranje kontekstne alatne trake
\n' + + '
Windows, Linux ili macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigacija će započeti kod prve stavke na korisničkom sučelju, koja će biti istaknuta ili podcrtana ako se radi o prvoj stavci u\n' + + ' putu elementa u podnožju.

\n' + + '\n' + + '

Navigacija između dijelova korisničkog sučelja

\n' + + '\n' + + '

Za pomicanje s jednog dijela korisničkog sučelja na drugi pritisnite tabulator.

\n' + + '\n' + + '

Za pomicanje s jednog dijela korisničkog sučelja na prethodni pritisnite Shift + tabulator.

\n' + + '\n' + + '

Ovo je redoslijed pomicanja tabulatora po dijelovima korisničkog sučelja:

\n' + + '\n' + + '
    \n' + + '
  1. Traka izbornika
  2. \n' + + '
  3. Pojedinačne grupe na alatnoj traci
  4. \n' + + '
  5. Bočna traka
  6. \n' + + '
  7. Put elemenata u podnožju
  8. \n' + + '
  9. Gumb za pomicanje po broju riječi u podnožju
  10. \n' + + '
  11. Veza na brand u podnožju
  12. \n' + + '
  13. Značajka za promjenu veličine alata za uređivanje u podnožju
  14. \n' + + '
\n' + + '\n' + + '

Ako neki dio korisničkog sučelja nije naveden, on se preskače.

\n' + + '\n' + + '

Ako u podnožju postoji fokus za navigaciju na tipkovnici, a nema vidljive bočne trake, pritiskom na Shift + tabulator\n' + + ' fokus se prebacuje na prvu skupinu na alatnoj traci, ne na zadnju.

\n' + + '\n' + + '

Navigacija unutar dijelova korisničkog sučelja

\n' + + '\n' + + '

Za pomicanje s jednog elementa korisničkog sučelja na drugi pritisnite tipku s odgovarajućom strelicom.

\n' + + '\n' + + '

Tipke s lijevom i desnom strelicom

\n' + + '\n' + + '
    \n' + + '
  • služe za pomicanje između izbornika na alatnoj traci.
  • \n' + + '
  • otvaraju podizbornik unutar izbornika.
  • \n' + + '
  • služe za pomicanje između gumba unutar skupina na alatnoj traci.
  • \n' + + '
  • služe za pomicanje između stavki na elementu puta u podnožju.
  • \n' + + '
\n' + + '\n' + + '

Tipke s donjom i gornjom strelicom

\n' + + '\n' + + '
    \n' + + '
  • služe za pomicanje između stavki unutar izbornika.
  • \n' + + '
  • služe za pomicanje između stavki na alatnoj traci skočnog izbornika.
  • \n' + + '
\n' + + '\n' + + '

Tipkama strelica kružno se pomičete unutar dijela korisničkog sučelja koji je u fokusu.

\n' + + '\n' + + '

Za zatvaranje otvorenog izbornika, otvorenog podizbornika ili otvorenog skočnog izbornika pritisnite tipku Esc.

\n' + + '\n' + + '

Ako je fokus trenutačno postavljen na vrh pojedinačnog dijela korisničkog sučelja, pritiskom na tipku Esc također\n' + + ' u potpunosti zatvarate navigaciju na tipkovnici.

\n' + + '\n' + + '

Izvršavanje radnji putem stavki izbornika ili gumba na alatnoj traci

\n' + + '\n' + + '

Nakon što se istakne stavka izbornika ili gumb na alatnoj traci s radnjom koju želite izvršiti, pritisnite tipku Return, Enter\n' + + ' ili razmak da biste pokrenuli željenu radnju.

\n' + + '\n' + + '

Navigacija dijaloškim okvirima izvan kartica

\n' + + '\n' + + '

Prilikom otvaranja dijaloških okvira izvan kartica fokus se nalazi na prvoj interaktivnoj komponenti.

\n' + + '\n' + + '

Navigaciju između interaktivnih dijaloških komponenata vršite pritiskom na tabulator ili Shift + tabulator.

\n' + + '\n' + + '

Navigacija dijaloškim okvirima u karticama

\n' + + '\n' + + '

Prilikom otvaranja dijaloških okvira u karticama fokus se nalazi na prvom gumbu u izborniku unutar kartice.

\n' + + '\n' + + '

Navigaciju između interaktivnih komponenata dijaloškog okvira u kartici vršite pritiskom na tabulator ili\n' + + ' Shift + tabulator.

\n' + + '\n' + + '

Na karticu s drugim dijaloškim okvirom možete se prebaciti tako da stavite fokus na izbornik kartice pa pritisnete tipku s odgovarajućom strelicom\n' + + ' za kružno pomicanje između dostupnih kartica.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hu_HU.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hu_HU.js new file mode 100644 index 0000000..5c984bb --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/hu_HU.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.hu_HU', +'

Billentyűzetes navigáció indítása

\n' + + '\n' + + '
\n' + + '
Fókusz a menüsávra
\n' + + '
Windows és Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fókusz az eszköztárra
\n' + + '
Windows és Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fókusz a láblécre
\n' + + '
Windows és Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Ráközelítés az értesítésre
\n' + + '
Windows vagy Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fókusz egy környezetfüggő eszköztárra
\n' + + '
Windows, Linux és macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

A navigáció az első felhasználói felületi elemnél kezdődik, amelyet a rendszer kiemel, illetve aláhúz, amennyiben az az első elem\n' + + ' a lábléc elemútvonalán.

\n' + + '\n' + + '

Navigálás a felhasználói felület szakaszai között

\n' + + '\n' + + '

A felhasználói felület következő szakaszára váltáshoz nyomja meg a Tab billentyűt.

\n' + + '\n' + + '

A felhasználói felület előző szakaszára váltáshoz nyomja meg a Shift+Tab billentyűt.

\n' + + '\n' + + '

A Tab billentyűvel a felhasználói felület szakaszai között a következő sorrendben vált:

\n' + + '\n' + + '
    \n' + + '
  1. Menüsáv
  2. \n' + + '
  3. Az egyes eszköztárcsoportok
  4. \n' + + '
  5. Oldalsáv
  6. \n' + + '
  7. Elemútvonal a láblécen
  8. \n' + + '
  9. Szószámátkapcsoló gomb a láblécen
  10. \n' + + '
  11. Márkalink a láblécen
  12. \n' + + '
  13. Szerkesztő átméretezési fogópontja a láblécen
  14. \n' + + '
\n' + + '\n' + + '

Ha a felhasználói felület valamelyik eleme nincs jelen, a rendszer kihagyja.

\n' + + '\n' + + '

Ha a billentyűzetes navigáció fókusza a láblécen van, és nincs látható oldalsáv, a Shift+Tab\n' + + ' billentyűkombináció lenyomásakor az első eszköztárcsoportra ugrik a fókusz, nem az utolsóra.

\n' + + '\n' + + '

Navigálás a felhasználói felület szakaszain belül

\n' + + '\n' + + '

A felhasználói felület következő elemére váltáshoz nyomja meg a megfelelő nyílbillentyűt.

\n' + + '\n' + + '

A bal és a jobb nyílgomb

\n' + + '\n' + + '
    \n' + + '
  • a menüsávban a menük között vált.
  • \n' + + '
  • a menükben megnyit egy almenüt.
  • \n' + + '
  • az eszköztárcsoportban a gombok között vált.
  • \n' + + '
  • a lábléc elemútvonalán az elemek között vált.
  • \n' + + '
\n' + + '\n' + + '

A le és a fel nyílgomb

\n' + + '\n' + + '
    \n' + + '
  • a menükben a menüpontok között vált.
  • \n' + + '
  • az eszköztár előugró menüjében az elemek között vált.
  • \n' + + '
\n' + + '\n' + + '

A nyílbillentyűk lenyomásával körkörösen lépkedhet a fókuszban lévő felhasználói felületi szakasz elemei között.

\n' + + '\n' + + '

A megnyitott menüket, almenüket és előugró menüket az Esc billentyűvel zárhatja be.

\n' + + '\n' + + '

Ha a fókusz az aktuális felületi elem „felső” részén van, az Esc billentyűvel az egész\n' + + ' billentyűzetes navigációból kilép.

\n' + + '\n' + + '

Menüpont vagy eszköztárgomb aktiválása

\n' + + '\n' + + '

Amikor a kívánt menüelem vagy eszköztárgomb van kijelölve, nyomja meg a Return, az Enter\n' + + ' vagy a Szóköz billentyűt az adott elem vagy gomb aktiválásához.

\n' + + '\n' + + '

Navigálás a lapokkal nem rendelkező párbeszédablakokban

\n' + + '\n' + + '

A lapokkal nem rendelkező párbeszédablakokban az első interaktív összetevő kapja a fókuszt, amikor a párbeszédpanel megnyílik.

\n' + + '\n' + + '

A párbeszédpanelek interaktív összetevői között a Tab vagy a Shift+Tab billentyűvel navigálhat.

\n' + + '\n' + + '

Navigálás a lapokkal rendelkező párbeszédablakokban

\n' + + '\n' + + '

A lapokkal rendelkező párbeszédablakokban a lapmenü első gombja kapja a fókuszt, amikor a párbeszédpanel megnyílik.

\n' + + '\n' + + '

A párbeszédpanel e lapjának interaktív összetevői között a Tab vagy\n' + + ' Shift+Tab billentyűvel navigálhat.

\n' + + '\n' + + '

A párbeszédablak másik lapjára úgy léphet, hogy a fókuszt a lapmenüre állítja, majd lenyomja a megfelelő nyílbillentyűt\n' + + ' a rendelkezésre álló lapok közötti lépkedéshez.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/id.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/id.js new file mode 100644 index 0000000..d607dd1 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/id.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.id', +'

Memulai navigasi keyboard

\n' + + '\n' + + '
\n' + + '
Fokus pada bilah Menu
\n' + + '
Windows atau Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokus pada Bilah Alat
\n' + + '
Windows atau Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokus pada footer
\n' + + '
Windows atau Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokuskan pemberitahuan
\n' + + '
Windows atau Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokus pada bilah alat kontekstual
\n' + + '
Windows, Linux, atau macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigasi akan dimulai dari item pertama UI, yang akan disorot atau digarisbawahi di\n' + + ' alur elemen Footer.

\n' + + '\n' + + '

Berpindah antar-bagian UI

\n' + + '\n' + + '

Untuk berpindah dari satu bagian UI ke bagian berikutnya, tekan Tab.

\n' + + '\n' + + '

Untuk berpindah dari satu bagian UI ke bagian sebelumnya, tekan Shift+Tab.

\n' + + '\n' + + '

Urutan Tab bagian-bagian UI ini adalah:

\n' + + '\n' + + '
    \n' + + '
  1. Bilah menu
  2. \n' + + '
  3. Tiap grup bilah alat
  4. \n' + + '
  5. Bilah sisi
  6. \n' + + '
  7. Alur elemen di footer
  8. \n' + + '
  9. Tombol aktifkan/nonaktifkan jumlah kata di footer
  10. \n' + + '
  11. Tautan merek di footer
  12. \n' + + '
  13. Pengatur pengubahan ukuran editor di footer
  14. \n' + + '
\n' + + '\n' + + '

Jika suatu bagian UI tidak ada, bagian tersebut dilewati.

\n' + + '\n' + + '

Jika fokus navigasi keyboard ada pada footer, tetapi tidak ada bilah sisi yang terlihat, menekan Shift+Tab\n' + + ' akan memindahkan fokus ke grup bilah alat pertama, bukan yang terakhir.

\n' + + '\n' + + '

Berpindah di dalam bagian-bagian UI

\n' + + '\n' + + '

Untuk berpindah dari satu elemen UI ke elemen berikutnya, tekan tombol Panah yang sesuai.

\n' + + '\n' + + '

Tombol panah Kiri dan Kanan untuk

\n' + + '\n' + + '
    \n' + + '
  • berpindah-pindah antar-menu di dalam bilah menu.
  • \n' + + '
  • membuka sub-menu di dalam menu.
  • \n' + + '
  • berpindah-pindah antar-tombol di dalam grup bilah alat.
  • \n' + + '
  • berpindah-pindah antar-item di dalam alur elemen footer.
  • \n' + + '
\n' + + '\n' + + '

Tombol panah Bawah dan Atas untuk

\n' + + '\n' + + '
    \n' + + '
  • berpindah-pindah antar-item menu di dalam menu.
  • \n' + + '
  • berpindah-pindah antar-item di dalam menu pop-up bilah alat.
  • \n' + + '
\n' + + '\n' + + '

Tombol Panah hanya bergerak di dalam bagian UI yang difokuskan.

\n' + + '\n' + + '

Untuk menutup menu, sub-menu, atau menu pop-up yang terbuka, tekan tombol Esc.

\n' + + '\n' + + '

Jika fokus sedang berada di ‘atas’ bagian UI tertentu, menekan tombol Esc juga dapat mengeluarkan fokus\n' + + ' dari seluruh navigasi keyboard.

\n' + + '\n' + + '

Menjalankan item menu atau tombol bilah alat

\n' + + '\n' + + '

Jika item menu atau tombol bilah alat yang diinginkan tersorot, tekan Return, Enter,\n' + + ' atau Spasi untuk menjalankan item.

\n' + + '\n' + + '

Berpindah dalam dialog tanpa tab

\n' + + '\n' + + '

Dalam dialog tanpa tab, fokus diarahkan pada komponen interaktif pertama saat dialog terbuka.

\n' + + '\n' + + '

Berpindah di antara komponen dalam dialog interaktif dengan menekan Tab atau Shift+Tab.

\n' + + '\n' + + '

Berpindah dalam dialog dengan tab

\n' + + '\n' + + '

Dalam dialog yang memiliki tab, fokus diarahkan pada tombol pertama di dalam menu saat dialog terbuka.

\n' + + '\n' + + '

Berpindah di antara komponen-komponen interaktif pada tab dialog ini dengan menekan Tab atau\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Beralih ke tab dialog lain dengan mengarahkan fokus pada menu tab lalu tekan tombol Panah\n' + + ' yang sesuai untuk berpindah ke berbagai tab yang tersedia.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/it.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/it.js new file mode 100644 index 0000000..3a791c9 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/it.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.it', +'

Iniziare la navigazione tramite tastiera

\n' + + '\n' + + '
\n' + + '
Impostare lo stato attivo per la barra dei menu
\n' + + '
Windows o Linux: ALT+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Impostare lo stato attivo per la barra degli strumenti
\n' + + '
Windows o Linux: ALT+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Impostare lo stato attivo per il piè di pagina
\n' + + '
Windows o Linux: ALT+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Metti a fuoco la notifica
\n' + + '
Windows o Linux: ALT+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Impostare lo stato attivo per la barra degli strumenti contestuale
\n' + + '
Windows, Linux o macOS: CTRL+F9
\n' + + '
\n' + + '\n' + + "

La navigazione inizierà dalla prima voce dell'interfaccia utente, che sarà evidenziata o sottolineata nel caso della prima voce\n" + + " nel percorso dell'elemento del piè di pagina.

\n" + + '\n' + + "

Navigare tra le sezioni dell'interfaccia utente

\n" + + '\n' + + "

Per passare da una sezione dell'interfaccia utente alla successiva, premere TAB.

\n" + + '\n' + + "

Per passare da una sezione dell'interfaccia utente alla precedente, premere MAIUSC+TAB.

\n" + + '\n' + + "

L'ordine di tabulazione di queste sezioni dell'interfaccia utente è:

\n" + + '\n' + + '
    \n' + + '
  1. Barra dei menu
  2. \n' + + '
  3. Ogni gruppo di barre degli strumenti
  4. \n' + + '
  5. Barra laterale
  6. \n' + + "
  7. Percorso dell'elemento nel piè di pagina
  8. \n" + + '
  9. Pulsante di attivazione/disattivazione del conteggio delle parole nel piè di pagina
  10. \n' + + '
  11. Collegamento al marchio nel piè di pagina
  12. \n' + + "
  13. Quadratino di ridimensionamento dell'editor nel piè di pagina
  14. \n" + + '
\n' + + '\n' + + "

Se una sezione dell'interfaccia utente non è presente, viene saltata.

\n" + + '\n' + + '

Se il piè di pagina ha lo stato attivo per la navigazione tramite tastiera e non è presente alcuna barra laterale visibile, premendo MAIUSC+TAB\n' + + " si sposta lo stato attivo sul primo gruppo di barre degli strumenti, non sull'ultimo.

\n" + + '\n' + + "

Navigare all'interno delle sezioni dell'interfaccia utente

\n" + + '\n' + + "

Per passare da un elemento dell'interfaccia utente al successivo, premere il tasto freccia appropriato.

\n" + + '\n' + + '

I tasti freccia Sinistra e Destra

\n' + + '\n' + + '
    \n' + + '
  • consentono di spostarsi tra i menu della barra dei menu.
  • \n' + + '
  • aprono un sottomenu in un menu.
  • \n' + + '
  • consentono di spostarsi tra i pulsanti di un gruppo di barre degli strumenti.
  • \n' + + "
  • consentono di spostarsi tra le voci nel percorso dell'elemento del piè di pagina.
  • \n" + + '
\n' + + '\n' + + '

I tasti freccia Giù e Su

\n' + + '\n' + + '
    \n' + + '
  • consentono di spostarsi tra le voci di un menu.
  • \n' + + '
  • consentono di spostarsi tra le voci di un menu a comparsa della barra degli strumenti.
  • \n' + + '
\n' + + '\n' + + "

I tasti freccia consentono di spostarsi all'interno della sezione dell'interfaccia utente con stato attivo.

\n" + + '\n' + + '

Per chiudere un menu aperto, un sottomenu aperto o un menu a comparsa aperto, premere il tasto ESC.

\n' + + '\n' + + "

Se lo stato attivo corrente si trova nella parte superiore di una particolare sezione dell'interfaccia utente, premendo il tasto ESC si esce\n" + + ' completamente dalla navigazione tramite tastiera.

\n' + + '\n' + + '

Eseguire una voce di menu o un pulsante della barra degli strumenti

\n' + + '\n' + + '

Quando la voce di menu o il pulsante della barra degli strumenti desiderati sono evidenziati, premere il tasto diritorno a capo, il tasto Invio\n' + + ' o la barra spaziatrice per eseguirli.

\n' + + '\n' + + '

Navigare nelle finestre di dialogo non a schede

\n' + + '\n' + + "

Nelle finestre di dialogo non a schede, all'apertura della finestra di dialogo diventa attivo il primo componente interattivo.

\n" + + '\n' + + '

Per spostarsi tra i componenti interattivi della finestra di dialogo, premere TAB o MAIUSC+TAB.

\n' + + '\n' + + '

Navigare nelle finestre di dialogo a schede

\n' + + '\n' + + "

Nelle finestre di dialogo a schede, all'apertura della finestra di dialogo diventa attivo il primo pulsante del menu della scheda.

\n" + + '\n' + + '

Per spostarsi tra i componenti interattivi di questa scheda della finestra di dialogo, premere TAB o\n' + + ' MAIUSC+TAB.

\n' + + '\n' + + "

Per passare a un'altra scheda della finestra di dialogo, attivare il menu della scheda e premere il tasto freccia\n" + + ' appropriato per scorrere le schede disponibili.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ja.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ja.js new file mode 100644 index 0000000..26872db --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ja.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ja', +'

キーボード ナビゲーションの開始

\n' + + '\n' + + '
\n' + + '
メニュー バーをフォーカス
\n' + + '
Windows または Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
ツール バーをフォーカス
\n' + + '
Windows または Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
フッターをフォーカス
\n' + + '
Windows または Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
通知にフォーカス
\n' + + '
Windows または Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
コンテキスト ツール バーをフォーカス
\n' + + '
Windows、Linux または macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

ナビゲーションは最初の UI 項目から開始され、強調表示されるか、フッターの要素パスにある最初の項目の場合は\n' + + ' 下線が引かれます。

\n' + + '\n' + + '

UI セクション間の移動

\n' + + '\n' + + '

次の UI セクションに移動するには、Tab を押します。

\n' + + '\n' + + '

前の UI セクションに移動するには、Shift+Tab を押します。

\n' + + '\n' + + '

これらの UI セクションの Tab の順序:

\n' + + '\n' + + '
    \n' + + '
  1. メニュー バー
  2. \n' + + '
  3. 各ツール バー グループ
  4. \n' + + '
  5. サイド バー
  6. \n' + + '
  7. フッターの要素パス
  8. \n' + + '
  9. フッターの単語数切り替えボタン
  10. \n' + + '
  11. フッターのブランド リンク
  12. \n' + + '
  13. フッターのエディター サイズ変更ハンドル
  14. \n' + + '
\n' + + '\n' + + '

UI セクションが存在しない場合は、スキップされます。

\n' + + '\n' + + '

フッターにキーボード ナビゲーション フォーカスがあり、表示可能なサイド バーがない場合、Shift+Tab を押すと、\n' + + ' フォーカスが最後ではなく最初のツール バー グループに移動します。

\n' + + '\n' + + '

UI セクション内の移動

\n' + + '\n' + + '

次の UI 要素に移動するには、適切な矢印キーを押します。

\n' + + '\n' + + '

左矢印右矢印のキー

\n' + + '\n' + + '
    \n' + + '
  • メニュー バーのメニュー間で移動します。
  • \n' + + '
  • メニュー内のサブメニューを開きます。
  • \n' + + '
  • ツール バー グループのボタン間で移動します。
  • \n' + + '
  • フッターの要素パスの項目間で移動します。
  • \n' + + '
\n' + + '\n' + + '

下矢印上矢印のキー

\n' + + '\n' + + '
    \n' + + '
  • メニュー内のメニュー項目間で移動します。
  • \n' + + '
  • ツール バー ポップアップ メニュー内のメニュー項目間で移動します。
  • \n' + + '
\n' + + '\n' + + '

矢印キーで、フォーカスされた UI セクション内で循環します。

\n' + + '\n' + + '

開いたメニュー、開いたサブメニュー、開いたポップアップ メニューを閉じるには、Esc キーを押します。

\n' + + '\n' + + '

現在のフォーカスが特定の UI セクションの「一番上」にある場合、Esc キーを押すと\n' + + ' キーボード ナビゲーションも完全に閉じられます。

\n' + + '\n' + + '

メニュー項目またはツール バー ボタンの実行

\n' + + '\n' + + '

目的のメニュー項目やツール バー ボタンが強調表示されている場合、リターンEnter、\n' + + ' またはスペース キーを押して項目を実行します。

\n' + + '\n' + + '

タブのないダイアログの移動

\n' + + '\n' + + '

タブのないダイアログでは、ダイアログが開くと最初の対話型コンポーネントがフォーカスされます。

\n' + + '\n' + + '

Tab または Shift+Tab を押して、対話型ダイアログ コンポーネント間で移動します。

\n' + + '\n' + + '

タブ付きダイアログの移動

\n' + + '\n' + + '

タブ付きダイアログでは、ダイアログが開くとタブ メニューの最初のボタンがフォーカスされます。

\n' + + '\n' + + '

Tab または\n' + + ' Shift+Tab を押して、このダイアログ タブの対話型コンポーネント間で移動します。

\n' + + '\n' + + '

タブ メニューをフォーカスしてから適切な矢印キーを押して表示可能なタブを循環して、\n' + + ' 別のダイアログに切り替えます。

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/kk.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/kk.js new file mode 100644 index 0000000..e31532f --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/kk.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.kk', +'

Пернетақта навигациясын бастау

\n' + + '\n' + + '
\n' + + '
Мәзір жолағын фокустау
\n' + + '
Windows немесе Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Құралдар тақтасын фокустау
\n' + + '
Windows немесе Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Төменгі деректемені фокустау
\n' + + '
Windows немесе Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Хабарландыруды белгілеу
\n' + + '
Windows немесе Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Мәтінмәндік құралдар тақтасын фокустау
\n' + + '
Windows, Linux немесе macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Навигация бөлектелетін немесе Төменгі деректеме элементінің жолындағы бірінші элемент жағдайында асты сызылатын\n' + + ' бірінші ПИ элементінен басталады.

\n' + + '\n' + + '

ПИ бөлімдері арасында навигациялау

\n' + + '\n' + + '

Бір ПИ бөлімінен келесісіне өту үшін Tab пернесін басыңыз.

\n' + + '\n' + + '

Бір ПИ бөлімінен алдыңғысына өту үшін Shift+Tab пернесін басыңыз.

\n' + + '\n' + + '

Осы ПИ бөлімдерінің Tab реті:

\n' + + '\n' + + '
    \n' + + '
  1. Мәзір жолағы
  2. \n' + + '
  3. Әрбір құралдар тақтасы тобы
  4. \n' + + '
  5. Бүйірлік жолақ
  6. \n' + + '
  7. Төменгі деректемедегі элемент жолы
  8. \n' + + '
  9. Төменгі деректемедегі сөздер санын ауыстыру түймесі
  10. \n' + + '
  11. Төменгі деректемедегі брендингтік сілтеме
  12. \n' + + '
  13. Төменгі деректемедегі редактор өлшемін өзгерту тұтқасы
  14. \n' + + '
\n' + + '\n' + + '

ПИ бөлімі көрсетілмесе, ол өткізіп жіберіледі.

\n' + + '\n' + + '

Төменгі деректемеде пернетақта навигациясының фокусы болса және бүйірлік жолақ көрінбесе, Shift+Tab тіркесімін басу әрекеті\n' + + ' фокусты соңғысы емес, бірінші құралдар тақтасы тобына жылжытады.

\n' + + '\n' + + '

ПИ бөлімдерінде навигациялау

\n' + + '\n' + + '

Бір ПИ элементінен келесісіне өту үшін Arrow (Көрсеткі) пернесін басыңыз.

\n' + + '\n' + + '

Left (Сол жақ) және Right (Оң жақ) көрсеткі пернелері

\n' + + '\n' + + '
    \n' + + '
  • мәзір жолағындағы мәзірлер арасында жылжыту.
  • \n' + + '
  • мәзірде ішкі мәзірді ашу.
  • \n' + + '
  • құралдар тақтасы тобындағы түймелер арасында жылжыту.
  • \n' + + '
  • төменгі деректеме элементінің жолындағы элементтер арасында жылжыту.
  • \n' + + '
\n' + + '\n' + + '

Down (Төмен) және Up (Жоғары) көрсеткі пернелері

\n' + + '\n' + + '
    \n' + + '
  • мәзірдегі мәзір элементтері арасында жылжыту.
  • \n' + + '
  • құралдар тақтасының ашылмалы мәзіріндегі мәзір элементтері арасында жылжыту.
  • \n' + + '
\n' + + '\n' + + '

Фокусталған ПИ бөліміндегі Arrow (Көрсеткі) пернелерінің циклі.

\n' + + '\n' + + '

Ашық мәзірді жабу үшін ішкі мәзірді ашып немесе ашылмалы мәзірді ашып, Esc пернесін басыңыз.

\n' + + '\n' + + '

Ағымдағы фокус белгілі бір ПИ бөлімінің «үстінде» болса, Esc пернесін басу әрекеті пернетақта\n' + + ' навигациясын толығымен жабады.

\n' + + '\n' + + '

Мәзір элементін немесе құралдар тақтасы түймесін орындау

\n' + + '\n' + + '

Қажетті мәзір элементі немесе құралдар тақтасы түймесі бөлектелген кезде, элементті орындау үшін Return (Қайтару), Enter (Енгізу)\n' + + ' немесе Space bar (Бос орын) пернесін басыңыз.

\n' + + '\n' + + '

Белгіленбеген диалог терезелерін навигациялау

\n' + + '\n' + + '

Белгіленбеген диалог терезелерінде диалог терезесі ашылған кезде бірінші интерактивті құрамдас фокусталады.

\n' + + '\n' + + '

Tab немесе Shift+Tab пернесін басу арқылы интерактивті диалог терезесінің құрамдастары арасында навигациялаңыз.

\n' + + '\n' + + '

Белгіленген диалог терезелерін навигациялау

\n' + + '\n' + + '

Белгіленген диалог терезелерінде диалог терезесі ашылған кезде қойынды мәзіріндегі бірінші түйме фокусталады.

\n' + + '\n' + + '

Tab немесе\n' + + ' Shift+Tab пернесін басу арқылы осы диалог терезесі қойындысының интерактивті құрамдастары арасында навигациялаңыз.

\n' + + '\n' + + '

Қойынды мәзірінің фокусын беру арқылы басқа диалог терезесінің қойындысына ауысып, тиісті Arrow (Көрсеткі)\n' + + ' пернесін басу арқылы қолжетімді қойындылар арасында айналдыруға болады.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ko_KR.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ko_KR.js new file mode 100644 index 0000000..e7c8e7f --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ko_KR.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ko_KR', +'

키보드 탐색 시작

\n' + + '\n' + + '
\n' + + '
메뉴 모음 포커스 표시
\n' + + '
Windows 또는 Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
도구 모음 포커스 표시
\n' + + '
Windows 또는 Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
푸터 포커스 표시
\n' + + '
Windows 또는 Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
알림 포커스
\n' + + '
Windows 또는 Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
컨텍스트 도구 모음에 포커스 표시
\n' + + '
Windows, Linux 또는 macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

첫 번째 UI 항목에서 탐색이 시작되며, 이때 첫 번째 항목이 강조 표시되거나 푸터 요소 경로에 있는\n' + + ' 경우 밑줄 표시됩니다.

\n' + + '\n' + + '

UI 섹션 간 탐색

\n' + + '\n' + + '

한 UI 섹션에서 다음 UI 섹션으로 이동하려면 Tab(탭)을 누릅니다.

\n' + + '\n' + + '

한 UI 섹션에서 이전 UI 섹션으로 돌아가려면 Shift+Tab(시프트+탭)을 누릅니다.

\n' + + '\n' + + '

이 UI 섹션의 Tab(탭) 순서는 다음과 같습니다.

\n' + + '\n' + + '
    \n' + + '
  1. 메뉴 바
  2. \n' + + '
  3. 각 도구 모음 그룹
  4. \n' + + '
  5. 사이드바
  6. \n' + + '
  7. 푸터의 요소 경로
  8. \n' + + '
  9. 푸터의 단어 수 토글 버튼
  10. \n' + + '
  11. 푸터의 브랜딩 링크
  12. \n' + + '
  13. 푸터의 에디터 크기 변경 핸들
  14. \n' + + '
\n' + + '\n' + + '

UI 섹션이 없는 경우 건너뛰기합니다.

\n' + + '\n' + + '

푸터에 키보드 탐색 포커스가 있고 사이드바는 보이지 않는 경우 Shift+Tab(시프트+탭)을 누르면\n' + + ' 포커스 표시가 마지막이 아닌 첫 번째 도구 모음 그룹으로 이동합니다.

\n' + + '\n' + + '

UI 섹션 내 탐색

\n' + + '\n' + + '

한 UI 요소에서 다음 UI 요소로 이동하려면 적절한 화살표 키를 누릅니다.

\n' + + '\n' + + '

왼쪽오른쪽 화살표 키의 용도:

\n' + + '\n' + + '
    \n' + + '
  • 메뉴 모음에서 메뉴 항목 사이를 이동합니다.
  • \n' + + '
  • 메뉴에서 하위 메뉴를 엽니다.
  • \n' + + '
  • 도구 모음 그룹에서 버튼 사이를 이동합니다.
  • \n' + + '
  • 푸터의 요소 경로에서 항목 간에 이동합니다.
  • \n' + + '
\n' + + '\n' + + '

아래 화살표 키의 용도:

\n' + + '\n' + + '
    \n' + + '
  • 메뉴에서 메뉴 항목 사이를 이동합니다.
  • \n' + + '
  • 도구 모음 팝업 메뉴에서 메뉴 항목 사이를 이동합니다.
  • \n' + + '
\n' + + '\n' + + '

화살표 키는 포커스 표시 UI 섹션 내에서 순환됩니다.

\n' + + '\n' + + '

열려 있는 메뉴, 열려 있는 하위 메뉴 또는 열려 있는 팝업 메뉴를 닫으려면 Esc 키를 누릅니다.

\n' + + '\n' + + "

현재 포커스 표시가 특정 UI 섹션 '상단'에 있는 경우 이때도 Esc 키를 누르면\n" + + ' 키보드 탐색이 완전히 종료됩니다.

\n' + + '\n' + + '

메뉴 항목 또는 도구 모음 버튼 실행

\n' + + '\n' + + '

원하는 메뉴 항목 또는 도구 모음 버튼이 강조 표시되어 있을 때 Return(리턴), Enter(엔터),\n' + + ' 또는 Space bar(스페이스바)를 눌러 해당 항목을 실행합니다.

\n' + + '\n' + + '

탭이 없는 대화 탐색

\n' + + '\n' + + '

탭이 없는 대화의 경우, 첫 번째 대화형 요소가 포커스 표시된 상태로 대화가 열립니다.

\n' + + '\n' + + '

대화형 요소들 사이를 이동할 때는 Tab(탭) 또는 Shift+Tab(시프트+탭)을 누릅니다.

\n' + + '\n' + + '

탭이 있는 대화 탐색

\n' + + '\n' + + '

탭이 있는 대화의 경우, 탭 메뉴에서 첫 번째 버튼이 포커스 표시된 상태로 대화가 열립니다.

\n' + + '\n' + + '

이 대화 탭의 대화형 요소들 사이를 이동할 때는 Tab(탭) 또는\n' + + ' Shift+Tab(시프트+탭)을 누릅니다.

\n' + + '\n' + + '

다른 대화 탭으로 이동하려면 탭 메뉴를 포커스 표시한 다음 적절한 화살표\n' + + ' 키를 눌러 사용 가능한 탭들을 지나 원하는 탭으로 이동합니다.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ms.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ms.js new file mode 100644 index 0000000..2c047bb --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ms.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ms', +'

Mulakan navigasi papan kekunci

\n' + + '\n' + + '
\n' + + '
Fokus bar Menu
\n' + + '
Windows atau Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokus Bar Alat
\n' + + '
Windows atau Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokus pengaki
\n' + + '
Windows atau Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Tumpu kepada pemberitahuan
\n' + + '
Windows atau Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokus bar alat kontekstual
\n' + + '
Windows, Linux atau macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigasi akan bermula pada item UI pertama, yang akan diserlahkan atau digaris bawah dalam saiz item pertama dalam\n' + + ' laluan elemen Pengaki.

\n' + + '\n' + + '

Navigasi antara bahagian UI

\n' + + '\n' + + '

Untuk bergerak dari satu bahagian UI ke yang seterusnya, tekan Tab.

\n' + + '\n' + + '

Untuk bergerak dari satu bahagian UI ke yang sebelumnya, tekan Shift+Tab.

\n' + + '\n' + + '

Tertib Tab bahagian UI ini ialah:

\n' + + '\n' + + '
    \n' + + '
  1. Bar menu
  2. \n' + + '
  3. Setiap kumpulan bar alat
  4. \n' + + '
  5. Bar sisi
  6. \n' + + '
  7. Laluan elemen dalam pengaki
  8. \n' + + '
  9. Butang togol kiraan perkataan dalam pengaki
  10. \n' + + '
  11. Pautan penjenamaan dalam pengaki
  12. \n' + + '
  13. Pemegang saiz semula editor dalam pengaki
  14. \n' + + '
\n' + + '\n' + + '

Jika bahagian UI tidak wujud, ia dilangkau.

\n' + + '\n' + + '

Jika pengaki mempunyai fokus navigasi papan kekunci dan tiada bar sisi kelihatan, menekan Shift+Tab\n' + + ' akan mengalihkan fokus ke kumpulan bar alat pertama, bukannya yang terakhir.

\n' + + '\n' + + '

Navigasi dalam bahagian UI

\n' + + '\n' + + '

Untuk bergerak dari satu elemen UI ke yang seterusnya, tekan kekunci Anak Panah yang bersesuaian.

\n' + + '\n' + + '

Kekunci anak panah Kiri dan Kanan

\n' + + '\n' + + '
    \n' + + '
  • bergerak antara menu dalam bar menu.
  • \n' + + '
  • membukan submenu dalam menu.
  • \n' + + '
  • bergerak antara butang dalam kumpulan bar alat.
  • \n' + + '
  • Laluan elemen dalam pengaki.
  • \n' + + '
\n' + + '\n' + + '

Kekunci anak panah Bawah dan Atas

\n' + + '\n' + + '
    \n' + + '
  • bergerak antara item menu dalam menu.
  • \n' + + '
  • bergerak antara item dalam menu timbul bar alat.
  • \n' + + '
\n' + + '\n' + + '

Kekunci Anak Panah berkitar dalam bahagian UI difokuskan.

\n' + + '\n' + + '

Untuk menutup menu buka, submenu terbuka atau menu timbul terbuka, tekan kekunci Esc.

\n' + + '\n' + + "

Jika fokus semasa berada di bahagian 'atas' bahagian UI tertentu, menekan kekunci Esc juga akan keluar daripada\n" + + ' navigasi papan kekunci sepenuhnya.

\n' + + '\n' + + '

Laksanakan item menu atau butang bar alat

\n' + + '\n' + + '

Apabila item menu atau butang bar alat yang diinginkan diserlahkan, tekan Return, Enter,\n' + + ' atau bar Space untuk melaksanakan item.

\n' + + '\n' + + '

Navigasi ke dialog tidak bertab

\n' + + '\n' + + '

Dalam dialog tidak bertab, komponen interaksi pertama difokuskan apabila dialog dibuka.

\n' + + '\n' + + '

Navigasi antara komponen dialog interaktif dengan menekan Tab atau Shift+Tab.

\n' + + '\n' + + '

Navigasi ke dialog bertab

\n' + + '\n' + + '

Dalam dialog bertab, butang pertama dalam menu tab difokuskan apabila dialog dibuka.

\n' + + '\n' + + '

Navigasi antara komponen interaktif tab dialog ini dengan menekan Tab atau\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Tukar kepada tab dialog lain dengan memfokuskan menu tab, kemudian menekan kekunci Anak Panah yang bersesuaian\n' + + ' untuk berkitar menerusi tab yang tersedia.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nb_NO.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nb_NO.js new file mode 100644 index 0000000..071e3f5 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nb_NO.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.nb_NO', +'

Starte tastaturnavigering

\n' + + '\n' + + '
\n' + + '
Utheve menylinjen
\n' + + '
Windows eller Linux: Alt + F9
\n' + + '
macOS: ⌥F9
\n' + + '
Utheve verktøylinjen
\n' + + '
Windows eller Linux: Alt + F10
\n' + + '
macOS: ⌥F10
\n' + + '
Utheve bunnteksten
\n' + + '
Windows eller Linux: Alt + F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokuser på varselet
\n' + + '
Windows eller Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Utheve en kontekstuell verktøylinje
\n' + + '
Windows, Linux eller macOS: Ctrl + F9
\n' + + '
\n' + + '\n' + + '

Navigeringen starter ved det første grensesnittelementet, som utheves, eller understrekes når det gjelder det første elementet i\n' + + ' elementstien i bunnteksten.

\n' + + '\n' + + '

Navigere mellom grensesnittdeler

\n' + + '\n' + + '

Du kan bevege deg fra én grensesnittdel til den neste ved å trykke på tabulatortasten.

\n' + + '\n' + + '

Du kan bevege deg fra én grensesnittdel til den forrige ved å trykke på Shift + tabulatortasten.

\n' + + '\n' + + '

Rekkefølgen til tabulatortasten gjennom grensesnittdelene er:

\n' + + '\n' + + '
    \n' + + '
  1. Menylinjen
  2. \n' + + '
  3. Hver gruppe på verktøylinjen
  4. \n' + + '
  5. Sidestolpen
  6. \n' + + '
  7. Elementstien i bunnteksten
  8. \n' + + '
  9. Veksleknappen for ordantall i bunnteksten
  10. \n' + + '
  11. Merkelenken i bunnteksten
  12. \n' + + '
  13. Skaleringshåndtaket for redigeringsprogrammet i bunnteksten
  14. \n' + + '
\n' + + '\n' + + '

Hvis en grensesnittdel ikke er til stede, blir den hoppet over.

\n' + + '\n' + + '

Hvis tastaturnavigeringen har uthevet bunnteksten og det ikke finnes en synlig sidestolpe, kan du trykke på Shift + tabulatortasten\n' + + ' for å flytte fokuset til den første gruppen på verktøylinjen i stedet for den siste.

\n' + + '\n' + + '

Navigere innenfor grensesnittdeler

\n' + + '\n' + + '

Du kan bevege deg fra ett grensesnittelement til det neste ved å trykke på den aktuelle piltasten.

\n' + + '\n' + + '

De venstre og høyre piltastene

\n' + + '\n' + + '
    \n' + + '
  • beveger deg mellom menyer på menylinjen.
  • \n' + + '
  • åpner en undermeny i en meny.
  • \n' + + '
  • beveger deg mellom knapper i en gruppe på verktøylinjen.
  • \n' + + '
  • beveger deg mellom elementer i elementstien i bunnteksten.
  • \n' + + '
\n' + + '\n' + + '

Ned- og opp-piltastene

\n' + + '\n' + + '
    \n' + + '
  • beveger deg mellom menyelementer i en meny.
  • \n' + + '
  • beveger deg mellom elementer i en hurtigmeny på verktøylinjen.
  • \n' + + '
\n' + + '\n' + + '

Med piltastene kan du bevege deg innenfor den uthevede grensesnittdelen.

\n' + + '\n' + + '

Du kan lukke en åpen meny, en åpen undermeny eller en åpen hurtigmeny ved å klikke på Esc-tasten.

\n' + + '\n' + + '

Hvis det øverste nivået i en grensesnittdel er uthevet, kan du ved å trykke på Esc også avslutte\n' + + ' tastaturnavigeringen helt.

\n' + + '\n' + + '

Utføre et menyelement eller en knapp på en verktøylinje

\n' + + '\n' + + '

Når det ønskede menyelementet eller verktøylinjeknappen er uthevet, trykker du på Retur, Enter,\n' + + ' eller mellomromstasten for å utføre elementet.

\n' + + '\n' + + '

Navigere i dialogbokser uten faner

\n' + + '\n' + + '

I dialogbokser uten faner blir den første interaktive komponenten uthevet når dialogboksen åpnes.

\n' + + '\n' + + '

Naviger mellom interaktive komponenter i dialogboksen ved å trykke på tabulatortasten eller Shift + tabulatortasten.

\n' + + '\n' + + '

Navigere i fanebaserte dialogbokser

\n' + + '\n' + + '

I fanebaserte dialogbokser blir den første knappen i fanemenyen uthevet når dialogboksen åpnes.

\n' + + '\n' + + '

Naviger mellom interaktive komponenter i fanen ved å trykke på tabulatortasten eller\n' + + ' Shift + tabulatortasten.

\n' + + '\n' + + '

Veksle til en annen fane i dialogboksen ved å utheve fanemenyen, og trykk deretter på den aktuelle piltasten\n' + + ' for å bevege deg mellom de tilgjengelige fanene.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nl.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nl.js new file mode 100644 index 0000000..05c07ae --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/nl.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.nl', +'

Toetsenbordnavigatie starten

\n' + + '\n' + + '
\n' + + '
Focus op de menubalk instellen
\n' + + '
Windows of Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Focus op de werkbalk instellen
\n' + + '
Windows of Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Focus op de voettekst instellen
\n' + + '
Windows of Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Focus op de melding instellen
\n' + + '
Windows of Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Focus op een contextuele werkbalk instellen
\n' + + '
Windows, Linux of macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

De navigatie start bij het eerste UI-item, dat wordt gemarkeerd of onderstreept als het eerste item zich in\n' + + ' in het elementenpad van de voettekst bevindt.

\n' + + '\n' + + '

Navigeren tussen UI-secties

\n' + + '\n' + + '

Druk op Tab om naar de volgende UI-sectie te gaan.

\n' + + '\n' + + '

Druk op Shift+Tab om naar de vorige UI-sectie te gaan.

\n' + + '\n' + + '

De Tab-volgorde van deze UI-secties is:

\n' + + '\n' + + '
    \n' + + '
  1. Menubalk
  2. \n' + + '
  3. Elke werkbalkgroep
  4. \n' + + '
  5. Zijbalk
  6. \n' + + '
  7. Elementenpad in de voettekst
  8. \n' + + '
  9. Wisselknop voor aantal woorden in de voettekst
  10. \n' + + '
  11. Merkkoppeling in de voettekst
  12. \n' + + '
  13. Greep voor het wijzigen van het formaat van de editor in de voettekst
  14. \n' + + '
\n' + + '\n' + + '

Als een UI-sectie niet aanwezig is, wordt deze overgeslagen.

\n' + + '\n' + + '

Als de focus van de toetsenbordnavigatie is ingesteld op de voettekst en er geen zichtbare zijbalk is, kun je op Shift+Tab drukken\n' + + ' om de focus naar de eerste werkbalkgroep in plaats van de laatste te verplaatsen.

\n' + + '\n' + + '

Navigeren binnen UI-secties

\n' + + '\n' + + '

Druk op de pijltjestoets om naar het betreffende UI-element te gaan.

\n' + + '\n' + + '

Met de pijltjestoetsen Links en Rechts

\n' + + '\n' + + '
    \n' + + "
  • wissel je tussen menu's in de menubalk.
  • \n" + + '
  • open je een submenu in een menu.
  • \n' + + '
  • wissel je tussen knoppen in een werkbalkgroep.
  • \n' + + '
  • wissel je tussen items in het elementenpad in de voettekst.
  • \n' + + '
\n' + + '\n' + + '

Met de pijltjestoetsen Omlaag en Omhoog

\n' + + '\n' + + '
    \n' + + '
  • wissel je tussen menu-items in een menu.
  • \n' + + '
  • wissel je tussen items in een werkbalkpop-upmenu.
  • \n' + + '
\n' + + '\n' + + '

Met de pijltjestoetsen wissel je binnen de UI-sectie waarop de focus is ingesteld.

\n' + + '\n' + + '

Druk op de toets Esc om een geopend menu, submenu of pop-upmenu te sluiten.

\n' + + '\n' + + "

Als de huidige focus is ingesteld 'bovenaan' een bepaalde UI-sectie, kun je op de toets Esc drukken\n" + + ' om de toetsenbordnavigatie af te sluiten.

\n' + + '\n' + + '

Een menu-item of werkbalkknop uitvoeren

\n' + + '\n' + + '

Als het gewenste menu-item of de gewenste werkbalkknop is gemarkeerd, kun je op Return, Enter\n' + + ' of de spatiebalk drukken om het item uit te voeren.

\n' + + '\n' + + '

Navigeren in dialoogvensters zonder tabblad

\n' + + '\n' + + '

Als een dialoogvenster zonder tabblad wordt geopend, wordt de focus ingesteld op het eerste interactieve onderdeel.

\n' + + '\n' + + '

Je kunt navigeren tussen interactieve onderdelen van een dialoogvenster door op Tab of Shift+Tab te drukken.

\n' + + '\n' + + '

Navigeren in dialoogvensters met tabblad

\n' + + '\n' + + '

Als een dialoogvenster met tabblad wordt geopend, wordt de focus ingesteld op de eerste knop in het tabbladmenu.

\n' + + '\n' + + '

Je kunt navigeren tussen interactieve onderdelen van dit tabblad van het dialoogvenster door op Tab of\n' + + ' Shift+Tab te drukken.

\n' + + '\n' + + '

Je kunt overschakelen naar een ander tabblad van het dialoogvenster door de focus in te stellen op het tabbladmenu en vervolgens op de juiste pijltjestoets\n' + + ' te drukken om tussen de beschikbare tabbladen te wisselen.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pl.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pl.js new file mode 100644 index 0000000..e89f808 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pl.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.pl', +'

Początek nawigacji przy użyciu klawiatury

\n' + + '\n' + + '
\n' + + '
Ustaw fokus na pasek menu
\n' + + '
Windows lub Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Ustaw fokus na pasek narzędzi
\n' + + '
Windows lub Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Ustaw fokus na sekcję Footer
\n' + + '
Windows lub Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Skup się na powiadomieniu
\n' + + '
Windows lub Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Ustaw fokus na kontekstowy pasek narzędzi
\n' + + '
Windows, Linux lub macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Nawigacja zostanie rozpoczęta od pierwszego elementu interfejsu użytkownika, który jest podświetlony lub — w przypadku pierwszego elementu\n' + + ' w ścieżce elementów w sekcji Footer — podkreślony.

\n' + + '\n' + + '

Nawigacja pomiędzy sekcjami interfejsu użytkownika

\n' + + '\n' + + '

Aby przenieść się z danej sekcji interfejsu użytkownika do następnej, naciśnij Tab.

\n' + + '\n' + + '

Aby przenieść się z danej sekcji interfejsu użytkownika do poprzedniej, naciśnij Shift+Tab.

\n' + + '\n' + + '

Kolejność klawisza Tab w takich sekcjach interfejsu użytkownika jest następująca:

\n' + + '\n' + + '
    \n' + + '
  1. Pasek menu
  2. \n' + + '
  3. Każda grupa na pasku narzędzi
  4. \n' + + '
  5. Pasek boczny
  6. \n' + + '
  7. Ścieżka elementów w sekcji Footer
  8. \n' + + '
  9. Przycisk przełączania liczby słów w sekcji Footer
  10. \n' + + '
  11. Łącze brandujące w sekcji Footer
  12. \n' + + '
  13. Uchwyt zmiany rozmiaru edytora w sekcji Footer
  14. \n' + + '
\n' + + '\n' + + '

Jeżeli nie ma sekcji interfejsu użytkownika, jest to pomijane.

\n' + + '\n' + + '

Jeżeli na sekcji Footer jest ustawiony fokus nawigacji przy użyciu klawiatury i nie ma widocznego paska bocznego, naciśnięcie Shift+Tab\n' + + ' przenosi fokus na pierwszą grupę paska narzędzi, a nie na ostatnią.

\n' + + '\n' + + '

Nawigacja wewnątrz sekcji interfejsu użytkownika

\n' + + '\n' + + '

Aby przenieść się z danego elementu interfejsu użytkownika do następnego, naciśnij odpowiedni klawisz strzałki.

\n' + + '\n' + + '

Klawisze strzałek w prawo i w lewo służą do

\n' + + '\n' + + '
    \n' + + '
  • przenoszenia się pomiędzy menu na pasku menu,
  • \n' + + '
  • otwarcia podmenu w menu,
  • \n' + + '
  • przenoszenia się pomiędzy przyciskami w grupie paska narzędzi,
  • \n' + + '
  • przenoszenia się pomiędzy elementami w ścieżce elementów w sekcji Footer.
  • \n' + + '
\n' + + '\n' + + '

Klawisze strzałek w dół i w górę służą do

\n' + + '\n' + + '
    \n' + + '
  • przenoszenia się pomiędzy elementami menu w menu,
  • \n' + + '
  • przenoszenia się pomiędzy elementami w wyskakującym menu paska narzędzi.
  • \n' + + '
\n' + + '\n' + + '

Klawisze strzałek służą do przemieszczania się w sekcji interfejsu użytkownika z ustawionym fokusem.

\n' + + '\n' + + '

Aby zamknąć otwarte menu, otwarte podmenu lub otwarte menu wyskakujące, naciśnij klawisz Esc.

\n' + + '\n' + + '

Jeżeli fokus jest ustawiony na górze konkretnej sekcji interfejsu użytkownika, naciśnięcie klawisza Esc powoduje wyjście\n' + + ' z nawigacji przy użyciu klawiatury.

\n' + + '\n' + + '

Wykonanie elementu menu lub przycisku paska narzędzi

\n' + + '\n' + + '

Gdy podświetlony jest żądany element menu lub przycisk paska narzędzi, naciśnij klawisz Return, Enter\n' + + ' lub Spacja, aby go wykonać.

\n' + + '\n' + + '

Nawigacja po oknie dialogowym bez kart

\n' + + '\n' + + '

Gdy otwiera się okno dialogowe bez kart, fokus ustawiany jest na pierwszą interaktywną część okna.

\n' + + '\n' + + '

Pomiędzy interaktywnymi częściami okna dialogowego nawiguj, naciskając klawisze Tab lub Shift+Tab.

\n' + + '\n' + + '

Nawigacja po oknie dialogowym z kartami

\n' + + '\n' + + '

W przypadku okna dialogowego z kartami po otwarciu okna dialogowego fokus ustawiany jest na pierwszy przycisk w menu karty.

\n' + + '\n' + + '

Nawigację pomiędzy interaktywnymi częściami karty okna dialogowego prowadzi się poprzez naciskanie klawiszy Tab lub\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Przełączenie się na inną kartę okna dialogowego wykonuje się poprzez ustawienie fokusu na menu karty i naciśnięcie odpowiedniego klawisza strzałki\n' + + ' w celu przemieszczenia się pomiędzy dostępnymi kartami.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_BR.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_BR.js new file mode 100644 index 0000000..2938fcf --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_BR.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.pt_BR', +'

Iniciar navegação pelo teclado

\n' + + '\n' + + '
\n' + + '
Foco na barra de menus
\n' + + '
Windows ou Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Foco na barra de ferramentas
\n' + + '
Windows ou Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Foco no rodapé
\n' + + '
Windows ou Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Foco na notificação
\n' + + '
Windows ou Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Foco na barra de ferramentas contextual
\n' + + '
Windows, Linux ou macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

A navegação inicia no primeiro item da IU, que será destacado ou sublinhado no caso do primeiro item no\n' + + ' caminho do elemento Rodapé.

\n' + + '\n' + + '

Navegar entre seções da IU

\n' + + '\n' + + '

Para ir de uma seção da IU para a seguinte, pressione Tab.

\n' + + '\n' + + '

Para ir de uma seção da IU para a anterior, pressione Shift+Tab.

\n' + + '\n' + + '

A ordem de Tab destas seções da IU é:

\n' + + '\n' + + '
    \n' + + '
  1. Barra de menus
  2. \n' + + '
  3. Cada grupo da barra de ferramentas
  4. \n' + + '
  5. Barra lateral
  6. \n' + + '
  7. Caminho do elemento no rodapé
  8. \n' + + '
  9. Botão de alternar contagem de palavras no rodapé
  10. \n' + + '
  11. Link da marca no rodapé
  12. \n' + + '
  13. Alça de redimensionamento do editor no rodapé
  14. \n' + + '
\n' + + '\n' + + '

Se não houver uma seção da IU, ela será pulada.

\n' + + '\n' + + '

Se o rodapé tiver o foco da navegação pelo teclado e não houver uma barra lateral visível, pressionar Shift+Tab\n' + + ' move o foco para o primeiro grupo da barra de ferramentas, não para o último.

\n' + + '\n' + + '

Navegar dentro das seções da IU

\n' + + '\n' + + '

Para ir de um elemento da IU para o seguinte, pressione a Seta correspondente.

\n' + + '\n' + + '

As teclas de seta Esquerda e Direita

\n' + + '\n' + + '
    \n' + + '
  • movem entre menus na barra de menus.
  • \n' + + '
  • abrem um submenu em um menu.
  • \n' + + '
  • movem entre botões em um grupo da barra de ferramentas.
  • \n' + + '
  • movem entre itens no caminho do elemento do rodapé.
  • \n' + + '
\n' + + '\n' + + '

As teclas de seta Abaixo e Acima

\n' + + '\n' + + '
    \n' + + '
  • movem entre itens de menu em um menu.
  • \n' + + '
  • movem entre itens em um menu suspenso da barra de ferramentas.
  • \n' + + '
\n' + + '\n' + + '

As teclas de Seta alternam dentre a seção da IU em foco.

\n' + + '\n' + + '

Para fechar um menu aberto, um submenu aberto ou um menu suspenso aberto, pressione Esc.

\n' + + '\n' + + '

Se o foco atual estiver no ‘alto’ de determinada seção da IU, pressionar Esc também sai\n' + + ' totalmente da navegação pelo teclado.

\n' + + '\n' + + '

Executar um item de menu ou botão da barra de ferramentas

\n' + + '\n' + + '

Com o item de menu ou botão da barra de ferramentas desejado destacado, pressione Return, Enter,\n' + + ' ou a Barra de espaço para executar o item.

\n' + + '\n' + + '

Navegar por caixas de diálogo sem guias

\n' + + '\n' + + '

Em caixas de diálogo sem guias, o primeiro componente interativo recebe o foco quando a caixa de diálogo abre.

\n' + + '\n' + + '

Navegue entre componentes interativos de caixa de diálogo pressionando Tab ou Shift+Tab.

\n' + + '\n' + + '

Navegar por caixas de diálogo com guias

\n' + + '\n' + + '

Em caixas de diálogo com guias, o primeiro botão no menu da guia recebe o foco quando a caixa de diálogo abre.

\n' + + '\n' + + '

Navegue entre componentes interativos dessa guia da caixa de diálogo pressionando Tab ou\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Alterne para outra guia da caixa de diálogo colocando o foco no menu da guia e pressionando a Seta\n' + + ' adequada para percorrer as guias disponíveis.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_PT.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_PT.js new file mode 100644 index 0000000..03da3d6 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/pt_PT.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.pt_PT', +'

Iniciar navegação com teclado

\n' + + '\n' + + '
\n' + + '
Foco na barra de menu
\n' + + '
Windows ou Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Foco na barra de ferramentas
\n' + + '
Windows ou Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Foco no rodapé
\n' + + '
Windows ou Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Focar a notificação
\n' + + '
Windows ou Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Foco numa barra de ferramentas contextual
\n' + + '
Windows, Linux ou macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

A navegação começará no primeiro item de IU, que estará realçado ou sublinhado, no caso do primeiro item no\n' + + ' caminho do elemento do rodapé.

\n' + + '\n' + + '

Navegar entre secções de IU

\n' + + '\n' + + '

Para se mover de uma secção de IU para a seguinte, prima Tab.

\n' + + '\n' + + '

Para se mover de uma secção de IU para a anterior, prima Shift+Tab.

\n' + + '\n' + + '

A ordem de tabulação destas secções de IU é:

\n' + + '\n' + + '
    \n' + + '
  1. Barra de menu
  2. \n' + + '
  3. Cada grupo da barra de ferramentas
  4. \n' + + '
  5. Barra lateral
  6. \n' + + '
  7. Caminho do elemento no rodapé
  8. \n' + + '
  9. Botão de alternar da contagem de palavras no rodapé
  10. \n' + + '
  11. Ligação da marca no rodapé
  12. \n' + + '
  13. Alça de redimensionamento do editor no rodapé
  14. \n' + + '
\n' + + '\n' + + '

Se uma secção de IU não estiver presente, é ignorada.

\n' + + '\n' + + '

Se o rodapé tiver foco de navegação com teclado e não existir uma barra lateral visível, premir Shift+Tab\n' + + ' move o foco para o primeiro grupo da barra de ferramentas e não para o último.

\n' + + '\n' + + '

Navegar nas secções de IU

\n' + + '\n' + + '

Para se mover de um elemento de IU para o seguinte, prima a tecla de seta adequada.

\n' + + '\n' + + '

As teclas de seta Para a esquerda e Para a direita

\n' + + '\n' + + '
    \n' + + '
  • movem-se entre menus na barra de menu.
  • \n' + + '
  • abrem um submenu num menu.
  • \n' + + '
  • movem-se entre botões num grupo da barra de ferramentas.
  • \n' + + '
  • movem-se entre itens no caminho do elemento do rodapé.
  • \n' + + '
\n' + + '\n' + + '

As teclas de seta Para cima e Para baixo

\n' + + '\n' + + '
    \n' + + '
  • movem-se entre itens de menu num menu.
  • \n' + + '
  • movem-se entre itens num menu de pop-up da barra de ferramentas.
  • \n' + + '
\n' + + '\n' + + '

As teclas de seta deslocam-se ciclicamente na secção de IU em foco.

\n' + + '\n' + + '

Para fechar um menu aberto, um submenu aberto ou um menu de pop-up aberto, prima a tecla Esc.

\n' + + '\n' + + '

Se o foco atual estiver no "topo" de determinada secção de IU, premir a tecla Esc também fecha\n' + + ' completamente a navegação com teclado.

\n' + + '\n' + + '

Executar um item de menu ou botão da barra de ferramentas

\n' + + '\n' + + '

Quando o item de menu ou o botão da barra de ferramentas pretendido estiver realçado, prima Retrocesso, Enter\n' + + ' ou a Barra de espaço para executar o item.

\n' + + '\n' + + '

Navegar em diálogos sem separadores

\n' + + '\n' + + '

Nos diálogos sem separadores, o primeiro componente interativo fica em foco quando o diálogo abre.

\n' + + '\n' + + '

Navegue entre componentes interativos do diálogo, premindo Tab ou Shift+Tab.

\n' + + '\n' + + '

Navegar em diálogos com separadores

\n' + + '\n' + + '

Nos diálogos com separadores, o primeiro botão no menu do separador fica em foco quando o diálogo abre.

\n' + + '\n' + + '

Navegue entre os componentes interativos deste separador do diálogo, premindo Tab ou\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Mude para outro separador do diálogo colocando o menu do separador em foco e, em seguida, premindo a tecla de seta\n' + + ' adequada para se deslocar ciclicamente pelos separadores disponíveis.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ro.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ro.js new file mode 100644 index 0000000..38d3441 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ro.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ro', +'

Începeți navigarea de la tastatură

\n' + + '\n' + + '
\n' + + '
Focalizare pe bara de meniu
\n' + + '
Windows sau Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Focalizare pe bara de instrumente
\n' + + '
Windows sau Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Focalizare pe subsol
\n' + + '
Windows sau Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Focalizare pe notificare
\n' + + '
Windows sau Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Focalizare pe o bară de instrumente contextuală
\n' + + '
Windows, Linux sau macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigarea va începe de la primul element al interfeței cu utilizatorul, care va fi evidențiat sau subliniat în cazul primului element din\n' + + ' calea elementului Subsol.

\n' + + '\n' + + '

Navigați între secțiunile interfeței cu utilizatorul

\n' + + '\n' + + '

Pentru a trece de la o secțiune a interfeței cu utilizatorul la alta, apăsați Tab.

\n' + + '\n' + + '

Pentru a trece de la o secțiune a interfeței cu utilizatorul la cea anterioară, apăsați Shift+Tab.

\n' + + '\n' + + '

Ordinea cu Tab a acestor secțiuni ale interfeței cu utilizatorul este următoarea:

\n' + + '\n' + + '
    \n' + + '
  1. Bara de meniu
  2. \n' + + '
  3. Fiecare grup de bare de instrumente
  4. \n' + + '
  5. Bara laterală
  6. \n' + + '
  7. Calea elementului în subsol
  8. \n' + + '
  9. Buton de comutare a numărului de cuvinte în subsol
  10. \n' + + '
  11. Link de branding în subsol
  12. \n' + + '
  13. Mâner de redimensionare a editorului în subsol
  14. \n' + + '
\n' + + '\n' + + '

În cazul în care o secțiune a interfeței cu utilizatorul nu este prezentă, aceasta este omisă.

\n' + + '\n' + + '

În cazul în care subsolul are focalizarea navigației asupra tastaturii și nu există o bară laterală vizibilă, apăsarea butonului Shift+Tab\n' + + ' mută focalizarea pe primul grup de bare de instrumente, nu pe ultimul.

\n' + + '\n' + + '

Navigați în secțiunile interfeței cu utilizatorul

\n' + + '\n' + + '

Pentru a trece de la un element de interfață cu utilizatorul la următorul, apăsați tasta cu săgeata corespunzătoare.

\n' + + '\n' + + '

Tastele cu săgeți către stânga și dreapta

\n' + + '\n' + + '
    \n' + + '
  • navighează între meniurile din bara de meniuri.
  • \n' + + '
  • deschid un sub-meniu dintr-un meniu.
  • \n' + + '
  • navighează între butoanele dintr-un grup de bare de instrumente.
  • \n' + + '
  • navighează între elementele din calea elementelor subsolului.
  • \n' + + '
\n' + + '\n' + + '

Tastele cu săgeți în sus și în jos

\n' + + '\n' + + '
    \n' + + '
  • navighează între elementele de meniu dintr-un meniu.
  • \n' + + '
  • navighează între elementele unui meniu pop-up din bara de instrumente.
  • \n' + + '
\n' + + '\n' + + '

Tastele cu săgeți navighează în cadrul secțiunii interfeței cu utilizatorul asupra căreia se focalizează.

\n' + + '\n' + + '

Pentru a închide un meniu deschis, un sub-meniu deschis sau un meniu pop-up deschis, apăsați tasta Esc.

\n' + + '\n' + + '

Dacă focalizarea curentă este asupra „părții superioare” a unei anumite secțiuni a interfeței cu utilizatorul, prin apăsarea tastei Esc se iese, de asemenea,\n' + + ' în întregime din navigarea de la tastatură.

\n' + + '\n' + + '

Executarea unui element de meniu sau a unui buton din bara de instrumente

\n' + + '\n' + + '

Atunci când elementul de meniu dorit sau butonul dorit din bara de instrumente este evidențiat, apăsați Return, Enter,\n' + + ' sau bara de spațiu pentru a executa elementul.

\n' + + '\n' + + '

Navigarea de dialoguri fără file

\n' + + '\n' + + '

În dialogurile fără file, prima componentă interactivă beneficiază de focalizare la deschiderea dialogului.

\n' + + '\n' + + '

Navigați între componentele dialogului interactiv apăsând Tab sau Shift+Tab.

\n' + + '\n' + + '

Navigarea de dialoguri cu file

\n' + + '\n' + + '

În dialogurile cu file, primul buton din meniul cu file beneficiază de focalizare la deschiderea dialogului.

\n' + + '\n' + + '

Navigați între componentele interactive ale acestei file de dialog apăsând Tab sau\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Treceți la o altă filă de dialog focalizând asupra meniului cu file și apoi apăsând săgeata corespunzătoare\n' + + ' pentru a parcurge filele disponibile.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ru.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ru.js new file mode 100644 index 0000000..d310f54 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/ru.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.ru', +'

Начните управление с помощью клавиатуры

\n' + + '\n' + + '
\n' + + '
Фокус на панели меню
\n' + + '
Windows или Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Фокус на панели инструментов
\n' + + '
Windows или Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Фокус на нижнем колонтитуле
\n' + + '
Windows или Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Фокус на уведомлении
\n' + + '
Windows или Linux: Alt+12
\n' + + '
macOS: ⌥F12
\n' + + '
Фокус на контекстной панели инструментов
\n' + + '
Windows, Linux или macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Первый доступный для управления элемент интерфейса будет выделен цветом или подчеркнут (если он находится\n' + + ' в пути элементов нижнего колонтитула).

\n' + + '\n' + + '

Переход между разделами пользовательского интерфейса

\n' + + '\n' + + '

Чтобы перейти из текущего раздела интерфейса в следующий, нажмите Tab.

\n' + + '\n' + + '

Чтобы перейти из текущего раздела интерфейса в предыдущий, нажмите Shift+Tab.

\n' + + '\n' + + '

Вкладки разделов интерфейса расположены в следующем порядке:

\n' + + '\n' + + '
    \n' + + '
  1. Панель меню
  2. \n' + + '
  3. Группы панели инструментов
  4. \n' + + '
  5. Боковая панель
  6. \n' + + '
  7. Путь элементов нижнего колонтитула
  8. \n' + + '
  9. Подсчет слов/символов в нижнем колонтитуле
  10. \n' + + '
  11. Брендовая ссылка в нижнем колонтитуле
  12. \n' + + '
  13. Угол для изменения размера окна редактора
  14. \n' + + '
\n' + + '\n' + + '

Если раздел интерфейса отсутствует, он пропускается.

\n' + + '\n' + + '

Если при управлении с клавиатуры фокус находится на нижнем колонтитуле, а видимая боковая панель отсутствует, то при нажатии сочетания клавиш Shift+Tab\n' + + ' фокус переносится на первую группу панели инструментов, а не на последнюю.

\n' + + '\n' + + '

Переход между элементами внутри разделов пользовательского интерфейса

\n' + + '\n' + + '

Чтобы перейти от текущего элемента интерфейса к следующему, нажмите соответствующую клавишу со стрелкой.

\n' + + '\n' + + '

Клавиши со стрелками влево и вправо позволяют

\n' + + '\n' + + '
    \n' + + '
  • перемещаться между разными меню в панели меню.
  • \n' + + '
  • открывать разделы меню.
  • \n' + + '
  • перемещаться между кнопками в группе панели инструментов.
  • \n' + + '
  • перемещаться между элементами в пути элементов нижнего колонтитула.
  • \n' + + '
\n' + + '\n' + + '

Клавиши со стрелками вниз и вверх позволяют

\n' + + '\n' + + '
    \n' + + '
  • перемещаться между элементами одного меню.
  • \n' + + '
  • перемещаться между элементами всплывающего меню в панели инструментов.
  • \n' + + '
\n' + + '\n' + + '

При использовании клавиш со стрелками вы будете циклически перемещаться по элементам в пределах выбранного раздела интерфейса.

\n' + + '\n' + + '

Чтобы закрыть открытое меню, его раздел или всплывающее меню, нажмите клавишу Esc.

\n' + + '\n' + + '

Если фокус находится наверху какого-либо раздела интерфейса, нажатие клавиши Esc также приведет\n' + + ' к выходу из режима управления с помощью клавиатуры.

\n' + + '\n' + + '

Использование элемента меню или кнопки на панели инструментов

\n' + + '\n' + + '

Когда элемент меню или кнопка панели инструментов будут выделены, нажмите Return, Enter\n' + + ' или Space, чтобы их активировать.

\n' + + '\n' + + '

Управление в диалоговом окне без вкладок

\n' + + '\n' + + '

При открытии диалогового окна без вкладок фокус переносится на первый интерактивный компонент.

\n' + + '\n' + + '

Для перехода между интерактивными компонентами диалогового окна нажимайте Tab или Shift+Tab.

\n' + + '\n' + + '

Управление в диалоговом окне с вкладками

\n' + + '\n' + + '

При открытии диалогового окна с вкладками фокус переносится на первую кнопку в меню вкладок.

\n' + + '\n' + + '

Для перехода между интерактивными компонентами этой вкладки диалогового окна нажимайте Tab или\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Для перехода на другую вкладку диалогового окна переместите фокус на меню вкладок, а затем используйте клавиши со стрелками\n' + + ' для циклического переключения между доступными вкладками.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sk.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sk.js new file mode 100644 index 0000000..60cc628 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sk.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.sk', +'

Začíname s navigáciou pomocou klávesnice

\n' + + '\n' + + '
\n' + + '
Prejsť na panel s ponukami
\n' + + '
Windows alebo Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Prejsť na panel nástrojov
\n' + + '
Windows alebo Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Prejsť na pätičku
\n' + + '
Windows alebo Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Zaostriť na oznámenie
\n' + + '
Windows alebo Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Prejsť na kontextový panel nástrojov
\n' + + '
Windows, Linux alebo macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigácia začne pri prvej položke používateľského rozhrania, ktorá bude zvýraznená alebo v prípade prvej položky\n' + + ' cesty k pätičke podčiarknutá.

\n' + + '\n' + + '

Navigácia medzi časťami používateľského rozhrania

\n' + + '\n' + + '

Ak sa chcete posunúť z jednej časti používateľského rozhrania do druhej, stlačte tlačidlo Tab.

\n' + + '\n' + + '

Ak sa chcete posunúť z jednej časti používateľského rozhrania do predchádzajúcej, stlačte tlačidlá Shift + Tab.

\n' + + '\n' + + '

Poradie prepínania medzi týmito časťami používateľského rozhrania pri stláčaní tlačidla Tab:

\n' + + '\n' + + '
    \n' + + '
  1. Panel s ponukou
  2. \n' + + '
  3. Každá skupina panela nástrojov
  4. \n' + + '
  5. Bočný panel
  6. \n' + + '
  7. Cesta k prvku v pätičke
  8. \n' + + '
  9. Prepínač počtu slov v pätičke
  10. \n' + + '
  11. Odkaz na informácie o značke v pätičke
  12. \n' + + '
  13. Úchyt na zmenu veľkosti editora v pätičke
  14. \n' + + '
\n' + + '\n' + + '

Ak nejaká časť používateľského rozhrania nie je prítomná, preskočí sa.

\n' + + '\n' + + '

Ak je pätička vybratá na navigáciu pomocou klávesnice a nie je viditeľný bočný panel, stlačením klávesov Shift+Tab\n' + + ' prejdete na prvú skupinu panela nástrojov, nie na poslednú.

\n' + + '\n' + + '

Navigácia v rámci častí používateľského rozhrania

\n' + + '\n' + + '

Ak sa chcete posunúť z jedného prvku používateľského rozhrania na ďalší, stlačte príslušný kláves so šípkou.

\n' + + '\n' + + '

Klávesy so šípkami doľava a doprava

\n' + + '\n' + + '
    \n' + + '
  • umožňujú presun medzi ponukami na paneli ponúk,
  • \n' + + '
  • otvárajú podponuku v rámci ponuky,
  • \n' + + '
  • umožňujú presun medzi tlačidlami v skupine panelov nástrojov,
  • \n' + + '
  • umožňujú presun medzi položkami cesty prvku v pätičke.
  • \n' + + '
\n' + + '\n' + + '

Klávesy so šípkami dole a hore

\n' + + '\n' + + '
    \n' + + '
  • umožňujú presun medzi položkami ponuky,
  • \n' + + '
  • umožňujú presun medzi položkami v kontextovej ponuke panela nástrojov.
  • \n' + + '
\n' + + '\n' + + '

Klávesy so šípkami vykonávajú prepínanie v rámci vybranej časti používateľského rozhrania.

\n' + + '\n' + + '

Ak chcete zatvoriť otvorenú ponuku, otvorenú podponuku alebo otvorenú kontextovú ponuku, stlačte kláves Esc.

\n' + + '\n' + + '

Ak je aktuálne vybratá horná časť konkrétneho používateľského rozhrania, stlačením klávesu Esc úplne ukončíte tiež\n' + + ' navigáciu pomocou klávesnice.

\n' + + '\n' + + '

Vykonanie príkazu položky ponuky alebo tlačidla panela nástrojov

\n' + + '\n' + + '

Keď je zvýraznená požadovaná položka ponuky alebo tlačidlo panela nástrojov, stlačením klávesov Return, Enter\n' + + ' alebo medzerníka vykonáte príslušný príkaz položky.

\n' + + '\n' + + '

Navigácia v dialógových oknách bez záložiek

\n' + + '\n' + + '

Pri otvorení dialógových okien bez záložiek prejdete na prvý interaktívny komponent.

\n' + + '\n' + + '

Medzi interaktívnymi dialógovými komponentmi môžete prechádzať stlačením klávesov Tab alebo Shift+Tab.

\n' + + '\n' + + '

Navigácia v dialógových oknách so záložkami

\n' + + '\n' + + '

Pri otvorení dialógových okien so záložkami prejdete na prvé tlačidlo v ponuke záložiek.

\n' + + '\n' + + '

Medzi interaktívnymi komponentmi tejto dialógovej záložky môžete prechádzať stlačením klávesov Tab alebo\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Ak chcete prepnúť na ďalšiu záložku dialógového okna, prejdite do ponuky záložiek a potom môžete stlačením príslušného klávesu so šípkou\n' + + ' prepínať medzi dostupnými záložkami.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sl_SI.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sl_SI.js new file mode 100644 index 0000000..2b25f5a --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sl_SI.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.sl_SI', +'

Začetek krmarjenja s tipkovnico

\n' + + '\n' + + '
\n' + + '
Fokus na menijsko vrstico
\n' + + '
Windows ali Linux: Alt + F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokus na orodno vrstico
\n' + + '
Windows ali Linux: Alt + F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokus na nogo
\n' + + '
Windows ali Linux: Alt + F11
\n' + + '
macOS: ⌥F11
\n' + + '
Označitev obvestila
\n' + + '
Windows ali Linux: Alt + F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokus na kontekstualno orodno vrstico
\n' + + '
Windows, Linux ali macOS: Ctrl + F9
\n' + + '
\n' + + '\n' + + '

Krmarjenje se bo začelo s prvim elementom uporabniškega vmesnika, ki bo izpostavljena ali podčrtan, če gre za prvi element na\n' + + ' poti do elementa noge.

\n' + + '\n' + + '

Krmarjenje med razdelki uporabniškega vmesnika

\n' + + '\n' + + '

Če se želite pomakniti z enega dela uporabniškega vmesnika na naslednjega, pritisnite tabulatorko.

\n' + + '\n' + + '

Če se želite pomakniti z enega dela uporabniškega vmesnika na prejšnjega, pritisnite shift + tabulatorko.

\n' + + '\n' + + '

Zaporedje teh razdelkov uporabniškega vmesnika, ko pritiskate tabulatorko, je:

\n' + + '\n' + + '
    \n' + + '
  1. Menijska vrstica
  2. \n' + + '
  3. Posamezne skupine orodne vrstice
  4. \n' + + '
  5. Stranska vrstica
  6. \n' + + '
  7. Pod do elementa v nogi
  8. \n' + + '
  9. Gumb za preklop štetja besed v nogi
  10. \n' + + '
  11. Povezava do blagovne znamke v nogi
  12. \n' + + '
  13. Ročaj za spreminjanje velikosti urejevalnika v nogi
  14. \n' + + '
\n' + + '\n' + + '

Če razdelek uporabniškega vmesnika ni prisoten, je preskočen.

\n' + + '\n' + + '

Če ima noga fokus za krmarjenje s tipkovnico in ni vidne stranske vrstice, s pritiskom na shift + tabulatorko\n' + + ' fokus premaknete na prvo skupino orodne vrstice, ne zadnjo.

\n' + + '\n' + + '

Krmarjenje v razdelkih uporabniškega vmesnika

\n' + + '\n' + + '

Če se želite premakniti z enega elementa uporabniškega vmesnika na naslednjega, pritisnite ustrezno puščično tipko.

\n' + + '\n' + + '

Leva in desna puščična tipka

\n' + + '\n' + + '
    \n' + + '
  • omogočata premikanje med meniji v menijski vrstici.
  • \n' + + '
  • odpreta podmeni v meniju.
  • \n' + + '
  • omogočata premikanje med gumbi v skupini orodne vrstice.
  • \n' + + '
  • omogočata premikanje med elementi na poti do elementov noge.
  • \n' + + '
\n' + + '\n' + + '

Spodnja in zgornja puščična tipka

\n' + + '\n' + + '
    \n' + + '
  • omogočata premikanje med elementi menija.
  • \n' + + '
  • omogočata premikanje med elementi v pojavnem meniju orodne vrstice.
  • \n' + + '
\n' + + '\n' + + '

Puščične tipke omogočajo kroženje znotraj razdelka uporabniškega vmesnika, na katerem je fokus.

\n' + + '\n' + + '

Če želite zapreti odprt meni, podmeni ali pojavni meni, pritisnite tipko Esc.

\n' + + '\n' + + '

Če je trenutni fokus na »vrhu« določenega razdelka uporabniškega vmesnika, s pritiskom tipke Esc zaprete\n' + + ' tudi celotno krmarjenje s tipkovnico.

\n' + + '\n' + + '

Izvajanje menijskega elementa ali gumba orodne vrstice

\n' + + '\n' + + '

Ko je označen želeni menijski element ali orodja vrstica, pritisnite vračalko, Enter\n' + + ' ali preslednico, da izvedete element.

\n' + + '\n' + + '

Krmarjenje po pogovornih oknih brez zavihkov

\n' + + '\n' + + '

Ko odprete pogovorno okno brez zavihkov, ima fokus prva interaktivna komponenta.

\n' + + '\n' + + '

Med interaktivnimi komponentami pogovornega okna se premikate s pritiskom tabulatorke ali kombinacije tipke shift + tabulatorke.

\n' + + '\n' + + '

Krmarjenje po pogovornih oknih z zavihki

\n' + + '\n' + + '

Ko odprete pogovorno okno z zavihki, ima fokus prvi gumb v meniju zavihka.

\n' + + '\n' + + '

Med interaktivnimi komponentami tega zavihka pogovornega okna se premikate s pritiskom tabulatorke ali\n' + + ' kombinacije tipke shift + tabulatorke.

\n' + + '\n' + + '

Na drug zavihek pogovornega okna preklopite tako, da fokus prestavite na meni zavihka in nato pritisnete ustrezno puščično\n' + + ' tipko, da se pomaknete med razpoložljivimi zavihki.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sv_SE.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sv_SE.js new file mode 100644 index 0000000..c30f2f2 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/sv_SE.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.sv_SE', +'

Påbörja tangentbordsnavigering

\n' + + '\n' + + '
\n' + + '
Fokusera på menyraden
\n' + + '
Windows eller Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Fokusera på verktygsraden
\n' + + '
Windows eller Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Fokusera på verktygsraden
\n' + + '
Windows eller Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Fokusera aviseringen
\n' + + '
Windows eller Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Fokusera på en snabbverktygsrad
\n' + + '
Windows, Linux eller macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Navigeringen börjar vid det första gränssnittsobjektet, vilket är markerat eller understruket om det gäller det första objektet i\n' + + ' sidfotens elementsökväg.

\n' + + '\n' + + '

Navigera mellan UI-avsnitt

\n' + + '\n' + + '

Flytta från ett UI-avsnitt till nästa genom att trycka på Tabb.

\n' + + '\n' + + '

Flytta från ett UI-avsnitt till det föregående genom att trycka på Skift+Tabb.

\n' + + '\n' + + '

Tabb-ordningen för dessa UI-avsnitt är:

\n' + + '\n' + + '
    \n' + + '
  1. Menyrad
  2. \n' + + '
  3. Varje verktygsradsgrupp
  4. \n' + + '
  5. Sidoruta
  6. \n' + + '
  7. Elementsökväg i sidfoten
  8. \n' + + '
  9. Växlingsknapp för ordantal i sidfoten
  10. \n' + + '
  11. Varumärkeslänk i sidfoten
  12. \n' + + '
  13. Storlekshandtag för redigeraren i sidfoten
  14. \n' + + '
\n' + + '\n' + + '

Om ett UI-avsnitt inte finns hoppas det över.

\n' + + '\n' + + '

Om sidfoten har fokus på tangentbordsnavigering, och det inte finns någon synlig sidoruta, flyttas fokus till den första verktygsradsgruppen\n' + + ' när du trycker på Skift+Tabb, inte till den sista.

\n' + + '\n' + + '

Navigera i UI-avsnitt

\n' + + '\n' + + '

Flytta från ett UI-element till nästa genom att trycka på motsvarande piltangent.

\n' + + '\n' + + '

Vänsterpil och högerpil

\n' + + '\n' + + '
    \n' + + '
  • flytta mellan menyer på menyraden.
  • \n' + + '
  • öppna en undermeny på en meny.
  • \n' + + '
  • flytta mellan knappar i en verktygsradgrupp.
  • \n' + + '
  • flytta mellan objekt i sidfotens elementsökväg.
  • \n' + + '
\n' + + '\n' + + '

Nedpil och uppil

\n' + + '\n' + + '
    \n' + + '
  • flytta mellan menyalternativ på en meny.
  • \n' + + '
  • flytta mellan alternativ på en popup-meny på verktygsraden.
  • \n' + + '
\n' + + '\n' + + '

Piltangenterna cirkulerar inom det fokuserade UI-avsnittet.

\n' + + '\n' + + '

Tryck på Esc-tangenten om du vill stänga en öppen meny, undermeny eller popup-meny.

\n' + + '\n' + + '

Om det aktuella fokuset är högst upp i ett UI-avsnitt avlutas även tangentbordsnavigeringen helt när\n' + + ' du trycker på Esc-tangenten.

\n' + + '\n' + + '

Köra ett menyalternativ eller en verktygfältsknapp

\n' + + '\n' + + '

När menyalternativet eller verktygsradsknappen är markerad trycker du på Retur, Enter\n' + + ' eller blanksteg för att köra alternativet.

\n' + + '\n' + + '

Navigera i dialogrutor utan flikar

\n' + + '\n' + + '

I dialogrutor utan flikar är den första interaktiva komponenten i fokus när dialogrutan öppnas.

\n' + + '\n' + + '

Navigera mellan interaktiva dialogkomponenter genom att trycka på Tabb eller Skift+Tabb.

\n' + + '\n' + + '

Navigera i dialogrutor med flikar

\n' + + '\n' + + '

I dialogrutor utan flikar är den första knappen på flikmenyn i fokus när dialogrutan öppnas.

\n' + + '\n' + + '

Navigera mellan interaktiva komponenter på dialogrutefliken genom att trycka på Tabb eller\n' + + ' Skift+Tabb.

\n' + + '\n' + + '

Växla till en annan dialogruta genom att fokusera på flikmenyn och sedan trycka på motsvarande piltangent\n' + + ' för att cirkulera mellan de tillgängliga flikarna.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/th_TH.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/th_TH.js new file mode 100644 index 0000000..562fe7a --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/th_TH.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.th_TH', +'

เริ่มต้นการนำทางด้วยแป้นพิมพ์

\n' + + '\n' + + '
\n' + + '
โฟกัสที่แถบเมนู
\n' + + '
Windows หรือ Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
โฟกัสที่แถบเครื่องมือ
\n' + + '
Windows หรือ Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
โฟกัสที่ส่วนท้าย
\n' + + '
Windows หรือ Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
โฟกัสไปที่การแจ้งเตือน
\n' + + '
Windows หรือ Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
โฟกัสที่แถบเครื่องมือตามบริบท
\n' + + '
Windows, Linux หรือ macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

การนำทางจะเริ่มที่รายการ UI แรก ซึ่งจะมีการไฮไลต์หรือขีดเส้นใต้ไว้ในกรณีที่รายการแรกอยู่ใน\n' + + ' พาธองค์ประกอบส่วนท้าย

\n' + + '\n' + + '

การนำทางระหว่างส่วนต่างๆ ของ UI

\n' + + '\n' + + '

ในการย้ายจากส่วน UI หนึ่งไปยังส่วนถัดไป ให้กด Tab

\n' + + '\n' + + '

ในการย้ายจากส่วน UI หนึ่งไปยังส่วนก่อนหน้า ให้กด Shift+Tab

\n' + + '\n' + + '

ลำดับแท็บของส่วนต่างๆ ของ UI คือ:

\n' + + '\n' + + '
    \n' + + '
  1. แถบเมนู
  2. \n' + + '
  3. แต่ละกลุ่มแถบเครื่องมือ
  4. \n' + + '
  5. แถบข้าง
  6. \n' + + '
  7. พาธองค์ประกอบในส่วนท้าย
  8. \n' + + '
  9. ปุ่มสลับเปิด/ปิดจำนวนคำในส่วนท้าย
  10. \n' + + '
  11. ลิงก์ชื่อแบรนด์ในส่วนท้าย
  12. \n' + + '
  13. จุดจับปรับขนาดของตัวแก้ไขในส่วนท้าย
  14. \n' + + '
\n' + + '\n' + + '

หากส่วน UI ไม่ปรากฏ แสดงว่าถูกข้ามไป

\n' + + '\n' + + '

หากส่วนท้ายมีการโฟกัสการนำทางแป้นพิมพ์และไม่มีแถบข้างปรากฏ การกด Shift+Tab\n' + + ' จะย้ายการโฟกัสไปที่กลุ่มแถบเครื่องมือแรก ไม่ใช่สุดท้าย

\n' + + '\n' + + '

การนำทางภายในส่วนต่างๆ ของ UI

\n' + + '\n' + + '

ในการย้ายจากองค์ประกอบ UI หนึ่งไปยังองค์ประกอบส่วนถัดไป ให้กดปุ่มลูกศรที่เหมาะสม

\n' + + '\n' + + '

ปุ่มลูกศรซ้ายและขวา

\n' + + '\n' + + '
    \n' + + '
  • ย้ายไปมาระหว่างเมนูต่างๆ ในแถบเมนู
  • \n' + + '
  • เปิดเมนูย่อยในเมนู
  • \n' + + '
  • ย้ายไปมาระหว่างปุ่มต่างๆ ในกลุ่มแถบเครื่องมือ
  • \n' + + '
  • ย้ายไปมาระหว่างรายการต่างๆ ในพาธองค์ประกอบของส่วนท้าย
  • \n' + + '
\n' + + '\n' + + '

ปุ่มลูกศรลงและขึ้น

\n' + + '\n' + + '
    \n' + + '
  • ย้ายไปมาระหว่างรายการเมนูต่างๆ ในเมนู
  • \n' + + '
  • ย้ายไปมาระหว่างรายการต่างๆ ในเมนูป๊อบอัพแถบเครื่องมือ
  • \n' + + '
\n' + + '\n' + + '

ปุ่มลูกศรจะเลื่อนไปมาภายในส่วน UI ที่โฟกัส

\n' + + '\n' + + '

ในการปิดเมนูที่เปิดอยู่ เมนูย่อยที่เปิดอยู่ หรือเมนูป๊อบอัพที่เปิดอยู่ ให้กดปุ่ม Esc

\n' + + '\n' + + '

หากโฟกัสปัจจุบันอยู่ที่ ‘ด้านบนสุด’ ของส่วน UI เฉพาะ การกดปุ่ม Esc จะทำให้ออกจาก\n' + + ' การนำทางด้วยแป้นพิมพ์ทั้งหมดเช่นกัน

\n' + + '\n' + + '

การดำเนินการรายการเมนูหรือปุ่มในแถบเครื่องมือ

\n' + + '\n' + + '

เมื่อไฮไลต์รายการเมนูหรือปุ่มในแถบเครื่องมือที่ต้องการ ให้กด Return, Enter\n' + + ' หรือ Space bar เพื่อดำเนินการรายการดังกล่าว

\n' + + '\n' + + '

การนำทางสำหรับกล่องโต้ตอบที่ไม่อยู่ในแท็บ

\n' + + '\n' + + '

ในกล่องโต้ตอบที่ไม่อยู่ในแท็บ จะโฟกัสที่ส่วนประกอบเชิงโต้ตอบแรกเมื่อกล่องโต้ตอบเปิด

\n' + + '\n' + + '

นำทางระหว่างส่วนประกอบเชิงโต้ตอบต่างๆ ของกล่องโต้ตอบ โดยการกด Tab หรือ Shift+Tab

\n' + + '\n' + + '

การนำทางสำหรับกล่องโต้ตอบที่อยู่ในแท็บ

\n' + + '\n' + + '

ในกล่องโต้ตอบที่อยู่ในแท็บ จะโฟกัสที่ปุ่มแรกในเมนูแท็บเมื่อกล่องโต้ตอบเปิด

\n' + + '\n' + + '

นำทางระหว่างส่วนประกอบเชิงโต้ตอบต่างๆ ของแท็บกล่องโต้ตอบนี้โดยการกด Tab หรือ\n' + + ' Shift+Tab

\n' + + '\n' + + '

สลับไปยังแท็บกล่องโต้ตอบอื่นโดยการเลือกโฟกัสที่เมนูแท็บ แล้วกดปุ่มลูกศรที่เหมาะสม\n' + + ' เพื่อเลือกแท็บที่ใช้ได้

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/tr.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/tr.js new file mode 100644 index 0000000..37f39b0 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/tr.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.tr', +'

Klavyeyle gezintiyi başlatma

\n' + + '\n' + + '
\n' + + '
Menü çubuğuna odaklan
\n' + + '
Windows veya Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Araç çubuğuna odaklan
\n' + + '
Windows veya Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Alt bilgiye odaklan
\n' + + '
Windows veya Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Bildirime odakla
\n' + + '
Windows veya Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Bağlamsal araç çubuğuna odaklan
\n' + + '
Windows, Linux veya macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Gezinti ilk kullanıcı arabirimi öğesinden başlar, bu öğe vurgulanır ya da ilk öğe, Alt bilgi elemanı\n' + + ' yolundaysa altı çizilir.

\n' + + '\n' + + '

Kullanıcı arabirimi bölümleri arasında gezinme

\n' + + '\n' + + '

Sonraki kullanıcı arabirimi bölümüne gitmek için Sekme tuşuna basın.

\n' + + '\n' + + '

Önceki kullanıcı arabirimi bölümüne gitmek için Shift+Sekme tuşlarına basın.

\n' + + '\n' + + '

Bu kullanıcı arabirimi bölümlerinin Sekme sırası:

\n' + + '\n' + + '
    \n' + + '
  1. Menü çubuğu
  2. \n' + + '
  3. Her araç çubuğu grubu
  4. \n' + + '
  5. Kenar çubuğu
  6. \n' + + '
  7. Alt bilgide öğe yolu
  8. \n' + + '
  9. Alt bilgide sözcük sayısı geçiş düğmesi
  10. \n' + + '
  11. Alt bilgide marka bağlantısı
  12. \n' + + '
  13. Alt bilgide düzenleyiciyi yeniden boyutlandırma tutamacı
  14. \n' + + '
\n' + + '\n' + + '

Kullanıcı arabirimi bölümü yoksa atlanır.

\n' + + '\n' + + '

Alt bilgide klavyeyle gezinti odağı yoksa ve görünür bir kenar çubuğu mevcut değilse Shift+Sekme tuşlarına basıldığında\n' + + ' odak son araç çubuğu yerine ilk araç çubuğu grubuna taşınır.

\n' + + '\n' + + '

Kullanıcı arabirimi bölümleri içinde gezinme

\n' + + '\n' + + '

Sonraki kullanıcı arabirimi elemanına gitmek için uygun Ok tuşuna basın.

\n' + + '\n' + + '

Sol ve Sağ ok tuşları

\n' + + '\n' + + '
    \n' + + '
  • menü çubuğundaki menüler arasında hareket eder.
  • \n' + + '
  • menüde bir alt menü açar.
  • \n' + + '
  • araç çubuğu grubundaki düğmeler arasında hareket eder.
  • \n' + + '
  • alt bilginin öğe yolundaki öğeler arasında hareket eder.
  • \n' + + '
\n' + + '\n' + + '

Aşağı ve Yukarı ok tuşları

\n' + + '\n' + + '
    \n' + + '
  • menüdeki menü öğeleri arasında hareket eder.
  • \n' + + '
  • araç çubuğu açılır menüsündeki öğeler arasında hareket eder.
  • \n' + + '
\n' + + '\n' + + '

Ok tuşları, odaklanılan kullanıcı arabirimi bölümü içinde döngüsel olarak hareket eder.

\n' + + '\n' + + '

Açık bir menüyü, açık bir alt menüyü veya açık bir açılır menüyü kapatmak için Esc tuşuna basın.

\n' + + '\n' + + '

Geçerli odak belirli bir kullanıcı arabirimi bölümünün "üst" kısmındaysa Esc tuşuna basıldığında\n' + + ' klavyeyle gezintiden de tamamen çıkılır.

\n' + + '\n' + + '

Menü öğesini veya araç çubuğu düğmesini yürütme

\n' + + '\n' + + '

İstediğiniz menü öğesi veya araç çubuğu düğmesi vurgulandığında Return, Enter\n' + + ' veya Ara çubuğu tuşuna basın.

\n' + + '\n' + + '

Sekme bulunmayan iletişim kutularında gezinme

\n' + + '\n' + + '

Sekme bulunmayan iletişim kutularında, iletişim kutusu açıldığında ilk etkileşimli bileşene odaklanılır.

\n' + + '\n' + + '

Etkileşimli iletişim kutusu bileşenleri arasında gezinmek için Sekme veya Shift+ Sekme tuşlarına basın.

\n' + + '\n' + + '

Sekmeli iletişim kutularında gezinme

\n' + + '\n' + + '

Sekmeli iletişim kutularında, iletişim kutusu açıldığında sekme menüsündeki ilk düğmeye odaklanılır.

\n' + + '\n' + + '

Bu iletişim kutusu sekmesinin etkileşimli bileşenleri arasında gezinmek için Sekme veya\n' + + ' Shift+Sekme tuşlarına basın.

\n' + + '\n' + + '

Mevcut sekmeler arasında geçiş yapmak için sekme menüsüne odaklanıp uygun Ok tuşuna basarak\n' + + ' başka bir iletişim kutusu sekmesine geçiş yapın.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/uk.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/uk.js new file mode 100644 index 0000000..028d4a4 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/uk.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.uk', +'

Початок роботи з навігацією за допомогою клавіатури

\n' + + '\n' + + '
\n' + + '
Фокус на рядок меню
\n' + + '
Windows або Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Фокус на панелі інструментів
\n' + + '
Windows або Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Фокус на розділі "Нижній колонтитул"
\n' + + '
Windows або Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Фокус на сповіщення
\n' + + '
Windows або Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Фокус на контекстній панелі інструментів
\n' + + '
Windows, Linux або macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Навігація почнеться з першого елемента інтерфейсу користувача, який буде виділено або підкреслено в разі, якщо перший елемент знаходиться в\n' + + ' шляху до елемента "Нижній колонтитул".

\n' + + '\n' + + '

Навігація між розділами інтерфейсу користувача

\n' + + '\n' + + '

Щоб перейти з одного розділу інтерфейсу користувача до наступного розділу, натисніть клавішу Tab.

\n' + + '\n' + + '

Щоб перейти з одного розділу інтерфейсу користувача до попереднього розділу, натисніть сполучення клавіш Shift+Tab.

\n' + + '\n' + + '

Порядок Вкладок цих розділів інтерфейсу користувача такий:

\n' + + '\n' + + '
    \n' + + '
  1. Рядок меню
  2. \n' + + '
  3. Кожна група панелей інструментів
  4. \n' + + '
  5. Бічна панель
  6. \n' + + '
  7. Шлях до елементів у розділі "Нижній колонтитул"
  8. \n' + + '
  9. Кнопка перемикача "Кількість слів" у розділі "Нижній колонтитул"
  10. \n' + + '
  11. Посилання на брендинг у розділі "Нижній колонтитул"
  12. \n' + + '
  13. Маркер змінення розміру в розділі "Нижній колонтитул"
  14. \n' + + '
\n' + + '\n' + + '

Якщо розділ інтерфейсу користувача відсутній, він пропускається.

\n' + + '\n' + + '

Якщо фокус навігації клавіатури знаходиться на розділі "Нижній колонтитул", але користувач не бачить видиму бічну панель, натисніть Shift+Tab,\n' + + ' щоб перемістити фокус на першу групу панелі інструментів, а не на останню.

\n' + + '\n' + + '

Навігація в межах розділів інтерфейсу користувача

\n' + + '\n' + + '

Щоб перейти з одного елементу інтерфейсу користувача до наступного, натисніть відповідну клавішу зі стрілкою.

\n' + + '\n' + + '

Клавіші зі стрілками Ліворуч і Праворуч

\n' + + '\n' + + '
    \n' + + '
  • переміщують між меню в рядку меню.
  • \n' + + '
  • відкривають вкладене меню в меню.
  • \n' + + '
  • переміщують користувача між кнопками в групі панелі інструментів.
  • \n' + + '
  • переміщують між елементами в шляху до елементів у розділі "Нижній колонтитул".
  • \n' + + '
\n' + + '\n' + + '

Клавіші зі стрілками Вниз і Вгору

\n' + + '\n' + + '
    \n' + + '
  • переміщують між елементами меню в меню.
  • \n' + + '
  • переміщують між елементами в спливаючому меню панелі інструментів.
  • \n' + + '
\n' + + '\n' + + '

Клавіші зі стрілками переміщують фокус циклічно в межах розділу інтерфейсу користувача, на якому знаходиться фокус.

\n' + + '\n' + + '

Щоб закрити відкрите меню, відкрите вкладене меню або відкрите спливаюче меню, натисніть клавішу Esc.

\n' + + '\n' + + '

Якщо поточний фокус знаходиться на верхньому рівні певного розділу інтерфейсу користувача, натискання клавіші Esc також виконує вихід\n' + + ' з навігації за допомогою клавіатури повністю.

\n' + + '\n' + + '

Виконання елементу меню або кнопки панелі інструментів

\n' + + '\n' + + '

Коли потрібний елемент меню або кнопку панелі інструментів виділено, натисніть клавіші Return, Enter,\n' + + ' або Пробіл, щоб виконати цей елемент.

\n' + + '\n' + + '

Навігація по діалоговим вікнам без вкладок

\n' + + '\n' + + '

У діалогових вікнах без вкладок перший інтерактивний компонент приймає фокус, коли відкривається діалогове вікно.

\n' + + '\n' + + '

Переходьте між інтерактивними компонентами діалогового вікна, натискаючи клавіші Tab або Shift+Tab.

\n' + + '\n' + + '

Навігація по діалоговим вікнам з вкладками

\n' + + '\n' + + '

У діалогових вікнах із вкладками перша кнопка в меню вкладки приймає фокус, коли відкривається діалогове вікно.

\n' + + '\n' + + '

Переходьте між інтерактивними компонентами цієї вкладки діалогового вікна, натискаючи клавіші Tab або\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Щоб перейти на іншу вкладку діалогового вікна, перемістіть фокус на меню вкладки, а потім натисніть відповідну клавішу зі стрілкою,\n' + + ' щоб циклічно переходити по доступним вкладкам.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/vi.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/vi.js new file mode 100644 index 0000000..d8eda11 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/vi.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.vi', +'

Bắt đầu điều hướng bàn phím

\n' + + '\n' + + '
\n' + + '
Tập trung vào thanh menu
\n' + + '
Windows hoặc Linux: Alt+F9
\n' + + '
macOS: ⌥F9
\n' + + '
Tập trung vào thanh công cụ
\n' + + '
Windows hoặc Linux: Alt+F10
\n' + + '
macOS: ⌥F10
\n' + + '
Tập trung vào chân trang
\n' + + '
Windows hoặc Linux: Alt+F11
\n' + + '
macOS: ⌥F11
\n' + + '
Tập trung vào thông báo
\n' + + '
Windows hoặc Linux: Alt+F12
\n' + + '
macOS: ⌥F12
\n' + + '
Tập trung vào thanh công cụ ngữ cảnh
\n' + + '
Windows, Linux hoặc macOS: Ctrl+F9
\n' + + '
\n' + + '\n' + + '

Điều hướng sẽ bắt đầu từ mục UI đầu tiên. Mục này sẽ được tô sáng hoặc có gạch dưới (nếu là mục đầu tiên trong\n' + + ' đường dẫn phần tử Chân trang).

\n' + + '\n' + + '

Di chuyển qua lại giữa các phần UI

\n' + + '\n' + + '

Để di chuyển từ một phần UI sang phần tiếp theo, ấn Tab.

\n' + + '\n' + + '

Để di chuyển từ một phần UI về phần trước đó, ấn Shift+Tab.

\n' + + '\n' + + '

Thứ tự Tab của các phần UI này như sau:

\n' + + '\n' + + '
    \n' + + '
  1. Thanh menu
  2. \n' + + '
  3. Từng nhóm thanh công cụ
  4. \n' + + '
  5. Thanh bên
  6. \n' + + '
  7. Đường dẫn phần tử trong chân trang
  8. \n' + + '
  9. Nút chuyển đổi đếm chữ ở chân trang
  10. \n' + + '
  11. Liên kết thương hiệu ở chân trang
  12. \n' + + '
  13. Núm điều tác chỉnh kích cỡ trình soạn thảo ở chân trang
  14. \n' + + '
\n' + + '\n' + + '

Nếu người dùng không thấy một phần UI, thì có nghĩa phần đó bị bỏ qua.

\n' + + '\n' + + '

Nếu ở chân trang có tính năng tập trung điều hướng bàn phím, mà không có thanh bên nào hiện hữu, thao tác ấn Shift+Tab\n' + + ' sẽ chuyển hướng tập trung vào nhóm thanh công cụ đầu tiên, không phải cuối cùng.

\n' + + '\n' + + '

Di chuyển qua lại trong các phần UI

\n' + + '\n' + + '

Để di chuyển từ một phần tử UI sang phần tiếp theo, ấn phím Mũi tên tương ứng cho phù hợp.

\n' + + '\n' + + '

Các phím mũi tên TráiPhải

\n' + + '\n' + + '
    \n' + + '
  • di chuyển giữa các menu trong thanh menu.
  • \n' + + '
  • mở menu phụ trong một menu.
  • \n' + + '
  • di chuyển giữa các nút trong nhóm thanh công cụ.
  • \n' + + '
  • di chuyển giữa các mục trong đường dẫn phần tử của chân trang.
  • \n' + + '
\n' + + '\n' + + '

Các phím mũi tên Hướng xuốngHướng lên

\n' + + '\n' + + '
    \n' + + '
  • di chuyển giữa các mục menu trong menu.
  • \n' + + '
  • di chuyển giữa các mục trong menu thanh công cụ dạng bật lên.
  • \n' + + '
\n' + + '\n' + + '

Các phím mũi tên xoay vòng trong một phần UI tập trung.

\n' + + '\n' + + '

Để đóng một menu mở, một menu phụ đang mở, hoặc một menu dạng bật lên đang mở, hãy ấn phím Esc.

\n' + + '\n' + + '

Nếu trọng tâm hiện tại là ở phần “đầu” của một phần UI cụ thể, thao tác ấn phím Esc cũng sẽ thoát\n' + + ' toàn bộ phần điều hướng bàn phím.

\n' + + '\n' + + '

Thực hiện chức năng của một mục menu hoặc nút thanh công cụ

\n' + + '\n' + + '

Khi mục menu hoặc nút thanh công cụ muốn dùng được tô sáng, hãy ấn Return, Enter,\n' + + ' hoặc Phím cách để thực hiện chức năng mục đó.

\n' + + '\n' + + '

Điều hướng giữa các hộp thoại không có nhiều tab

\n' + + '\n' + + '

Trong các hộp thoại không có nhiều tab, khi hộp thoại mở ra, trọng tâm sẽ hướng vào thành phần tương tác đầu tiên.

\n' + + '\n' + + '

Di chuyển giữa các thành phần hộp thoại tương tác bằng cách ấn Tab hoặc Shift+Tab.

\n' + + '\n' + + '

Điều hướng giữa các hộp thoại có nhiều tab

\n' + + '\n' + + '

Trong các hộp thoại có nhiều tab, khi hộp thoại mở ra, trọng tâm sẽ hướng vào nút đầu tiên trong menu tab.

\n' + + '\n' + + '

Di chuyển giữa các thành phần tương tác của tab hộp thoại này bằng cách ấn Tab hoặc\n' + + ' Shift+Tab.

\n' + + '\n' + + '

Chuyển sang một tab hộp thoại khác bằng cách chuyển trọng tâm vào menu tab, rồi ấn phím Mũi tên phù hợp\n' + + ' để xoay vòng các tab hiện có.

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_CN.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_CN.js new file mode 100644 index 0000000..f7e73d1 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_CN.js @@ -0,0 +1,87 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_CN', +'

开始键盘导航

\n' + + '\n' + + '
\n' + + '
使菜单栏处于焦点
\n' + + '
Windows 或 Linux:Alt+F9
\n' + + '
macOS:⌥F9
\n' + + '
使工具栏处于焦点
\n' + + '
Windows 或 Linux:Alt+F10
\n' + + '
macOS:⌥F10
\n' + + '
使页脚处于焦点
\n' + + '
Windows 或 Linux:Alt+F11
\n' + + '
macOS:⌥F11
\n' + + '
使通知处于焦点
\n' + + '
Windows 或 Linux:Alt+F12
\n' + + '
macOS:⌥F12
\n' + + '
使上下文工具栏处于焦点
\n' + + '
Windows、Linux 或 macOS:Ctrl+F9
\n' + + '
\n' + + '\n' + + '

导航将在第一个 UI 项上开始,其中突出显示该项,或者对于页脚元素路径中的第一项,将为其添加下划线。

\n' + + '\n' + + '

在 UI 部分之间导航

\n' + + '\n' + + '

要从一个 UI 部分移至下一个,请按 Tab

\n' + + '\n' + + '

要从一个 UI 部分移至上一个,请按 Shift+Tab

\n' + + '\n' + + '

这些 UI 部分的 Tab 顺序为:

\n' + + '\n' + + '
    \n' + + '
  1. 菜单栏
  2. \n' + + '
  3. 每个工具栏组
  4. \n' + + '
  5. 边栏
  6. \n' + + '
  7. 页脚中的元素路径
  8. \n' + + '
  9. 页脚中的字数切换按钮
  10. \n' + + '
  11. 页脚中的品牌链接
  12. \n' + + '
  13. 页脚中的编辑器调整大小图柄
  14. \n' + + '
\n' + + '\n' + + '

如果不存在某个 UI 部分,则跳过它。

\n' + + '\n' + + '

如果键盘导航焦点在页脚,并且没有可见的边栏,则按 Shift+Tab 将焦点移至第一个工具栏组而非最后一个。

\n' + + '\n' + + '

在 UI 部分内导航

\n' + + '\n' + + '

要从一个 UI 元素移至下一个,请按相应的箭头键。

\n' + + '\n' + + '

箭头键

\n' + + '\n' + + '
    \n' + + '
  • 在菜单栏中的菜单之间移动。
  • \n' + + '
  • 打开菜单中的子菜单。
  • \n' + + '
  • 在工具栏组中的按钮之间移动。
  • \n' + + '
  • 在页脚的元素路径中的各项之间移动。
  • \n' + + '
\n' + + '\n' + + '

箭头键

\n' + + '\n' + + '
    \n' + + '
  • 在菜单中的菜单项之间移动。
  • \n' + + '
  • 在工具栏弹出菜单中的各项之间移动。
  • \n' + + '
\n' + + '\n' + + '

箭头键在具有焦点的 UI 部分内循环。

\n' + + '\n' + + '

要关闭打开的菜单、打开的子菜单或打开的弹出菜单,请按 Esc 键。

\n' + + '\n' + + '

如果当前的焦点在特定 UI 部分的“顶部”,则按 Esc 键还将完全退出键盘导航。

\n' + + '\n' + + '

执行菜单项或工具栏按钮

\n' + + '\n' + + '

当突出显示所需的菜单项或工具栏按钮时,按 ReturnEnter空格以执行该项。

\n' + + '\n' + + '

在非标签页式对话框中导航

\n' + + '\n' + + '

在非标签页式对话框中,当对话框打开时,第一个交互组件获得焦点。

\n' + + '\n' + + '

通过按 TabShift+Tab,在交互对话框组件之间导航。

\n' + + '\n' + + '

在标签页式对话框中导航

\n' + + '\n' + + '

在标签页式对话框中,当对话框打开时,标签页菜单中的第一个按钮获得焦点。

\n' + + '\n' + + '

通过按 TabShift+Tab,在此对话框的交互组件之间导航。

\n' + + '\n' + + '

通过将焦点移至另一对话框标签页的菜单,然后按相应的箭头键以在可用的标签页间循环,从而切换到该对话框标签页。

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_TW.js b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_TW.js new file mode 100644 index 0000000..5912770 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/js/i18n/keynav/zh_TW.js @@ -0,0 +1,93 @@ +tinymce.Resource.add('tinymce.html-i18n.help-keynav.zh_TW', +'

開始鍵盤瀏覽

\n' + + '\n' + + '
\n' + + '
跳至功能表列
\n' + + '
Windows 或 Linux:Alt+F9
\n' + + '
macOS:⌥F9
\n' + + '
跳至工具列
\n' + + '
Windows 或 Linux:Alt+F10
\n' + + '
macOS:⌥F10
\n' + + '
跳至頁尾
\n' + + '
Windows 或 Linux:Alt+F11
\n' + + '
macOS:⌥F11
\n' + + '
跳至通知
\n' + + '
Windows 或 Linux:Alt+F12
\n' + + '
macOS:⌥F12
\n' + + '
跳至關聯式工具列
\n' + + '
Windows、Linux 或 macOS:Ctrl+F9
\n' + + '
\n' + + '\n' + + '

瀏覽會從第一個 UI 項目開始,該項目會反白顯示,但如果是「頁尾」元素路徑的第一項,\n' + + ' 則加底線。

\n' + + '\n' + + '

在 UI 區段之間瀏覽

\n' + + '\n' + + '

從 UI 區段移至下一個,請按 Tab

\n' + + '\n' + + '

從 UI 區段移回上一個,請按 Shift+Tab

\n' + + '\n' + + '

這些 UI 區段的 Tab 順序如下:

\n' + + '\n' + + '
    \n' + + '
  1. 功能表列
  2. \n' + + '
  3. 各個工具列群組
  4. \n' + + '
  5. 側邊欄
  6. \n' + + '
  7. 頁尾中的元素路徑
  8. \n' + + '
  9. 頁尾中字數切換按鈕
  10. \n' + + '
  11. 頁尾中的品牌連結
  12. \n' + + '
  13. 頁尾中編輯器調整大小控點
  14. \n' + + '
\n' + + '\n' + + '

如果 UI 區段未顯示,表示已略過該區段。

\n' + + '\n' + + '

如果鍵盤瀏覽跳至頁尾,但沒有顯示側邊欄,則按下 Shift+Tab\n' + + ' 會跳至第一個工具列群組,而不是最後一個。

\n' + + '\n' + + '

在 UI 區段之內瀏覽

\n' + + '\n' + + '

在兩個 UI 元素之間移動,請按適當的方向鍵。

\n' + + '\n' + + '

向左向右方向鍵

\n' + + '\n' + + '
    \n' + + '
  • 在功能表列中的功能表之間移動。
  • \n' + + '
  • 開啟功能表中的子功能表。
  • \n' + + '
  • 在工具列群組中的按鈕之間移動。
  • \n' + + '
  • 在頁尾的元素路徑中項目之間移動。
  • \n' + + '
\n' + + '\n' + + '

向下向上方向鍵

\n' + + '\n' + + '
    \n' + + '
  • 在功能表中的功能表項目之間移動。
  • \n' + + '
  • 在工具列快顯功能表中的項目之間移動。
  • \n' + + '
\n' + + '\n' + + '

方向鍵會在所跳至 UI 區段之內循環。

\n' + + '\n' + + '

若要關閉已開啟的功能表、已開啟的子功能表,或已開啟的快顯功能表,請按 Esc 鍵。

\n' + + '\n' + + '

如果目前已跳至特定 UI 區段的「頂端」,則按 Esc 鍵也會結束\n' + + ' 整個鍵盤瀏覽。

\n' + + '\n' + + '

執行功能表列項目或工具列按鈕

\n' + + '\n' + + '

當想要的功能表項目或工具列按鈕已反白顯示時,按 ReturnEnter、\n' + + ' 或空白鍵即可執行該項目。

\n' + + '\n' + + '

瀏覽非索引標籤式對話方塊

\n' + + '\n' + + '

在非索引標籤式對話方塊中,開啟對話方塊時會跳至第一個互動元件。

\n' + + '\n' + + '

TabShift+Tab 即可在互動式對話方塊元件之間瀏覽。

\n' + + '\n' + + '

瀏覽索引標籤式對話方塊

\n' + + '\n' + + '

在索引標籤式對話方塊中,開啟對話方塊時會跳至索引標籤式功能表中的第一個按鈕。

\n' + + '\n' + + '

若要在此對話方塊的互動式元件之間瀏覽,請按 Tab 或\n' + + ' Shift+Tab

\n' + + '\n' + + '

先跳至索引標籤式功能表,然後按適當的方向鍵,即可切換至另一個對話方塊索引標籤,\n' + + ' 以循環瀏覽可用的索引標籤。

\n'); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/help/plugin.min.js b/dsql-app/public/tinymce-public/plugins/help/plugin.min.js new file mode 100644 index 0000000..c5c191c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/help/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");let t=0;const n=e=>{const n=(new Date).getTime(),a=Math.floor(window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967295*1e9);return t++,e+"_"+a+t+String(n)},a=e=>t=>t.options.get(e),r=a("help_tabs"),o=a("forced_plugins"),i=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=a=e,(r=String).prototype.isPrototypeOf(n)||(null===(o=a.constructor)||void 0===o?void 0:o.name)===r.name)?"string":t;var n,a,r,o})(e));const s=(void 0,e=>undefined===e);const l=e=>"function"==typeof e,m=(!1,()=>false);class c{constructor(e,t){this.tag=e,this.value=t}static some(e){return new c(!0,e)}static none(){return c.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?c.some(e(this.value)):c.none()}bind(e){return this.tag?e(this.value):c.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:c.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return null==e?c.none():c.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}c.singletonNone=new c(!1);const u=Array.prototype.slice,p=Array.prototype.indexOf,y=(e,t)=>{const n=e.length,a=new Array(n);for(let r=0;r{const n=[];for(let a=0,r=e.length;a{const n=u.call(e,0);return n.sort(t),n},g=Object.keys,k=Object.hasOwnProperty,v=(e,t)=>k.call(e,t);var b=tinymce.util.Tools.resolve("tinymce.Resource"),f=tinymce.util.Tools.resolve("tinymce.util.I18n");const A=(e,t)=>b.load(`tinymce.html-i18n.help-keynav.${t}`,`${e}/js/i18n/keynav/${t}.js`),w=e=>A(e,f.getCode()).catch((()=>A(e,"en")));var C=tinymce.util.Tools.resolve("tinymce.Env");const S=e=>{const t=C.os.isMacOS()||C.os.isiOS(),n=t?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl ",access:"Shift + Alt "},a=e.split("+"),r=y(a,(e=>{const t=e.toLowerCase().trim();return v(n,t)?n[t]:e}));return t?r.join("").replace(/\s/,""):r.join("+")},M=[{shortcuts:["Meta + B"],action:"Bold"},{shortcuts:["Meta + I"],action:"Italic"},{shortcuts:["Meta + U"],action:"Underline"},{shortcuts:["Meta + A"],action:"Select all"},{shortcuts:["Meta + Y","Meta + Shift + Z"],action:"Redo"},{shortcuts:["Meta + Z"],action:"Undo"},{shortcuts:["Access + 1"],action:"Heading 1"},{shortcuts:["Access + 2"],action:"Heading 2"},{shortcuts:["Access + 3"],action:"Heading 3"},{shortcuts:["Access + 4"],action:"Heading 4"},{shortcuts:["Access + 5"],action:"Heading 5"},{shortcuts:["Access + 6"],action:"Heading 6"},{shortcuts:["Access + 7"],action:"Paragraph"},{shortcuts:["Access + 8"],action:"Div"},{shortcuts:["Access + 9"],action:"Address"},{shortcuts:["Alt + 0"],action:"Open help dialog"},{shortcuts:["Alt + F9"],action:"Focus to menubar"},{shortcuts:["Alt + F10"],action:"Focus to toolbar"},{shortcuts:["Alt + F11"],action:"Focus to element path"},{shortcuts:["Alt + F12"],action:"Focus to notification"},{shortcuts:["Ctrl + F9"],action:"Focus to contextual toolbar"},{shortcuts:["Shift + Enter"],action:"Open popup menu for split buttons"},{shortcuts:["Meta + K"],action:"Insert link (if link plugin activated)"},{shortcuts:["Meta + S"],action:"Save (if save plugin activated)"},{shortcuts:["Meta + F"],action:"Find (if searchreplace plugin activated)"},{shortcuts:["Meta + Shift + F"],action:"Switch to or from fullscreen mode"}],_=()=>({name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:y(M,(e=>{const t=y(e.shortcuts,S).join(" or ");return[e.action,t]}))}]}),x=y([{key:"accordion",name:"Accordion"},{key:"anchor",name:"Anchor"},{key:"autolink",name:"Autolink"},{key:"autoresize",name:"Autoresize"},{key:"autosave",name:"Autosave"},{key:"charmap",name:"Character Map"},{key:"code",name:"Code"},{key:"codesample",name:"Code Sample"},{key:"colorpicker",name:"Color Picker"},{key:"directionality",name:"Directionality"},{key:"emoticons",name:"Emoticons"},{key:"fullscreen",name:"Full Screen"},{key:"help",name:"Help"},{key:"image",name:"Image"},{key:"importcss",name:"Import CSS"},{key:"insertdatetime",name:"Insert Date/Time"},{key:"link",name:"Link"},{key:"lists",name:"Lists"},{key:"advlist",name:"List Styles"},{key:"media",name:"Media"},{key:"nonbreaking",name:"Nonbreaking"},{key:"pagebreak",name:"Page Break"},{key:"preview",name:"Preview"},{key:"quickbars",name:"Quick Toolbars"},{key:"save",name:"Save"},{key:"searchreplace",name:"Search and Replace"},{key:"table",name:"Table"},{key:"textcolor",name:"Text Color"},{key:"visualblocks",name:"Visual Blocks"},{key:"visualchars",name:"Visual Characters"},{key:"wordcount",name:"Word Count"},{key:"a11ychecker",name:"Accessibility Checker",type:"premium"},{key:"typography",name:"Advanced Typography",type:"premium",slug:"advanced-typography"},{key:"ai",name:"AI Assistant",type:"premium"},{key:"casechange",name:"Case Change",type:"premium"},{key:"checklist",name:"Checklist",type:"premium"},{key:"advcode",name:"Enhanced Code Editor",type:"premium"},{key:"mediaembed",name:"Enhanced Media Embed",type:"premium",slug:"introduction-to-mediaembed"},{key:"advtable",name:"Enhanced Tables",type:"premium"},{key:"exportpdf",name:"Export to PDF",type:"premium"},{key:"exportword",name:"Export to Word",type:"premium"},{key:"footnotes",name:"Footnotes",type:"premium"},{key:"formatpainter",name:"Format Painter",type:"premium"},{key:"editimage",name:"Image Editing",type:"premium"},{key:"uploadcare",name:"Image Optimizer Powered by Uploadcare",type:"premium"},{key:"importword",name:"Import from Word",type:"premium"},{key:"inlinecss",name:"Inline CSS",type:"premium",slug:"inline-css"},{key:"linkchecker",name:"Link Checker",type:"premium"},{key:"math",name:"Math",type:"premium"},{key:"markdown",name:"Markdown",type:"premium"},{key:"mentions",name:"Mentions",type:"premium"},{key:"mergetags",name:"Merge Tags",type:"premium"},{key:"pageembed",name:"Page Embed",type:"premium"},{key:"permanentpen",name:"Permanent Pen",type:"premium"},{key:"powerpaste",name:"PowerPaste",type:"premium",slug:"introduction-to-powerpaste"},{key:"revisionhistory",name:"Revision History",type:"premium"},{key:"tinymcespellchecker",name:"Spell Checker",type:"premium",slug:"introduction-to-tiny-spellchecker"},{key:"autocorrect",name:"Spelling Autocorrect",type:"premium"},{key:"tableofcontents",name:"Table of Contents",type:"premium"},{key:"advtemplate",name:"Templates",type:"premium",slug:"advanced-templates"},{key:"tinycomments",name:"Tiny Comments",type:"premium",slug:"introduction-to-tiny-comments"},{key:"tinydrive",name:"Tiny Drive",type:"premium",slug:"tinydrive-introduction"}],(e=>({...e,type:e.type||"opensource",slug:e.slug||e.key}))),T=e=>{const t=e=>`${e.name}`,n=(e,n)=>{return(a=x,r=e=>e.key===n,((e,t,n)=>{for(let a=0,r=e.length;a((e,n)=>{const a=e.plugins[n].getMetadata;if(l(a)){const e=a();return{name:e.name,html:t(e)}}return{name:n,html:n}})(e,n)),(e=>{const n="premium"===e.type?`${e.name}*`:e.name;return{name:n,html:t({name:n,url:`https://www.tiny.cloud/docs/tinymce/7/${e.slug}/`})}}));var a,r},a=e=>{const t=(e=>{const t=g(e.plugins),n=o(e);return s(n)?t:h(t,(e=>!(((e,t)=>p.call(e,t))(n,e)>-1)))})(e),a=d(y(t,(t=>n(e,t))),((e,t)=>e.name.localeCompare(t.name))),r=y(a,(e=>"
  • "+e.html+"
  • ")),i=r.length,l=r.join("");return"

    "+f.translate(["Plugins installed ({0}):",i])+"

      "+l+"
    "},r={type:"htmlpanel",presets:"document",html:[(e=>null==e?"":"
    "+a(e)+"
    ")(e),(()=>{const e=h(x,(({type:e})=>"premium"===e)),t=d(y(e,(e=>e.name)),((e,t)=>e.localeCompare(t))),n=y(t,(e=>`
  • ${e}
  • `)).join("");return"

    "+f.translate("Premium plugins:")+"

    "})()].join("")};return{name:"plugins",title:"Plugins",items:[r]}};var O=tinymce.util.Tools.resolve("tinymce.EditorManager");const P=(e,t,a)=>()=>{(async(e,t,a)=>{const o=_(),s=await(async e=>({name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:await w(e)}]}))(a),l=T(e),m=(()=>{var e,t;const n='TinyMCE '+(e=O.majorVersion,t=O.minorVersion,(0===e.indexOf("@")?"X.X.X":e+"."+t)+"");return{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"

    "+f.translate(["You are using {0}",n])+"

    ",presets:"document"}]}})(),u={[o.name]:o,[s.name]:s,[l.name]:l,[m.name]:m,...t.get()};return c.from(r(e)).fold((()=>(e=>{const t=g(e),n=t.indexOf("versions");return-1!==n&&(t.splice(n,1),t.push("versions")),{tabs:e,names:t}})(u)),(e=>((e,t)=>{const a={},r=y(e,(e=>{var r;if(i(e))return v(t,e)&&(a[e]=t[e]),e;{const t=null!==(r=e.name)&&void 0!==r?r:n("tab-name");return a[t]=e,t}}));return{tabs:a,names:r}})(e,u)))})(e,t,a).then((({tabs:t,names:n})=>{const a={type:"tabpanel",tabs:(e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t{return v(n=t,a=e)?c.from(n[a]):c.none();var n,a})))};e.windowManager.open({title:"Help",size:"medium",body:a,buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{}})}))};e.add("help",((e,t)=>{const a=(e=>{let t={};return{get:()=>t,set:e=>{t=e}}})(),r=(e=>({addTab:t=>{var a;const r=null!==(a=t.name)&&void 0!==a?a:n("tab-name"),o=e.get();o[r]=t,e.set(o)}}))(a);(e=>{(0,e.options.register)("help_tabs",{processor:"array"})})(e);const o=P(e,a,t);return((e,t)=>{e.ui.registry.addButton("help",{icon:"help",tooltip:"Help",onAction:t,context:"any"}),e.ui.registry.addMenuItem("help",{text:"Help",icon:"help",shortcut:"Alt+0",onAction:t,context:"any"})})(e,o),((e,t)=>{e.addCommand("mceHelp",t)})(e,o),e.shortcuts.add("Alt+0","Open help dialog","mceHelp"),((e,t)=>{e.on("init",(()=>{w(t)}))})(e,t),r}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/image/plugin.min.js b/dsql-app/public/tinymce-public/plugins/image/plugin.min.js new file mode 100644 index 0000000..f41a782 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/image/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,s=e=>t=>typeof t===e,r=i("string"),o=i("object"),n=e=>((e,i)=>o(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(null,e=>null===e);const m=s("boolean"),d=e=>!(e=>null==e)(e),g=s("function"),u=s("number"),p=()=>{};class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return d(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const b=Object.keys,v=Object.hasOwnProperty,y=(e,t)=>v.call(e,t),f=Array.prototype.push,w=e=>{const t=[];for(let a=0,i=e.length;a{((e,t,a)=>{if(!(r(a)||m(a)||u(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},D=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},_=D;var C=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),I=tinymce.util.Tools.resolve("tinymce.util.URI");const U=e=>e.length>0,x=e=>t=>t.options.get(e),S=x("image_dimensions"),N=x("image_advtab"),T=x("image_uploadtab"),O=x("image_prepend_url"),E=x("image_class_list"),L=x("image_description"),j=x("image_title"),M=x("image_caption"),R=x("image_list"),k=x("a11y_advanced_options"),z=x("automatic_uploads"),B=(e,t)=>Math.max(parseInt(e,10),parseInt(t,10)),P=e=>(e&&(e=e.replace(/px$/,"")),e),F=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),H=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),G=(e,t)=>{const a=e.options.get;return I.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},W=C.DOM,$=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?P(e.style.marginLeft):"",V=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?P(e.style.marginTop):"",K=e=>e.style.borderWidth?P(e.style.borderWidth):"",Z=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},q=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,J=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},Q=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},X=(e,t)=>(e,a,i)=>{const s=e.style;s[a]?(s[a]=F(i),Q(e,t)):J(e,a,i)},Y=(e,t)=>e.style[t]?P(e.style[t]):Z(e,t),ee=(e,t)=>{const a=F(t);e.style.marginLeft=a,e.style.marginRight=a},te=(e,t)=>{const a=F(t);e.style.marginTop=a,e.style.marginBottom=a},ae=(e,t)=>{const a=F(t);e.style.borderWidth=a},ie=(e,t)=>{e.style.borderStyle=t},se=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},re=e=>d(e)&&"FIGURE"===e.nodeName,oe=e=>0===W.getAttrib(e,"alt").length&&"presentation"===W.getAttrib(e,"role"),ne=e=>oe(e)?"":Z(e,"alt"),le=(e,t)=>{var a;const i=document.createElement("img");return J(i,"style",t.style),($(i)||""!==t.hspace)&&ee(i,t.hspace),(V(i)||""!==t.vspace)&&te(i,t.vspace),(K(i)||""!==t.border)&&ae(i,t.border),(se(i)||""!==t.borderStyle)&&ie(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},ce=(e,t)=>({src:Z(t,"src"),alt:ne(t),title:Z(t,"title"),width:Y(t,"width"),height:Y(t,"height"),class:Z(t,"class"),style:e(Z(t,"style")),caption:q(t),hspace:$(t),vspace:V(t),border:K(t),borderStyle:se(t),isDecorative:oe(t)}),me=(e,t,a,i,s)=>{a[i]!==t[i]&&s(e,i,String(a[i]))},de=(e,t,a)=>{if(a){W.setAttrib(e,"role","presentation");const t=_(e);A(t,"alt","")}else{if(c(t)){"alt",_(e).dom.removeAttribute("alt")}else{const a=_(e);A(a,"alt",t)}"presentation"===W.getAttrib(e,"role")&&W.setAttrib(e,"role","")}},ge=(e,t)=>(a,i,s)=>{e(a,s),Q(a,t)},ue=(e,t,a)=>{const i=ce(e,a);me(a,i,t,"caption",((e,t,a)=>(e=>{q(e)?(e=>{const t=e.parentNode;d(t)&&(W.insertAfter(e,t),W.remove(t))})(e):(e=>{const t=W.create("figure",{class:"image"});W.insertAfter(t,e),t.appendChild(e),t.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)})(e))),me(a,i,t,"src",J),me(a,i,t,"title",J),me(a,i,t,"width",X(0,e)),me(a,i,t,"height",X(0,e)),me(a,i,t,"class",J),me(a,i,t,"style",ge(((e,t)=>J(e,"style",t)),e)),me(a,i,t,"hspace",ge(ee,e)),me(a,i,t,"vspace",ge(te,e)),me(a,i,t,"border",ge(ae,e)),me(a,i,t,"borderStyle",ge(ie,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||de(e,a.alt,a.isDecorative)})(a,i,t)},pe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},he=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||H(t))?null:t},be=(e,t)=>{var a;const i=e.dom,s=((t,a)=>{const i={};var s;return((e,t,a,i)=>{((e,t)=>{const a=b(e);for(let i=0,s=a.length;i{(t(e,s)?a:i)(e,s)}))})(t,((t,a)=>!e.schema.isValidChild(a,"figure")),(s=i,(e,t)=>{s[t]=e}),p),i})(e.schema.getTextBlockElements()),r=i.getParent(t.parentNode,(e=>{return t=s,a=e.nodeName,y(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},ve=(e,t)=>{const a=((t,a)=>{const i=document.createElement("img");if(ue((t=>pe(e,t)),{...a,caption:!1},i),de(i,a.alt,a.isDecorative),a.caption){const e=W.create("figure",{class:"image"});return e.appendChild(i),e.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return i})(0,t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),re(i)){const t=be(e,i);e.selection.select(t)}else e.selection.select(i)},ye=(e,t)=>{const a=he(e);if(a){const i={...ce((t=>pe(e,t)),a),...t},s=((e,t)=>{const a=t.src;return{...t,src:G(e,a)?a:""}})(e,i);i.src?((e,t)=>{const a=he(e);if(a)if(ue((t=>pe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),re(a.parentNode)){const t=a.parentNode;be(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!S(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)})(e,s):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&ve(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},fe=(we=(e,t)=>n(e)&&n(t)?fe(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;ar(e.value)?e.value:"",Ce=(e,t)=>{const a=[];return De.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const s=Ce(e.menu,t);a.push({text:i,items:s})}else{const s=t(e);a.push({text:i,value:s})}})),a},Ie=(e=_e)=>t=>t?h.from(t).map((t=>Ce(t,e))):h.none(),Ue=(e,t)=>((e,a)=>{for(let a=0;ay(e,"items"))(i=e[a])?Ue(i.items,t):i.value===t?h.some(i):h.none();if(s.isSome())return s}var i;return h.none()})(e),xe=Ie,Se=(e,t)=>e.bind((e=>Ue(e,t))),Ne=e=>{const t=xe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=R(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):g(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>w([[{text:"None",value:""}],e]))))}))})),i=(A=E(e),Ie(_e)(A)),s=N(e),o=T(e),n=(e=>U(e.options.get("images_upload_url")))(e),l=(e=>d(e.options.get("images_upload_handler")))(e),c=(e=>{const t=he(e);return t?ce((t=>pe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=L(e),u=j(e),p=S(e),b=M(e),v=k(e),y=z(e),f=h.some(O(e)).filter((e=>r(e)&&e.length>0));var A;return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:s,hasUploadTab:o,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:u,hasDimensions:p,hasImageCaption:b,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},Te=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return w([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(s=e.classList.isSome()&&e.hasImageCaption,s?{type:"grid",columns:2}:{type:"panel"}),items:w([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var s},Oe=e=>({title:"General",name:"general",items:Te(e)}),Ee=Te,Le=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),je=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),Me=(e,t,a,i)=>{((e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?h.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?h.some(e+t):h.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))})(t,i),((e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const s=fe({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Se(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&m(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,s,i),t.setData(s)}})(t,i),((e,t,a,i)=>{const s=i.getData(),r=s.src.value,o=s.src.meta||{};o.width||o.height||!t.hasDimensions||(U(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),s=Se(e.imageList,i.src.value);t.prevImage=s,a.setData({images:s.map((e=>e.value)).getOr("")})})(t,a,i)},Re=(e,t,a,i)=>{const s=i.getData();var r;i.block("Uploading image"),(r=s.fileinput,((e,t)=>0{i.unblock()}),(s=>{const r=URL.createObjectURL(s),o=()=>{i.unblock(),URL.revokeObjectURL(r)},n=s=>{i.setData({src:{value:s,meta:{}}}),i.showTab("general"),Me(e,t,a,i),i.focus("src")};var l;(l=s,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(s,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),o()})).catch((t=>{o(),e.alertErr(t,(()=>{i.focus("fileinput")}))})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},ke=(e,t,a)=>(i,s)=>{"src"===s.name?Me(e,t,a,i):"images"===s.name?((e,t,a,i)=>{const s=i.getData(),r=Se(t.imageList,s.images);r.each((e=>{const t=""===s.alt||a.prevImage.map((e=>e.text===s.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Me(e,t,a,i)})(e,t,a,i):"alt"===s.name?a.prevAlt=i.getData().alt:"fileinput"===s.name?Re(e,t,a,i):"isDecorative"===s.name&&i.setEnabled("alt",!i.getData().isDecorative)},ze=e=>()=>{e.open=!1},Be=e=>e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:w([[Oe(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}]:[]])}:{type:"panel",items:Ee(e)},Pe=(e,t,a)=>i=>{const s=fe(Le(t.image),i.getData()),r={...s,style:le(a.normalizeCss,je(s,!1))};e.execCommand("mceUpdateImage",!1,je(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Fe=e=>t=>G(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:B(a.width,a.clientWidth),height:B(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const s=a.style;s.visibility="hidden",s.position="fixed",s.bottom=s.left="0px",s.width=s.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),He=e=>(t,a,i)=>{var s;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(s=t.name)||void 0===s?void 0:s.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},Ge=e=>t=>{e.editorUpload.blobCache.add(t)},We=e=>(t,a)=>{e.windowManager.alert(t,a)},$e=e=>t=>pe(e,t),Ve=e=>t=>e.dom.parseStyle(t),Ke=e=>(t,a)=>e.dom.serializeStyle(t,a),Ze=e=>t=>Ae(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),qe=e=>{const t={imageSize:Fe(e),addToBlobCache:Ge(e),createBlobCache:He(e),alertErr:We(e),normalizeCss:$e(e),parseStyle:Ve(e),serializeStyle:Ke(e),uploadImage:Ze(e)};return{open:()=>{Ne(e).then((a=>{const i=(e=>({prevImage:Se(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Be(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Le(a.image),onSubmit:Pe(e,a,t),onChange:ke(t,a,i),onClose:ze(i)}})).then(e.windowManager.open)}}},Je=e=>{const t=e.attr("class");return d(t)&&/\bimage\b/.test(t)},Qe=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const s=t[a];Je(s)&&(s.attr("contenteditable",e?"false":null),De.each(s.getAll("figcaption"),i))}},Xe=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{(e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",Qe(!0)),e.serializer.addNodeFilter("figure",Qe(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:qe(e).open,onSetup:t=>{t.setActive(d(he(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=Xe(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:qe(e).open,onSetup:Xe(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(re(t)||"IMG"===t.nodeName&&!H(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",qe(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>ye(e,a)))}))})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/importcss/plugin.min.js b/dsql-app/public/tinymce-public/plugins/importcss/plugin.min.js new file mode 100644 index 0000000..d1e6ce3 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/importcss/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(s=r=e,(o=String).prototype.isPrototypeOf(s)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?"string":t;var s,r,o,n})(t)===e,s=t("string"),r=t("object"),o=t("array"),n=("function",e=>"function"==typeof e);var c=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),l=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Tools");const p=e=>t=>t.options.get(e),u=p("importcss_merge_classes"),m=p("importcss_exclusive"),f=p("importcss_selector_converter"),y=p("importcss_selector_filter"),d=p("importcss_groups"),h=p("importcss_append"),g=p("importcss_file_filter"),_=p("skin"),v=p("skin_url"),b=Array.prototype.push,x=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,T=e=>s(e)?t=>-1!==t.indexOf(e):e instanceof RegExp?t=>e.test(t):e,S=(e,t)=>{let s={};const r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(!r)return;const o=r[1],n=r[2].substr(1).split(".").join(" "),c=a.makeMap("a,img");return r[1]?(s={title:t},e.schema.getTextBlockElements()[o]?s.block=o:e.schema.getBlockElements()[o]||c[o.toLowerCase()]?s.selector=o:s.inline=o):r[2]&&(s={inline:"span",title:t.substr(1),classes:n}),u(e)?s.classes=n:s.attributes={class:n},s},k=(e,t)=>null===t||m(e),M=e=>{e.on("init",(()=>{const t=(()=>{const e=[],t=[],s={};return{addItemToGroup:(e,r)=>{s[e]?s[e].push(r):(t.push(e),s[e]=[r])},addItem:t=>{e.push(t)},toFormats:()=>{return(r=t,n=e=>{const t=s[e];return 0===t.length?[]:[{title:e,items:t}]},(e=>{const t=[];for(let s=0,r=e.length;s{const s=e.length,r=new Array(s);for(let o=0;oa.map(e,(e=>a.extend({},e,{original:e,selectors:{},filter:T(e.filter)}))))(d(e)),u=(t,s)=>{if(((e,t,s,r)=>!(k(e,s)?t in r:t in s.selectors))(e,t,s,r)){((e,t,s,r)=>{k(e,s)?r[t]=!0:s.selectors[t]=!0})(e,t,s,r);const o=((e,t,s,r)=>{let o;const n=f(e);return o=r&&r.selector_converter?r.selector_converter:n||(()=>S(e,s)),o.call(t,s,r)})(e,e.plugins.importcss,t,s);if(o){const t=o.name||c.DOM.uniqueId();return e.formatter.register(t,o),{title:o.title,format:t}}}return null};a.each(((e,t,r)=>{const o=[],n={},c=(t,n)=>{let p,u=t.href;if(u=(e=>{const t=l.cacheSuffix;return s(e)&&(e=e.replace("?"+t,"").replace("&"+t,"")),e})(u),u&&(!r||r(u,n))&&!((e,t)=>{const s=_(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/",c=e.editorManager.suffix;return t===o+"/content"+(e.inline?".inline":"")+`${c}.css`||-1!==t.indexOf(n)}return!1})(e,u)){a.each(t.imports,(e=>{c(e,!0)}));try{p=t.cssRules||t.rules}catch(e){}a.each(p,(e=>{e.styleSheet&&e.styleSheet?c(e.styleSheet,!0):e.selectorText&&a.each(e.selectorText.split(","),(e=>{o.push(a.trim(e))}))}))}};a.each(e.contentCSS,(e=>{n[e]=!0})),r||(r=(e,t)=>t||n[e]);try{a.each(t.styleSheets,(e=>{c(e)}))}catch(e){}return o})(e,e.getDoc(),T(g(e))),(e=>{if(!x.test(e)&&(!n||n(e))){const s=((e,t)=>a.grep(e,(e=>!e.filter||e.filter(t))))(p,e);if(s.length>0)a.each(s,(s=>{const r=u(e,s);r&&t.addItemToGroup(s.title,r)}));else{const s=u(e,null);s&&t.addItem(s)}}}));const m=t.toFormats();e.dispatch("addStyleModifications",{items:m,replace:!h(e)})}))};e.add("importcss",(e=>((e=>{const t=e.options.register,o=e=>s(e)||n(e)||r(e);t("importcss_merge_classes",{processor:"boolean",default:!0}),t("importcss_exclusive",{processor:"boolean",default:!0}),t("importcss_selector_converter",{processor:"function"}),t("importcss_selector_filter",{processor:o}),t("importcss_file_filter",{processor:o}),t("importcss_groups",{processor:"object[]"}),t("importcss_append",{processor:"boolean",default:!1})})(e),M(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/insertdatetime/plugin.min.js b/dsql-app/public/tinymce-public/plugins/insertdatetime/plugin.min.js new file mode 100644 index 0000000..ab730a0 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/insertdatetime/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),a=t("insertdatetime_dateformat"),n=t("insertdatetime_timeformat"),r=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),m="January February March April May June July August September October November December".split(" "),c=(e,t)=>{if((e=""+e).length(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+a.getFullYear())).replace("%y",""+a.getYear())).replace("%m",c(a.getMonth()+1,2))).replace("%d",c(a.getDate(),2))).replace("%H",""+c(a.getHours(),2))).replace("%M",""+c(a.getMinutes(),2))).replace("%S",""+c(a.getSeconds(),2))).replace("%I",""+((a.getHours()+11)%12+1))).replace("%p",a.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(m[a.getMonth()]))).replace("%b",""+e.translate(l[a.getMonth()]))).replace("%A",""+e.translate(o[a.getDay()]))).replace("%a",""+e.translate(i[a.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)&&e.selection.isEditable()){const a=d(e,t);let n;n=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,a,n)=>{const r=e.dom.create("time",{datetime:a},n);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,n,a):e.insertContent('")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,n)=>{u(e,null!=n?n:a(e))})),e.addCommand("mceInsertTime",((t,a)=>{u(e,null!=a?a:n(e))}))})(e),(e=>{const t=r(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:n(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===a.get(),fetch:a=>{a(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(a.get())},onItemAction:(e,t)=>{a.set(t),s(t)},onSetup:g(e)});const i=e=>()=>{a.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)}))),onSetup:g(e)})})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/link/plugin.min.js b/dsql-app/public/tinymce-public/plugins/link/plugin.min.js new file mode 100644 index 0000000..165152e --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/link/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(l=o.constructor)||void 0===l?void 0:l.name)===r.name)?"string":t;var n,o,r,l})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),l=t("array"),s=(null,e=>null===e);const a=n("boolean"),i=e=>!(e=>null==e)(e),c=n("function"),u=(e,t)=>{if(l(e)){for(let n=0,o=e.length;n{},d=(e,t)=>e===t;class m{constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return i(e)?m.some(e):m.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}m.singletonNone=new m(!1);const h=Array.prototype.indexOf,p=Array.prototype.push,f=e=>{const t=[];for(let n=0,o=e.length;n{for(let n=0;ne.exists((e=>n(e,t))),b=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;te?m.some(t):m.none(),y=e=>t=>t.options.get(e),_=y("link_assume_external_targets"),w=y("link_context_toolbar"),C=y("link_list"),O=y("link_default_target"),S=y("link_default_protocol"),N=y("link_target_list"),A=y("link_rel_list"),T=y("link_class_list"),E=y("link_title"),L=y("allow_unsafe_link_target"),R=y("link_quicklink"),P=Object.keys,M=Object.hasOwnProperty,D=(e,t)=>M.call(e,t);var B=tinymce.util.Tools.resolve("tinymce.util.URI"),I=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),K=tinymce.util.Tools.resolve("tinymce.util.Tools");const j=e=>i(e)&&"a"===e.nodeName.toLowerCase(),U=e=>j(e)&&!!V(e),q=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),o=n.firstChild,r=new I(o,n),l=[];let s=o;do{t(s)&&l.push(s)}while(s=r.next());return l}},F=e=>/^\w+:/i.test(e),V=e=>{var t,n;return null!==(n=null!==(t=e.getAttribute("data-mce-href"))&&void 0!==t?t:e.getAttribute("href"))&&void 0!==n?n:""},$=(e,t)=>{const n=["noopener"],o=e?e.split(/\s+/):[],r=e=>e.filter((e=>-1===K.inArray(n,e))),l=t?(e=>(e=r(e)).length>0?e.concat(n):n)(o):r(o);return l.length>0?(e=>K.trim(e.sort().join(" ")))(l):""},z=(e,t)=>(t=t||J(e.selection.getRng())[0]||e.selection.getNode(),Y(t)?m.from(e.dom.select("a[href]",t)[0]):m.from(e.dom.getParent(t,"a[href]"))),G=(e,t)=>z(e,t).isSome(),H=(e,t)=>t.fold((()=>e.getContent({format:"text"})),(e=>e.innerText||e.textContent||"")).replace(/\uFEFF/g,""),J=e=>q(e,U),W=e=>K.grep(e,U),Q=e=>W(e).length>0,X=e=>{const t=e.schema.getTextInlineElements();if(z(e).exists((e=>e.hasAttribute("data-mce-block"))))return!1;const n=e.selection.getRng();return!!n.collapsed||0===q(n,(e=>1===e.nodeType&&!j(e)&&!D(t,e.nodeName.toLowerCase()))).length},Y=e=>i(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),Z=(e,t,n)=>{const o=e.selection.getNode(),r=z(e,o),l=((e,t)=>{const n={...t};if(0===A(e).length&&!L(e)){const e=$(n.rel,"_blank"===n.target);n.rel=e||null}return m.from(n.target).isNone()&&!1===N(e)&&(n.target=O(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||F(e)?e:t+"://"+e)(n.href,_(e)),n})(e,(e=>{return t=["title","rel","class","target"],n=(t,n)=>(e[n].each((e=>{t[n]=e.length>0?e:null})),t),o={href:e.href},((e,t)=>{for(let n=0,o=e.length;n{o=n(o,e)})),o;var t,n,o})(n));e.undoManager.transact((()=>{n.href===t.href&&t.attach(),r.fold((()=>{((e,t,n,o)=>{const r=e.dom;Y(t)?re(r,t,o):n.fold((()=>{e.execCommand("mceInsertLink",!1,o)}),(t=>{e.insertContent(r.createHTML("a",o,r.encode(t)))}))})(e,o,n.text,l)}),(t=>{e.focus(),((e,t,n,o)=>{n.each((e=>{D(t,"innerText")?t.innerText=e:t.textContent=e})),e.dom.setAttribs(t,o),e.selection.select(t)})(e,t,n.text,l)}))}))},ee=e=>{const{class:t,href:n,rel:o,target:r,text:l,title:a}=e;return((e,t)=>{const n={};var o;return((e,t,n,o)=>{((e,t)=>{const n=P(e);for(let o=0,r=n.length;o{(t(e,r)?n:o)(e,r)}))})(e,((e,t)=>!1===s(e)),(o=n,(e,t)=>{o[t]=e}),g),n})({class:t.getOrNull(),href:n,rel:o.getOrNull(),target:r.getOrNull(),text:l.getOrNull(),title:a.getOrNull()})},te=(e,t,n)=>{const o=((e,t)=>{const n=e.options.get,o={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},r=t.href;return{...t,href:B.isDomSafe(r,"a",o)?r:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ee(o)):Z(e,t,o)},ne=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact((()=>{const t=e.selection.getNode();Y(t)?oe(e,t):(e=>{const t=e.dom,n=e.selection,o=n.getBookmark(),r=n.getRng().cloneRange(),l=t.getParent(r.startContainer,"a[href]",e.getBody()),s=t.getParent(r.endContainer,"a[href]",e.getBody());l&&r.setStartBefore(l),s&&r.setEndAfter(s),n.setRng(r),e.execCommand("unlink"),n.moveToBookmark(o)})(e),e.focus()}))})(e)},oe=(e,t)=>{var n;const o=e.dom.select("img",t)[0];if(o){const r=e.dom.getParents(o,"a[href]",t)[0];r&&(null===(n=r.parentNode)||void 0===n||n.insertBefore(o,r),e.dom.remove(r))}},re=(e,t,n)=>{var o;const r=e.select("img",t)[0];if(r){const t=e.create("a",n);null===(o=r.parentNode)||void 0===o||o.insertBefore(t,r),t.appendChild(r)}},le=e=>o(e.value)?e.value:"",se=(e,t)=>{const n=[];return K.each(e,(e=>{const r=(e=>o(e.text)?e.text:o(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=se(e.menu,t);n.push({text:r,items:o})}else{const o=t(e);n.push({text:r,value:o})}})),n},ae=(e=le)=>t=>m.from(t).map((t=>se(t,e))),ie=e=>ae(le)(e),ce=ae,ue=(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),ge=le,de=(e,t)=>k(t,(t=>(e=>{return D(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n})(t)?de(e,t.items):x(t.value===e,t))),me=(e,t)=>{const n={text:e.text,title:e.title},o=(e,o)=>{const r=(l=t,s=o,"link"===s?l.link:"anchor"===s?l.anchor:m.none()).getOr([]);var l,s;return((e,t,n,o)=>{const r=o[t],l=e.length>0;return void 0!==r?de(r,n).map((t=>({url:{value:t.value,meta:{text:l?e:t.text,attach:g}},text:l?e:t.text}))):m.none()})(n.text,o,r,e)};return{onChange:(e,t)=>{const r=t.name;return"url"===r?(e=>{const t=(o=e.url,x(n.text.length<=0,m.from(null===(r=o.meta)||void 0===r?void 0:r.text).getOr(o.value)));var o,r;const l=(e=>{var t;return x(n.title.length<=0,m.from(null===(t=e.meta)||void 0===t?void 0:t.title).getOr(""))})(e.url);return t.isSome()||l.isSome()?m.some({...t.map((e=>({text:e}))).getOr({}),...l.map((e=>({title:e}))).getOr({})}):m.none()})(e()):((e,t)=>h.call(e,t))(["anchor","link"],r)>-1?o(e(),r):"text"===r||"title"===r?(n[r]=e()[r],m.none()):m.none()}}};var he=tinymce.util.Tools.resolve("tinymce.util.Delay");const pe=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?m.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):m.none()},fe=(e,t)=>n=>{const o=n.href;return 1===e&&!F(o)||0===e&&/^\s*www(\.|\d\.)/i.test(o)?m.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+o})}):m.none()},ke=e=>{const t=e.dom.select("a:not([href])"),n=f(((e,t)=>{const n=e.length,o=new Array(n);for(let r=0;r{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]})));return n.length>0?m.some([{text:"None",value:""}].concat(n)):m.none()},ve=e=>{const t=T(e);return t.length>0?ie(t):m.none()},be=e=>{try{return m.some(JSON.parse(e))}catch(e){return m.none()}},xe=(e,t)=>{const n=A(e);if(n.length>0){const o=v(t,"_blank"),r=e=>$(ge(e),o);return(!1===L(e)?ce(r):ie)(n)}return m.none()},ye=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],_e=e=>{const t=N(e);return l(t)?ie(t).orThunk((()=>m.some(ye))):!1===t?m.none():m.some(ye)},we=(e,t,n)=>{const o=e.getAttrib(t,n);return null!==o&&o.length>0?m.some(o):m.none()},Ce=(e,t)=>(e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=C(e);return new Promise((e=>{o(n)?fetch(n).then((e=>e.ok?e.text().then(be):Promise.reject())).then(e,(()=>e(m.none()))):c(n)?n((t=>e(m.some(t)))):e(m.from(n))})).then((e=>e.bind(ce(t)).map((e=>e.length>0?[{text:"None",value:""}].concat(e):e))))})(e).then((n=>{const o=((e,t)=>{const n=e.dom,o=X(e)?m.some(H(e.selection,t)):m.none(),r=t.bind((e=>m.from(n.getAttrib(e,"href")))),l=t.bind((e=>m.from(n.getAttrib(e,"target")))),s=t.bind((e=>we(n,e,"rel"))),a=t.bind((e=>we(n,e,"class")));return{url:r,text:o,title:t.bind((e=>we(n,e,"title"))),target:l,rel:s,linkClass:a}})(e,t);return{anchor:o,catalogs:{targets:_e(e),rels:xe(e,o.target),classes:ve(e),anchor:ke(e),link:n},optNode:t,flags:{titleEnabled:E(e)}}})),Oe=e=>{const t=(e=>{const t=z(e);return Ce(e,t)})(e);t.then((t=>{const n=((e,t)=>n=>{const o=n.getData();if(!o.url.value)return ne(e),void n.close();const r=e=>m.from(o[e]).filter((n=>!v(t.anchor[e],n))),l={href:o.url.value,text:r("text"),target:r("target"),rel:r("rel"),class:r("linkClass"),title:r("title")},s={href:o.url.value,attach:void 0!==o.url.meta&&o.url.meta.attach?o.url.meta.attach:g};((e,t)=>k([pe,fe(_(e),S(e))],(e=>e(t))).fold((()=>Promise.resolve(t)),(n=>new Promise((o=>{((e,t,n)=>{const o=e.selection.getRng();he.setEditorTimeout(e,(()=>{e.windowManager.confirm(t,(t=>{e.selection.setRng(o),n(t)}))}))})(e,n.message,(e=>{o(e?n.preprocess(t):t)}))})))))(e,l).then((t=>{te(e,s,t)})),n.close()})(e,t);return((e,t,n)=>{const o=e.anchor.text.map((()=>({name:"text",type:"input",label:"Text to display"}))).toArray(),r=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],l=((e,t)=>{const n=e.anchor,o=n.url.getOr("");return{url:{value:o,meta:{original:{value:o}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:o,link:o,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr("")}})(e,m.from(O(n))),s=e.catalogs,a=me(l,s);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:f([[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],o,r,b([s.anchor.map(ue("anchor","Anchors")),s.rels.map(ue("rel","Rel")),s.targets.map(ue("target","Open link in...")),s.link.map(ue("link","Link list")),s.classes.map(ue("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:l,onChange:(e,{name:t})=>{a.onChange(e.getData,{name:t}).each((t=>{e.setData(t)}))},onSubmit:t}})(t,n,e)})).then((t=>{e.windowManager.open(t)}))};var Se=tinymce.util.Tools.resolve("tinymce.util.VK");const Ne=(e,t)=>{if(t){const o=V(t);if(/^#/.test(o)){const t=e.dom.select(`${o},[name="${n=o,"#",((e,t)=>((e,t,n)=>""===t||e.length>=t.length&&e.substr(0,0+t.length)===t)(e,t))(n,"#")?((e,t)=>e.substring(1))(n):n}"]`);t.length&&e.selection.scrollIntoView(t[0],!0)}else(e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});document.dispatchEvent(n),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)})(t.href)}var n},Ae=(e,t)=>{const n=W(e.dom.getParents(t));return x(1===n.length,n[0])},Te=e=>e.selection.isCollapsed()||(e=>{const t=e.selection.getRng(),n=t.startContainer;return U(n)&&t.startContainer===t.endContainer&&1===e.dom.select("img",n).length})(e)?Ae(e,e.selection.getStart()):(e=>{const t=J(e.selection.getRng());return x(t.length>0,t[0]).or(Ae(e,e.selection.getNode()))})(e),Ee=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},Le=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),Re=e=>t=>{const n=()=>{t.setActive(!e.mode.isReadOnly()&&G(e,e.selection.getNode())),t.setEnabled(e.selection.isEditable())};return n(),Le(e,n)},Pe=e=>t=>{const n=()=>{t.setEnabled(e.selection.isEditable())};return n(),Le(e,n)},Me=e=>t=>{const n=e.dom.getParents(e.selection.getStart()),o=n=>{t.setEnabled((t=>{return Q(t)||(n=e.selection.getRng(),J(n).length>0);var n})(n)&&e.selection.isEditable())};return o(n),Le(e,(e=>o(e.parents)))},De=e=>{const t=(e=>{const t=(()=>{const e=(e=>{const t=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(m.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(m.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(m.some(e))}}})(g);return{...e,on:t=>e.get().each(t)}})(),n=()=>t.get().or(Te(e));return e.on("contextmenu",(n=>{Ae(e,n.target).each(t.set)})),e.on("SelectionChange",(()=>{t.isSet()||Te(e).each(t.set)})),e.on("click",(n=>{t.clear();const o=W(e.dom.getParents(n.target));1===o.length&&Se.metaKeyPressed(n)&&(n.preventDefault(),Ne(e,o[0]))})),e.on("keydown",(o=>{t.clear(),!o.isDefaultPrevented()&&13===o.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(o)&&n().each((t=>{o.preventDefault(),Ne(e,t)}))})),{gotoSelectedLink:()=>n().each((t=>Ne(e,t)))}})(e);((e,t)=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",shortcut:"Meta+K",onAction:Ee(e),onSetup:Re(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:t.gotoSelectedLink,onSetup:Me(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>ne(e),onSetup:Me(e)})})(e,t),((e,t)=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:t.gotoSelectedLink,onSetup:Me(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:Ee(e),onSetup:Pe(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>ne(e),onSetup:Me(e)})})(e,t),(e=>{e.ui.registry.addContextMenu("link",{update:t=>e.dom.isEditable(t)?Q(e.dom.getParents(t,"a"))?"link unlink openlink":"link":""})})(e),((e,t)=>{const n=t=>{const n=e.selection.getNode();return t.setEnabled(G(e,n)&&e.selection.isEditable()),g};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Re(e)},label:"Link",predicate:t=>w(e)&&G(e,t),initValue:()=>z(e).fold((()=>""),V),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(G(e,n)),Re(e)(t)},onAction:t=>{const n=t.getValue(),o=(t=>{const n=z(e),o=X(e);if(n.isNone()&&o){const o=H(e.selection,n);return x(0===o.length,t)}return m.none()})(n);te(e,{href:n,attach:g},{href:n,text:o,title:m.none(),rel:m.none(),target:m.from(O(e)),class:m.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:n,onAction:t=>{ne(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:n,onAction:e=>{t.gotoSelectedLink(),e.hide()}}]})})(e,t)};e.add("link",(e=>{(e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=o(e)||a(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>o(e)||c(e)||u(e,r)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>a(e)||u(e,r),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceLink",((t,n)=>{!0!==(null==n?void 0:n.dialog)&&R(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Oe(e)}))})(e),De(e),(e=>{e.addShortcut("Meta+K","",(()=>{e.execCommand("mceLink")}))})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/lists/plugin.min.js b/dsql-app/public/tinymce-public/plugins/lists/plugin.min.js new file mode 100644 index 0000000..abc576c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/lists/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===r.name)?"string":t;var n,o,r,s})(t)===e,n=e=>t=>typeof t===e,o=t("string"),r=t("object"),s=t("array"),i=n("boolean"),l=e=>!(e=>null==e)(e),a=n("function"),d=n("number"),c=()=>{},m=e=>()=>e,u=(e,t)=>e===t,p=e=>t=>!e(t),g=m(!1);class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return l(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const f=Array.prototype.slice,y=Array.prototype.indexOf,v=Array.prototype.push,C=(e,t)=>{return n=e,o=t,y.call(n,o)>-1;var n,o},b=(e,t)=>{for(let n=0,o=e.length;n{const n=e.length,o=new Array(n);for(let r=0;r{for(let n=0,o=e.length;n{const n=[];for(let o=0,r=e.length;o(S(e,((e,o)=>{n=t(n,e,o)})),n),A=(e,t,n)=>{for(let o=0,r=e.length;oA(e,t,g),E=(e,t)=>(e=>{const t=[];for(let n=0,o=e.length;n{const t=f.call(e,0);return t.reverse(),t},k=(e,t)=>t>=0&&tk(e,0),D=e=>k(e,e.length-1),B=(e,t)=>{const n=[],o=a(t)?e=>b(n,(n=>t(n,e))):e=>C(n,e);for(let t=0,r=e.length;te.exists((e=>n(e,t))),P=(e,t,n)=>e.isSome()&&t.isSome()?h.some(n(e.getOrDie(),t.getOrDie())):h.none(),I=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},R=(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return I(n.childNodes[0])},U=(e,t)=>{const n=(t||document).createElement(e);return I(n)},$=I,_=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},H=(e,t)=>e.dom===t.dom,F=_,V="undefined"!=typeof window?window:Function("return this;")(),j=(e,t)=>((e,t)=>{let n=null!=t?t:V;for(let t=0;t{const t=j("ownerDocument.defaultView",e);return r(e)&&((e=>((e,t)=>{const n=((e,t)=>j(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(K(e).constructor.name))},Q=e=>e.dom.nodeName.toLowerCase(),W=e=>e.dom.nodeType,q=e=>t=>W(t)===e,Z=e=>G(e)&&z(e.dom),G=q(1),J=q(3),X=q(11),Y=e=>t=>G(t)&&Q(t)===e,ee=e=>h.from(e.dom.parentNode).map($),te=e=>N(e.dom.childNodes,$),ne=(e,t)=>{const n=e.dom.childNodes;return h.from(n[t]).map($)},oe=e=>ne(e,0),re=e=>ne(e,e.dom.childNodes.length-1),se=e=>$(e.dom.host),ie=e=>{const t=J(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=(e=>$(e.dom.getRootNode()))(e);return X(n=t)&&l(n.dom.host)?h.some(t):h.none();var n})($(t)).fold((()=>n.body.contains(t)),(o=ie,r=se,e=>o(r(e))));var o,r};var le=(e,t,n,o,r)=>e(n,o)?h.some(n):a(r)&&r(n)?h.none():t(n,o,r);const ae=(e,t,n)=>{let o=e.dom;const r=a(n)?n:g;for(;o.parentNode;){o=o.parentNode;const e=$(o);if(t(e))return h.some(e);if(r(e))break}return h.none()},de=(e,t,n)=>le(((e,t)=>t(e)),ae,e,t,n),ce=(e,t,n)=>ae(e,(e=>_(e,t)),n),me=(e,t)=>{ee(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},ue=(e,t)=>{e.dom.appendChild(t.dom)},pe=(e,t)=>{S(t,(t=>{ue(e,t)}))},ge=e=>{e.dom.textContent="",S(te(e),(e=>{he(e)}))},he=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)};var fe=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),ye=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),ve=tinymce.util.Tools.resolve("tinymce.util.VK");const Ce=e=>N(e,$),be=Object.keys,Ne=(e,t)=>{const n=be(e);for(let o=0,r=n.length;o{const n=e.dom;Ne(t,((e,t)=>{((e,t,n)=>{if(!(o(n)||i(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(n,t,e)}))},Le=e=>O(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),Oe=e=>((e,t)=>$(e.dom.cloneNode(!0)))(e),Ae=(e,t)=>{const n=((e,t)=>{const n=U(t),o=Le(e);return Se(n,o),n})(e,t);var o,r;r=n,(e=>h.from(e.dom.nextSibling).map($))(o=e).fold((()=>{ee(o).each((e=>{ue(e,r)}))}),(e=>{me(e,r)}));const s=te(e);return pe(n,s),he(e),n};var Te=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Ee=tinymce.util.Tools.resolve("tinymce.util.Tools");const xe=e=>t=>l(t)&&t.nodeName.toLowerCase()===e,ke=e=>t=>l(t)&&e.test(t.nodeName),we=e=>l(e)&&3===e.nodeType,De=e=>l(e)&&1===e.nodeType,Be=ke(/^(OL|UL|DL)$/),Me=ke(/^(OL|UL)$/),Pe=xe("ol"),Ie=ke(/^(LI|DT|DD)$/),Re=ke(/^(DT|DD)$/),Ue=ke(/^(TH|TD)$/),$e=xe("br"),_e=(e,t)=>l(t)&&t.nodeName in e.schema.getTextBlockElements(),He=(e,t)=>l(e)&&e.nodeName in t,Fe=(e,t)=>l(t)&&t.nodeName in e.schema.getVoidElements(),Ve=(e,t,n)=>{const o=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&o},je=(e,t)=>e.isChildOf(t,e.getRoot()),Ke=e=>t=>t.options.get(e),ze=Ke("lists_indent_on_tab"),Qe=Ke("forced_root_block"),We=Ke("forced_root_block_attrs"),qe=(e,t,n={})=>{const o=e.dom,r=e.schema.getBlockElements(),s=o.createFragment(),i=Qe(e),l=We(e);let a,d,c=!1;for(d=o.create(i,{...l,...n.style?{style:n.style}:{}}),He(t.firstChild,r)||s.appendChild(d);a=t.firstChild;){const e=a.nodeName;c||"SPAN"===e&&"bookmark"===a.getAttribute("data-mce-type")||(c=!0),He(a,r)?(s.appendChild(a),d=null):(d||(d=o.create(i,l),s.appendChild(d)),d.appendChild(a))}return!c&&d&&d.appendChild(o.create("br",{"data-mce-bogus":"1"})),s},Ze=Te.DOM,Ge=Y("dd"),Je=Y("dt"),Xe=(e,t)=>{var n;Ge(t)?Ae(t,"dt"):Je(t)&&(n=t,h.from(n.dom.parentElement).map($)).each((n=>((e,t,n)=>{const o=Ze.select('span[data-mce-type="bookmark"]',t),r=qe(e,n),s=Ze.createRng();s.setStartAfter(n),s.setEndAfter(t);const i=s.extractContents();for(let t=i.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){Ze.remove(t);break}e.dom.isEmpty(i)||Ze.insertAfter(i,t),Ze.insertAfter(r,t);const l=n.parentElement;l&&Ve(e.dom,l)&&(e=>{const t=e.parentNode;t&&Ee.each(o,(e=>{t.insertBefore(e,n.parentNode)})),Ze.remove(e)})(l),Ze.remove(n),Ve(e.dom,t)&&Ze.remove(t)})(e,n.dom,t.dom)))},Ye=e=>{Je(e)&&Ae(e,"dd")},et=(e,t)=>{if(we(e))return{container:e,offset:t};const n=fe.getNode(e,t);return we(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&we(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&we(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},tt=e=>{const t=e.cloneRange(),n=et(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const o=et(e.endContainer,e.endOffset);return t.setEnd(o.container,o.offset),t},nt=["OL","UL","DL"],ot=nt.join(","),rt=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,ot,lt(e,n))},st=e=>{const t=e.selection.getSelectedBlocks();return L(((e,t)=>{const n=Ee.map(t,(t=>e.dom.getParent(t,"li,dd,dt",lt(e,t))||t));return B(n)})(e,t),Ie)},it=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},lt=(e,t)=>{const n=e.dom.getParents(t,e.dom.isBlock),o=T(n,(t=>{return(t=>t.nodeName.toLowerCase()!==Qe(e))(t)&&(n=e.schema,!Be(o=t)&&!Ie(o)&&b(nt,(e=>n.isValidChild(o.nodeName,e))));var n,o}));return o.getOr(e.getBody())},at=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",lt(e,t));return D(n)},dt=(e,t)=>{const n=N(t,(t=>at(e,t).getOr(t)));return B(n)},ct=e=>/\btox\-/.test(e.className),mt=(e,t)=>A(e,Be,Ue).exists((e=>e.nodeName===t&&!ct(e))),ut=(e,t)=>null!==t&&!e.dom.isEditable(t),pt=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return ut(e,n)||!e.selection.isEditable()},gt=(e,t)=>{const n=e.selection.getNode();return t({parents:e.dom.getParents(n),element:n}),e.on("NodeChange",t),()=>e.off("NodeChange",t)},ht=(e,t)=>{const n=(t||document).createDocumentFragment();return S(e,(e=>{n.appendChild(e.dom)})),$(n)},ft=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),yt=(vt=/^\s+|\s+$/g,e=>e.replace(vt,""));var vt;const Ct=(e,t,n)=>{((e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(e=>void 0!==e.style&&a(e.style.getPropertyValue))(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},bt=e=>F(e,"OL,UL"),Nt=e=>oe(e).exists(bt),St=e=>"listAttributes"in e,Lt=e=>"isComment"in e,Ot=e=>e.depth>0,At=e=>e.isSelected,Tt=e=>{const t=te(e),n=re(e).exists(bt)?t.slice(0,-1):t;return N(n,Oe)},Et=(e,t)=>{ue(e.item,t.list)},xt=(e,t)=>{const n={list:U(t,e),item:U("li",e)};return ue(n.list,n.item),n},kt=(e,t,n)=>{const o=t.slice(0,n.depth);return D(o).each((t=>{if(St(n)){const o=((e,t,n)=>{const o=U("li",e);return Se(o,t),pe(o,n),o})(e,n.itemAttributes,n.content);((e,t)=>{ue(e.list,t),e.item=t})(t,o),((e,t)=>{Q(e.list)!==t.listType&&(e.list=Ae(e.list,t.listType)),Se(e.list,t.listAttributes)})(t,n)}else if((e=>"isFragment"in e)(n))pe(t.item,n.content);else{const e=R(`\x3c!--${n.content}--\x3e`);ue(t.list,e)}})),o},wt=(e,t)=>{let n=h.none();const o=O(t,((t,o,r)=>Lt(o)?0===r?(n=h.some(o),t):kt(e,t,o):o.depth>t.length?((e,t,n)=>{const o=((e,t,n)=>{const o=[];for(let r=0;r{for(let t=1;t{for(let t=0;t{St(t)&&(Se(e.list,t.listAttributes),Se(e.item,t.itemAttributes)),pe(e.item,t.content)}))})(o,n),r=o,P(D(t),w(r),Et),t.concat(o)})(e,t,o):kt(e,t,o)),[]);return n.each((e=>{const t=R(`\x3c!--${e.content}--\x3e`);w(o).each((e=>{((e,t)=>{oe(e).fold((()=>{ue(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))})(e.list,t)}))})),w(o).map((e=>e.list))},Dt=e=>(S(e,((t,n)=>{((e,t)=>{const n=e[t].depth,o=e=>e.depth===n&&!e.dirty,r=e=>e.depthA(e.slice(t+1),o,r)))})(e,n).fold((()=>{t.dirty&&St(t)&&(e=>{e.listAttributes=((e,t)=>{const n={};var o;return((e,t,n,o)=>{Ne(e,((e,r)=>{(t(e,r)?n:o)(e,r)}))})(e,t,(o=n,(e,t)=>{o[t]=e}),c),n})(e.listAttributes,((e,t)=>"start"!==t))})(t)}),(e=>{return o=e,void(St(n=t)&&St(o)&&(n.listType=o.listType,n.listAttributes={...o.listAttributes}));var n,o}))})),e),Bt=(e,t,n,o)=>{var r,s;if(8===W(s=o)||"#comment"===Q(s))return[{depth:e+1,content:null!==(r=o.dom.nodeValue)&&void 0!==r?r:"",dirty:!1,isSelected:!1,isComment:!0}];t.each((e=>{H(e.start,o)&&n.set(!0)}));const i=((e,t,n)=>ee(e).filter(G).map((o=>({depth:t,dirty:!1,isSelected:n,content:Tt(e),itemAttributes:Le(e),listAttributes:Le(o),listType:Q(o),isInPreviousLi:!1}))))(o,e,n.get());t.each((e=>{H(e.end,o)&&n.set(!1)}));const l=re(o).filter(bt).map((o=>Pt(e,t,n,o))).getOr([]);return i.toArray().concat(l)},Mt=(e,t,n,o)=>oe(o).filter(bt).fold((()=>Bt(e,t,n,o)),(r=>{const s=O(te(o),((o,s,i)=>{if(0===i)return o;if(F(s,"LI"))return o.concat(Bt(e,t,n,s));{const t={isFragment:!0,depth:e,content:[s],isSelected:!1,dirty:!1,parentListType:Q(r)};return o.concat(t)}}),[]);return Pt(e,t,n,r).concat(s)})),Pt=(e,t,n,o)=>E(te(o),(o=>(bt(o)?Pt:Mt)(e+1,t,n,o))),It=(e,t,n)=>{const o=((e,t)=>{const n=(e=>{let t=!1;return{get:()=>t,set:e=>{t=e}}})();return N(e,(e=>({sourceList:e,entries:Pt(0,t,n,e)})))})(t,(e=>{const t=N(st(e),$);return P(T(t,p(Nt)),T(x(t),p(Nt)),((e,t)=>({start:e,end:t})))})(e));S(o,(t=>{((e,t)=>{S(L(e,At),(e=>((e,t)=>{switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0})(t,e)))})(t.entries,n);const o=((e,t)=>E(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const o=[];let r=[];for(let s=0,i=e.length;sw(t).exists(Ot)?((e,t)=>{const n=Dt(t);return wt(e.contentDocument,n).toArray()})(e,t):((e,t)=>{const n=Dt(t);return N(n,(t=>{const n=Lt(t)?ht([R(`\x3c!--${t.content}--\x3e`)]):ht(t.content),o=St(t)?t.itemAttributes:{};return $(qe(e,n.dom,o))}))})(e,t))))(e,t.entries);var r;S(o,(t=>{ft(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),r=t.sourceList,S(o,(e=>{me(r,e)})),he(t.sourceList)}))},Rt=(e,t)=>{const n=Ce((e=>{const t=(e=>{const t=at(e,e.selection.getStart()),n=L(e.selection.getSelectedBlocks(),Me);return t.toArray().concat(n)})(e),n=(e=>{const t=e.selection.getStart();return e.dom.getParents(t,"ol,ul",lt(e,t))})(e);return T(n,(e=>{return t=$(e),ee(t).exists((e=>Ie(e.dom)&&oe(e).exists((e=>!Be(e.dom)))&&re(e).exists((e=>!Be(e.dom)))));var t})).fold((()=>dt(e,t)),(e=>[e]))})(e)),o=Ce((e=>L(st(e),Re))(e));let r=!1;if(n.length||o.length){const s=e.selection.getBookmark();It(e,n,t),((e,t,n)=>{S(n,"Indent"===t?Ye:t=>Xe(e,t))})(e,t,o),e.selection.moveToBookmark(s),e.selection.setRng(tt(e.selection.getRng())),e.nodeChanged(),r=!0}return r},Ut=(e,t)=>!(e=>{const t=rt(e);return ut(e,t)||!e.selection.isEditable()})(e)&&Rt(e,t),$t=e=>Ut(e,"Indent"),_t=e=>Ut(e,"Outdent"),Ht=e=>Ut(e,"Flatten"),Ft=e=>"\ufeff"===e;var Vt=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const jt=Te.DOM,Kt=e=>{const t={},n=n=>{let o=e[n?"startContainer":"endContainer"],r=e[n?"startOffset":"endOffset"];if(De(o)){const e=jt.create("span",{"data-mce-type":"bookmark"});o.hasChildNodes()?(r=Math.min(r,o.childNodes.length-1),n?o.insertBefore(e,o.childNodes[r]):jt.insertAfter(e,o.childNodes[r])):o.appendChild(e),o=e,r=0}t[n?"startContainer":"endContainer"]=o,t[n?"startOffset":"endOffset"]=r};return n(!0),e.collapsed||n(),t},zt=e=>{const t=t=>{let n=e[t?"startContainer":"endContainer"],o=e[t?"startOffset":"endOffset"];if(n){if(De(n)&&n.parentNode){const e=n;o=(e=>{var t;let n=null===(t=e.parentNode)||void 0===t?void 0:t.firstChild,o=0;for(;n;){if(n===e)return o;De(n)&&"bookmark"===n.getAttribute("data-mce-type")||o++,n=n.nextSibling}return-1})(n),n=n.parentNode,jt.remove(e),!n.hasChildNodes()&&jt.isBlock(n)&&n.appendChild(jt.create("br"))}e[t?"startContainer":"endContainer"]=n,e[t?"startOffset":"endOffset"]=o}};t(!0),t();const n=jt.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),tt(n)},Qt=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Wt=(e,t)=>{Ee.each(t,((t,n)=>{e.setAttribute(n,t)}))},qt=(e,t,n)=>{((e,t,n)=>{const o=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",o)})(e,t,n),((e,t,n)=>{Wt(t,n["list-attributes"]),Ee.each(e.select("li",t),(e=>{Wt(e,n["list-item-attributes"])}))})(e,t,n)},Zt=(e,t)=>l(t)&&!He(t,e.schema.getBlockElements()),Gt=(e,t,n,o)=>{let r=t[n?"startContainer":"endContainer"];const s=t[n?"startOffset":"endOffset"];De(r)&&(r=r.childNodes[Math.min(s,r.childNodes.length-1)]||r),!n&&$e(r.nextSibling)&&(r=r.nextSibling);const i=(t,n)=>{var r;const s=new ye(t,(t=>{for(;!e.dom.isBlock(t)&&t.parentNode&&o!==t;)t=t.parentNode;return t})(t)),i=n?"next":"prev";let l;for(;l=s[i]();)if(!Fe(e,l)&&!Ft(l.textContent)&&0!==(null===(r=l.textContent)||void 0===r?void 0:r.length))return h.some(l);return h.none()};if(n&&we(r))if(Ft(r.textContent))r=i(r,!1).getOr(r);else for(null!==r.parentNode&&Zt(e,r.parentNode)&&(r=r.parentNode);null!==r.previousSibling&&(Zt(e,r.previousSibling)||we(r.previousSibling));)r=r.previousSibling;if(!n&&we(r))if(Ft(r.textContent))r=i(r,!0).getOr(r);else for(null!==r.parentNode&&Zt(e,r.parentNode)&&(r=r.parentNode);null!==r.nextSibling&&(Zt(e,r.nextSibling)||we(r.nextSibling));)r=r.nextSibling;for(;r.parentNode!==o;){const t=r.parentNode;if(_e(e,r))return r;if(/^(TD|TH)$/.test(t.nodeName))return r;r=t}return r},Jt=(e,t,n)=>{const o=e.selection.getRng();let r="LI";const s=lt(e,((e,t)=>{const n=e.selection.getStart(!0),o=Gt(e,t,!0,e.getBody());return r=$(o),s=$(t.commonAncestorContainer),i=r,l=function(e,...t){return(...n)=>{const o=t.concat(n);return e.apply(null,o)}}(H,s),ae(i,l,void 0).isSome()?t.commonAncestorContainer:n;var r,s,i,l})(e,o)),i=e.dom;if("false"===i.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(r="DT");const l=Kt(o),a=L(((e,t,n)=>{const o=[],r=e.dom,s=Gt(e,t,!0,n),i=Gt(e,t,!1,n);let l;const a=[];for(let e=s;e&&(a.push(e),e!==i);e=e.nextSibling);return Ee.each(a,(t=>{var s;if(_e(e,t))return o.push(t),void(l=null);if(r.isBlock(t)||$e(t))return $e(t)&&r.remove(t),void(l=null);const i=t.nextSibling;Vt.isBookmarkNode(t)&&(Be(i)||_e(e,i)||!i&&t.parentNode===n)?l=null:(l||(l=r.create("p"),null===(s=t.parentNode)||void 0===s||s.insertBefore(l,t),o.push(l)),l.appendChild(t))})),o})(e,o,s),e.dom.isEditable);Ee.each(a,(o=>{let s;const l=o.previousSibling,a=o.parentNode;Ie(a)||(l&&Be(l)&&l.nodeName===t&&((e,t,n)=>{const o=e.getStyle(t,"list-style-type");let r=n?n["list-style-type"]:"";return r=null===r?"":r,o===r})(i,l,n)?(s=l,o=i.rename(o,r),l.appendChild(o)):(s=i.create(t),a.insertBefore(s,o),s.appendChild(o),o=i.rename(o,r)),((e,t,n)=>{Ee.each(["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"],(n=>e.setStyle(t,n,"")))})(i,o),qt(i,s,n),Yt(e.dom,s))})),e.selection.setRng(zt(l))},Xt=(e,t,n)=>{return((e,t)=>Be(e)&&e.nodeName===(null==t?void 0:t.nodeName))(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(o=n,t.className===o.className);var o},Yt=(e,t)=>{let n,o=t.nextSibling;if(Xt(e,t,o)){const r=o;for(;n=r.firstChild;)t.appendChild(n);e.remove(r)}if(o=t.previousSibling,Xt(e,t,o)){const r=o;for(;n=r.lastChild;)t.insertBefore(n,t.firstChild);e.remove(r)}},en=(e,t,n,o)=>{if(t.nodeName!==n){const r=e.dom.rename(t,n);qt(e.dom,r,o),ft(e,Qt(n),r)}else qt(e.dom,t,o),ft(e,Qt(n),t)},tn=(e,t,n,o)=>{if(t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),t.nodeName!==n){const r=e.dom.rename(t,n);qt(e.dom,r,o),ft(e,Qt(n),r)}else qt(e.dom,t,o),ft(e,Qt(n),t)},nn=e=>"list-style-type"in e,on=(e,t,n)=>{const o=rt(e);if(pt(e,o))return;const s=(e=>{const t=rt(e),n=e.selection.getSelectedBlocks();return((e,t)=>l(e)&&1===t.length&&t[0]===e)(t,n)?(e=>L(e.querySelectorAll(ot),Be))(t):L(n,(e=>Be(e)&&t!==e))})(e),i=r(n)?n:{};s.length>0?((e,t,n,o,r)=>{const s=Be(t);if(!s||t.nodeName!==o||nn(r)||ct(t)){Jt(e,o,r);const i=Kt(e.selection.getRng()),l=s?[t,...n]:n,a=s&&ct(t)?tn:en;Ee.each(l,(t=>{a(e,t,o,r)})),e.selection.setRng(zt(i))}else Ht(e)})(e,o,s,t,i):((e,t,n,o)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||nn(o)||ct(t)){const r=Kt(e.selection.getRng());ct(t)&&t.classList.forEach(((e,n,o)=>{e.startsWith("tox-")&&(o.remove(e),0===o.length&&t.removeAttribute("class"))})),qt(e.dom,t,o);const s=e.dom.rename(t,n);Yt(e.dom,s),e.selection.setRng(zt(r)),Jt(e,n,o),ft(e,Qt(n),s)}else Ht(e);else Jt(e,n,o),ft(e,Qt(n),t)})(e,o,t,i)},rn=Te.DOM,sn=(e,t)=>{const n=Ee.grep(e.select("ol,ul",t));Ee.each(n,(t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const o=n.previousSibling;o&&"LI"===o.nodeName?(o.appendChild(t),Ve(e,n)&&rn.remove(n)):rn.setStyle(n,"listStyleType","none")}if(Be(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)}))},ln=(e,t,n,o)=>{let r=t.startContainer;const s=t.startOffset;if(we(r)&&(n?s0))return r;const i=e.schema.getNonEmptyElements();De(r)&&(r=fe.getNode(r,s));const l=new ye(r,o);n&&((e,t)=>!!$e(t)&&e.isBlock(t.nextSibling)&&!$e(t.previousSibling))(e.dom,r)&&l.next();const a=n?l.next.bind(l):l.prev2.bind(l);for(;r=a();){if("LI"===r.nodeName&&!r.hasChildNodes())return r;if(i[r.nodeName])return r;if(we(r)&&r.data.length>0)return r}return null},an=(e,t)=>{const n=t.childNodes;return 1===n.length&&!Be(n[0])&&e.isBlock(n[0])},dn=e=>h.from(e).map($).filter(Z).exists((e=>((e,t=!1)=>{return ie(e)?e.dom.isContentEditable:(n=e,le(((e,t)=>_(e,t)),ce,n,"[contenteditable]",void 0)).fold(m(t),(e=>"true"===(e=>e.dom.contentEditable)(e)));var n})(e)&&!C(["details"],Q(e)))),cn=(e,t,n)=>{let o;const r=an(e,n)?n.firstChild:n;if(((e,t)=>{an(e,t)&&dn(t.firstChild)&&e.remove(t.firstChild,!0)})(e,t),!Ve(e,t,!0))for(;o=t.firstChild;)r.appendChild(o)},mn=(e,t,n)=>{let o;const r=t.parentNode;if(!je(e,t)||!je(e,n))return;Be(n.lastChild)&&(o=n.lastChild),r===n.lastChild&&$e(r.previousSibling)&&e.remove(r.previousSibling);const s=n.lastChild;s&&$e(s)&&t.hasChildNodes()&&e.remove(s),Ve(e,n,!0)&&ge($(n)),cn(e,t,n),o&&n.appendChild(o);const i=((e,t)=>{const n=e.dom,o=t.dom;return n!==o&&n.contains(o)})($(n),$(t))?e.getParents(t,Be,n):[];e.remove(t),S(i,(t=>{Ve(e,t)&&t!==e.getRoot()&&e.remove(t)}))},un=(e,t)=>{const n=e.dom,o=e.selection,r=o.getStart(),s=it(e,r),i=n.getParent(o.getStart(),"LI",s);if(i){const r=i.parentElement;if(r===e.getBody()&&Ve(n,r))return!0;const l=tt(o.getRng()),a=n.getParent(ln(e,l,t,s),"LI",s),d=a&&(t?n.isChildOf(i,a):n.isChildOf(a,i));if(a&&a!==i&&!d)return e.undoManager.transact((()=>{var n,o;t?((e,t,n,o)=>{const r=e.dom;if(r.isEmpty(o))((e,t,n)=>{ge($(n)),mn(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,o);else{const s=Kt(t);mn(r,n,o),e.selection.setRng(zt(s))}})(e,l,a,i):(null===(o=(n=i).parentNode)||void 0===o?void 0:o.firstChild)===n?_t(e):((e,t,n,o)=>{const r=Kt(t);mn(e.dom,n,o);const s=zt(r);e.selection.setRng(s)})(e,l,i,a)})),!0;if(d&&!t&&a!==i)return e.undoManager.transact((()=>{if(l.commonAncestorContainer.parentElement){const t=Kt(l),o=l.commonAncestorContainer.parentElement;cn(n,l.commonAncestorContainer.parentElement,a),o.remove();const r=zt(t);e.selection.setRng(r)}})),!0;if(!a&&!t&&0===l.startOffset&&0===l.endOffset)return e.undoManager.transact((()=>{Ht(e)})),!0}return!1},pn=e=>{const t=e.selection.getStart(),n=it(e,t);return e.dom.getParent(t,"LI,DT,DD",n)||st(e).length>0},gn=(e,t)=>{const n=e.selection;return!pt(e,n.getNode())&&(n.isCollapsed()?((e,t)=>un(e,t)||((e,t)=>{const n=e.dom,o=e.selection.getStart(),r=it(e,o),s=n.getParent(o,n.isBlock,r);if(s&&n.isEmpty(s,void 0,{checkRootAsContent:!0})){const o=tt(e.selection.getRng()),i=n.getParent(ln(e,o,t,r),"LI",r);if(i){const l=e=>C(["td","th","caption"],Q(e)),a=e=>e.dom===r;return!!((e,t,n=u)=>P(e,t,n).getOr(e.isNone()&&t.isNone()))(de($(i),l,a),de($(o.startContainer),l,a),H)&&(e.undoManager.transact((()=>{const o=i.parentNode;((e,t,n)=>{const o=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),o&&e.isEmpty(o)&&e.remove(o)})(n,s,r),Yt(n,o),e.selection.select(i,!0),e.selection.collapse(t)})),!0)}}return!1})(e,t))(e,t):(e=>!!pn(e)&&(e.undoManager.transact((()=>{let t=!0;const n=()=>t=!1;e.on("input",n),e.execCommand("Delete"),e.off("input",n),t&&e.dispatch("input"),sn(e.dom,e.getBody())})),!0))(e))},hn=e=>{const t=x(yt(e).split("")),n=N(t,((e,t)=>{const n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return O(n,((e,t)=>e+t),0)},fn=e=>{if(--e<0)return"";{const t=e%26,n=Math.floor(e/26);return fn(n)+String.fromCharCode("A".charCodeAt(0)+t)}},yn=e=>{const t=parseInt(e.start,10);return M(e.listStyleType,"upper-alpha")?fn(t):M(e.listStyleType,"lower-alpha")?fn(t).toLowerCase():e.start},vn=(e,t)=>()=>{const n=rt(e);return l(n)&&n.nodeName===t},Cn=e=>{e.addCommand("mceListProps",(()=>{(e=>{const t=rt(e);Pe(t)&&!pt(e,t)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:yn({start:e.dom.getAttrib(t,"start","1"),listStyleType:h.from(e.dom.getStyle(t,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{(e=>{switch((e=>/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:/^[a-z]+$/.test(e)?1:e.length>0?4:3)(e)){case 2:return h.some({listStyleType:h.none(),start:e});case 0:return h.some({listStyleType:h.some("upper-alpha"),start:hn(e).toString()});case 1:return h.some({listStyleType:h.some("lower-alpha"),start:hn(e).toString()});case 3:return h.some({listStyleType:h.none(),start:""});case 4:return h.none()}})(t.getData().start).each((t=>{e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})})(e)}))};var bn=tinymce.util.Tools.resolve("tinymce.html.Node");const Nn=e=>3===e.type,Sn=e=>0===e.length,Ln=e=>{const t=(t,n)=>{const o=bn.create("li");S(t,(e=>o.append(e))),n?e.insert(o,n,!0):e.append(o)},n=O(e.children(),((e,n)=>Nn(n)?[...e,n]:Sn(e)||Nn(n)?e:(t(e,n),[])),[]);Sn(n)||t(n)},On=(e,t)=>n=>(n.setEnabled(e.selection.isEditable()),gt(e,(o=>{n.setActive(mt(o.parents,t)),n.setEnabled(!pt(e,o.element)&&e.selection.isEditable())}))),An=(e,t)=>n=>gt(e,(o=>n.setEnabled(mt(o.parents,t)&&!pt(e,o.element))));e.add("lists",(e=>((e=>{(0,e.options.register)("lists_indent_on_tab",{processor:"boolean",default:!0})})(e),(e=>{e.on("PreInit",(()=>{const{parser:t}=e;t.addNodeFilter("ul,ol",(e=>S(e,Ln)))}))})(e),e.hasPlugin("rtc",!0)?Cn(e):((e=>{ze(e)&&(e=>{e.on("keydown",(t=>{t.keyCode!==ve.TAB||ve.metaKeyPressed(t)||e.undoManager.transact((()=>{(t.shiftKey?_t(e):$t(e))&&t.preventDefault()}))}))})(e),(e=>{e.on("ExecCommand",(t=>{const n=t.command.toLowerCase();"delete"!==n&&"forwarddelete"!==n||!pn(e)||sn(e.dom,e.getBody())})),e.on("keydown",(t=>{t.keyCode===ve.BACKSPACE?gn(e,!1)&&t.preventDefault():t.keyCode===ve.DELETE&&gn(e,!0)&&t.preventDefault()}))})(e)})(e),(e=>{e.on("BeforeExecCommand",(t=>{const n=t.command.toLowerCase();"indent"===n?$t(e):"outdent"===n&&_t(e)})),e.addCommand("InsertUnorderedList",((t,n)=>{on(e,"UL",n)})),e.addCommand("InsertOrderedList",((t,n)=>{on(e,"OL",n)})),e.addCommand("InsertDefinitionList",((t,n)=>{on(e,"DL",n)})),e.addCommand("RemoveList",(()=>{Ht(e)})),Cn(e),e.addCommand("mceListUpdate",((t,n)=>{r(n)&&((e,t)=>{const n=rt(e);null===n||pt(e,n)||e.undoManager.transact((()=>{r(t.styles)&&e.dom.setStyles(n,t.styles),r(t.attrs)&&Ne(t.attrs,((t,o)=>e.dom.setAttrib(n,o,t)))}))})(e,n)})),e.addQueryStateHandler("InsertUnorderedList",vn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",vn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",vn(e,"DL"))})(e)),(e=>{const t=t=>()=>e.execCommand(t);e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:On(e,"OL")}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:On(e,"UL")}))})(e),(e=>{const t={text:"List properties...",icon:"ordered-list",onAction:()=>e.execCommand("mceListProps"),onSetup:An(e,"OL")};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:t=>{const n=rt(e,t);return Pe(n)?["listprops"]:[]}})})(e),(e=>({backspaceDelete:t=>{gn(e,t)}}))(e))))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/media/plugin.min.js b/dsql-app/public/tinymce-public/plugins/media/plugin.min.js new file mode 100644 index 0000000..9e97599 --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/media/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(r=o=e,(a=String).prototype.isPrototypeOf(r)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":t;var r,o,a,s})(t)===e,r=t("string"),o=t("object"),a=t("array"),s=e=>!(e=>null==e)(e);class i{constructor(e,t){this.tag=e,this.value=t}static some(e){return new i(!0,e)}static none(){return i.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?i.some(e(this.value)):i.none()}bind(e){return this.tag?e(this.value):i.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:i.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return s(e)?i.some(e):i.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}i.singletonNone=new i(!1);const n=Array.prototype.push,l=(e,t)=>{for(let r=0,o=e.length;r{const t=[];for(let r=0,o=e.length;rh(e,t)?i.from(e[t]):i.none(),h=(e,t)=>u.call(e,t),p=e=>t=>t.options.get(e),g=p("audio_template_callback"),b=p("video_template_callback"),w=p("iframe_template_callback"),v=p("media_live_embeds"),f=p("media_filter_html"),y=p("media_url_resolver"),x=p("media_alt_source"),_=p("media_poster"),k=p("media_dimensions");var j=tinymce.util.Tools.resolve("tinymce.util.Tools"),O=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),A=tinymce.util.Tools.resolve("tinymce.html.DomParser");const S=O.DOM,$=e=>e.replace(/px$/,""),C=e=>{const t=e.attr("style"),r=t?S.parseStyle(t):{};return{type:"ephox-embed-iri",source:e.attr("data-ephox-embed-iri"),altsource:"",poster:"",width:d(r,"max-width").map($).getOr(""),height:d(r,"max-height").map($).getOr("")}},T=(e,t)=>{let r={};for(let o=A({validate:!1,forced_root_block:!1},t).parse(e);o;o=o.walk())if(1===o.type){const e=o.name;if(o.attr("data-ephox-embed-iri")){r=C(o);break}r.source||"param"!==e||(r.source=o.attr("movie")),"iframe"!==e&&"object"!==e&&"embed"!==e&&"video"!==e&&"audio"!==e||(r.type||(r.type=e),r=j.extend(o.attributes.map,r)),"source"===e&&(r.source?r.altsource||(r.altsource=o.attr("src")):r.source=o.attr("src")),"img"!==e||r.poster||(r.poster=o.attr("src"))}return r.source=r.source||r.src||"",r.altsource=r.altsource||"",r.poster=r.poster||"",r},z=e=>{var t;const r=null!==(t=e.toLowerCase().split(".").pop())&&void 0!==t?t:"";return d({mp3:"audio/mpeg",m4a:"audio/x-m4a",wav:"audio/wav",mp4:"video/mp4",webm:"video/webm",ogg:"video/ogg",swf:"application/x-shockwave-flash"},r).getOr("")};var D=tinymce.util.Tools.resolve("tinymce.html.Node"),F=tinymce.util.Tools.resolve("tinymce.html.Serializer");const M=(e,t={})=>A({forced_root_block:!1,validate:!1,allow_conditional_comments:!0,...t},e),N=O.DOM,P=e=>/^[0-9.]+$/.test(e)?e+"px":e,R=(e,t)=>{const r=t.attr("style"),o=r?N.parseStyle(r):{};s(e.width)&&(o["max-width"]=P(e.width)),s(e.height)&&(o["max-height"]=P(e.height)),t.attr("style",N.serializeStyle(o))},E=["source","altsource"],U=(e,t,r,o)=>{let a=0,s=0;const i=M(o);i.addNodeFilter("source",(e=>a=e.length));const n=i.parse(e);for(let e=n;e;e=e.walk())if(1===e.type){const o=e.name;if(e.attr("data-ephox-embed-iri")){R(t,e);break}switch(o){case"video":case"object":case"embed":case"img":case"iframe":void 0!==t.height&&void 0!==t.width&&(e.attr("width",t.width),e.attr("height",t.height))}if(r)switch(o){case"video":e.attr("poster",t.poster),e.attr("src",null);for(let r=a;r<2;r++)if(t[E[r]]){const o=new D("source",1);o.attr("src",t[E[r]]),o.attr("type",t[E[r]+"mime"]||null),e.append(o)}break;case"iframe":e.attr("src",t.source);break;case"object":const r=e.getAll("img").length>0;if(t.poster&&!r){e.attr("src",t.poster);const r=new D("img",1);r.attr("src",t.poster),r.attr("width",t.width),r.attr("height",t.height),e.append(r)}break;case"source":if(s<2&&(e.attr("src",t[E[s]]),e.attr("type",t[E[s]+"mime"]||null),!t[E[s]])){e.remove();continue}s++;break;case"img":t.poster||e.remove()}}return F({},o).serialize(n)},L=[{regex:/youtu\.be\/([\w\-_\?&=.]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$2?$4",allowFullscreen:!0},{regex:/youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,type:"iframe",w:560,h:314,url:"www.youtube.com/embed/$1",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?h=$2&title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)\?h=(\w+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?h=$3&title=0&byline=0",allowFullscreen:!0},{regex:/vimeo\.com\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc",allowFullscreen:!0},{regex:/vimeo\.com\/(.*)\/([0-9]+)/,type:"iframe",w:425,h:350,url:"player.vimeo.com/video/$2?title=0&byline=0",allowFullscreen:!0},{regex:/maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,type:"iframe",w:425,h:350,url:'maps.google.com/maps/ms?msid=$2&output=embed"',allowFullscreen:!1},{regex:/dailymotion\.com\/video\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0},{regex:/dai\.ly\/([^_]+)/,type:"iframe",w:480,h:270,url:"www.dailymotion.com/embed/video/$1",allowFullscreen:!0}],I=(e,t)=>{const r=(e=>{const t=e.match(/^(https?:\/\/|www\.)(.+)$/i);return t&&t.length>1?"www."===t[1]?"https://":t[1]:"https://"})(t),o=e.regex.exec(t);let a=r+e.url;if(s(o))for(let e=0;eo[e]?o[e]:""));return a.replace(/\?$/,"")},B=e=>{const t=L.filter((t=>t.regex.test(e)));return t.length>0?j.extend({},t[0],{url:I(t[0],e)}):null},G=(e,t)=>{var r;const o=j.extend({},t);if(!o.source&&(j.extend(o,T(null!==(r=o.embed)&&void 0!==r?r:"",e.schema)),!o.source))return"";o.altsource||(o.altsource=""),o.poster||(o.poster=""),o.source=e.convertURL(o.source,"source"),o.altsource=e.convertURL(o.altsource,"source"),o.sourcemime=z(o.source),o.altsourcemime=z(o.altsource),o.poster=e.convertURL(o.poster,"poster");const a=B(o.source);if(a&&(o.source=a.url,o.type=a.type,o.allowfullscreen=a.allowFullscreen,o.width=o.width||String(a.w),o.height=o.height||String(a.h)),o.embed)return U(o.embed,o,!0,e.schema);{const t=g(e),r=b(e),a=w(e);return o.width=o.width||"300",o.height=o.height||"150",j.each(o,((t,r)=>{o[r]=e.dom.encode(""+t)})),"iframe"===o.type?((e,t)=>{if(t)return t(e);{const t=e.allowfullscreen?' allowFullscreen="1"':"";return'"}})(o,a):"application/x-shockwave-flash"===o.sourcemime?(e=>{let t='';return e.poster&&(t+=''),t+="",t})(o):-1!==o.sourcemime.indexOf("audio")?((e,t)=>t?t(e):'")(o,t):((e,t)=>t?t(e):'")(o,r)}},W=e=>e.hasAttribute("data-mce-object")||e.hasAttribute("data-ephox-embed-iri"),q={},H=e=>t=>G(e,t),J=(e,t)=>{const r=y(e);return r?((e,t,r)=>new Promise(((o,a)=>{const s=r=>(r.html&&(q[e.source]=r),o({url:e.source,html:r.html?r.html:t(e)}));q[e.source]?s(q[e.source]):r({url:e.source}).then(s).catch(a)})))(t,H(e),r):((e,t)=>Promise.resolve({html:t(e),url:e.source}))(t,H(e))},K=(e,t)=>{const r={};return d(e,"dimensions").each((e=>{l(["width","height"],(o=>{d(t,o).orThunk((()=>d(e,o))).each((e=>r[o]=e))}))})),r},Q=(e,t)=>{const r=t&&"dimensions"!==t?((e,t)=>d(t,e).bind((e=>d(e,"meta"))))(t,e).getOr({}):{},a=((e,t,r)=>a=>{const s=()=>d(e,a),n=()=>d(t,a),l=e=>d(e,"value").bind((e=>e.length>0?i.some(e):i.none()));return{[a]:(a===r?s().bind((e=>o(e)?l(e).orThunk(n):n().orThunk((()=>i.from(e))))):n().orThunk((()=>s().bind((e=>o(e)?l(e):i.from(e)))))).getOr("")}})(e,r,t);return{...a("source"),...a("altsource"),...a("poster"),...a("embed"),...K(e,r)}},V=e=>{const t={...e,source:{value:d(e,"source").getOr("")},altsource:{value:d(e,"altsource").getOr("")},poster:{value:d(e,"poster").getOr("")}};return l(["width","height"],(r=>{d(e,r).each((e=>{const o=t.dimensions||{};o[r]=e,t.dimensions=o}))})),t},X=e=>t=>{const r=t&&t.msg?"Media embed handler error: "+t.msg:"Media embed handler threw unknown error.";e.notificationManager.open({type:"error",text:r})},Y=(e,t)=>o=>{if(r(o.url)&&o.url.trim().length>0){const r=o.html,a={...T(r,t.schema),source:o.url,embed:r};e.setData(V(a))}},Z=(e,t)=>{const r=e.dom.select("*[data-mce-object]");e.insertContent(t),((e,t)=>{const r=e.dom.select("*[data-mce-object]");for(let e=0;e=0;o--)t[e]===r[o]&&r.splice(o,1);e.selection.select(r[0])})(e,r),e.nodeChanged()},ee=(e,t)=>s(t)&&"ephox-embed-iri"===t&&s(B(e)),te=(e,t)=>((e,t)=>e.width!==t.width||e.height!==t.height)(e,t)&&ee(t.source,e.type),re=e=>{const t=(e=>{const t=e.selection.getNode(),r=W(t)?e.serializer.serialize(t,{selection:!0}):"",o=T(r,e.schema),a=(()=>{if(ee(o.source,o.type)){const r=e.dom.getRect(t);return{width:r.w.toString().replace(/px$/,""),height:r.h.toString().replace(/px$/,"")}}return{}})();return{embed:r,...o,...a}})(e),r=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(t),o=V(t),a=k(e)?[{type:"sizeinput",name:"dimensions",label:"Constrain proportions",constrain:!0}]:[],s={title:"General",name:"general",items:c([[{name:"source",type:"urlinput",filetype:"media",label:"Source",picker_text:"Browse files"}],a])},i=[];x(e)&&i.push({name:"altsource",type:"urlinput",filetype:"media",label:"Alternative source URL"}),_(e)&&i.push({name:"poster",type:"urlinput",filetype:"image",label:"Media poster (Image URL)"});const n={title:"Advanced",name:"advanced",items:i},l=[s,{title:"Embed",items:[{type:"textarea",name:"embed",label:"Paste your embed code below:"}]}];i.length>0&&l.push(n);const m={type:"tabpanel",tabs:l},u=e.windowManager.open({title:"Insert/Edit Media",size:"normal",body:m,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{const o=Q(t.getData());((e,t,r)=>{var o,a;t.embed=te(e,t)&&k(r)?G(r,{...t,embed:""}):U(null!==(o=t.embed)&&void 0!==o?o:"",t,!1,r.schema),t.embed&&(e.source===t.source||(a=t.source,h(q,a)))?Z(r,t.embed):J(r,t).then((e=>{Z(r,e.html)})).catch(X(r))})(r.get(),o,e),t.close()},onChange:(t,o)=>{switch(o.name){case"source":((t,r)=>{const o=Q(r.getData(),"source");t.source!==o.source&&(Y(u,e)({url:o.source,html:""}),J(e,o).then(Y(u,e)).catch(X(e)))})(r.get(),t);break;case"embed":(t=>{var r;const o=Q(t.getData()),a=T(null!==(r=o.embed)&&void 0!==r?r:"",e.schema);t.setData(V(a))})(t);break;case"dimensions":case"altsource":case"poster":((t,r,o)=>{const a=Q(t.getData(),r),s=te(o,a)&&k(e)?{...a,embed:""}:a,i=G(e,s);t.setData(V({...s,embed:i}))})(t,o.name,r.get())}r.set(Q(t.getData()))},initialData:o})};var oe=tinymce.util.Tools.resolve("tinymce.Env");const ae=e=>{const t=e.name;return"iframe"===t||"video"===t||"audio"===t},se=(e,t,r,o=null)=>{const a=e.attr(r);return s(a)?a:h(t,r)?null:o},ie=(e,t,r)=>{const o="img"===t.name||"video"===e.name,a=o?"300":null,s="audio"===e.name?"30":"150",i=o?s:null;t.attr({width:se(e,r,"width",a),height:se(e,r,"height",i)})},ne=(e,t)=>{const r=t.name,o=new D("img",1);return ce(e,t,o),ie(t,o,{}),o.attr({style:t.attr("style"),src:oe.transparentSrc,"data-mce-object":r,class:"mce-object mce-object-"+r}),o},le=(e,t)=>{var r;const o=t.name,a=new D("span",1);a.attr({contentEditable:"false",style:t.attr("style"),"data-mce-object":o,class:"mce-preview-object mce-object-"+o}),ce(e,t,a);const i=e.dom.parseStyle(null!==(r=t.attr("style"))&&void 0!==r?r:""),n=new D(o,1);if(ie(t,n,i),n.attr({src:t.attr("src"),style:t.attr("style"),class:t.attr("class")}),"iframe"===o)n.attr({allowfullscreen:t.attr("allowfullscreen"),frameborder:"0",sandbox:t.attr("sandbox"),referrerpolicy:t.attr("referrerpolicy")});else{l(["controls","crossorigin","currentTime","loop","muted","poster","preload"],(e=>{n.attr(e,t.attr(e))}));const r=a.attr("data-mce-html");s(r)&&((e,t,r,o)=>{const a=M(e.schema).parse(o,{context:t});for(;a.firstChild;)r.append(a.firstChild)})(e,o,n,unescape(r))}const c=new D("span",1);return c.attr("class","mce-shim"),a.append(n),a.append(c),a},ce=(e,t,r)=>{var o;const a=null!==(o=t.attributes)&&void 0!==o?o:[];let s=a.length;for(;s--;){const t=a[s].name;let o=a[s].value;"width"===t||"height"===t||"style"===t||(n="data-mce-",(i=t).length>=9&&i.substr(0,9)===n)||("data"!==t&&"src"!==t||(o=e.convertURL(o,t)),r.attr("data-mce-p-"+t,o))}var i,n;const c=F({inner:!0},e.schema),m=new D("div",1);l(t.children(),(e=>m.append(e)));const u=c.serialize(m);u&&(r.attr("data-mce-html",escape(u)),r.empty())},me=e=>{const t=e.attr("class");return r(t)&&/\btiny-pageembed\b/.test(t)},ue=e=>{let t=e;for(;t=t.parent;)if(t.attr("data-ephox-embed-iri")||me(t))return!0;return!1},de=(e,t,r)=>{const o=(0,e.options.get)("xss_sanitization"),a=f(e);return M(e.schema,{sanitize:o,validate:a}).parse(r,{context:t})},he=e=>t=>{const r=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",r),r(),()=>{e.off("NodeChange",r)}};e.add("media",(e=>((e=>{const t=e.options.register;t("audio_template_callback",{processor:"function"}),t("video_template_callback",{processor:"function"}),t("iframe_template_callback",{processor:"function"}),t("media_live_embeds",{processor:"boolean",default:!0}),t("media_filter_html",{processor:"boolean",default:!0}),t("media_url_resolver",{processor:"function"}),t("media_alt_source",{processor:"boolean",default:!0}),t("media_poster",{processor:"boolean",default:!0}),t("media_dimensions",{processor:"boolean",default:!0})})(e),(e=>{e.addCommand("mceMedia",(()=>{re(e)}))})(e),(e=>{const t=()=>e.execCommand("mceMedia");e.ui.registry.addToggleButton("media",{tooltip:"Insert/edit media",icon:"embed",onAction:t,onSetup:t=>{const r=e.selection;t.setActive(W(r.getNode()));const o=r.selectorChangedWithUnbind("img[data-mce-object],span[data-mce-object],div[data-ephox-embed-iri]",t.setActive).unbind,a=he(e)(t);return()=>{o(),a()}}}),e.ui.registry.addMenuItem("media",{icon:"embed",text:"Media...",onAction:t,onSetup:he(e)})})(e),(e=>{e.on("ResolveName",(e=>{let t;1===e.target.nodeType&&(t=e.target.getAttribute("data-mce-object"))&&(e.name=t)}))})(e),(e=>{e.on("PreInit",(()=>{const{schema:t,serializer:r,parser:o}=e,a=t.getBoolAttrs();l("webkitallowfullscreen mozallowfullscreen".split(" "),(e=>{a[e]={}})),((e,t)=>{const r=m(e);for(let o=0,a=r.length;o{const o=t.getElementRule(r);o&&l(e,(e=>{o.attributes[e]={},o.attributesOrder.push(e)}))})),o.addNodeFilter("iframe,video,audio,object,embed",(e=>t=>{let r,o=t.length;for(;o--;)r=t[o],r.parent&&(r.parent.attr("data-mce-object")||(ae(r)&&v(e)?ue(r)||r.replace(le(e,r)):ue(r)||r.replace(ne(e,r))))})(e)),r.addAttributeFilter("data-mce-object",((t,r)=>{var o;let a=t.length;for(;a--;){const s=t[a];if(!s.parent)continue;const i=s.attr(r),n=new D(i,1);if("audio"!==i){const e=s.attr("class");e&&-1!==e.indexOf("mce-preview-object")&&s.firstChild?n.attr({width:s.firstChild.attr("width"),height:s.firstChild.attr("height")}):n.attr({width:s.attr("width"),height:s.attr("height")})}n.attr({style:s.attr("style")});const c=null!==(o=s.attributes)&&void 0!==o?o:[];let m=c.length;for(;m--;){const e=c[m].name;0===e.indexOf("data-mce-p-")&&n.attr(e.substr(11),c[m].value)}const u=s.attr("data-mce-html");if(u){const t=de(e,i,unescape(u));l(t.children(),(e=>n.append(e)))}s.replace(n)}}))})),e.on("SetContent",(()=>{const t=e.dom;l(t.select("span.mce-preview-object"),(e=>{0===t.select("span.mce-shim",e).length&&t.add(e,"span",{class:"mce-shim"})}))}))})(e),(e=>{e.on("mousedown",(t=>{const r=e.dom.getParent(t.target,".mce-preview-object");r&&"2"===e.dom.getAttrib(r,"data-mce-selected")&&t.stopImmediatePropagation()})),e.on("click keyup touchend",(()=>{const t=e.selection.getNode();t&&e.dom.hasClass(t,"mce-preview-object")&&e.dom.getAttrib(t,"data-mce-selected")&&t.setAttribute("data-mce-selected","2")})),e.on("ObjectResized",(t=>{const r=t.target;if(r.getAttribute("data-mce-object")){let o=r.getAttribute("data-mce-html");o&&(o=unescape(o),r.setAttribute("data-mce-html",escape(U(o,{width:String(t.width),height:String(t.height)},!1,e.schema))))}}))})(e),(e=>({showDialog:()=>{re(e)}}))(e))))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/nonbreaking/plugin.min.js b/dsql-app/public/tinymce-public/plugins/nonbreaking/plugin.min.js new file mode 100644 index 0000000..39d6f5d --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/nonbreaking/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=n=>e=>typeof e===n,o=e("boolean"),a=e("number"),t=n=>e=>e.options.get(n),i=t("nonbreaking_force_tab"),s=t("nonbreaking_wrap"),r=(n,e)=>{let o="";for(let a=0;a{const o=s(n)||n.plugins.visualchars?`${r(" ",e)}`:r(" ",e);n.undoManager.transact((()=>n.insertContent(o)))};var l=tinymce.util.Tools.resolve("tinymce.util.VK");const u=n=>e=>{const o=()=>{e.setEnabled(n.selection.isEditable())};return n.on("NodeChange",o),o(),()=>{n.off("NodeChange",o)}};n.add("nonbreaking",(n=>{(n=>{const e=n.options.register;e("nonbreaking_force_tab",{processor:n=>o(n)?{value:n?3:0,valid:!0}:a(n)?{value:n,valid:!0}:{valid:!1,message:"Must be a boolean or number."},default:!1}),e("nonbreaking_wrap",{processor:"boolean",default:!0})})(n),(n=>{n.addCommand("mceNonBreaking",(()=>{c(n,1)}))})(n),(n=>{const e=()=>n.execCommand("mceNonBreaking");n.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:e,onSetup:u(n)}),n.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:e,onSetup:u(n)})})(n),(n=>{const e=i(n);e>0&&n.on("keydown",(o=>{if(o.keyCode===l.TAB&&!o.isDefaultPrevented()){if(o.shiftKey)return;o.preventDefault(),o.stopImmediatePropagation(),c(n,e)}}))})(n)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/pagebreak/plugin.min.js b/dsql-app/public/tinymce-public/plugins/pagebreak/plugin.min.js new file mode 100644 index 0000000..21f2b7c --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/pagebreak/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env");const t=e=>a=>a.options.get(e),n=t("pagebreak_separator"),o=t("pagebreak_split_block"),r="mce-pagebreak",s=e=>{const t=``;return e?`

    ${t}

    `:t},c=e=>a=>{const t=()=>{a.setEnabled(e.selection.isEditable())};return e.on("NodeChange",t),t(),()=>{e.off("NodeChange",t)}};e.add("pagebreak",(e=>{(e=>{const a=e.options.register;a("pagebreak_separator",{processor:"string",default:"\x3c!-- pagebreak --\x3e"}),a("pagebreak_split_block",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mcePageBreak",(()=>{e.insertContent(s(o(e)))}))})(e),(e=>{const a=()=>e.execCommand("mcePageBreak");e.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:a,onSetup:c(e)}),e.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:a,onSetup:c(e)})})(e),(e=>{const a=n(e),t=()=>o(e),c=new RegExp(a.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,(e=>"\\"+e)),"gi");e.on("BeforeSetContent",(e=>{e.content=e.content.replace(c,s(t()))})),e.on("PreInit",(()=>{e.serializer.addNodeFilter("img",(n=>{let o,s,c=n.length;for(;c--;)if(o=n[c],s=o.attr("class"),s&&-1!==s.indexOf(r)){const n=o.parent;if(n&&e.schema.getBlockElements()[n.name]&&t()){n.type=3,n.value=a,n.raw=!0,o.remove();continue}o.type=3,o.value=a,o.raw=!0}}))}))})(e),(e=>{e.on("ResolveName",(a=>{"IMG"===a.target.nodeName&&e.dom.hasClass(a.target,r)&&(a.name="pagebreak")}))})(e)}))}(); \ No newline at end of file diff --git a/dsql-app/public/tinymce-public/plugins/preview/plugin.min.js b/dsql-app/public/tinymce-public/plugins/preview/plugin.min.js new file mode 100644 index 0000000..9c59b0a --- /dev/null +++ b/dsql-app/public/tinymce-public/plugins/preview/plugin.min.js @@ -0,0 +1,4 @@ +/** + * TinyMCE version 7.6.0 (2024-12-11) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");const o=e=>t=>t.options.get(e),i=o("content_style"),s=o("content_css_cors"),c=o("body_class"),r=o("body_id");e.add("preview",(e=>{(e=>{e.addCommand("mcePreview",(()=>{(e=>{const o=(e=>{var o;let a="";const l=e.dom.encode,d=null!==(o=i(e))&&void 0!==o?o:"";a+='';const m=s(e)?' crossorigin="anonymous"':"";n.each(e.contentCSS,(t=>{a+='"})),d&&(a+='");const y=r(e),u=c(e),v='