diff --git a/dsql-app/.local_dist/BUILD_ID b/dsql-app/.local_dist/BUILD_ID index dbbeb73..29825db 100644 --- a/dsql-app/.local_dist/BUILD_ID +++ b/dsql-app/.local_dist/BUILD_ID @@ -1 +1 @@ -1gOSN7HLWCIumskNUJc1E \ No newline at end of file +_A6S2Hel7pfBafC20yE1z \ 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 ad49048..6797606 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/1gOSN7HLWCIumskNUJc1E/_buildManifest.js", - "static/1gOSN7HLWCIumskNUJc1E/_ssgManifest.js" + "static/_A6S2Hel7pfBafC20yE1z/_buildManifest.js", + "static/_A6S2Hel7pfBafC20yE1z/_ssgManifest.js" ], "rootMainFiles": [], "rootMainFilesTree": {}, @@ -56,7 +56,7 @@ "static/chunks/framework-898697981b1ca118.js", "static/chunks/main-36f93e1764e6ea94.js", "static/chunks/9799-abc615966398fac4.js", - "static/chunks/3616-eb6fa93fb451bf57.js", + "static/chunks/3616-7b41eb08ff52c809.js", "static/chunks/820-c223e3d64da3f271.js", "static/chunks/pages/admin-efa0744f5c14dc87.js" ], @@ -65,7 +65,7 @@ "static/chunks/framework-898697981b1ca118.js", "static/chunks/main-36f93e1764e6ea94.js", "static/chunks/9799-abc615966398fac4.js", - "static/chunks/3616-eb6fa93fb451bf57.js", + "static/chunks/3616-7b41eb08ff52c809.js", "static/chunks/820-c223e3d64da3f271.js", "static/chunks/pages/admin/[user_id]-7a323a8952bfcc9e.js" ], @@ -74,21 +74,21 @@ "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" + "static/chunks/pages/admin/[user_id]/api-keys-2041b6f22085abeb.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" + "static/chunks/pages/admin/[user_id]/connect-b54a7d4366e0f783.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/3616-7b41eb08ff52c809.js", "static/chunks/pages/admin/[user_id]/databases-6b7a3f30d592000d.js" ], "/admin/[user_id]/databases/[single]": [ @@ -99,7 +99,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]-63b295eb9207c913.js" ], "/admin/[user_id]/databases/[single]/connect": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -121,8 +121,8 @@ "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" + "static/chunks/6052-1f9ca3a7d2d16828.js", + "static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-c1da7cdcca0eeaec.js" ], "/admin/[user_id]/databases/[single]/schema": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -135,8 +135,8 @@ "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" + "static/chunks/6052-1f9ca3a7d2d16828.js", + "static/chunks/pages/admin/[user_id]/databases/[single]/schema-135fad70f63d5f99.js" ], "/admin/[user_id]/databases/[single]/shell": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -155,7 +155,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]/tables-ae83bb65c1facc24.js" ], "/admin/[user_id]/databases/[single]/tables/[single_table]": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -175,7 +175,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-1d13e3c577038b39.js" ], "/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -252,7 +252,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-fc4b3b32a4c7dff4.js" ], "/admin/[user_id]/databases/[single]/tables/add-table": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -267,7 +267,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-3d1f0a6e9693f671.js" ], "/admin/[user_id]/databases/[single]/users": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -278,7 +278,7 @@ "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" + "static/chunks/pages/admin/[user_id]/databases/[single]/users-9ef5271e62eabede.js" ], "/admin/[user_id]/databases/[single]/users/[user]": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -329,7 +329,7 @@ "static/chunks/9799-abc615966398fac4.js", "static/chunks/5414-904c4e3b277b1a40.js", "static/chunks/5160-1036ca7a8eaeebea.js", - "static/chunks/6052-968463ac9ad036e9.js", + "static/chunks/6052-1f9ca3a7d2d16828.js", "static/chunks/pages/admin/[user_id]/databases/add-database-fa3778d6e9bfcc7e.js" ], "/admin/[user_id]/media": [ @@ -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-c292bf65621dcbd2.js" + "static/chunks/pages/admin/[user_id]/media-57a5450a842bec23.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]-f5953875292f54bb.js" + "static/chunks/pages/admin/[user_id]/media/[...folder]-fd2a6d34d0e1b059.js" ], "/admin/[user_id]/schema": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -364,7 +364,7 @@ "static/chunks/9799-abc615966398fac4.js", "static/chunks/5414-904c4e3b277b1a40.js", "static/chunks/5160-1036ca7a8eaeebea.js", - "static/chunks/3616-eb6fa93fb451bf57.js", + "static/chunks/3616-7b41eb08ff52c809.js", "static/chunks/9907-e7e1d036d8444890.js", "static/chunks/820-c223e3d64da3f271.js", "static/chunks/4147-cebaebce870b5fb7.js", @@ -376,7 +376,7 @@ "static/chunks/main-36f93e1764e6ea94.js", "static/chunks/9799-abc615966398fac4.js", "static/chunks/3857-402e95bd26a58769.js", - "static/chunks/pages/admin/[user_id]/users-aac983ecf3e16d3a.js" + "static/chunks/pages/admin/[user_id]/users-9947b884dd45464d.js" ], "/admin/[user_id]/users/add-user": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -391,7 +391,7 @@ "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" + "static/chunks/pages/admin/[user_id]/users/databases-4066874afcb57801.js" ], "/admin/[user_id]/users/databases/[database]": [ "static/chunks/webpack-5381863dc66a9c32.js", @@ -399,7 +399,7 @@ "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" + "static/chunks/pages/admin/[user_id]/users/databases/[database]-962b42a10b98dda3.js" ], "/admin/[user_id]/users/databases/[database]/[user]": [ "static/chunks/webpack-5381863dc66a9c32.js", diff --git a/dsql-app/.local_dist/cache/config.json b/dsql-app/.local_dist/cache/config.json index f25414a..abf0f2c 100644 --- a/dsql-app/.local_dist/cache/config.json +++ b/dsql-app/.local_dist/cache/config.json @@ -1,7 +1,7 @@ { "telemetry": { - "notifiedAt": "1734261936298", - "anonymousId": "ebafc3d19bc9fe4ccb439101988f90af2135dc7f7c7e64afad9454ef419293f8", - "salt": "58b09a75c3239fe3358c2d88a9b4cb44" + "notifiedAt": "1734263693167", + "anonymousId": "2aded3f991a3d123c6bc099431ec5a717e4f082a0a124ed6a413f270938fce7d", + "salt": "cfcebeb50958602f8e583ff51c159e65" } } \ 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 2456b4a..8451c08 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 c02c92f..06ef781 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 ac6ca48..6b30179 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 5e134b0..5ae8ac9 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 e911ced..d3f2863 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 9a2d105..66cdb1e 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-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 +{"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/parse-stack.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/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/shell-quote/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.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/feature.js","../node_modules/caniuse-lite/dist/unpacker/region.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 3d4cb9e..a03a2a5 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/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 +{"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/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/remove-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../node_modules/next/dist/shared/lib/router/utils/prepare-destination.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-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/image-size/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/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/@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/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/shared/lib/invariant-error.js","../node_modules/next/dist/server/app-render/work-async-storage.external.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/image-size/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/send/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/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/shared/lib/router/utils/parse-path.js","../node_modules/next/dist/server/internal-utils.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/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/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/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.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo.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/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/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/web/spec-extension/adapters/request-cookies.js","../node_modules/next/dist/server/app-render/app-render.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/parse-stack.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/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-pathname-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-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/server/lib/implicit-tags.js","../node_modules/next/dist/client/components/redirect.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/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/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/coerce.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/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/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/prefixing-normalizer.js","../node_modules/next/dist/server/normalizers/absolute-filename-normalizer.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/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/app-render/get-layer-assets.js","../node_modules/next/dist/server/lib/patch-fetch.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/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/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/shell-quote/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../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/semver.js","../node_modules/sharp/node_modules/semver/internal/re.js","../node_modules/sharp/node_modules/semver/functions/parse.js","../node_modules/sharp/node_modules/semver/classes/range.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/shell-quote/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.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/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-untracked.js","../node_modules/next/dist/client/components/navigation.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/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/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/prefetch-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/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/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/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/Errors.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/StaticIndicator.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/ComponentStyles.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/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/console-error.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/enqueue-client-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/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/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/icons/LightningBolt.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/icons/CloseIcon.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/components/nodejs-inspector.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_base/package.json","../node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json","../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/next/dist/client/components/react-dev-overlay/internal/container/RuntimeError/component-stack-pseudo-html.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/Toast/index.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/VersionStalenessInfo/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/LeftRightDialogHeader/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/hot-linked-text/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/copy-button/index.js","../node_modules/next/dist/client/components/react-dev-overlay/internal/components/Terminal/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/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/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/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/container/RuntimeError/GroupedStackFrames.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/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/container/RuntimeError/CallStackFrame.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/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 02862ec..302f387 100644 --- a/dsql-app/.local_dist/prerender-manifest.json +++ b/dsql-app/.local_dist/prerender-manifest.json @@ -1 +1 @@ -{"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 +{"version":4,"routes":{"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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":"53c741779e563963c4b10baf6a025fae","previewModeSigningKey":"8fe8d490cf836a34f68977c386ec26a620fa59c036607c40fa9af66fb6ebb997","previewModeEncryptionKey":"6bd3483006fdc943a70c9aea460c90202c8279b940a0b82b81040a7baf960415"}} \ 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 42193c8..8632ef9 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/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 +{"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/_A6S2Hel7pfBafC20yE1z/admin.json$"},{"page":"/admin/[user_id]","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/api-keys","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/api\\-keys\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/api\\-keys\\.json$"},{"page":"/admin/[user_id]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases\\.json$"},{"page":"/admin/[user_id]/databases/add-database","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/add\\-database\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/add\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/databases/[single]/connect","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/connect\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/connect\\.json$"},{"page":"/admin/[user_id]/databases/[single]/edit-database","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/edit\\-database\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/edit\\-database\\.json$"},{"page":"/admin/[user_id]/databases/[single]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/databases/[single]/shell","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/shell\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/shell\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/tables\\.json$"},{"page":"/admin/[user_id]/databases/[single]/tables/add-table","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/add\\-table\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/edit\\-table\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/add\\-entry\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/entries/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/tables/([^/]+?)/fields\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/tables/(?[^/]+?)/fields\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/databases/[single]/users/add-social-logins","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/users/add\\-social\\-logins\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/databases/([^/]+?)/users/([^/]+?)/change\\-password\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/databases/(?[^/]+?)/users/(?[^/]+?)/change\\-password\\.json$"},{"page":"/admin/[user_id]/media","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/media\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/media\\.json$"},{"page":"/admin/[user_id]/media/[...folder]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPfolder":"nxtPfolder"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/media/(.+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/media/(?.+?)\\.json$"},{"page":"/admin/[user_id]/schema","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/schema\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/schema\\.json$"},{"page":"/admin/[user_id]/settings","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/settings\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/settings\\.json$"},{"page":"/admin/[user_id]/users","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/users\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/users\\.json$"},{"page":"/admin/[user_id]/users/add-user","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/users/add\\-user\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/users/add\\-user\\.json$"},{"page":"/admin/[user_id]/users/databases","routeKeys":{"nxtPuser_id":"nxtPuser_id"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/users/databases\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/users/databases\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/users/databases/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/users/databases/(?[^/]+?)\\.json$"},{"page":"/admin/[user_id]/users/databases/[database]/[user]","routeKeys":{"nxtPuser_id":"nxtPuser_id","nxtPdatabase":"nxtPdatabase","nxtPuser":"nxtPuser"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/([^/]+?)/users/databases/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/admin/(?[^/]+?)/users/databases/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/create-account","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/create-account.json$"},{"page":"/docs","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/docs.json$"},{"page":"/docs/[page]","routeKeys":{"nxtPpage":"nxtPpage"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/docs/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/docs/(?[^/]+?)\\.json$"},{"page":"/docs/[page]/[sub-page]","routeKeys":{"nxtPpage":"nxtPpage","nxtPsubpage":"nxtPsub-page"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/docs/([^/]+?)/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/docs/(?[^/]+?)/(?[^/]+?)\\.json$"},{"page":"/email-verification","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/email-verification.json$"},{"page":"/login","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/login.json$"},{"page":"/logout","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/logout.json$"},{"page":"/reset-password","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/reset-password.json$"},{"page":"/send-password-reset-link","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/send-password-reset-link.json$"},{"page":"/su","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su.json$"},{"page":"/su/backups","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/backups.json$"},{"page":"/su/console","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/console.json$"},{"page":"/su/docs","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs.json$"},{"page":"/su/docs/create-page","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs/create-page.json$"},{"page":"/su/docs/edit-page","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs/edit-page.json$"},{"page":"/su/docs/pages","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs/pages.json$"},{"page":"/su/docs/pages/[id]","routeKeys":{"nxtPid":"nxtPid"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs/pages/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/docs/pages/(?[^/]+?)\\.json$"},{"page":"/su/envar","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/envar.json$"},{"page":"/su/error-logs","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/error-logs.json$"},{"page":"/su/load-balancing","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/load-balancing.json$"},{"page":"/su/login","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/login.json$"},{"page":"/su/servers","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/servers.json$"},{"page":"/su/users","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/users.json$"},{"page":"/su/users/new","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/users/new.json$"},{"page":"/su/users/[single]","routeKeys":{"nxtPsingle":"nxtPsingle"},"dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/users/([^/]+?)\\.json$","namedDataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/su/users/(?[^/]+?)\\.json$"},{"page":"/unsubscribe","dataRouteRegex":"^/_next/data/_A6S2Hel7pfBafC20yE1z/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 index 6951a05..6ab9623 100644 --- a/dsql-app/.local_dist/server/_error.js +++ b/dsql-app/.local_dist/server/_error.js @@ -197,7 +197,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac /***/ ((__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"); +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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9sYXlvdXRzL2NvbXBvbmVudHMvQWRtaW5Vc2VyRHJvcGRvd24uanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBLFlBQVk7QUFFWjs7OztDQUlDO0FBQ3lCO0FBQ2lCO0FBRTNDLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBQ25GLG1GQUFtRixHQUNuRixtRkFBbUYsR0FDbkYsbUZBQW1GLEdBRW5GOzs7OztDQUtDLEdBQ2MsU0FBU0Usa0JBQWtCLEVBQUVDLElBQUksRUFBRTtJQUM5Qzs7OztLQUlDLEdBRUQsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFFeEM7Ozs7S0FJQyxHQUVELHdDQUF3QztJQUN4Qyx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBRXhDOzs7O0tBSUMsR0FFRCx3Q0FBd0M7SUFDeEMsd0NBQXdDO0lBQ3hDLHdDQUF3QztJQUV4Qzs7OztLQUlDLEdBQ0QscUJBQ0ksOERBQUNDO1FBQUlDLFdBQVU7OzBCQUNYLDhEQUFDQztnQkFDR0MsTUFBSztnQkFDTEYsV0FBVTs7a0NBRVYsOERBQUNKLHdGQUFXQTt3QkFBQ08sTUFBTTt3QkFBSUgsV0FBVTs7Ozs7O2tDQUNqQyw4REFBQ0k7a0NBQUs7Ozs7Ozs7Ozs7OztZQW5DVSxLQXFDa0IsSUFBSU4sTUFBTU8sbUJBQzVDLDhEQUFDTjtnQkFBSUMsV0FBVTs7a0NBQ1gsOERBQUNJO3dCQUFLSixXQUFVO2tDQUFpQjs7Ozs7O2tDQUNqQyw4REFBQ007a0NBQUdSLEtBQUtPLEVBQUU7Ozs7Ozs7Ozs7O3VCQUVmOzBCQUNKLDhEQUFDSjtnQkFDR0MsTUFBTSxDQUFDLE9BQU8sRUFBRUosTUFBTU8sR0FBRyxTQUFTLENBQUM7Z0JBQ25DTCxXQUFVOzBCQUNiOzs7Ozs7MEJBR0QsOERBQUNDO2dCQUNHQyxNQUFLO2dCQUNMRixXQUFVOzBCQUNiOzs7Ozs7Ozs7Ozs7QUFLVCx3Q0FBd0M7QUFDeEMsd0NBQXdDO0FBQ3hDLHdDQUF3QztBQUM1QyIsInNvdXJjZXMiOlsiL2FwcC9sYXlvdXRzL2NvbXBvbmVudHMvQWRtaW5Vc2VyRHJvcGRvd24uanN4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIEB0cy1jaGVja1xyXG5cclxuLyoqXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKiBJbXBvcnRzXHJcbiAqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xyXG5pbXBvcnQgeyBDaXJjbGVHYXVnZSB9IGZyb20gXCJsdWNpZGUtcmVhY3RcIjtcclxuXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcbi8qKiAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogKi9cclxuLyoqICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqL1xyXG4vKiogKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqICovXHJcblxyXG4vKipcclxuICogQWRtaW4gVXNlciBEcm9wZG93blxyXG4gKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cclxuICogQHBhcmFtIHtvYmplY3R9IHByb3BzXHJcbiAqIEBwYXJhbSB7aW1wb3J0KFwiQC9wYWNrYWdlLXNoYXJlZC90eXBlc1wiKS5Vc2VyVHlwZX0gcHJvcHMudXNlclxyXG4gKi9cclxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gQWRtaW5Vc2VyRHJvcGRvd24oeyB1c2VyIH0pIHtcclxuICAgIC8qKlxyXG4gICAgICogR2V0IENvbnRleHRzXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IHsgUmVhY3QudXNlQ29udGV4dCB9XHJcbiAgICAgKi9cclxuXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcbiAgICAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiBKYXZhc2NyaXB0IFZhcmlhYmxlc1xyXG4gICAgICpcclxuICAgICAqIEBhYnN0cmFjdCBOb24gaG9vayB2YXJpYWJsZXMgYW5kIGZ1bmN0aW9uc1xyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogUmVhY3QgSG9va3NcclxuICAgICAqXHJcbiAgICAgKiBAYWJzdHJhY3QgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0LCB1c2VSZWYsIGV0YyAuLi4gfVxyXG4gICAgICovXHJcblxyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG4gICAgLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKlxyXG4gICAgICogQGFic3RyYWN0IE1haW4gRnVuY3Rpb24gUmV0dXJuXHJcbiAgICAgKi9cclxuICAgIHJldHVybiAoXHJcbiAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJkcm9wZG93biByaWdodC1hbGlnbmVkXCI+XHJcbiAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICBocmVmPVwiL2FkbWluXCJcclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBvdXRsaW5lZCBncmF5IG1vcmUtcGFkZGluZyByZWxhdGl2ZSB6LTIwIG1iLTJcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICA8Q2lyY2xlR2F1Z2Ugc2l6ZT17MTh9IGNsYXNzTmFtZT1cIm1yLTFcIiAvPlxyXG4gICAgICAgICAgICAgICAgPHNwYW4+RGFzaGJvYXJkPC9zcGFuPlxyXG4gICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgIHtwcm9jZXNzLmVudi5OT0RFX0VOViA9PSBcImRldmVsb3BtZW50XCIgJiYgdXNlcj8uaWQgPyAoXHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInAtMiBiZy1zbGF0ZS0xMDAgdy1mdWxsIGp1c3RpZnktY2VudGVyIGl0ZW1zLWNlbnRlciByb3VuZGVkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwidGV4dC1zbGF0ZS01MDBcIj5Vc2VyIElEOjwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICA8Yj57dXNlci5pZH08L2I+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgKSA6IG51bGx9XHJcbiAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICBocmVmPXtgL2FkbWluLyR7dXNlcj8uaWR9L3NldHRpbmdzYH1cclxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZT1cImJ1dHRvbiBwbGFpbi10ZXh0IG1vcmUtcGFkZGluZyBub3JtYWwtd2VpZ2h0XCJcclxuICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgU2V0dGluZ3NcclxuICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgICAgICA8YVxyXG4gICAgICAgICAgICAgICAgaHJlZj1cIi9sb2dvdXRcIlxyXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiYnV0dG9uIHBsYWluLXRleHQgbW9yZS1wYWRkaW5nIG5vcm1hbC13ZWlnaHRcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICBMb2dvdXRcclxuICAgICAgICAgICAgPC9hPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgKTtcclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxuICAgIC8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cclxufVxyXG4iXSwibmFtZXMiOlsiUmVhY3QiLCJDaXJjbGVHYXVnZSIsIkFkbWluVXNlckRyb3Bkb3duIiwidXNlciIsImRpdiIsImNsYXNzTmFtZSIsImEiLCJocmVmIiwic2l6ZSIsInNwYW4iLCJpZCIsImIiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./layouts/components/AdminUserDropdown.jsx\n"); /***/ }), diff --git a/dsql-app/.local_dist/server/chunks/2996.js b/dsql-app/.local_dist/server/chunks/2996.js index cd897c5..e4ba8fa 100644 --- a/dsql-app/.local_dist/server/chunks/2996.js +++ b/dsql-app/.local_dist/server/chunks/2996.js @@ -1 +1 @@ -"use strict";exports.id=2996,exports.ids=[2996],exports.modules={55312:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),l=t(82015),i=t.n(l),n=t(32415),r=t(2471);t(27462),t(55158);var d=t(56987),c=t(12042);function o(e){let{user:a,dbImage:t,setDbImage:l,query:o}=i().useContext(r.AddDatabaseContext);if(!a)return(0,s.jsx)(i().Fragment,{});let[u,m]=i().useState(null),[g,p]=i().useState(!1);return(0,s.jsx)("section",{className:"card",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[g&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"New Database Information"}),a&&t&&l&&(0,s.jsx)(d.A,{user:a,dbImage:t,setDbImage:l,setLoading:p,query:o})]}),a&&t&&l&&(0,s.jsx)(c.A,{user:a,dbImage:t,setDbImage:l})]})})}},56987:(e,a,t)=>{let s;t.d(a,{A:()=>p});var l=t(8732),i=t(82015),n=t.n(i),r=t(27462),d=t(64535);t(22326);var c=t(63715),o=t(86152);async function u({e,setLoading:a,dbImage:t,database:s,user:l}){a(!0);let i={db_description:e.target.database_description?.value?.match(/./)?e.target.database_description.value:null,db_name:e.target.database_name?.value?.match(/./)?e.target.database_name.value:null,db_slug:e.target.database_slug?.value?.match(/./)?e.target.database_slug.value:null,db_full_name:s.db_full_name,id:s.id,active_clone:s.active_clone,active_clone_parent_db:s.active_clone_parent_db};if(t){if("string"==typeof t)i.db_image=t;else if("object"==typeof t){let e=await (0,c.A)("/api/addUserMedia",{method:"post",body:{media:[t],folder:i.db_slug.replace(/_/g,"-"),type:"image"}},!0);i.db_image=e?.mediaData[0]?.media_thumbnail_url?e.mediaData[0].media_thumbnail_url:"/images/database-placeholder.png"}}else i.db_image="/images/database-placeholder.png";(0,c.A)("/api/updateUserDatabase",{method:"post",body:i},!0).then(e=>{e.success?(0,o.A)().then(()=>{window.location.pathname=`/admin/${l?.id}/databases`,setTimeout(()=>{a(!1)},1e3)}):(alert("Error! Please Try Again"),setTimeout(()=>{a(!1)},1e3))})}async function m({e,setLoading:a,dbImage:t,keepUpdated:s,keepDataUpdated:l,query:i,user:n}){a(!0);let r={db_name:e.target.database_name.value,db_slug:e.target.database_slug.value,db_description:e.target.database_description?.value?.match(/./)?e.target.database_description.value:null};if(t){if("string"==typeof t)r.db_image=t;else if("object"==typeof t){let e=await (0,c.A)("/api/addUserMedia",{method:"post",body:{media:[t],folder:r.db_slug.replace(/_/g,"-"),type:"image"}},!0);r.db_image=e?.mediaData[0]?.media_thumbnail_url?e.mediaData[0].media_thumbnail_url:"/images/database-placeholder.png"}}i?.duplicate&&(r.duplicate=i.duplicate,r.keepUpdated=!!s&&s,r.keepDataUpdated=!!l&&l),(0,c.A)("/api/createUserDatabase",{method:"post",body:r},!0).then(e=>{e.success?(0,o.A)().then(()=>{window.location.pathname=`/admin/${n?.id}/databases/${r.db_slug}`}):setTimeout(()=>{a(!1)},1e3)})}var g=t(58403);function p({user:e,dbImage:a,setDbImage:t,database:i,setLoading:c,query:o}){async function p(a){return i?.db_slug===a?null:await (0,r.A)({tableName:"user_databases",columnName:"db_slug",value:a,userId:e.id})}let[h,b]=n().useState(null),[x,f]=n().useState(!1),[_,w]=n().useState(!1);return(0,l.jsxs)("form",{className:"w-full max-w-none xl:max-w-lg flex flex-col items-start gap-4 relative",onSubmit:t=>{t.preventDefault(),i?u({e:t,setLoading:c,dbImage:a,database:i,user:e}):m({e:t,setLoading:c,dbImage:a,keepUpdated:x,keepDataUpdated:_,query:o,user:e})},children:[h&&(0,l.jsx)(d.A,{message:h}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_name",children:"Name"}),(0,l.jsx)("input",{type:"text",name:"database_name",id:"database_name",placeholder:"Database Name",onInput:async e=>{let a=e.target,t=a.closest("form");if(a.value.match(/./)?(a.classList.remove("warning"),b(null)):a.classList.add("warning"),t){t.database_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let e=t.database_slug.value;window.clearTimeout(s),s=setTimeout(()=>{p(e).then(e=>{e?.result?(t.database_slug.classList.add("warning"),b("Duplicate Database Name")):(t.database_slug.classList.remove("warning"),b(null))})},300)}},defaultValue:i?i.db_name:"",required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_slug",children:"Slug"}),(0,l.jsx)("input",{type:"text",name:"database_slug",id:"database_slug",placeholder:"Database Slug",onInput:e=>{let a=e.target;a.value.match(/./)?(a.classList.remove("warning"),b(null)):a.classList.add("warning");let t=a.value;window.clearTimeout(s),s=setTimeout(()=>{p(t).then(e=>{e?.result?(a.classList.add("warning"),b("Duplicate Database Name")):(a.classList.remove("warning"),b(null))})},300)},defaultValue:i?i.db_slug:"",required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_description",children:"Description (optional)"}),(0,l.jsx)("textarea",{name:"database_description",id:"database_description",placeholder:"Short Description of database",defaultValue:i?i.db_description:""})]}),o?.duplicate&&(0,l.jsx)(n().Fragment,{children:(0,l.jsxs)("div",{className:"card col items-start",children:[(0,l.jsx)(g.A,{checkBoxValues:[{payload:"Keep New Database Updated?",title:"Keep New Database Updated?",name:"clone_database",onChangeHandler:e=>{e.target.checked?f(!0):f(!1)}}]}),(0,l.jsx)("span",{className:"text-sm italic text-slate-600 dark:text-slate-300",children:"By checking this box the new Database stays up to date with changes to the structure of the parent Database"})]})}),(0,l.jsxs)("button",{type:"submit",className:"w-full",children:[i?"Update":"Create"," Database"]})]})}},12042:(e,a,t)=>{t.d(a,{A:()=>c});var s=t(8732),l=t(82015),i=t.n(l),n=t(79100),r=t(55158),d=t(62506);function c({user:e,dbImage:a,setDbImage:t,database:l}){let c=i().useRef();return(0,s.jsxs)("div",{className:"card no-hover col items-center justify-center",children:[(0,s.jsx)("h4",{className:"m-0",children:"Database Image"}),(0,s.jsx)("div",{className:"bg-white rounded-full overflow-hidden w-24 h-24",children:(0,s.jsx)("img",{src:a?"string"==typeof a?a:a.imageBase64Full:"/images/database-placeholder.png",alt:"Database Image",width:100,className:"w-full h-full object-cover",ref:c,"data-imagepreview":"image"})}),(0,s.jsxs)("div",{className:"w-full flex-col",id:"edit-database-image-option-wrapper",children:[(0,s.jsxs)(d.A,{column:!0,className:"w-full",children:[(0,s.jsx)("button",{className:"outlined w-full whitespace-normal",onClick:e=>{(0,r.PB)("user-media-popup")},children:"Choose Image from uploads"}),(0,s.jsx)("button",{className:"outlined secondary w-full whitespace-normal",onClick:e=>{let a=e.target;a?.closest("#edit-database-image-option-wrapper")?.querySelector("input")?.click()},children:"Choose Image from Computer"})]}),(0,s.jsx)("input",{type:"file",accept:".png,.jpg,.jpeg,.webp",placeholder:"Choose Database Image",className:"hidden",onChange:async e=>{let a=e.target.files[0];t(await (0,n.A)({imageInputFile:a,maxWidth:400}))}})]})]})}},42105:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(8732),l=t(82015),i=t.n(l);t(63715);var n=t(55158),r=t(32415);function d({setDbImage:e}){let[a,t]=i().useState(!0),[l,d]=i().useState(null);return(0,s.jsxs)(n.Ay,{title:"user-media-popup",children:[a&&(0,s.jsx)(r.A,{width:"20px"}),(0,s.jsx)("h4",{className:"m-0 text-lg",children:"Your Uploaded Images"}),(0,s.jsx)("div",{className:"grid grid-cols-2",children:l&&l[0]&&l.filter(e=>"image"==e.media_type).map((a,t)=>(0,s.jsx)("div",{className:"w-full h-44 cursor-pointer hover:opacity-70",onClick:t=>{e(a.media_thumbnail_url||null),(0,n.fs)()},children:(0,s.jsx)("img",{src:a.media_thumbnail_url,alt:"User Media",className:"w-full h-full object-contain"})},t+1))})]})}t(64417)},64535:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(8732);function l({message:e}){return(0,s.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,s.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,s.jsx)("span",{children:e})]})}t(82015)},27462:(e,a,t)=>{t.d(a,{A:()=>l}),t(22326);var s=t(63715);async function l({tableName:e,columnName:a,value:t,dbFullName:l,dispatch:i,userId:n,dbId:r}){return await (0,s.A)(`/api/checkDuplicateData?tableName=${e}&type=${a}&value=${t}${l?"&dbFullName="+l:""}${n?"&userId="+n:""}${r?"&dbId="+r:""}`)}},79100:(e,a,t)=>{t.d(a,{A:()=>s});async function s({imageInputFile:e,maxWidth:a}){let t,s,l=document.querySelector("[data-imagepreview='image']"),i=e.name.replace(/\..*/,""),n=document.createElement("canvas"),r=e.type,d=a||null,c=URL.createObjectURL(e),o=new Image;return o.src=c,t=await new Promise((e,a)=>{o.onerror=function(){URL.revokeObjectURL(this.src),console.log("Cannot load image")},o.onload=function(){if(URL.revokeObjectURL(this.src),d){let e=d/o.naturalWidth;n.width=o.naturalWidth{e.src=t}),e(t)}}),s=await new Promise((e,a)=>{n.toBlob(a=>{e(a?.size)},r,.95)}),{imageBase64:t.replace(/.*?base64,/,""),imageBase64Full:t,imageName:i,imageSize:s}}},41658:(e,a,t)=>{let s=t(29021),l=t(22373),i=t(13608);e.exports=async function(e){let a;"production".match(/dev/)&&s.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{a=await i(e)}catch(e){l({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return a||null}},13608:(e,a,t)=>{let s=t(9973),l=t(31976),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,charset:"utf8mb4",ssl:l()}});e.exports=function(...e){try{return new Promise((a,t)=>{i.query(...e).then(e=>{i.end(),a(JSON.parse(JSON.stringify(e)))}).catch(e=>{i.end(),a({error:e.message,sql:e.sql})})})}catch(e){return{success:!1,error:e.message}}}},2471:(e,a,t)=>{t.r(a),t.d(a,{AddDatabaseContext:()=>f,default:()=>_,getServerSideProps:()=>w});var s=t(8732),l=t(82015),i=t.n(l),n=t(95222),r=t(20048),d=t.n(r),c=t(41658),o=t.n(c),u=t(46437),m=t(58548),g=t(55312);function p(e){let{query:a,duplicateDb:t,user:l}=i().useContext(f),n=a?.duplicate?(0,s.jsxs)("span",{children:["Duplicate"," ",(0,s.jsx)("a",{href:`/admin/${l?.id}/databases/${t?.db_slug}`,target:"_blank",children:t?.db_name})," ","Database"]}):"Add A New Database";return(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:"flex-wrap",children:[(0,s.jsx)(u.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:n})]}),(0,s.jsx)(m.A,{user:l})]}),(0,s.jsx)(g.A,{})]})}var h=t(42105),b=t(67216),x=t.n(b);let f=i().createContext({});function _({user:e,databases:a,query:t,duplicateDb:l}){let r=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[d,c]=i().useState("/images/database-placeholder.png");return(0,s.jsx)(n.A,{head:r,user:e,children:(0,s.jsxs)(f.Provider,{value:{user:e,databases:a,dbImage:d,setDbImage:c,query:t,duplicateDb:l},children:[(0,s.jsx)(p,{}),(0,s.jsx)(h.A,{setDbImage:c})]})})}async function w({req:e,res:a,query:t}){let s=await d()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};if(!s?.verification_status?.toString()?.match(/1/))return{redirect:{destination:"/admin",permanent:!1}};let l=await o()(`SELECT SCHEMA_NAME AS dbFullName FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME LIKE 'user_${s.id}%'`),i={};if(t.duplicate){let e=await x()(`SELECT * FROM user_databases WHERE db_full_name='${t.duplicate}'`);e&&e[0]&&(i=e[0])}return{props:{user:s,databases:l,query:t,duplicateDb:i}}}}}; \ No newline at end of file +"use strict";exports.id=2996,exports.ids=[2996],exports.modules={55312:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),l=t(82015),i=t.n(l),n=t(32415),r=t(2471);t(27462),t(55158);var d=t(56987),c=t(12042);function o(e){let{user:a,dbImage:t,setDbImage:l,query:o}=i().useContext(r.AddDatabaseContext);if(!a)return(0,s.jsx)(i().Fragment,{});let[u,m]=i().useState(null),[g,p]=i().useState(!1);return(0,s.jsx)("section",{className:"card",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[g&&(0,s.jsx)(n.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"New Database Information"}),a&&t&&l&&(0,s.jsx)(d.A,{user:a,dbImage:t,setDbImage:l,setLoading:p,query:o})]}),a&&t&&l&&(0,s.jsx)(c.A,{user:a,dbImage:t,setDbImage:l})]})})}},56987:(e,a,t)=>{let s;t.d(a,{A:()=>p});var l=t(8732),i=t(82015),n=t.n(i),r=t(27462),d=t(64535);t(22326);var c=t(63715),o=t(86152);async function u({e,setLoading:a,dbImage:t,database:s,user:l}){a(!0);let i={db_description:e.target.database_description?.value?.match(/./)?e.target.database_description.value:null,db_name:e.target.database_name?.value?.match(/./)?e.target.database_name.value:null,db_slug:e.target.database_slug?.value?.match(/./)?e.target.database_slug.value:null,db_full_name:s.db_full_name,id:s.id,active_clone:s.active_clone,active_clone_parent_db:s.active_clone_parent_db};if(t){if("string"==typeof t)i.db_image=t;else if("object"==typeof t){let e=await (0,c.A)("/api/addUserMedia",{method:"post",body:{media:[t],folder:i.db_slug.replace(/_/g,"-"),type:"image"}},!0);i.db_image=e?.mediaData[0]?.media_thumbnail_url?e.mediaData[0].media_thumbnail_url:"/images/database-placeholder.png"}}else i.db_image="/images/database-placeholder.png";(0,c.A)("/api/updateUserDatabase",{method:"post",body:i},!0).then(e=>{e.success?(0,o.A)().then(()=>{window.location.pathname=`/admin/${l?.id}/databases`,setTimeout(()=>{a(!1)},1e3)}):(alert("Error! Please Try Again"),setTimeout(()=>{a(!1)},1e3))})}async function m({e,setLoading:a,dbImage:t,keepUpdated:s,keepDataUpdated:l,query:i,user:n}){a(!0);let r={db_name:e.target.database_name.value,db_slug:e.target.database_slug.value,db_description:e.target.database_description?.value?.match(/./)?e.target.database_description.value:null};if(t){if("string"==typeof t)r.db_image=t;else if("object"==typeof t){let e=await (0,c.A)("/api/addUserMedia",{method:"post",body:{media:[t],folder:r.db_slug.replace(/_/g,"-"),type:"image"}},!0);r.db_image=e?.mediaData[0]?.media_thumbnail_url?e.mediaData[0].media_thumbnail_url:"/images/database-placeholder.png"}}i?.duplicate&&(r.duplicate=i.duplicate,r.keepUpdated=!!s&&s,r.keepDataUpdated=!!l&&l),(0,c.A)("/api/createUserDatabase",{method:"post",body:r},!0).then(e=>{e.success?(0,o.A)().then(()=>{window.location.pathname=`/admin/${n?.id}/databases/${r.db_slug}`}):setTimeout(()=>{a(!1)},1e3)})}var g=t(58403);function p({user:e,dbImage:a,setDbImage:t,database:i,setLoading:c,query:o}){async function p(a){return i?.db_slug===a?null:await (0,r.A)({tableName:"user_databases",columnName:"db_slug",value:a,userId:e.id})}let[h,b]=n().useState(null),[x,f]=n().useState(!1),[_,w]=n().useState(!1);return(0,l.jsxs)("form",{className:"w-full max-w-none xl:max-w-lg flex flex-col items-start gap-4 relative",onSubmit:t=>{t.preventDefault(),i?u({e:t,setLoading:c,dbImage:a,database:i,user:e}):m({e:t,setLoading:c,dbImage:a,keepUpdated:x,keepDataUpdated:_,query:o,user:e})},children:[h&&(0,l.jsx)(d.A,{message:h}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_name",children:"Name"}),(0,l.jsx)("input",{type:"text",name:"database_name",id:"database_name",placeholder:"Database Name",onInput:async e=>{let a=e.target,t=a.closest("form");if(a.value.match(/./)?(a.classList.remove("warning"),b(null)):a.classList.add("warning"),t){t.database_slug.value=a.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,"");let e=t.database_slug.value;window.clearTimeout(s),s=setTimeout(()=>{p(e).then(e=>{e?.result?(t.database_slug.classList.add("warning"),b("Duplicate Database Name")):(t.database_slug.classList.remove("warning"),b(null))})},300)}},defaultValue:i?i.db_name:"",required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_slug",children:"Slug"}),(0,l.jsx)("input",{type:"text",name:"database_slug",id:"database_slug",placeholder:"Database Slug",onInput:e=>{let a=e.target;a.value.match(/./)?(a.classList.remove("warning"),b(null)):a.classList.add("warning");let t=a.value;window.clearTimeout(s),s=setTimeout(()=>{p(t).then(e=>{e?.result?(a.classList.add("warning"),b("Duplicate Database Name")):(a.classList.remove("warning"),b(null))})},300)},defaultValue:i?i.db_slug:"",required:!0})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,l.jsx)("label",{htmlFor:"database_description",children:"Description (optional)"}),(0,l.jsx)("textarea",{name:"database_description",id:"database_description",placeholder:"Short Description of database",defaultValue:i?i.db_description:""})]}),o?.duplicate&&(0,l.jsx)(n().Fragment,{children:(0,l.jsxs)("div",{className:"card col items-start",children:[(0,l.jsx)(g.A,{checkBoxValues:[{payload:"Keep New Database Updated?",title:"Keep New Database Updated?",name:"clone_database",onChangeHandler:e=>{e.target.checked?f(!0):f(!1)}}]}),(0,l.jsx)("span",{className:"text-sm italic text-slate-600 dark:text-slate-300",children:"By checking this box the new Database stays up to date with changes to the structure of the parent Database"})]})}),(0,l.jsxs)("button",{type:"submit",className:"w-full",children:[i?"Update":"Create"," Database"]})]})}},12042:(e,a,t)=>{t.d(a,{A:()=>c});var s=t(8732),l=t(82015),i=t.n(l),n=t(79100),r=t(55158),d=t(62506);function c({user:e,dbImage:a,setDbImage:t,database:l}){let c=i().useRef();return(0,s.jsxs)("div",{className:"card no-hover col items-center justify-center",children:[(0,s.jsx)("h4",{className:"m-0",children:"Database Image"}),(0,s.jsx)("div",{className:"bg-white rounded-full overflow-hidden w-24 h-24",children:(0,s.jsx)("img",{src:a?"string"==typeof a?a:a.imageBase64Full:"/images/database-placeholder.png",alt:"Database Image",width:100,className:"w-full h-full object-cover",ref:c,"data-imagepreview":"image"})}),(0,s.jsxs)("div",{className:"w-full flex-col",id:"edit-database-image-option-wrapper",children:[(0,s.jsxs)(d.A,{column:!0,className:"w-full",children:[(0,s.jsx)("button",{className:"outlined w-full whitespace-normal",onClick:e=>{(0,r.PB)("user-media-popup")},children:"Choose Image from uploads"}),(0,s.jsx)("button",{className:"outlined secondary w-full whitespace-normal",onClick:e=>{let a=e.target;a?.closest("#edit-database-image-option-wrapper")?.querySelector("input")?.click()},children:"Choose Image from Computer"})]}),(0,s.jsx)("input",{type:"file",accept:".png,.jpg,.jpeg,.webp",placeholder:"Choose Database Image",className:"hidden",onChange:async e=>{let a=e.target.files[0];t(await (0,n.A)({imageInputFile:a,maxWidth:400}))}})]})]})}},42105:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(8732),l=t(82015),i=t.n(l);t(63715);var n=t(55158),r=t(32415);function d({setDbImage:e}){let[a,t]=i().useState(!0),[l,d]=i().useState(null);return(0,s.jsxs)(n.Ay,{title:"user-media-popup",children:[a&&(0,s.jsx)(r.A,{width:"20px"}),(0,s.jsx)("h4",{className:"m-0 text-lg",children:"Your Uploaded Images"}),(0,s.jsx)("div",{className:"grid grid-cols-2",children:l&&l[0]&&l.filter(e=>"image"==e.media_type).map((a,t)=>(0,s.jsx)("div",{className:"w-full h-44 cursor-pointer hover:opacity-70",onClick:t=>{e(a.media_thumbnail_url||null),(0,n.fs)()},children:(0,s.jsx)("img",{src:a.media_thumbnail_url,alt:"User Media",className:"w-full h-full object-contain"})},t+1))})]})}t(64417)},64535:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(8732);function l({message:e}){return(0,s.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,s.jsx)("img",{src:"/images/warning.png",alt:"Warning Image Icon",width:22,className:"-my-2"}),(0,s.jsx)("span",{children:e})]})}t(82015)},27462:(e,a,t)=>{t.d(a,{A:()=>l}),t(22326);var s=t(63715);async function l({tableName:e,columnName:a,value:t,dbFullName:l,dispatch:i,userId:n,dbId:r}){return await (0,s.A)(`/api/checkDuplicateData?tableName=${e}&type=${a}&value=${t}${l?"&dbFullName="+l:""}${n?"&userId="+n:""}${r?"&dbId="+r:""}`)}},79100:(e,a,t)=>{t.d(a,{A:()=>s});async function s({imageInputFile:e,maxWidth:a}){let t,s,l=document.querySelector("[data-imagepreview='image']"),i=e.name.replace(/\..*/,""),n=document.createElement("canvas"),r=e.type,d=a||null,c=URL.createObjectURL(e),o=new Image;return o.src=c,t=await new Promise((e,a)=>{o.onerror=function(){URL.revokeObjectURL(this.src),console.log("Cannot load image")},o.onload=function(){if(URL.revokeObjectURL(this.src),d){let e=d/o.naturalWidth;n.width=o.naturalWidth{e.src=t}),e(t)}}),s=await new Promise((e,a)=>{n.toBlob(a=>{e(a?.size)},r,.95)}),{imageBase64:t.replace(/.*?base64,/,""),imageBase64Full:t,imageName:i,imageSize:s}}},41658:(e,a,t)=>{let s=t(29021),l=t(22373),i=t(13608);e.exports=async function(e){let a;"production".match(/dev/)&&s.appendFileSync("./.tmp/sqlQuery.sql",e+"\n"+Date()+"\n\n\n","utf8");try{a=await i(e)}catch(e){l({component:"noDatabaseDbHandler",message:e.message}),console.log("ERROR in noDatabaseDbHandler =>",e.message)}return a||null}},13608:(e,a,t)=>{let s=t(9973),l=t(31976),i=s({config:{host:process.env.DSQL_DB_HOST,user:process.env.DSQL_DB_USERNAME,password:process.env.DSQL_DB_PASSWORD,charset:"utf8mb4",ssl:l()}});e.exports=function(...e){try{return new Promise((a,t)=>{i.query(...e).then(e=>{i.end(),a(JSON.parse(JSON.stringify(e)))}).catch(e=>{i.end(),a({error:e.message,sql:e.sql})})})}catch(e){return{success:!1,error:e.message}}}},2471:(e,a,t)=>{t.r(a),t.d(a,{AddDatabaseContext:()=>f,default:()=>_,getServerSideProps:()=>w});var s=t(8732),l=t(82015),i=t.n(l),n=t(95222),r=t(20048),d=t.n(r),c=t(41658),o=t.n(c),u=t(46437),m=t(58548),g=t(55312);function p(e){let{query:a,duplicateDb:t,user:l}=i().useContext(f),n=a?.duplicate?(0,s.jsxs)("span",{children:["Duplicate"," ",(0,s.jsx)("a",{href:`/admin/${l?.id}/databases/${t?.db_slug}`,target:"_blank",children:t?.db_name})," ","Database"]}):"Add A New Database";return(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:"flex-wrap",children:[(0,s.jsx)(u.A,{}),(0,s.jsx)("h1",{className:"text-3xl m-0",children:n})]}),(0,s.jsx)(m.A,{user:l})]}),(0,s.jsx)(g.A,{})]})}var h=t(42105),b=t(67216),x=t.n(b);let f=i().createContext({});function _({user:e,databases:a,query:t,duplicateDb:l}){let r=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[d,c]=i().useState("/images/database-placeholder.png");return(0,s.jsx)(f.Provider,{value:{user:e,databases:a,dbImage:d,setDbImage:c,query:t,duplicateDb:l},children:(0,s.jsxs)(i().Fragment,{children:[(0,s.jsx)(n.A,{head:r,user:e,children:(0,s.jsx)(p,{})}),(0,s.jsx)(h.A,{setDbImage:c})]})})}async function w({req:e,res:a,query:t}){let s=await d()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};if(!s?.verification_status?.toString()?.match(/1/))return{redirect:{destination:"/admin",permanent:!1}};let l=await o()(`SELECT SCHEMA_NAME AS dbFullName FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME LIKE 'user_${s.id}%'`),i={};if(t.duplicate){let e=await x()(`SELECT * FROM user_databases WHERE db_full_name='${t.duplicate}'`);e&&e[0]&&(i=e[0])}return{props:{user:s,databases:l,query:t,duplicateDb:i}}}}}; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/chunks/3460.js b/dsql-app/.local_dist/server/chunks/3460.js index 1bc051e..e7768ed 100644 --- a/dsql-app/.local_dist/server/chunks/3460.js +++ b/dsql-app/.local_dist/server/chunks/3460.js @@ -1 +1 @@ -"use strict";exports.id=3460,exports.ids=[3460],exports.modules={30671:(e,a)=>{Object.defineProperty(a,"M",{enumerable:!0,get:function(){return function e(a,t){return t in a?a[t]:"then"in a&&"function"==typeof a.then?a.then(a=>e(a,t)):"function"==typeof a&&"default"===t?a:void 0}}})},14587:(e,a,t)=>{t.d(a,{A:()=>x});var s=t(8732),l=t(82015),n=t.n(l),d=t(86173),i=t(55158),r=t(63715),c=t(32415),o=t(62506),h=t(6070);function x({database:e,setTargetDatabase:a,delegated:t,user:l}){let x=`/admin/${l?.id}/databases/${e.db_slug}`+(t?`?delegated=true&dbUserId=${e.user_id}`:""),{active_clone:p,active_clone_parent_db:u}=e,[m,y]=n().useState(!1);return(0,s.jsxs)("a",{href:x,className:"card",onClick:a=>{(a.target.closest(".db-list-item-actions-block")||a.target.closest(".cancel-link"))&&a.preventDefault(),t&&(a.preventDefault(),y(!0),(0,r.A)("/api/getDelegatedDatabaseToken",{method:"post",body:{rootUserId:e.user_id,priviledges:e.user_priviledge,database:e.db_slug}},!0).then(e=>{e.success&&(window.location.href=x)}),setTimeout(()=>{y(!1)},1e3))},children:[m&&(0,s.jsx)(c.A,{width:"20px"}),(0,s.jsx)("img",{src:e.db_image?e.db_image:"/images/folder.svg",alt:"Folder Image",width:20,className:e.db_image?"avatar":"avatar opacity-50"}),(0,s.jsxs)("div",{className:"flex-col items-start grow",children:[(0,s.jsx)("span",{className:"title",children:e.db_name}),u&&(0,s.jsxs)("span",{className:"text-xs bg-emerald-100 dark:bg-emerald-100/10 text-emerald-700 dark:text-emerald-200 px-2 py-0.5 rounded-full mb-1",children:["This Database is an active Clone of"," ",(0,s.jsx)("b",{children:u.replace(/datasquirel_user_\d+_/,"")})]}),(0,s.jsx)("div",{className:"-mt-2",children:(0,s.jsx)(d.A,{slugText:e.db_slug,smaller:!0})}),(0,s.jsx)("div",{className:"-mt-1 gap-1",children:(0,s.jsx)(d.A,{slugText:e.db_full_name,smaller:!0,full:!0})}),!t&&(0,s.jsxs)("span",{className:"text-sm text-slate-400",children:["Created: ",e.date_created?.substring(0,21)]}),t&&(0,s.jsxs)("div",{className:"flex items-center mt-2",children:[(0,s.jsx)("img",{src:e.image_thumbnail,alt:"",className:"w-8 h-8 rounded-full object-cover"}),(0,s.jsxs)("div",{className:"flex-col items-start gap-0",children:[(0,s.jsxs)("span",{className:"text-xs text-slate-600",children:[e.first_name," ",e.last_name]}),(0,s.jsx)("span",{className:"text-xs text-slate-400",children:e.email})]})]}),(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsx)("div",{className:"db-list-item-actions-block flex-wrap",children:(0,s.jsxs)(o.A,{children:[!t&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:a=>{window.location.pathname=`/admin/${l?.id}/databases/${e.db_slug}/edit-database`},children:(0,s.jsx)("span",{children:"Edit"})}),!t&&!p&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:a=>{window.location.href=`/admin/${l?.id}/databases/add-database?duplicate=${e.db_full_name}`},children:(0,s.jsx)("span",{children:"Duplicate"})}),!t&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{a&&a(e),(0,i.PB)("delete-database-confirmation")},children:(0,s.jsx)("span",{children:"Delete"})})]})}),(0,s.jsx)(h.A,{className:"text-slate-600",size:20})]})]})]})}},37515:(e,a,t)=>{t.d(a,{A:()=>h});var s=t(8732),l=t(82015),n=t.n(l),d=t(86176),i=t(58548),r=t(24671),c=t(16291),o=t(92736);function h(e){let{databases:a,setTargetDatabase:t,user:l}=n().useContext(d.DatabasesContext);return(0,s.jsxs)(n().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsx)("h1",{className:"text-3xl m-0",children:"Databases"}),(0,s.jsxs)("a",{href:`/admin/${l?.id}/databases/add-database`,className:"button flex items-center gap-2",children:[(0,s.jsx)("span",{className:"symbol",children:"+"}),(0,s.jsx)("span",{children:"Add Database"})]})]}),(0,s.jsx)(i.A,{user:l})]}),l?.verification_status?.toString().match(/1/)?(0,s.jsxs)(n().Fragment,{children:[(0,s.jsx)(c.A,{databases:a,setTargetDatabase:t,user:l}),(0,s.jsx)(o.A,{user:l})]}):(0,s.jsx)(r.A,{})]})}},16291:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(8732),l=t(82015),n=t.n(l),d=t(14587);let i=(0,t(82544).A)("PackagePlus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);function r({databases:e,setTargetDatabase:a,title:t,more:l,user:r}){return(0,s.jsx)(n().Fragment,{children:(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0",children:t||"Database List"}),r&&e&&e[0]&&a&&(0,s.jsx)("div",{className:"w-full grid grid-cols-1 sl:grid-cols-2 xl:grid-cols-3 items-stretch gap-6",children:e.map(e=>(0,s.jsx)(d.A,{database:e,setTargetDatabase:a,user:r},e.id))}),l&&e&&e[0]&&(0,s.jsx)("a",{href:`/admin/${r?.id}/databases`,className:"button w-full more-padding",children:"See All Databases"}),!e||!e[0]&&(0,s.jsxs)("a",{href:`/admin/${r?.id}/databases/add-database`,className:"button outlined gray dashed w-full p-10 flex-col",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"No Databases Created."}),(0,s.jsx)(i,{}),(0,s.jsx)("span",{className:"",children:"Add Database"})]})]})})}},92736:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(8732),l=t(82015),n=t.n(l),d=t(32415);t(63715);var i=t(14587);function r({user:e}){let[a,t]=n().useState(null),[l,r]=n().useState(!1);return(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Delegated Databases"}),l&&(0,s.jsx)(d.A,{}),e&&a?a[0]?(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("div",{className:"w-full grid grid-cols-1 sl:grid-cols-2 xl:grid-cols-3 items-stretch gap-6",children:a.map(a=>(0,s.jsx)(i.A,{database:a,delegated:!0,user:e},a.id))})}):(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("span",{className:"info gray w-full font-normal justify-center",children:"No Delegated Databases Yet"})}):(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("div",{className:"w-full justify-center",children:(0,s.jsx)(d.A,{position:"relative",width:"20px"})})})]})}},34033:(e,a,t)=>{t.d(a,{A:()=>c});var s=t(8732),l=t(82015),n=t.n(l),d=t(63715),i=t(55158),r=t(32415);function c({targetDatabase:e}){let[a,t]=n().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-database-confirmation",children:[a&&(0,s.jsx)(r.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}t(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):t(!1)},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},86173:(e,a,t)=>{t.d(a,{A:()=>n});var s=t(8732),l=t(96089);function n({slugText:e,smaller:a,outlined:t,full:n}){return(0,s.jsxs)("span",{className:"button break-words text-wrap cancel-link "+(t?" outlined gray":"light-gray")+(a?" small-text":""),onClick:a=>{navigator.clipboard.writeText(e).then(()=>{alert(`${n?"Database Full name":"Database Slug"} "${e}" Copied to Clipboard. Use this as the database name when querying data`)})},style:{wordWrap:"break-word",wordBreak:"break-all"},children:[(0,s.jsx)(l.A,{}),(0,s.jsx)("span",{children:e})]})}t(82015)},55158:(e,a,t)=>{t.d(a,{Ay:()=>i,PB:()=>r,fs:()=>c});var s=t(8732),l=t(58150),n=t(82015),d=t.n(n);function i({children:e,title:a,data:t,fullPage:n,wrapperClasses:i,closePopupDispatch:r,wrapperStyle:o,noContainer:h}){return n?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":a||null,style:o,children:[h?(0,s.jsx)(d().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":t?JSON.stringify(t):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),r&&r()},children:(0,s.jsx)(l.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),r&&r()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":a||null,children:[h?(0,s.jsx)(d().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":t?JSON.stringify(t):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),r&&r()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),h&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),r&&r()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),r&&r()}})]})}function r(e,a){let t=document.querySelector(`[data-popupid='${e}']`);t&&(t.style.display="flex",a&&a(t))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},24671:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(8732);function l(e){return(0,s.jsxs)("a",{href:"/email-verification",className:"card w-full items-center justify-center py-4 gap-2",children:[(0,s.jsx)("img",{src:"/images/warning.png",alt:"Down Arrow",width:25,className:""}),(0,s.jsx)("span",{children:"Your Account is not verified. Please verify your account."})]})}t(82015)},62506:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(8732),l=t(82015),n=t.n(l);function d({children:e,column:a,className:t}){let l=n().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(a?" flex-col":" flex-wrap xl:flex-nowrap")+(t?" "+t:""),ref:l,children:e})}},23293:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},6070:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},96089:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},29743:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},10643:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},25294:(e,a,t)=>{t.d(a,{A:()=>s});let s=(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"}]])},58150:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},86176:(e,a,t)=>{t.r(a),t.d(a,{DatabasesContext:()=>p,default:()=>u,getServerSideProps:()=>m});var s=t(8732),l=t(82015),n=t.n(l),d=t(95222),i=t(20048),r=t.n(i),c=t(37515),o=t(34033),h=t(67216),x=t.n(h);let p=n().createContext({});function u({user:e,databases:a}){let t=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Databases | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[l,i]=n().useState(0);return(0,s.jsx)(d.A,{head:t,user:e,children:(0,s.jsxs)(p.Provider,{value:{user:e,databases:a,targetDatabase:l,setTargetDatabase:i},children:[(0,s.jsx)(c.A,{}),(0,s.jsx)(o.A,{targetDatabase:l})]})})}async function m({req:e,res:a,query:t}){let s=await r()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let l=await x()("SELECT * FROM user_databases WHERE user_id=? ORDER BY id DESC",[s.id]);return{props:{user:s,databases:l}}}},9455:(e,a)=>{var t;Object.defineProperty(a,"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=3460,exports.ids=[3460],exports.modules={30671:(e,a)=>{Object.defineProperty(a,"M",{enumerable:!0,get:function(){return function e(a,t){return t in a?a[t]:"then"in a&&"function"==typeof a.then?a.then(a=>e(a,t)):"function"==typeof a&&"default"===t?a:void 0}}})},14587:(e,a,t)=>{t.d(a,{A:()=>x});var s=t(8732),l=t(82015),n=t.n(l),d=t(86173),i=t(55158),r=t(63715),c=t(32415),o=t(62506),h=t(6070);function x({database:e,setTargetDatabase:a,delegated:t,user:l}){let x=`/admin/${l?.id}/databases/${e.db_slug}`+(t?`?delegated=true&dbUserId=${e.user_id}`:""),{active_clone:p,active_clone_parent_db:u}=e,[m,y]=n().useState(!1);return(0,s.jsxs)("a",{href:x,className:"card",onClick:a=>{(a.target.closest(".db-list-item-actions-block")||a.target.closest(".cancel-link"))&&a.preventDefault(),t&&(a.preventDefault(),y(!0),(0,r.A)("/api/getDelegatedDatabaseToken",{method:"post",body:{rootUserId:e.user_id,priviledges:e.user_priviledge,database:e.db_slug}},!0).then(e=>{e.success&&(window.location.href=x)}),setTimeout(()=>{y(!1)},1e3))},children:[m&&(0,s.jsx)(c.A,{width:"20px"}),(0,s.jsx)("img",{src:e.db_image?e.db_image:"/images/folder.svg",alt:"Folder Image",width:20,className:e.db_image?"avatar":"avatar opacity-50"}),(0,s.jsxs)("div",{className:"flex-col items-start grow",children:[(0,s.jsx)("span",{className:"title",children:e.db_name}),u&&(0,s.jsxs)("span",{className:"text-xs bg-emerald-100 dark:bg-emerald-100/10 text-emerald-700 dark:text-emerald-200 px-2 py-0.5 rounded-full mb-1",children:["This Database is an active Clone of"," ",(0,s.jsx)("b",{children:u.replace(/datasquirel_user_\d+_/,"")})]}),(0,s.jsx)("div",{className:"-mt-2",children:(0,s.jsx)(d.A,{slugText:e.db_slug,smaller:!0})}),(0,s.jsx)("div",{className:"-mt-1 gap-1",children:(0,s.jsx)(d.A,{slugText:e.db_full_name,smaller:!0,full:!0})}),!t&&(0,s.jsxs)("span",{className:"text-sm text-slate-400",children:["Created: ",e.date_created?.substring(0,21)]}),t&&(0,s.jsxs)("div",{className:"flex items-center mt-2",children:[(0,s.jsx)("img",{src:e.image_thumbnail,alt:"",className:"w-8 h-8 rounded-full object-cover"}),(0,s.jsxs)("div",{className:"flex-col items-start gap-0",children:[(0,s.jsxs)("span",{className:"text-xs text-slate-600",children:[e.first_name," ",e.last_name]}),(0,s.jsx)("span",{className:"text-xs text-slate-400",children:e.email})]})]}),(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsx)("div",{className:"db-list-item-actions-block flex-wrap",children:(0,s.jsxs)(o.A,{children:[!t&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:a=>{window.location.pathname=`/admin/${l?.id}/databases/${e.db_slug}/edit-database`},children:(0,s.jsx)("span",{children:"Edit"})}),!t&&!p&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:a=>{window.location.href=`/admin/${l?.id}/databases/add-database?duplicate=${e.db_full_name}`},children:(0,s.jsx)("span",{children:"Duplicate"})}),!t&&(0,s.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{a&&a(e),(0,i.PB)("delete-database-confirmation")},children:(0,s.jsx)("span",{children:"Delete"})})]})}),(0,s.jsx)(h.A,{className:"text-slate-600",size:20})]})]})]})}},37515:(e,a,t)=>{t.d(a,{A:()=>h});var s=t(8732),l=t(82015),n=t.n(l),d=t(86176),i=t(58548),r=t(24671),c=t(16291),o=t(92736);function h(e){let{databases:a,setTargetDatabase:t,user:l}=n().useContext(d.DatabasesContext);return(0,s.jsxs)(n().Fragment,{children:[(0,s.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,s.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,s.jsx)("h1",{className:"text-3xl m-0",children:"Databases"}),(0,s.jsxs)("a",{href:`/admin/${l?.id}/databases/add-database`,className:"button flex items-center gap-2",children:[(0,s.jsx)("span",{className:"symbol",children:"+"}),(0,s.jsx)("span",{children:"Add Database"})]})]}),(0,s.jsx)(i.A,{user:l})]}),l?.verification_status?.toString().match(/1/)?(0,s.jsxs)(n().Fragment,{children:[(0,s.jsx)(c.A,{databases:a,setTargetDatabase:t,user:l}),(0,s.jsx)(o.A,{user:l})]}):(0,s.jsx)(r.A,{})]})}},16291:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(8732),l=t(82015),n=t.n(l),d=t(14587);let i=(0,t(82544).A)("PackagePlus",[["path",{d:"M16 16h6",key:"100bgy"}],["path",{d:"M19 13v6",key:"85cyf1"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);function r({databases:e,setTargetDatabase:a,title:t,more:l,user:r}){return(0,s.jsx)(n().Fragment,{children:(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0",children:t||"Database List"}),r&&e&&e[0]&&a&&(0,s.jsx)("div",{className:"w-full grid grid-cols-1 sl:grid-cols-2 xl:grid-cols-3 items-stretch gap-6",children:e.map(e=>(0,s.jsx)(d.A,{database:e,setTargetDatabase:a,user:r},e.id))}),l&&e&&e[0]&&(0,s.jsx)("a",{href:`/admin/${r?.id}/databases`,className:"button w-full more-padding",children:"See All Databases"}),!e||!e[0]&&(0,s.jsxs)("a",{href:`/admin/${r?.id}/databases/add-database`,className:"button outlined gray dashed w-full p-10 flex-col",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"No Databases Created."}),(0,s.jsx)(i,{}),(0,s.jsx)("span",{className:"",children:"Add Database"})]})]})})}},92736:(e,a,t)=>{t.d(a,{A:()=>r});var s=t(8732),l=t(82015),n=t.n(l),d=t(32415);t(63715);var i=t(14587);function r({user:e}){let[a,t]=n().useState(null),[l,r]=n().useState(!1);return(0,s.jsxs)("section",{className:"paper",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Delegated Databases"}),l&&(0,s.jsx)(d.A,{}),e&&a?a[0]?(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("div",{className:"w-full grid grid-cols-1 sl:grid-cols-2 xl:grid-cols-3 items-stretch gap-6",children:a.map(a=>(0,s.jsx)(i.A,{database:a,delegated:!0,user:e},a.id))})}):(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("span",{className:"info gray w-full font-normal justify-center",children:"No Delegated Databases Yet"})}):(0,s.jsx)(n().Fragment,{children:(0,s.jsx)("div",{className:"w-full justify-center",children:(0,s.jsx)(d.A,{position:"relative",width:"20px"})})})]})}},34033:(e,a,t)=>{t.d(a,{A:()=>c});var s=t(8732),l=t(82015),n=t.n(l),d=t(63715),i=t(55158),r=t(32415);function c({targetDatabase:e}){let[a,t]=n().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-database-confirmation",children:[a&&(0,s.jsx)(r.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}t(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):t(!1)},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},86173:(e,a,t)=>{t.d(a,{A:()=>n});var s=t(8732),l=t(96089);function n({slugText:e,smaller:a,outlined:t,full:n}){return(0,s.jsxs)("span",{className:"button break-words text-wrap cancel-link "+(t?" outlined gray":"light-gray")+(a?" small-text":""),onClick:a=>{navigator.clipboard.writeText(e).then(()=>{alert(`${n?"Database Full name":"Database Slug"} "${e}" Copied to Clipboard. Use this as the database name when querying data`)})},style:{wordWrap:"break-word",wordBreak:"break-all"},children:[(0,s.jsx)(l.A,{}),(0,s.jsx)("span",{children:e})]})}t(82015)},55158:(e,a,t)=>{t.d(a,{Ay:()=>i,PB:()=>r,fs:()=>c});var s=t(8732),l=t(58150),n=t(82015),d=t.n(n);function i({children:e,title:a,data:t,fullPage:n,wrapperClasses:i,closePopupDispatch:r,wrapperStyle:o,noContainer:h}){return n?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":a||null,style:o,children:[h?(0,s.jsx)(d().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":t?JSON.stringify(t):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),r&&r()},children:(0,s.jsx)(l.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),r&&r()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":a||null,children:[h?(0,s.jsx)(d().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":t?JSON.stringify(t):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),r&&r()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),h&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),r&&r()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),r&&r()}})]})}function r(e,a){let t=document.querySelector(`[data-popupid='${e}']`);t&&(t.style.display="flex",a&&a(t))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},24671:(e,a,t)=>{t.d(a,{A:()=>l});var s=t(8732);function l(e){return(0,s.jsxs)("a",{href:"/email-verification",className:"card w-full items-center justify-center py-4 gap-2",children:[(0,s.jsx)("img",{src:"/images/warning.png",alt:"Down Arrow",width:25,className:""}),(0,s.jsx)("span",{children:"Your Account is not verified. Please verify your account."})]})}t(82015)},62506:(e,a,t)=>{t.d(a,{A:()=>d});var s=t(8732),l=t(82015),n=t.n(l);function d({children:e,column:a,className:t}){let l=n().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(a?" flex-col":" flex-wrap xl:flex-nowrap")+(t?" "+t:""),ref:l,children:e})}},23293:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},6070:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},96089:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},29743:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},10643:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(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"}]])},25294:(e,a,t)=>{t.d(a,{A:()=>s});let s=(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"}]])},58150:(e,a,t)=>{t.d(a,{A:()=>s});let s=(0,t(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},86176:(e,a,t)=>{t.r(a),t.d(a,{DatabasesContext:()=>p,default:()=>u,getServerSideProps:()=>m});var s=t(8732),l=t(82015),n=t.n(l),d=t(95222),i=t(20048),r=t.n(i),c=t(37515),o=t(34033),h=t(67216),x=t.n(h);let p=n().createContext({});function u({user:e,databases:a}){let t=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Databases | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[l,i]=n().useState(0);return(0,s.jsx)(p.Provider,{value:{user:e,databases:a,targetDatabase:l,setTargetDatabase:i},children:(0,s.jsxs)(n().Fragment,{children:[(0,s.jsx)(d.A,{head:t,user:e,children:(0,s.jsx)(c.A,{})}),(0,s.jsx)(o.A,{targetDatabase:l})]})})}async function m({req:e,res:a,query:t}){let s=await r()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let l=await x()("SELECT * FROM user_databases WHERE user_id=? ORDER BY id DESC",[s.id]);return{props:{user:s,databases:l}}}},9455:(e,a)=>{var t;Object.defineProperty(a,"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/middleware-build-manifest.js b/dsql-app/.local_dist/server/middleware-build-manifest.js index b4b6ac1..4ae0725 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/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 +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-7b41eb08ff52c809.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-7b41eb08ff52c809.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-2041b6f22085abeb.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-b54a7d4366e0f783.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-7b41eb08ff52c809.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]-63b295eb9207c913.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-1f9ca3a7d2d16828.js","static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-c1da7cdcca0eeaec.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-1f9ca3a7d2d16828.js","static/chunks/pages/admin/[user_id]/databases/[single]/schema-135fad70f63d5f99.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-ae83bb65c1facc24.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]-1d13e3c577038b39.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-fc4b3b32a4c7dff4.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-3d1f0a6e9693f671.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-9ef5271e62eabede.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-1f9ca3a7d2d16828.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-57a5450a842bec23.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]-fd2a6d34d0e1b059.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-7b41eb08ff52c809.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-9947b884dd45464d.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-4066874afcb57801.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]-962b42a10b98dda3.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 936ccd6..58cf7df 100644 --- a/dsql-app/.local_dist/server/pages-manifest.json +++ b/dsql-app/.local_dist/server/pages-manifest.json @@ -1 +1 @@ -{"/_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 +{"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/":"pages/index.html","/admin/[user_id]/media":"pages/admin/[user_id]/media.js","/admin/[user_id]/api-keys":"pages/admin/[user_id]/api-keys.js","/admin/[user_id]/databases":"pages/admin/[user_id]/databases.js","/404":"pages/404.html","/admin/[user_id]":"pages/admin/[user_id].js","/500":"pages/500.html","/api/acceptUserInvitation":"pages/api/acceptUserInvitation.js","/api/addAdminUserUser":"pages/api/addAdminUserUser.js","/api/addApiKey":"pages/api/addApiKey.js","/api/addDbUser":"pages/api/addDbUser.js","/api/addNewMediaFolder":"pages/api/addNewMediaFolder.js","/api/addUserTable":"pages/api/addUserTable.js","/api/addSocialLogin":"pages/api/addSocialLogin.js","/api/addUserUser":"pages/api/addUserUser.js","/api/addTableEntry":"pages/api/addTableEntry.js","/api/addUsersTableToDatabase":"pages/api/addUsersTableToDatabase.js","/api/admin/addUserBackup":"pages/api/admin/addUserBackup.js","/api/admin/clearErrorLogs":"pages/api/admin/clearErrorLogs.js","/api/admin/docs/[action]":"pages/api/admin/docs/[action].js","/api/admin/clientError":"pages/api/admin/clientError.js","/api/admin/getTablesForUserDatabase":"pages/api/admin/getTablesForUserDatabase.js","/api/admin/createNewBackup":"pages/api/admin/createNewBackup.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/loginSuUser":"pages/api/admin/loginSuUser.js","/api/admin/grabFile":"pages/api/admin/grabFile.js","/api/admin/grabErrorLogs":"pages/api/admin/grabErrorLogs.js","/api/admin/runUserDbQuery":"pages/api/admin/runUserDbQuery.js","/api/admin/updateEnv":"pages/api/admin/updateEnv.js","/api/checkDuplicateData":"pages/api/checkDuplicateData.js","/api/changeDbUserPassword":"pages/api/changeDbUserPassword.js","/api/clientSideAuth":"pages/api/clientSideAuth.js","/api/checkExistingFolder":"pages/api/checkExistingFolder.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/deleteUser":"pages/api/deleteUser.js","/api/deleteMediaFolder":"pages/api/deleteMediaFolder.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/getDelegatedDatabaseToken":"pages/api/getDelegatedDatabaseToken.js","/api/getDatabaseTables":"pages/api/getDatabaseTables.js","/api/getDiskUsage":"pages/api/getDiskUsage.js","/api/getDelegatedDatabases":"pages/api/getDelegatedDatabases.js","/api/getUserDatabaseTables":"pages/api/getUserDatabaseTables.js","/api/getUserMedia":"pages/api/getUserMedia.js","/api/getUserDatabases":"pages/api/getUserDatabases.js","/api/getUserSchemaData":"pages/api/getUserSchemaData.js","/api/healthcheck":"pages/api/healthcheck.js","/api/importDatabase":"pages/api/importDatabase.js","/api/infiniteScroll":"pages/api/infiniteScroll.js","/api/loginUser":"pages/api/loginUser.js","/api/importDatabaseSchema":"pages/api/importDatabaseSchema.js","/api/logoutUser":"pages/api/logoutUser.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/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/refreshEntry":"pages/api/refreshEntry.js","/api/queryEntriesSearchTerm":"pages/api/queryEntriesSearchTerm.js","/api/registerUser":"pages/api/registerUser.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/github-auth":"pages/api/social-login/github-auth.js","/api/social-login/facebook-auth":"pages/api/social-login/facebook-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/checkSocialId":"pages/api/social-login/utils/checkSocialId.js","/api/social-login/utils/getEmailFromSocialId":"pages/api/social-login/utils/getEmailFromSocialId.js","/api/sql-users/delete":"pages/api/sql-users/delete.js","/api/sql-users/create":"pages/api/sql-users/create.js","/api/sql-users/update":"pages/api/sql-users/update.js","/api/sync-table-data":"pages/api/sync-table-data.js","/api/stream/[path]":"pages/api/stream/[path].js","/api/test/mail":"pages/api/test/mail.js","/api/test/cors":"pages/api/test/cors.js","/api/unsubscribe":"pages/api/unsubscribe.js","/api/updateAdminUserAccess":"pages/api/updateAdminUserAccess.js","/api/updateClonedTableForeignKeys":"pages/api/updateClonedTableForeignKeys.js","/api/updateDbUser":"pages/api/updateDbUser.js","/api/updateDbSchemaDataForUser":"pages/api/updateDbSchemaDataForUser.js","/api/updateUser":"pages/api/updateUser.js","/api/updateTableEntry":"pages/api/updateTableEntry.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]/get-user":"pages/api/user/[user_id]/get-user.js","/api/user/[user_id]/delete-user":"pages/api/user/[user_id]/delete-user.js","/api/user/[user_id]/github-login":"pages/api/user/[user_id]/github-login.js","/api/user/[user_id]/add-user":"pages/api/user/[user_id]/add-user.js","/api/user/[user_id]/google-login":"pages/api/user/[user_id]/google-login.js","/api/user/[user_id]/login-user":"pages/api/user/[user_id]/login-user.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]/update-user":"pages/api/user/[user_id]/update-user.js","/api/webhooks/github-push":"pages/api/webhooks/github-push.js","/api/user/[user_id]/send-email-code":"pages/api/user/[user_id]/send-email-code.js","/about":"pages/about.html","/admin/[user_id]/connect":"pages/admin/[user_id]/connect.js","/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]/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]/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]/fields":"pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.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/add-table":"pages/admin/[user_id]/databases/[single]/tables/add-table.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]/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/[single]/users/[user]":"pages/admin/[user_id]/databases/[single]/users/[user].js","/admin/[user_id]/databases/add-database":"pages/admin/[user_id]/databases/add-database.js","/admin/[user_id]/databases/[single]/users":"pages/admin/[user_id]/databases/[single]/users.js","/admin/[user_id]/schema":"pages/admin/[user_id]/schema.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/[...folder]":"pages/admin/[user_id]/media/[...folder].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":"pages/admin/[user_id]/users.js","/admin/[user_id]/users/databases":"pages/admin/[user_id]/users/databases.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]/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]/delete-file":"pages/api/query/[user_id]/delete-file.js","/api/query/[user_id]/post":"pages/api/query/[user_id]/post.js","/api/query/[user_id]/add-file":"pages/api/query/[user_id]/add-file.js","/blog":"pages/blog.html","/contact":"pages/contact.html","/docs/[page]":"pages/docs/[page].js","/docs/[page]/[sub-page]":"pages/docs/[page]/[sub-page].js","/docs":"pages/docs.js","/create-account":"pages/create-account.js","/privacy":"pages/privacy.html","/redirect":"pages/redirect.html","/email-verification":"pages/email-verification.js","/send-password-reset-link":"pages/send-password-reset-link.js","/logout":"pages/logout.js","/su/backups":"pages/su/backups.js","/su/console":"pages/su/console.js","/login":"pages/login.js","/su/docs/create-page":"pages/su/docs/create-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/docs/edit-page":"pages/su/docs/edit-page.js","/su/error-logs":"pages/su/error-logs.js","/su/envar":"pages/su/envar.js","/su":"pages/su.js","/su/load-balancing":"pages/su/load-balancing.js","/su/login":"pages/su/login.js","/su/users":"pages/su/users.js","/su/users/new":"pages/su/users/new.js","/su/users/[single]":"pages/su/users/[single].js","/su/servers":"pages/su/servers.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 8d38649..e021eca 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 71273f7..6c7da16 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 dab9b31..26faddb 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]/api-keys.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/api-keys.js index 66478d3..f77fc46 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/api-keys.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/api-keys.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9419,e.ids=[9419],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}}})},30284:(e,t,a)=>{a.r(t),a.d(t,{config:()=>I,default:()=>F,getServerSideProps:()=>O,getStaticPaths:()=>z,getStaticProps:()=>D,reportWebVitals:()=>G,routeModule:()=>W,unstable_getServerProps:()=>$,unstable_getServerSideProps:()=>V,unstable_getStaticParams:()=>L,unstable_getStaticPaths:()=>R,unstable_getStaticProps:()=>H});var s,l={};a.r(l),a.d(l,{ApiKeysContext:()=>q,default:()=>T,getServerSideProps:()=>E});var i=a(63865),r=a(9455),n=a(30671),c=a(49407),d=a(89600),p=a(8732),o=a(82015),u=a.n(o),x=a(95222),h=a(20048),m=a.n(h),y=a(58548),f=a(55158),g=a(24671),j=a(63715),A=a(32415),v=a(62506);function b({apiKeyObject:e,setTargetApiKey:t}){let[a,s]=u().useState(!1);return(0,p.jsxs)("div",{className:"card no-hover justify-between items-center"+(e.scope.match(/fullAccess/)?" green":""),onClick:a=>{a.target?.closest("button")||(t(e),(0,f.PB)("target-media-popup"))},children:[a&&(0,p.jsx)(A.A,{width:"20px"}),(0,p.jsxs)("div",{className:"text-sm flex-wrap",children:[(0,p.jsx)("div",{children:e.scope.match(/readOnly/)?(0,p.jsx)("span",{className:"notification"}):e.scope.match(/fullAccess/)?(0,p.jsx)("span",{className:"notification success"}):"No Scope"}),(0,p.jsx)("span",{className:"title text-xl",style:{fontSize:"16px"},children:e.name}),(0,p.jsxs)("span",{className:"text-slate-400 ",children:["Created: ",e.date_created.substring(0,24)]})]}),(0,p.jsxs)(v.A,{children:[(0,p.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{alert(e.apiKeyPayload)},children:"Reveal Api Key"}),(0,p.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{navigator.clipboard.writeText(e.apiKeyPayload).then(()=>{alert("Api Key Copied To Clipboard")})},children:"Copy Api Key"}),(0,p.jsx)("button",{className:"outlined light-gray small-text"+(a?" pointer-events-none opacity-40":""),onClick:t=>{s(!0),window.confirm("Delete this Api Key?")?(0,j.A)("/api/deleteApiKey",{method:"post",body:e},!0).then(e=>{}).finally(()=>{window.location.reload()}):s(!1)},children:"Delete Api Key"})]})]})}function k({user:e,apiKeys:t,setTargetApiKey:a}){return(0,p.jsx)(u().Fragment,{children:(0,p.jsxs)("section",{className:"p-0 items-start gap-4 overflow-visible bg-transparent border-transparent",children:[(0,p.jsx)("div",{className:"w-full flex-col items-stretch gap-4",children:t&&t[0]&&t.map((e,t)=>(0,p.jsx)(b,{apiKeyObject:e,setTargetApiKey:a},t))}),!t||!t[0]&&(0,p.jsxs)("div",{className:"button outlined gray dashed w-full p-10 flex-col",onClick:e=>{(0,f.PB)("add-new-api-key-popup")},children:[(0,p.jsx)("span",{className:"text-slate-400",children:"No Api Keys Added."}),(0,p.jsx)("span",{className:"",children:"Add Api Key"})]})]})})}function _(e){let{user:t,apiKeys:a,setApiKeys:s,setTargetApiKey:l}=u().useContext(q);return(0,p.jsxs)(u().Fragment,{children:[(0,p.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,p.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,p.jsx)("h1",{className:"text-3xl m-0",children:"Api Keys"}),(0,p.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,f.PB)("add-new-api-key-popup")},children:[(0,p.jsx)("span",{className:"symbol",children:"+"}),(0,p.jsx)("span",{children:"Add New Api Key"})]})]}),(0,p.jsx)(y.A,{user:t})]}),t?.verification_status?.toString().match(/1/)?(0,p.jsx)(k,{apiKeys:a,setTargetApiKey:l,user:t}):(0,p.jsx)(g.A,{})]})}function w({targetApiKey:e}){let[t,a]=u().useState(!1);return(0,p.jsxs)(f.Ay,{title:"target-api-key-preview-popup",noContainer:!0,fullPage:!0,children:[t&&(0,p.jsx)(A.A,{}),e&&(0,p.jsx)(u().Fragment,{children:(0,p.jsx)("span",{children:"Target Api Key"})})]})}var N=a(27462);function S({targetApiKey:e}){async function t(e){return await (0,N.A)({tableName:"api_keys",columnName:"slug",value:e})}let[a,l]=u().useState(!1),[i,r]=u().useState(null);return(0,p.jsxs)(f.Ay,{title:"add-new-api-key-popup",children:[a&&(0,p.jsx)(A.A,{}),(0,p.jsx)("h4",{className:"m-0",children:"Add New Api Key"}),(0,p.jsxs)("form",{className:"w-full flex flex-col items-stretch gap-2",onSubmit:e=>{e.preventDefault(),l(!0);let t=e.target,a={api_key_name:t.api_key_name.value,api_key_slug:t.api_key_slug.value,api_key_scope:t.api_key_scope.value,target_database:t.target_database?.value||void 0,target_table:t.target_table?.value||void 0};(0,j.A)("/api/addApiKey",{method:"post",body:a},!0).then(e=>{e.success?window.location.reload():setTimeout(()=>{l(!1)},2e3)})},children:[i&&(0,p.jsx)("div",{children:(0,p.jsx)("span",{children:i})}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"api_key_name",children:"Api Key Name"}),(0,p.jsx)("input",{type:"text",name:"api_key_name",id:"api_key_name",placeholder:"Api Key Name",onInput:e=>{let t=e.target;t&&(t.closest("form").api_key_slug.value=t.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,""))},required:!0})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"api_key_slug",children:"Api Key Slug"}),(0,p.jsx)("input",{type:"text",name:"api_key_slug",id:"api_key_slug",placeholder:"Api Key Slug",onInput:e=>{let a=e.target;a?.value.match(/./)?(a?.classList.remove("warning"),r(null)):a?.classList.add("warning"),window.clearTimeout(s),s=setTimeout(()=>{t(a.value).then(e=>{e.result?(a?.classList.add("warning"),r("Duplicate Table Name")):(a?.classList.remove("warning"),r(null))})},300)},required:!0})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsxs)("div",{className:"",children:[(0,p.jsx)("label",{htmlFor:"api_key_scope",children:"Api Scope"}),(0,p.jsxs)("div",{className:"dropdown-wrapper reversed",children:[(0,p.jsx)("span",{className:"px-2 py-1 bg-slate-100 rounded-full text-xs font-semibold",children:"Info"}),(0,p.jsx)("div",{className:"dropdown always left-aligned -ml-10 -mb-2",style:{minWidth:"300px"},children:(0,p.jsxs)("div",{className:"flex-col items-start gap-2 text-sm leading-snug",children:[(0,p.jsx)("span",{children:"Scope is the range of access the API Key can have"}),(0,p.jsxs)("ul",{className:"ml-0 pl-4 flex flex-col gap-2",children:[(0,p.jsx)("li",{children:(0,p.jsxs)("span",{children:[(0,p.jsx)("b",{children:"Read Only:"})," Can only read from databases"]})}),(0,p.jsx)("li",{children:(0,p.jsxs)("span",{children:[(0,p.jsx)("b",{children:"Full Access:"})," Can read and Write to databases"]})})]})]})})]})]}),(0,p.jsxs)("select",{name:"api_key_scope",id:"api_key_scope",children:[(0,p.jsx)("option",{value:"readOnly",children:"Read Only"}),(0,p.jsx)("option",{value:"fullAccess",children:"Full Access"})]})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"target_database",children:"Target Databases"}),(0,p.jsx)("input",{type:"text",name:"target_database",id:"target_database",placeholder:"Target Databases (optional). Comma Separated"})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"target_table",children:"Target Tables"}),(0,p.jsx)("input",{type:"text",name:"target_table",id:"target_table",placeholder:"Target Tables (optional). Comma Separated"})]}),(0,p.jsx)("button",{type:"submit",className:a?" pointer-events-none opacity-40":"",children:"Create New Api Key"})]})]})}var P=a(67216),M=a.n(P),C=a(77463),K=a.n(C);let q=u().createContext({});function T({user:e,fetchedApiKeys:t}){let a=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("title",{children:"Api Keys | Datasquirel"}),(0,p.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[s,l]=u().useState(t),[i,r]=u().useState(null),[n,c]=u().useState(null);return(0,p.jsx)(x.A,{head:a,user:e,children:(0,p.jsxs)(q.Provider,{value:{user:e,apiKeys:s,setApiKeys:l,targetApiKey:n,setTargetApiKey:c,newApiKey:i,setNewApiKey:r},children:[(0,p.jsx)(_,{}),n&&(0,p.jsx)(w,{targetApiKey:n}),(0,p.jsx)(S,{})]})})}async function E({req:e,res:t,query:a}){let s=await m()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let l=await M()(`SELECT * FROM api_keys WHERE user_id='${s.id}'`),i=[];if(l&&l[0])for(let e=0;e{a.d(t,{Ay:()=>n,PB:()=>c,fs:()=>d});var s=a(8732),l=a(58150),i=a(82015),r=a.n(i);function n({children:e,title:t,data:a,fullPage:i,wrapperClasses:n,closePopupDispatch:c,wrapperStyle:p,noContainer:o}){return i?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(n||""),"data-popupid":t||null,style:p,children:[o?(0,s.jsx)(r().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{d(),c&&c()},children:(0,s.jsx)(l.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{d(),c&&c()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[o?(0,s.jsx)(r().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{d(),c&&c()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),o&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{d(),c&&c()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{d(),c&&c()}})]})}function c(e,t){let a=document.querySelector(`[data-popupid='${e}']`);a&&(a.style.display="flex",t&&t(a))}function d(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},24671:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732);function l(e){return(0,s.jsxs)("a",{href:"/email-verification",className:"card w-full items-center justify-center py-4 gap-2",children:[(0,s.jsx)("img",{src:"/images/warning.png",alt:"Down Arrow",width:25,className:""}),(0,s.jsx)("span",{children:"Your Account is not verified. Please verify your account."})]})}a(82015)},62506:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(8732),l=a(82015),i=a.n(l);function r({children:e,column:t,className:a}){let l=i().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:l,children:e})}},27462:(e,t,a)=>{a.d(t,{A:()=>l}),a(22326);var s=a(63715);async function l({tableName:e,columnName:t,value:a,dbFullName:l,dispatch:i,userId:r,dbId:n}){return await (0,s.A)(`/api/checkDuplicateData?tableName=${e}&type=${t}&value=${a}${l?"&dbFullName="+l:""}${r?"&userId="+r:""}${n?"&dbId="+n:""}`)}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070],()=>a(30284));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=9419,e.ids=[9419],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}}})},30284:(e,t,a)=>{a.r(t),a.d(t,{config:()=>I,default:()=>F,getServerSideProps:()=>O,getStaticPaths:()=>z,getStaticProps:()=>D,reportWebVitals:()=>G,routeModule:()=>W,unstable_getServerProps:()=>$,unstable_getServerSideProps:()=>V,unstable_getStaticParams:()=>L,unstable_getStaticPaths:()=>R,unstable_getStaticProps:()=>H});var s,l={};a.r(l),a.d(l,{ApiKeysContext:()=>q,default:()=>T,getServerSideProps:()=>E});var i=a(63865),r=a(9455),n=a(30671),c=a(49407),d=a(89600),p=a(8732),o=a(82015),u=a.n(o),x=a(95222),h=a(20048),m=a.n(h),y=a(58548),f=a(55158),g=a(24671),j=a(63715),A=a(32415),v=a(62506);function b({apiKeyObject:e,setTargetApiKey:t}){let[a,s]=u().useState(!1);return(0,p.jsxs)("div",{className:"card no-hover justify-between items-center"+(e.scope.match(/fullAccess/)?" green":""),onClick:a=>{a.target?.closest("button")||(t(e),(0,f.PB)("target-media-popup"))},children:[a&&(0,p.jsx)(A.A,{width:"20px"}),(0,p.jsxs)("div",{className:"text-sm flex-wrap",children:[(0,p.jsx)("div",{children:e.scope.match(/readOnly/)?(0,p.jsx)("span",{className:"notification"}):e.scope.match(/fullAccess/)?(0,p.jsx)("span",{className:"notification success"}):"No Scope"}),(0,p.jsx)("span",{className:"title text-xl",style:{fontSize:"16px"},children:e.name}),(0,p.jsxs)("span",{className:"text-slate-400 ",children:["Created: ",e.date_created.substring(0,24)]})]}),(0,p.jsxs)(v.A,{children:[(0,p.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{alert(e.apiKeyPayload)},children:"Reveal Api Key"}),(0,p.jsx)("button",{className:"outlined light-gray small-text",onClick:t=>{navigator.clipboard.writeText(e.apiKeyPayload).then(()=>{alert("Api Key Copied To Clipboard")})},children:"Copy Api Key"}),(0,p.jsx)("button",{className:"outlined light-gray small-text"+(a?" pointer-events-none opacity-40":""),onClick:t=>{s(!0),window.confirm("Delete this Api Key?")?(0,j.A)("/api/deleteApiKey",{method:"post",body:e},!0).then(e=>{}).finally(()=>{window.location.reload()}):s(!1)},children:"Delete Api Key"})]})]})}function k({user:e,apiKeys:t,setTargetApiKey:a}){return(0,p.jsx)(u().Fragment,{children:(0,p.jsxs)("section",{className:"p-0 items-start gap-4 overflow-visible bg-transparent border-transparent",children:[(0,p.jsx)("div",{className:"w-full flex-col items-stretch gap-4",children:t&&t[0]&&t.map((e,t)=>(0,p.jsx)(b,{apiKeyObject:e,setTargetApiKey:a},t))}),!t||!t[0]&&(0,p.jsxs)("div",{className:"button outlined gray dashed w-full p-10 flex-col",onClick:e=>{(0,f.PB)("add-new-api-key-popup")},children:[(0,p.jsx)("span",{className:"text-slate-400",children:"No Api Keys Added."}),(0,p.jsx)("span",{className:"",children:"Add Api Key"})]})]})})}function _(e){let{user:t,apiKeys:a,setApiKeys:s,setTargetApiKey:l}=u().useContext(q);return(0,p.jsxs)(u().Fragment,{children:[(0,p.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,p.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,p.jsx)("h1",{className:"text-3xl m-0",children:"Api Keys"}),(0,p.jsxs)("button",{className:"flex items-center gap-2",onClick:e=>{(0,f.PB)("add-new-api-key-popup")},children:[(0,p.jsx)("span",{className:"symbol",children:"+"}),(0,p.jsx)("span",{children:"Add New Api Key"})]})]}),(0,p.jsx)(y.A,{user:t})]}),t?.verification_status?.toString().match(/1/)?(0,p.jsx)(k,{apiKeys:a,setTargetApiKey:l,user:t}):(0,p.jsx)(g.A,{})]})}function w({targetApiKey:e}){let[t,a]=u().useState(!1);return(0,p.jsxs)(f.Ay,{title:"target-api-key-preview-popup",noContainer:!0,fullPage:!0,children:[t&&(0,p.jsx)(A.A,{}),e&&(0,p.jsx)(u().Fragment,{children:(0,p.jsx)("span",{children:"Target Api Key"})})]})}var N=a(27462);function S({targetApiKey:e}){async function t(e){return await (0,N.A)({tableName:"api_keys",columnName:"slug",value:e})}let[a,l]=u().useState(!1),[i,r]=u().useState(null);return(0,p.jsxs)(f.Ay,{title:"add-new-api-key-popup",children:[a&&(0,p.jsx)(A.A,{}),(0,p.jsx)("h4",{className:"m-0",children:"Add New Api Key"}),(0,p.jsxs)("form",{className:"w-full flex flex-col items-stretch gap-2",onSubmit:e=>{e.preventDefault(),l(!0);let t=e.target,a={api_key_name:t.api_key_name.value,api_key_slug:t.api_key_slug.value,api_key_scope:t.api_key_scope.value,target_database:t.target_database?.value||void 0,target_table:t.target_table?.value||void 0};(0,j.A)("/api/addApiKey",{method:"post",body:a},!0).then(e=>{e.success?window.location.reload():setTimeout(()=>{l(!1)},2e3)})},children:[i&&(0,p.jsx)("div",{children:(0,p.jsx)("span",{children:i})}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"api_key_name",children:"Api Key Name"}),(0,p.jsx)("input",{type:"text",name:"api_key_name",id:"api_key_name",placeholder:"Api Key Name",onInput:e=>{let t=e.target;t&&(t.closest("form").api_key_slug.value=t.value.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9-_]/g,""))},required:!0})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"api_key_slug",children:"Api Key Slug"}),(0,p.jsx)("input",{type:"text",name:"api_key_slug",id:"api_key_slug",placeholder:"Api Key Slug",onInput:e=>{let a=e.target;a?.value.match(/./)?(a?.classList.remove("warning"),r(null)):a?.classList.add("warning"),window.clearTimeout(s),s=setTimeout(()=>{t(a.value).then(e=>{e.result?(a?.classList.add("warning"),r("Duplicate Table Name")):(a?.classList.remove("warning"),r(null))})},300)},required:!0})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsxs)("div",{className:"",children:[(0,p.jsx)("label",{htmlFor:"api_key_scope",children:"Api Scope"}),(0,p.jsxs)("div",{className:"dropdown-wrapper reversed",children:[(0,p.jsx)("span",{className:"px-2 py-1 bg-slate-100 rounded-full text-xs font-semibold",children:"Info"}),(0,p.jsx)("div",{className:"dropdown always left-aligned -ml-10 -mb-2",style:{minWidth:"300px"},children:(0,p.jsxs)("div",{className:"flex-col items-start gap-2 text-sm leading-snug",children:[(0,p.jsx)("span",{children:"Scope is the range of access the API Key can have"}),(0,p.jsxs)("ul",{className:"ml-0 pl-4 flex flex-col gap-2",children:[(0,p.jsx)("li",{children:(0,p.jsxs)("span",{children:[(0,p.jsx)("b",{children:"Read Only:"})," Can only read from databases"]})}),(0,p.jsx)("li",{children:(0,p.jsxs)("span",{children:[(0,p.jsx)("b",{children:"Full Access:"})," Can read and Write to databases"]})})]})]})})]})]}),(0,p.jsxs)("select",{name:"api_key_scope",id:"api_key_scope",children:[(0,p.jsx)("option",{value:"readOnly",children:"Read Only"}),(0,p.jsx)("option",{value:"fullAccess",children:"Full Access"})]})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"target_database",children:"Target Databases"}),(0,p.jsx)("input",{type:"text",name:"target_database",id:"target_database",placeholder:"Target Databases (optional). Comma Separated"})]}),(0,p.jsxs)("div",{className:"flex flex-col items-start gap-0.5 w-full",children:[(0,p.jsx)("label",{htmlFor:"target_table",children:"Target Tables"}),(0,p.jsx)("input",{type:"text",name:"target_table",id:"target_table",placeholder:"Target Tables (optional). Comma Separated"})]}),(0,p.jsx)("button",{type:"submit",className:a?" pointer-events-none opacity-40":"",children:"Create New Api Key"})]})]})}var P=a(67216),M=a.n(P),C=a(77463),K=a.n(C);let q=u().createContext({});function T({user:e,fetchedApiKeys:t}){let a=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("title",{children:"Api Keys | Datasquirel"}),(0,p.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[s,l]=u().useState(t),[i,r]=u().useState(null),[n,c]=u().useState(null);return(0,p.jsx)(q.Provider,{value:{user:e,apiKeys:s,setApiKeys:l,targetApiKey:n,setTargetApiKey:c,newApiKey:i,setNewApiKey:r},children:(0,p.jsxs)(u().Fragment,{children:[(0,p.jsx)(x.A,{head:a,user:e,children:(0,p.jsx)(_,{})}),n&&(0,p.jsx)(w,{targetApiKey:n}),(0,p.jsx)(S,{})]})})}async function E({req:e,res:t,query:a}){let s=await m()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let l=await M()(`SELECT * FROM api_keys WHERE user_id='${s.id}'`),i=[];if(l&&l[0])for(let e=0;e{a.d(t,{Ay:()=>n,PB:()=>c,fs:()=>d});var s=a(8732),l=a(58150),i=a(82015),r=a.n(i);function n({children:e,title:t,data:a,fullPage:i,wrapperClasses:n,closePopupDispatch:c,wrapperStyle:p,noContainer:o}){return i?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(n||""),"data-popupid":t||null,style:p,children:[o?(0,s.jsx)(r().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{d(),c&&c()},children:(0,s.jsx)(l.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{d(),c&&c()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[o?(0,s.jsx)(r().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{d(),c&&c()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),o&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{d(),c&&c()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{d(),c&&c()}})]})}function c(e,t){let a=document.querySelector(`[data-popupid='${e}']`);a&&(a.style.display="flex",t&&t(a))}function d(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},24671:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732);function l(e){return(0,s.jsxs)("a",{href:"/email-verification",className:"card w-full items-center justify-center py-4 gap-2",children:[(0,s.jsx)("img",{src:"/images/warning.png",alt:"Down Arrow",width:25,className:""}),(0,s.jsx)("span",{children:"Your Account is not verified. Please verify your account."})]})}a(82015)},62506:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(8732),l=a(82015),i=a.n(l);function r({children:e,column:t,className:a}){let l=i().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:l,children:e})}},27462:(e,t,a)=>{a.d(t,{A:()=>l}),a(22326);var s=a(63715);async function l({tableName:e,columnName:t,value:a,dbFullName:l,dispatch:i,userId:r,dbId:n}){return await (0,s.A)(`/api/checkDuplicateData?tableName=${e}&type=${t}&value=${a}${l?"&dbFullName="+l:""}${r?"&userId="+r:""}${n?"&dbId="+n:""}`)}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070],()=>a(30284));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/connect.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/connect.js index 8be2dd6..2e17cb5 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/connect.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/connect.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2504,e.ids=[2504],e.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}}})},88297:(e,s,t)=>{t.r(s),t.d(s,{config:()=>z,default:()=>U,getServerSideProps:()=>D,getStaticPaths:()=>V,getStaticProps:()=>O,reportWebVitals:()=>F,routeModule:()=>Y,unstable_getServerProps:()=>Q,unstable_getServerSideProps:()=>X,unstable_getStaticParams:()=>W,unstable_getStaticPaths:()=>B,unstable_getStaticProps:()=>H});var a={};t.r(a),t.d(a,{ConnectContext:()=>T,default:()=>q,getServerSideProps:()=>G});var l=t(63865),r=t(9455),n=t(30671),i=t(49407),d=t(89600),c=t(8732),o=t(82015),u=t.n(o),h=t(95222),p=t(20048),x=t.n(p),m=t(67216),j=t.n(m),y=t(58548),f=t(96089),b=t(25088);function g(e){let{user:s,query:t,mariadbUserCred:a}=u().useContext(T);return(0,c.jsx)("section",{className:"paper",children:(0,c.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,c.jsx)("span",{children:"You can connect to your database remotely using any MySQL/Mariadb client. Use these credentials to connect:"}),(0,c.jsx)("hr",{}),(0,c.jsxs)("ul",{className:"m-0",children:[(0,c.jsxs)("li",{children:["Server:"," ",(0,c.jsx)("b",{children:"172.72.0.24"})]}),(0,c.jsxs)("li",{children:["Username: ",(0,c.jsx)("b",{children:a.mariadb_user})]}),(0,c.jsxs)("li",{children:["Host: ",(0,c.jsx)("b",{children:a.mariadb_host})]}),(0,c.jsxs)("li",{children:["Password: ",(0,c.jsx)("b",{children:"*****************"}),(0,c.jsx)("button",{className:"ghost inline-block -my-4",onClick:e=>{navigator.clipboard.writeText(a.mariadb_pass||"").then(()=>{window.alert("Copied Password!")})},children:(0,c.jsx)(f.A,{})})]}),(0,c.jsx)("li",{children:(0,c.jsxs)("div",{className:"flex",children:["SSL Certificate:"," ",(0,c.jsx)("b",{children:(0,c.jsx)("span",{className:"flex items-center gap-2",children:(0,c.jsxs)("a",{href:"https://datasquirel.com/documents/ssl/ca-cert.pem",className:"flex items-center gap-2 border-none hover:opacity-60",target:"_blank",children:[(0,c.jsx)(b.A,{}),"Download"]})})})]})})]})]})})}var v=t(55158),A=t(32415),E=t(63715),S=t(11717),N=t(96725);function w({mariadbUser:e}){let{setTargetMariadbUser:s}=u().useContext(T),t=!!String(e.primary)?.match(/1/),[a,l]=u().useState(!1);return(0,c.jsxs)("div",{className:"card w-full col"+(t?" green":""),children:[a&&(0,c.jsx)(A.A,{width:"25px"}),(0,c.jsxs)("div",{className:"w-full justify-between h-auto md:h-8 flex-wrap",children:[(0,c.jsxs)("span",{className:"title",children:[e.username,"@",e.host]}),(0,c.jsxs)("div",{children:[t&&(0,c.jsx)("span",{className:"info small w-auto",children:"Primary User"}),(0,c.jsx)("button",{className:"ghost",title:"Edit User",onClick:t=>{s(e),(0,v.PB)("edit-mariadb-user-popup")},children:(0,c.jsx)(S.A,{size:20})}),!t&&(0,c.jsx)("button",{className:"ghost -ml-6",title:"Edit User",onClick:s=>{window.confirm("Are you sure you want to delete this User?")&&(l(!0),(0,E.A)("/api/sql-users/delete",{method:"POST",body:{id:e.id}},!0).then(e=>{e.success?window.location.reload():e.msg&&window.alert(e.msg)}).finally(()=>{setTimeout(()=>{l(!1)},1e3)}))},children:(0,c.jsx)(N.A,{})})]})]}),(0,c.jsx)("hr",{}),(0,c.jsxs)("ul",{className:"m-0",children:[(0,c.jsxs)("li",{children:["Username: ",(0,c.jsx)("b",{children:e.username})]}),(0,c.jsxs)("li",{children:["Host: ",(0,c.jsx)("b",{children:e.host}),(0,c.jsx)("span",{className:"info gray font-normal",children:"% is a wildcard. Example: 192.168.1.%"})]}),(0,c.jsxs)("li",{children:["Password: ",(0,c.jsx)("b",{children:"*****************"}),(0,c.jsx)("button",{className:"ghost inline-block -my-4",onClick:s=>{navigator.clipboard.writeText(e.password||"").then(()=>{window.alert("Copied Password!")})},children:(0,c.jsx)(f.A,{size:20})})]})]})]})}function k(e){let{mariadbUsers:s}=u().useContext(T);return(0,c.jsxs)("section",{className:"paper",children:[(0,c.jsxs)("div",{className:"w-full justify-between",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"SQL Users"}),(0,c.jsx)("div",{children:(0,c.jsx)("button",{onClick:e=>{(0,v.PB)("new-mariadb-user-popup")},children:"Add SQL User"})})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,c.jsx)("span",{children:"You can customize your SQL users and permissions here. You can add up to 10 hosts/IP addresses (including your primary host)"}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"grid w-full grid-cols-1 xl:grid-cols-2 gap-6",children:s.map((e,s)=>(0,c.jsx)(w,{mariadbUser:e},s+1))})]})]})}function P(e){let{user:s,query:t,mariadbUserCred:a}=u().useContext(T);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsx)("div",{className:"",children:(0,c.jsx)("h1",{className:"text-3xl m-0",children:"Connect"})}),(0,c.jsx)(y.A,{user:s})]}),(0,c.jsx)(g,{}),(0,c.jsx)(k,{})]})}function L({grants:e,setGrants:s,edit:t}){let{user:a,targetMariadbUser:l}=u().useContext(T),r=!!String(l?.primary).match(/1/)&&t,n=!!e.find(e=>"*"==e.database),i=!!e.find(e=>"*"==e.table),d=!!e.find(e=>e.privileges.includes("ALL PRIVILEGES")),[o,h]=u().useState([]),[p,x]=u().useState({}),[m,j]=u().useState([]),[y,f]=u().useState({}),[b,g]=u().useState(["ALL PRIVILEGES"]),[v,A]=u().useState("ALL PRIVILEGES"),[E,S]=u().useState(!1);return(0,c.jsxs)("div",{id:"grant-select-block",className:"flex flex-col items-stretch w-full p-6 border border-slate-200 border-solid rounded",children:[(0,c.jsx)("h4",{className:"m-0 text-lg",children:"Grants"}),(0,c.jsx)("span",{children:"This section determines fine grained access of this user to databases and tables"}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"flex-wrap",children:e?.[0]?e.map((t,a)=>(0,c.jsxs)("div",{className:"text-sm pr-10 bg-secondary text-white px-3 py-2 rounded flex-wrap relative",children:[(0,c.jsx)("span",{children:t.privileges}),(0,c.jsx)("span",{children:"="}),(0,c.jsxs)("span",{children:[" ",t.database.replace(/datasquirel_user_\d+_/,"")]}),(0,c.jsx)("span",{children:"."}),(0,c.jsx)("span",{children:t.table}),!r&&(0,c.jsx)("div",{className:"button white absolute top-1.5 right-1.5 p-2 w-6 h-6",onClick:t=>{let l=[...e];l.splice(a,1),s(l)},children:"x"})]})):(0,c.jsx)("span",{className:"text-slate-400 px-4 py-2 bg-slate-100 w-full flex items-center justify-center",children:"No Grants"})}),(0,c.jsx)("hr",{}),n&&i&&d?(0,c.jsx)("span",{className:"text-sm text-slate-500",children:'All Privileges have been granted! Delete "ALL PRIVILEGES on *.*" to add fine-grained privileges'}):E?(0,c.jsx)(c.Fragment,{children:r?(0,c.jsx)("span",{className:"text-slate-400",children:"Primary users have full control over all databases."}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-database",children:"Database"}),(0,c.jsxs)("select",{name:"grants-database",id:"grants-database",className:"text-sm",onChange:e=>{let s=e.target.value;if("NULL"==s)return;let t=o.find(e=>e.db_full_name==s);t&&x(t)},children:[(0,c.jsx)("option",{value:"*",children:"--ALL-DATABASES--"}),o.map((e,s)=>(0,c.jsx)("option",{value:e.db_full_name,children:e.db_name},s+1))]})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-table",children:"Table"}),(0,c.jsxs)("select",{name:"grants-table",id:"grants-table",className:"text-sm",onChange:e=>{let s=e.target.value;if("NULL"==s)return;let t=m.find(e=>e.table_slug==s);t&&f(t)},children:[(0,c.jsx)("option",{value:"*",children:"--ALL-TABLES--"}),m?.[0]&&m.map((e,s)=>(0,c.jsx)("option",{value:e.table_slug,children:e.table_name},s+1))]})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-databases",children:"Permissions"}),(0,c.jsx)("div",{className:"flex-wrap gap-y-2 mb-1",children:b?.[0]?b.map((e,s)=>(0,c.jsxs)("span",{className:"text-xs px-2 py-1 border border-solid border-slate-200 rounded",children:[e,(0,c.jsx)("span",{className:"cursor-pointer p-2 hover:opacity-50",onClick:e=>{let t=[...b];t.splice(s,1),g(t)},children:"x"})]})):(0,c.jsx)("span",{className:"text-xs px-3 py-1 bg-slate-100 text-slate-400",children:"No Permissions Selected"})}),(0,c.jsxs)("div",{className:"w-full items-stretch",children:[(0,c.jsx)("select",{name:"grants-databases",id:"grants-databases",className:"text-sm",onChange:e=>{A(e.target.value)},children:["ALL PRIVILEGES","ALTER","ALTER ROUTINE","CREATE","CREATE ROUTINE","CREATE TEMPORARY TABLES","CREATE VIEW","DELETE","DROP","EVENT","EXECUTE","FILE","INDEX","INSERT","LOCK TABLES","PROCESS","REFERENCES","RELOAD","REPLICATION CLIENT","REPLICATION SLAVE","SELECT","SHOW VIEW","SUPER","TRIGGER","UPDATE","USAGE"].map((e,s)=>(0,c.jsx)("option",{value:e,children:e},s))}),(0,c.jsx)("div",{className:"button outlined gray text-2xl",onClick:e=>{if(!b.includes(v)){if(b.includes("ALL PRIVILEGES")){alert("ALL PRIVILEGES already covers for the rest. Remove ALL PRIVILEGES permission to add others");return}g([...b,v])}},children:"+"})]})]}),!r&&(0,c.jsxs)("div",{className:"button outlined secondary",onClick:t=>{if(!b?.[0]){alert("Please select atleast 1 permission. *REMEMBER to click the + button to add the permission to the list");return}s([...e,{database:p.db_full_name||"*",privileges:b,table:y.table_slug||"*"}]),S(!1)},children:[(0,c.jsx)("span",{className:"text-2xl h-6 flex items-center justify-center",children:"+"}),"\xa0Add Grant"]}),(0,c.jsx)("div",{className:"button outlined gray",onClick:()=>{S(!1)},children:"Cancel"})]})}):r?(0,c.jsx)("span",{className:"text-slate-400",children:"Primary users have full control over all databases."}):(0,c.jsxs)("div",{className:"button outlined gray",onClick:e=>{S(!0)},children:[(0,c.jsx)("span",{className:"text-2xl h-6 flex items-center justify-center",children:"+"}),"\xa0Add Grant"]})]})}function C({mariaDBUser:e,edit:s,username:t}){let{user:a}=u().useContext(T),l=e?Object.keys(e):["username","host","password"],r=/username|host|password/,n=/username/,i=/host/,d=(()=>{try{if(s&&e?.grants)return JSON.parse(e.grants);return null}catch(e){return null}})(),[o,h]=u().useState(d||[{database:"*",table:"*",privileges:["ALL PRIVILEGES"]}]),[p,x]=u().useState(!1);return(0,c.jsxs)("form",{onSubmit:t=>{t.preventDefault(),console.log("form clicked");let a=Array.from(t.target),l={};if(a.forEach(e=>{"INPUT"==e.nodeName&&(l[e.name]=e.value)}),s&&delete l.username,!o?.[0]){alert("Please add at least one grant");return}x(!0),(0,E.A)(s?"/api/sql-users/update":"/api/sql-users/create",{method:"POST",body:{data:l,edit:!!s,prev:e,grants:o}},!0).then(e=>{e.success?window.location.reload():e.msg&&(window.alert(e.msg),x(!1))})},className:"w-full gap-4 flex flex-col",children:[p&&(0,c.jsx)(A.A,{width:"25px"}),l.map((s,t)=>{let l=e?e[s]:"username"==s?`dsql_user_${a.id}`:null,d=n.test(s),o=i.test(s);return s.match(r)?(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:s,children:s}),(0,c.jsx)("input",{type:s.match("password")?"password":"text",name:s,id:s,defaultValue:l||void 0,readOnly:d,className:d?"bg-slate-100 opacity-50 pointer-events-none":"",placeholder:s,required:o})]},t+1):null}),(0,c.jsx)(L,{grants:o,setGrants:h,edit:s}),(0,c.jsx)("button",{type:"submit",children:s?"Update User":"Create SQL User"})]})}function M(e){let{targetMariadbUser:s}=u().useContext(T),[t,a]=u().useState(!1);return(0,c.jsx)(v.Ay,{title:"edit-mariadb-user-popup",children:t&&s?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("h3",{children:(0,c.jsxs)("div",{className:"flex",children:[(0,c.jsx)("span",{children:"Edit"}),(0,c.jsxs)("span",{className:"info inline w-auto text-xl green",children:[s.username,"@",s.host]})]})}),(0,c.jsx)("hr",{}),(0,c.jsx)(C,{mariaDBUser:s,edit:!0})]}):(0,c.jsx)("div",{className:"p-20",children:(0,c.jsx)(A.A,{width:"25px"})})})}function _(e){return(0,c.jsxs)(v.Ay,{title:"new-mariadb-user-popup",children:[(0,c.jsx)("h3",{children:"New MariaDB User"}),(0,c.jsx)("hr",{}),(0,c.jsx)(C,{})]})}var R=t(77463),I=t.n(R);let T=u().createContext({});function q({user:e,query:s,mariadbUserCred:t,mariadbUsers:a}){let l=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"SQL Connect | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Connect to your database remotely"})]}),[r,n]=u().useState(null),[i,d]=u().useState(null);return(0,c.jsx)(h.A,{head:l,user:e,aceEditor:!0,children:(0,c.jsxs)(T.Provider,{value:{user:e,query:s,mariadbUserCred:t,mariadbUsers:a,targetMariadbUser:r,setTargetMariadbUser:n,refresh:i,setRefresh:d},children:[(0,c.jsx)(P,{}),(0,c.jsx)(M,{}),(0,c.jsx)(_,{})]})})}async function G({req:e,res:s,query:t}){let a=await x()(e,s);if(!a?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let l=await j()("SELECT mariadb_user, mariadb_host, mariadb_pass FROM users WHERE id = ?",[a.id]),r=l?.[0]||{};r?.mariadb_pass&&(r.mariadb_pass=I()({encryptedString:r.mariadb_pass}));let n=await j()("SELECT * FROM mariadb_users WHERE user_id = ?",[a.id]);if(n?.[0])for(let e=0;e{t.d(s,{Ay:()=>i,PB:()=>d,fs:()=>c});var a=t(8732),l=t(58150),r=t(82015),n=t.n(r);function i({children:e,title:s,data:t,fullPage:r,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return r?(0,a.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":s||null,style:o,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsx)("div",{className:"relative w-full h-full z-50","data-data":t?JSON.stringify(t):"",children:e}),(0,a.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,a.jsx)(l.A,{color:"white",size:20})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,a.jsxs)("div",{className:"popup-bg","data-popupid":s||null,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":t?JSON.stringify(t):"",children:[e,(0,a.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,a.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(e,s){let t=document.querySelector(`[data-popupid='${e}']`);t&&(t.style.display="flex",s&&s(t))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},23293:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},96725:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},96089:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},29743:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},10643:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},11717:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]])},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"}]])},58150:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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={}))},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 s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[883,9821,9600,7070],()=>t(88297));module.exports=a})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=2504,e.ids=[2504],e.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}}})},88297:(e,s,t)=>{t.r(s),t.d(s,{config:()=>F,default:()=>U,getServerSideProps:()=>D,getStaticPaths:()=>V,getStaticProps:()=>O,reportWebVitals:()=>z,routeModule:()=>Y,unstable_getServerProps:()=>Q,unstable_getServerSideProps:()=>X,unstable_getStaticParams:()=>W,unstable_getStaticPaths:()=>B,unstable_getStaticProps:()=>H});var a={};t.r(a),t.d(a,{ConnectContext:()=>T,default:()=>q,getServerSideProps:()=>G});var l=t(63865),r=t(9455),n=t(30671),i=t(49407),d=t(89600),c=t(8732),o=t(82015),u=t.n(o),h=t(95222),p=t(20048),x=t.n(p),m=t(67216),j=t.n(m),y=t(58548),f=t(96089),b=t(25088);function g(e){let{user:s,query:t,mariadbUserCred:a}=u().useContext(T);return(0,c.jsx)("section",{className:"paper",children:(0,c.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,c.jsx)("span",{children:"You can connect to your database remotely using any MySQL/Mariadb client. Use these credentials to connect:"}),(0,c.jsx)("hr",{}),(0,c.jsxs)("ul",{className:"m-0",children:[(0,c.jsxs)("li",{children:["Server:"," ",(0,c.jsx)("b",{children:"172.72.0.24"})]}),(0,c.jsxs)("li",{children:["Username: ",(0,c.jsx)("b",{children:a.mariadb_user})]}),(0,c.jsxs)("li",{children:["Host: ",(0,c.jsx)("b",{children:a.mariadb_host})]}),(0,c.jsxs)("li",{children:["Password: ",(0,c.jsx)("b",{children:"*****************"}),(0,c.jsx)("button",{className:"ghost inline-block -my-4",onClick:e=>{navigator.clipboard.writeText(a.mariadb_pass||"").then(()=>{window.alert("Copied Password!")})},children:(0,c.jsx)(f.A,{})})]}),(0,c.jsx)("li",{children:(0,c.jsxs)("div",{className:"flex",children:["SSL Certificate:"," ",(0,c.jsx)("b",{children:(0,c.jsx)("span",{className:"flex items-center gap-2",children:(0,c.jsxs)("a",{href:"https://datasquirel.com/documents/ssl/ca-cert.pem",className:"flex items-center gap-2 border-none hover:opacity-60",target:"_blank",children:[(0,c.jsx)(b.A,{}),"Download"]})})})]})})]})]})})}var v=t(55158),A=t(32415),E=t(63715),S=t(11717),N=t(96725);function w({mariadbUser:e}){let{setTargetMariadbUser:s}=u().useContext(T),t=!!String(e.primary)?.match(/1/),[a,l]=u().useState(!1);return(0,c.jsxs)("div",{className:"card w-full col"+(t?" green":""),children:[a&&(0,c.jsx)(A.A,{width:"25px"}),(0,c.jsxs)("div",{className:"w-full justify-between h-auto md:h-8 flex-wrap",children:[(0,c.jsxs)("span",{className:"title",children:[e.username,"@",e.host]}),(0,c.jsxs)("div",{children:[t&&(0,c.jsx)("span",{className:"info small w-auto",children:"Primary User"}),(0,c.jsx)("button",{className:"ghost",title:"Edit User",onClick:t=>{s(e),(0,v.PB)("edit-mariadb-user-popup")},children:(0,c.jsx)(S.A,{size:20})}),!t&&(0,c.jsx)("button",{className:"ghost -ml-6",title:"Edit User",onClick:s=>{window.confirm("Are you sure you want to delete this User?")&&(l(!0),(0,E.A)("/api/sql-users/delete",{method:"POST",body:{id:e.id}},!0).then(e=>{e.success?window.location.reload():e.msg&&window.alert(e.msg)}).finally(()=>{setTimeout(()=>{l(!1)},1e3)}))},children:(0,c.jsx)(N.A,{})})]})]}),(0,c.jsx)("hr",{}),(0,c.jsxs)("ul",{className:"m-0",children:[(0,c.jsxs)("li",{children:["Username: ",(0,c.jsx)("b",{children:e.username})]}),(0,c.jsxs)("li",{children:["Host: ",(0,c.jsx)("b",{children:e.host}),(0,c.jsx)("span",{className:"info gray font-normal",children:"% is a wildcard. Example: 192.168.1.%"})]}),(0,c.jsxs)("li",{children:["Password: ",(0,c.jsx)("b",{children:"*****************"}),(0,c.jsx)("button",{className:"ghost inline-block -my-4",onClick:s=>{navigator.clipboard.writeText(e.password||"").then(()=>{window.alert("Copied Password!")})},children:(0,c.jsx)(f.A,{size:20})})]})]})]})}function k(e){let{mariadbUsers:s}=u().useContext(T);return(0,c.jsxs)("section",{className:"paper",children:[(0,c.jsxs)("div",{className:"w-full justify-between",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"SQL Users"}),(0,c.jsx)("div",{children:(0,c.jsx)("button",{onClick:e=>{(0,v.PB)("new-mariadb-user-popup")},children:"Add SQL User"})})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full",children:[(0,c.jsx)("span",{children:"You can customize your SQL users and permissions here. You can add up to 10 hosts/IP addresses (including your primary host)"}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"grid w-full grid-cols-1 xl:grid-cols-2 gap-6",children:s.map((e,s)=>(0,c.jsx)(w,{mariadbUser:e},s+1))})]})]})}function P(e){let{user:s,query:t,mariadbUserCred:a}=u().useContext(T);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsx)("div",{className:"",children:(0,c.jsx)("h1",{className:"text-3xl m-0",children:"Connect"})}),(0,c.jsx)(y.A,{user:s})]}),(0,c.jsx)(g,{}),(0,c.jsx)(k,{})]})}function L({grants:e,setGrants:s,edit:t}){let{user:a,targetMariadbUser:l}=u().useContext(T),r=!!String(l?.primary).match(/1/)&&t,n=!!e.find(e=>"*"==e.database),i=!!e.find(e=>"*"==e.table),d=!!e.find(e=>e.privileges.includes("ALL PRIVILEGES")),[o,h]=u().useState([]),[p,x]=u().useState({}),[m,j]=u().useState([]),[y,f]=u().useState({}),[b,g]=u().useState(["ALL PRIVILEGES"]),[v,A]=u().useState("ALL PRIVILEGES"),[E,S]=u().useState(!1);return(0,c.jsxs)("div",{id:"grant-select-block",className:"flex flex-col items-stretch w-full p-6 border border-slate-200 border-solid rounded",children:[(0,c.jsx)("h4",{className:"m-0 text-lg",children:"Grants"}),(0,c.jsx)("span",{children:"This section determines fine grained access of this user to databases and tables"}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"flex-wrap",children:e?.[0]?e.map((t,a)=>(0,c.jsxs)("div",{className:"text-sm pr-10 bg-secondary text-white px-3 py-2 rounded flex-wrap relative",children:[(0,c.jsx)("span",{children:t.privileges}),(0,c.jsx)("span",{children:"="}),(0,c.jsxs)("span",{children:[" ",t.database.replace(/datasquirel_user_\d+_/,"")]}),(0,c.jsx)("span",{children:"."}),(0,c.jsx)("span",{children:t.table}),!r&&(0,c.jsx)("div",{className:"button white absolute top-1.5 right-1.5 p-2 w-6 h-6",onClick:t=>{let l=[...e];l.splice(a,1),s(l)},children:"x"})]})):(0,c.jsx)("span",{className:"text-slate-400 px-4 py-2 bg-slate-100 w-full flex items-center justify-center",children:"No Grants"})}),(0,c.jsx)("hr",{}),n&&i&&d?(0,c.jsx)("span",{className:"text-sm text-slate-500",children:'All Privileges have been granted! Delete "ALL PRIVILEGES on *.*" to add fine-grained privileges'}):E?(0,c.jsx)(c.Fragment,{children:r?(0,c.jsx)("span",{className:"text-slate-400",children:"Primary users have full control over all databases."}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-database",children:"Database"}),(0,c.jsxs)("select",{name:"grants-database",id:"grants-database",className:"text-sm",onChange:e=>{let s=e.target.value;if("NULL"==s)return;let t=o.find(e=>e.db_full_name==s);t&&x(t)},children:[(0,c.jsx)("option",{value:"*",children:"--ALL-DATABASES--"}),o.map((e,s)=>(0,c.jsx)("option",{value:e.db_full_name,children:e.db_name},s+1))]})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-table",children:"Table"}),(0,c.jsxs)("select",{name:"grants-table",id:"grants-table",className:"text-sm",onChange:e=>{let s=e.target.value;if("NULL"==s)return;let t=m.find(e=>e.table_slug==s);t&&f(t)},children:[(0,c.jsx)("option",{value:"*",children:"--ALL-TABLES--"}),m?.[0]&&m.map((e,s)=>(0,c.jsx)("option",{value:e.table_slug,children:e.table_name},s+1))]})]}),(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:"grants-databases",children:"Permissions"}),(0,c.jsx)("div",{className:"flex-wrap gap-y-2 mb-1",children:b?.[0]?b.map((e,s)=>(0,c.jsxs)("span",{className:"text-xs px-2 py-1 border border-solid border-slate-200 rounded",children:[e,(0,c.jsx)("span",{className:"cursor-pointer p-2 hover:opacity-50",onClick:e=>{let t=[...b];t.splice(s,1),g(t)},children:"x"})]})):(0,c.jsx)("span",{className:"text-xs px-3 py-1 bg-slate-100 text-slate-400",children:"No Permissions Selected"})}),(0,c.jsxs)("div",{className:"w-full items-stretch",children:[(0,c.jsx)("select",{name:"grants-databases",id:"grants-databases",className:"text-sm",onChange:e=>{A(e.target.value)},children:["ALL PRIVILEGES","ALTER","ALTER ROUTINE","CREATE","CREATE ROUTINE","CREATE TEMPORARY TABLES","CREATE VIEW","DELETE","DROP","EVENT","EXECUTE","FILE","INDEX","INSERT","LOCK TABLES","PROCESS","REFERENCES","RELOAD","REPLICATION CLIENT","REPLICATION SLAVE","SELECT","SHOW VIEW","SUPER","TRIGGER","UPDATE","USAGE"].map((e,s)=>(0,c.jsx)("option",{value:e,children:e},s))}),(0,c.jsx)("div",{className:"button outlined gray text-2xl",onClick:e=>{if(!b.includes(v)){if(b.includes("ALL PRIVILEGES")){alert("ALL PRIVILEGES already covers for the rest. Remove ALL PRIVILEGES permission to add others");return}g([...b,v])}},children:"+"})]})]}),!r&&(0,c.jsxs)("div",{className:"button outlined secondary",onClick:t=>{if(!b?.[0]){alert("Please select atleast 1 permission. *REMEMBER to click the + button to add the permission to the list");return}s([...e,{database:p.db_full_name||"*",privileges:b,table:y.table_slug||"*"}]),S(!1)},children:[(0,c.jsx)("span",{className:"text-2xl h-6 flex items-center justify-center",children:"+"}),"\xa0Add Grant"]}),(0,c.jsx)("div",{className:"button outlined gray",onClick:()=>{S(!1)},children:"Cancel"})]})}):r?(0,c.jsx)("span",{className:"text-slate-400",children:"Primary users have full control over all databases."}):(0,c.jsxs)("div",{className:"button outlined gray",onClick:e=>{S(!0)},children:[(0,c.jsx)("span",{className:"text-2xl h-6 flex items-center justify-center",children:"+"}),"\xa0Add Grant"]})]})}function C({mariaDBUser:e,edit:s,username:t}){let{user:a}=u().useContext(T),l=e?Object.keys(e):["username","host","password"],r=/username|host|password/,n=/username/,i=/host/,d=(()=>{try{if(s&&e?.grants)return JSON.parse(e.grants);return null}catch(e){return null}})(),[o,h]=u().useState(d||[{database:"*",table:"*",privileges:["ALL PRIVILEGES"]}]),[p,x]=u().useState(!1);return(0,c.jsxs)("form",{onSubmit:t=>{t.preventDefault(),console.log("form clicked");let a=Array.from(t.target),l={};if(a.forEach(e=>{"INPUT"==e.nodeName&&(l[e.name]=e.value)}),s&&delete l.username,!o?.[0]){alert("Please add at least one grant");return}x(!0),(0,E.A)(s?"/api/sql-users/update":"/api/sql-users/create",{method:"POST",body:{data:l,edit:!!s,prev:e,grants:o}},!0).then(e=>{e.success?window.location.reload():e.msg&&(window.alert(e.msg),x(!1))})},className:"w-full gap-4 flex flex-col",children:[p&&(0,c.jsx)(A.A,{width:"25px"}),l.map((s,t)=>{let l=e?e[s]:"username"==s?`dsql_user_${a.id}`:null,d=n.test(s),o=i.test(s);return s.match(r)?(0,c.jsxs)("div",{className:"flex-col items-start w-full gap-1",children:[(0,c.jsx)("label",{htmlFor:s,children:s}),(0,c.jsx)("input",{type:s.match("password")?"password":"text",name:s,id:s,defaultValue:l||void 0,readOnly:d,className:d?"bg-slate-100 opacity-50 pointer-events-none":"",placeholder:s,required:o})]},t+1):null}),(0,c.jsx)(L,{grants:o,setGrants:h,edit:s}),(0,c.jsx)("button",{type:"submit",children:s?"Update User":"Create SQL User"})]})}function M(e){let{targetMariadbUser:s}=u().useContext(T),[t,a]=u().useState(!1);return(0,c.jsx)(v.Ay,{title:"edit-mariadb-user-popup",children:t&&s?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("h3",{children:(0,c.jsxs)("div",{className:"flex",children:[(0,c.jsx)("span",{children:"Edit"}),(0,c.jsxs)("span",{className:"info inline w-auto text-xl green",children:[s.username,"@",s.host]})]})}),(0,c.jsx)("hr",{}),(0,c.jsx)(C,{mariaDBUser:s,edit:!0})]}):(0,c.jsx)("div",{className:"p-20",children:(0,c.jsx)(A.A,{width:"25px"})})})}function _(e){return(0,c.jsxs)(v.Ay,{title:"new-mariadb-user-popup",children:[(0,c.jsx)("h3",{children:"New MariaDB User"}),(0,c.jsx)("hr",{}),(0,c.jsx)(C,{})]})}var R=t(77463),I=t.n(R);let T=u().createContext({});function q({user:e,query:s,mariadbUserCred:t,mariadbUsers:a}){let l=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"SQL Connect | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Connect to your database remotely"})]}),[r,n]=u().useState(null),[i,d]=u().useState(null);return(0,c.jsx)(T.Provider,{value:{user:e,query:s,mariadbUserCred:t,mariadbUsers:a,targetMariadbUser:r,setTargetMariadbUser:n,refresh:i,setRefresh:d},children:(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)(h.A,{head:l,user:e,aceEditor:!0,children:(0,c.jsx)(P,{})}),(0,c.jsx)(M,{}),(0,c.jsx)(_,{})]})})}async function G({req:e,res:s,query:t}){let a=await x()(e,s);if(!a?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let l=await j()("SELECT mariadb_user, mariadb_host, mariadb_pass FROM users WHERE id = ?",[a.id]),r=l?.[0]||{};r?.mariadb_pass&&(r.mariadb_pass=I()({encryptedString:r.mariadb_pass}));let n=await j()("SELECT * FROM mariadb_users WHERE user_id = ?",[a.id]);if(n?.[0])for(let e=0;e{t.d(s,{Ay:()=>i,PB:()=>d,fs:()=>c});var a=t(8732),l=t(58150),r=t(82015),n=t.n(r);function i({children:e,title:s,data:t,fullPage:r,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return r?(0,a.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":s||null,style:o,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsx)("div",{className:"relative w-full h-full z-50","data-data":t?JSON.stringify(t):"",children:e}),(0,a.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,a.jsx)(l.A,{color:"white",size:20})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,a.jsxs)("div",{className:"popup-bg","data-popupid":s||null,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":t?JSON.stringify(t):"",children:[e,(0,a.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,a.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(e,s){let t=document.querySelector(`[data-popupid='${e}']`);t&&(t.style.display="flex",s&&s(t))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},23293:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},96725:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},96089:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},29743:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},10643:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(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"}]])},11717:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]])},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"}]])},58150:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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={}))},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 s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),a=s.X(0,[883,9821,9600,7070],()=>t(88297));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single].js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single].js index b113d35..d84edf7 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single].js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single].js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=4123,e.ids=[4123],e.modules={87560:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.r(a),s.d(a,{config:()=>p,default:()=>u,getServerSideProps:()=>x,getStaticPaths:()=>m,getStaticProps:()=>b,reportWebVitals:()=>g,routeModule:()=>S,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>N,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>_,unstable_getStaticProps:()=>h});var r=s(63865),l=s(9455),d=s(30671),n=s(49407),i=s(89600),o=s(97311),c=e([o]);o=(c.then?(await c)():c)[0];let u=(0,d.M)(o,"default"),b=(0,d.M)(o,"getStaticProps"),m=(0,d.M)(o,"getStaticPaths"),x=(0,d.M)(o,"getServerSideProps"),p=(0,d.M)(o,"config"),g=(0,d.M)(o,"reportWebVitals"),h=(0,d.M)(o,"unstable_getStaticProps"),_=(0,d.M)(o,"unstable_getStaticPaths"),j=(0,d.M)(o,"unstable_getStaticParams"),f=(0,d.M)(o,"unstable_getServerProps"),N=(0,d.M)(o,"unstable_getServerSideProps"),S=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]",pathname:"/admin/[user_id]/databases/[single]",bundlePath:"",filename:""},components:{App:i.default,Document:n.default},userland:o});t()}catch(e){t(e)}})},34033:(e,a,s)=>{s.d(a,{A:()=>o});var t=s(8732),r=s(82015),l=s.n(r),d=s(63715),n=s(55158),i=s(32415);function o({targetDatabase:e}){let[a,s]=l().useState(!1);return(0,t.jsxs)(n.Ay,{title:"delete-database-confirmation",children:[a&&(0,t.jsx)(i.A,{width:"20px"}),(0,t.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}s(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):s(!1)},children:(0,t.jsx)("span",{children:"Yes"})}),(0,t.jsx)("button",{onClick:e=>{(0,n.fs)()},children:(0,t.jsx)("span",{children:"Cancel"})})]})]})}},73972:(e,a,s)=>{s.d(a,{A:()=>o});var t=s(8732),r=s(82015),l=s.n(r),d=s(63715);s(58548);var n=s(55158),i=s(32415);function o({targetTable:e,database:a}){let[s,r]=l().useState(!1);return(0,t.jsxs)(n.Ay,{title:"delete-table-confirmation",children:[s&&(0,t.jsx)(i.A,{width:"20px"}),(0,t.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{className:"outlined"+(s?" pointer-events-none opacity-40":""),onClick:s=>{r(!0),(0,d.A)("/api/deleteUserTable",{method:"post",body:{database:a,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,t.jsx)("span",{children:"Yes"})}),(0,t.jsx)("button",{onClick:e=>{(0,n.fs)()},children:(0,t.jsx)("span",{children:"Cancel"})})]})]})}},26647:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.d(a,{A:()=>_});var r=s(8732),l=s(82015),d=s.n(l),n=s(58548),i=s(97311),o=s(55158),c=s(59621),u=s(46437),b=s(86173),m=s(62506),x=s(32415),p=s(22603),g=s(71296),h=e([i,c]);function _(e){let{database:a,tables:s,setTargetTable:t,confirmedDelegetedUser:l,query:h,user:_}=d().useContext(i.SingleDatabaseContext),j=l?.delegated;l?.priviledges?.match(/Edit Tables/i),l?.priviledges?.match(/Delete Tables/i);let{active_clone:f,active_clone_parent_db:N,remote_connected:S}=a,[w,v]=d().useState(!1);return(0,r.jsxs)(d().Fragment,{children:[w&&(0,r.jsx)(x.A,{}),(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full relative z-50",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{className:"flex-wrap",children:[(0,r.jsx)(u.A,{}),(0,r.jsxs)("div",{className:"flex-wrap gap-y-0",children:[(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[a.db_name.replace(/ database$/i,"")," ","Database"]}),(0,r.jsx)(b.A,{slugText:a.db_slug,outlined:!0}),!j&&(0,r.jsxs)("button",{className:"button small-text outlined gray",onClick:e=>{(0,p.A)({url:`/api/exportDatabase?dbName=${a.db_full_name}`,fileName:`${a.db_full_name}.sql`,setLoading:v})},children:[(0,r.jsx)(g.A,{}),(0,r.jsx)("span",{children:"Export"})]})]})]}),(0,r.jsx)("div",{className:"flex-wrap flex-col md:flex-row items-stretch md:items-center w-full md:w-auto",children:(0,r.jsxs)(m.A,{children:[!j&&!N&&!S&&(0,r.jsxs)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/tables/add-table`,className:"button flex items-center gap-2",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Table"})]}),(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/tables`,className:"button secondary",children:(0,r.jsx)("span",{children:"All Tables"})}),!j&&(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/users`,className:"button dark",children:(0,r.jsx)("span",{children:"Users"})}),!j&&(0,r.jsxs)("div",{className:"dropdown-wrapper my-4 xl:my-0",children:[(0,r.jsx)("span",{className:"hidden xl:flex button outlined gray",children:"More"}),(0,r.jsx)("div",{className:"dropdown mobile-transform right-aligned mt-0 xl:-mt-2 gap-2 items-stretch",children:(0,r.jsxs)(m.A,{column:!0,children:[(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/edit-database`,className:"button outlined gray more-padding",children:(0,r.jsx)("span",{children:"Edit Database"})}),!N&&!S&&(0,r.jsx)("button",{className:"outlined gray more-padding",onClick:e=>{(0,o.PB)("delete-database-confirmation")},children:(0,r.jsx)("span",{children:"Delete Database"})}),!j&&(0,r.jsx)("button",{className:"outlined gray more-padding",onClick:e=>{(0,p.A)({url:`/api/exportDatabase?dbName=${a.db_full_name}`,fileName:`${a.db_full_name}.sql`,setLoading:v})},children:(0,r.jsx)("span",{children:"Export Database"})}),(0,r.jsxs)("a",{href:`/admin/${_?.id}/users/add-user?db=${a.db_slug}`,className:"button outlined secondary more-padding",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add User"})]})]})})]})]})})]}),(0,r.jsx)(n.A,{confirmedDelegetedUser:h.delegated,user:_})]}),(0,r.jsx)(c.A,{database:a,tables:s,setTargetTable:t,confirmedDelegetedUser:l,query:h,user:_}),(0,r.jsxs)("section",{className:"paper green",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Triggers"}),(0,r.jsx)("hr",{}),(0,r.jsx)("span",{className:"text-slate-400",children:"Coming Soon ..."})]}),(0,r.jsxs)("section",{className:"paper primary",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Stored Proceedures"}),(0,r.jsx)("hr",{}),(0,r.jsx)("span",{className:"text-slate-400",children:"Coming Soon ..."})]})]})}[i,c]=h.then?(await h)():h,t()}catch(e){t(e)}})},86173:(e,a,s)=>{s.d(a,{A:()=>l});var t=s(8732),r=s(96089);function l({slugText:e,smaller:a,outlined:s,full:l}){return(0,t.jsxs)("span",{className:"button break-words text-wrap cancel-link "+(s?" outlined gray":"light-gray")+(a?" small-text":""),onClick:a=>{navigator.clipboard.writeText(e).then(()=>{alert(`${l?"Database Full name":"Database Slug"} "${e}" Copied to Clipboard. Use this as the database name when querying data`)})},style:{wordWrap:"break-word",wordBreak:"break-all"},children:[(0,t.jsx)(r.A,{}),(0,t.jsx)("span",{children:e})]})}s(82015)},31651:(e,a,s)=>{s(81630);let t=s(77463);e.exports=async function({request:e,databaseSlug:a,user:s,query:r}){try{let l=s.id,d=null;if(!r?.delegated)return{dbUserId:l};let n=r.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${n}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let s=t({encryptedString:e.cookies[o]});if(!s)throw Error("Invalid Token");if((d=JSON.parse(s)).databaseSlug===a)return{dbUserId:l=d.rootUserId,rootUserId:d.rootUserId,rootUserName:d.rootUserName,rootUserEmail:d.rootUserEmail,rootUserImage:d.rootUserImage,databaseFullName:d.databaseFullName,databaseSlug:d.databaseSlug,allowedTables:d.allowedTables,priviledges:d.priviledges,database:d.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},97311:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.r(a),s.d(a,{SingleDatabaseContext:()=>N,default:()=>j,getServerSideProps:()=>f});var r=s(8732),l=s(82015),d=s.n(l),n=s(95222),i=s(20048),o=s.n(i),c=s(34033),u=s(26647),b=s(73972),m=s(64098),x=s(31651),p=s.n(x),g=s(67216),h=s.n(g),_=e([u,m]);[u,m]=_.then?(await _)():_;let N=d().createContext({});function j({user:e,database:a,tables:s,query:t,confirmedDelegetedUser:l}){let i=`${a.db_name} Database | Datasquirel`,o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[x,p]=d().useState(null);return(0,r.jsx)(n.A,{head:o,user:e,extraHeaderContent:(0,r.jsx)(m.A,{database:a,query:t,confirmedDelegetedUser:l,user:e}),children:(0,r.jsxs)(N.Provider,{value:{user:e,database:a,tables:s,targetTable:x,setTargetTable:p,query:t,confirmedDelegetedUser:l},children:[(0,r.jsx)(u.A,{}),!l?.delegated&&(0,r.jsx)(c.A,{targetDatabase:a}),(!l?.delegated||l?.delegated&&l?.priviledges?.match(/Delete Tables/i))&&(0,r.jsx)(b.A,{targetTable:x,database:a})]})})}async function f({req:e,res:a,query:s}){let t=await o()(e,a);if(!t?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await p()({request:e,user:t,databaseSlug:s.single||[],query:s});if(!r)return{redirect:{destination:"/admin",permanent:!1}};let{dbUserId:l,rootUserId:d}=r,n=await h()(`SELECT * FROM user_databases WHERE user_id='${l}' AND db_slug='${s.single}'`);if(!n||!n[0])return{redirect:{destination:`/admin/${t?.id}/databases`,permanent:!1}};let i=d?await h()(` +"use strict";(()=>{var e={};e.id=4123,e.ids=[4123],e.modules={87560:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.r(a),s.d(a,{config:()=>p,default:()=>u,getServerSideProps:()=>x,getStaticPaths:()=>m,getStaticProps:()=>b,reportWebVitals:()=>g,routeModule:()=>S,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>N,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>_,unstable_getStaticProps:()=>h});var r=s(63865),l=s(9455),d=s(30671),n=s(49407),i=s(89600),o=s(97311),c=e([o]);o=(c.then?(await c)():c)[0];let u=(0,d.M)(o,"default"),b=(0,d.M)(o,"getStaticProps"),m=(0,d.M)(o,"getStaticPaths"),x=(0,d.M)(o,"getServerSideProps"),p=(0,d.M)(o,"config"),g=(0,d.M)(o,"reportWebVitals"),h=(0,d.M)(o,"unstable_getStaticProps"),_=(0,d.M)(o,"unstable_getStaticPaths"),j=(0,d.M)(o,"unstable_getStaticParams"),f=(0,d.M)(o,"unstable_getServerProps"),N=(0,d.M)(o,"unstable_getServerSideProps"),S=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]",pathname:"/admin/[user_id]/databases/[single]",bundlePath:"",filename:""},components:{App:i.default,Document:n.default},userland:o});t()}catch(e){t(e)}})},34033:(e,a,s)=>{s.d(a,{A:()=>o});var t=s(8732),r=s(82015),l=s.n(r),d=s(63715),n=s(55158),i=s(32415);function o({targetDatabase:e}){let[a,s]=l().useState(!1);return(0,t.jsxs)(n.Ay,{title:"delete-database-confirmation",children:[a&&(0,t.jsx)(i.A,{width:"20px"}),(0,t.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}s(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):s(!1)},children:(0,t.jsx)("span",{children:"Yes"})}),(0,t.jsx)("button",{onClick:e=>{(0,n.fs)()},children:(0,t.jsx)("span",{children:"Cancel"})})]})]})}},73972:(e,a,s)=>{s.d(a,{A:()=>o});var t=s(8732),r=s(82015),l=s.n(r),d=s(63715);s(58548);var n=s(55158),i=s(32415);function o({targetTable:e,database:a}){let[s,r]=l().useState(!1);return(0,t.jsxs)(n.Ay,{title:"delete-table-confirmation",children:[s&&(0,t.jsx)(i.A,{width:"20px"}),(0,t.jsxs)("h4",{className:"m-0",children:["Delete '",e?.table_name?e.table_name:"This Database","' Table?"]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{className:"outlined"+(s?" pointer-events-none opacity-40":""),onClick:s=>{r(!0),(0,d.A)("/api/deleteUserTable",{method:"post",body:{database:a,table:e}},!0).then(e=>{e.success&&window.location.reload()})},children:(0,t.jsx)("span",{children:"Yes"})}),(0,t.jsx)("button",{onClick:e=>{(0,n.fs)()},children:(0,t.jsx)("span",{children:"Cancel"})})]})]})}},26647:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.d(a,{A:()=>_});var r=s(8732),l=s(82015),d=s.n(l),n=s(58548),i=s(97311),o=s(55158),c=s(59621),u=s(46437),b=s(86173),m=s(62506),x=s(32415),p=s(22603),g=s(71296),h=e([i,c]);function _(e){let{database:a,tables:s,setTargetTable:t,confirmedDelegetedUser:l,query:h,user:_}=d().useContext(i.SingleDatabaseContext),j=l?.delegated;l?.priviledges?.match(/Edit Tables/i),l?.priviledges?.match(/Delete Tables/i);let{active_clone:f,active_clone_parent_db:N,remote_connected:S}=a,[w,v]=d().useState(!1);return(0,r.jsxs)(d().Fragment,{children:[w&&(0,r.jsx)(x.A,{}),(0,r.jsxs)("div",{className:"flex-col items-start gap-0 w-full relative z-50",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,r.jsxs)("div",{className:"flex-wrap",children:[(0,r.jsx)(u.A,{}),(0,r.jsxs)("div",{className:"flex-wrap gap-y-0",children:[(0,r.jsxs)("h1",{className:"text-3xl m-0",children:[a.db_name.replace(/ database$/i,"")," ","Database"]}),(0,r.jsx)(b.A,{slugText:a.db_slug,outlined:!0}),!j&&(0,r.jsxs)("button",{className:"button small-text outlined gray",onClick:e=>{(0,p.A)({url:`/api/exportDatabase?dbName=${a.db_full_name}`,fileName:`${a.db_full_name}.sql`,setLoading:v})},children:[(0,r.jsx)(g.A,{}),(0,r.jsx)("span",{children:"Export"})]})]})]}),(0,r.jsx)("div",{className:"flex-wrap flex-col md:flex-row items-stretch md:items-center w-full md:w-auto",children:(0,r.jsxs)(m.A,{children:[!j&&!N&&!S&&(0,r.jsxs)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/tables/add-table`,className:"button flex items-center gap-2",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Table"})]}),(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/tables`,className:"button secondary",children:(0,r.jsx)("span",{children:"All Tables"})}),!j&&(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/users`,className:"button dark",children:(0,r.jsx)("span",{children:"Users"})}),!j&&(0,r.jsxs)("div",{className:"dropdown-wrapper my-4 xl:my-0",children:[(0,r.jsx)("span",{className:"hidden xl:flex button outlined gray",children:"More"}),(0,r.jsx)("div",{className:"dropdown mobile-transform right-aligned mt-0 xl:-mt-2 gap-2 items-stretch",children:(0,r.jsxs)(m.A,{column:!0,children:[(0,r.jsx)("a",{href:`/admin/${_?.id}/databases/${a.db_slug}/edit-database`,className:"button outlined gray more-padding",children:(0,r.jsx)("span",{children:"Edit Database"})}),!N&&!S&&(0,r.jsx)("button",{className:"outlined gray more-padding",onClick:e=>{(0,o.PB)("delete-database-confirmation")},children:(0,r.jsx)("span",{children:"Delete Database"})}),!j&&(0,r.jsx)("button",{className:"outlined gray more-padding",onClick:e=>{(0,p.A)({url:`/api/exportDatabase?dbName=${a.db_full_name}`,fileName:`${a.db_full_name}.sql`,setLoading:v})},children:(0,r.jsx)("span",{children:"Export Database"})}),(0,r.jsxs)("a",{href:`/admin/${_?.id}/users/add-user?db=${a.db_slug}`,className:"button outlined secondary more-padding",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add User"})]})]})})]})]})})]}),(0,r.jsx)(n.A,{confirmedDelegetedUser:h.delegated,user:_})]}),(0,r.jsx)(c.A,{database:a,tables:s,setTargetTable:t,confirmedDelegetedUser:l,query:h,user:_}),(0,r.jsxs)("section",{className:"paper green",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Triggers"}),(0,r.jsx)("hr",{}),(0,r.jsx)("span",{className:"text-slate-400",children:"Coming Soon ..."})]}),(0,r.jsxs)("section",{className:"paper primary",children:[(0,r.jsx)("h2",{className:"text-xl m-0",children:"Stored Proceedures"}),(0,r.jsx)("hr",{}),(0,r.jsx)("span",{className:"text-slate-400",children:"Coming Soon ..."})]})]})}[i,c]=h.then?(await h)():h,t()}catch(e){t(e)}})},86173:(e,a,s)=>{s.d(a,{A:()=>l});var t=s(8732),r=s(96089);function l({slugText:e,smaller:a,outlined:s,full:l}){return(0,t.jsxs)("span",{className:"button break-words text-wrap cancel-link "+(s?" outlined gray":"light-gray")+(a?" small-text":""),onClick:a=>{navigator.clipboard.writeText(e).then(()=>{alert(`${l?"Database Full name":"Database Slug"} "${e}" Copied to Clipboard. Use this as the database name when querying data`)})},style:{wordWrap:"break-word",wordBreak:"break-all"},children:[(0,t.jsx)(r.A,{}),(0,t.jsx)("span",{children:e})]})}s(82015)},31651:(e,a,s)=>{s(81630);let t=s(77463);e.exports=async function({request:e,databaseSlug:a,user:s,query:r}){try{let l=s.id,d=null;if(!r?.delegated)return{dbUserId:l};let n=r.dbUserId,i=`${process.env.DSQL_USER_DB_PREFIX}${n}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${i}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let s=t({encryptedString:e.cookies[o]});if(!s)throw Error("Invalid Token");if((d=JSON.parse(s)).databaseSlug===a)return{dbUserId:l=d.rootUserId,rootUserId:d.rootUserId,rootUserName:d.rootUserName,rootUserEmail:d.rootUserEmail,rootUserImage:d.rootUserImage,databaseFullName:d.databaseFullName,databaseSlug:d.databaseSlug,allowedTables:d.allowedTables,priviledges:d.priviledges,database:d.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},97311:(e,a,s)=>{s.a(e,async(e,t)=>{try{s.r(a),s.d(a,{SingleDatabaseContext:()=>N,default:()=>j,getServerSideProps:()=>f});var r=s(8732),l=s(82015),d=s.n(l),n=s(95222),i=s(20048),o=s.n(i),c=s(34033),u=s(26647),b=s(73972),m=s(64098),x=s(31651),p=s.n(x),g=s(67216),h=s.n(g),_=e([u,m]);[u,m]=_.then?(await _)():_;let N=d().createContext({});function j({user:e,database:a,tables:s,query:t,confirmedDelegetedUser:l}){let i=`${a.db_name} Database | Datasquirel`,o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[x,p]=d().useState(null);return(0,r.jsx)(N.Provider,{value:{user:e,database:a,tables:s,targetTable:x,setTargetTable:p,query:t,confirmedDelegetedUser:l},children:(0,r.jsxs)(d().Fragment,{children:[(0,r.jsx)(n.A,{head:o,user:e,extraHeaderContent:(0,r.jsx)(m.A,{database:a,query:t,confirmedDelegetedUser:l,user:e}),children:(0,r.jsx)(u.A,{})}),!l?.delegated&&(0,r.jsx)(c.A,{targetDatabase:a}),(!l?.delegated||l?.delegated&&l?.priviledges?.match(/Delete Tables/i))&&(0,r.jsx)(b.A,{targetTable:x,database:a})]})})}async function f({req:e,res:a,query:s}){let t=await o()(e,a);if(!t?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await p()({request:e,user:t,databaseSlug:s.single||[],query:s});if(!r)return{redirect:{destination:"/admin",permanent:!1}};let{dbUserId:l,rootUserId:d}=r,n=await h()(`SELECT * FROM user_databases WHERE user_id='${l}' AND db_slug='${s.single}'`);if(!n||!n[0])return{redirect:{destination:`/admin/${t?.id}/databases`,permanent:!1}};let i=d?await h()(` SELECT delegated_user_tables.database,delegated_user_tables.table,user_database_tables.* FROM diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/edit-database.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/edit-database.js index a4f1cc7..5fe449a 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/edit-database.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/edit-database.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4076,e.ids=[4076],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}}})},52973:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.r(t),a.d(t,{config:()=>y,default:()=>p,getServerSideProps:()=>x,getStaticPaths:()=>h,getStaticProps:()=>u,reportWebVitals:()=>m,routeModule:()=>v,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>k,unstable_getStaticParams:()=>A,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>b});var s=a(63865),n=a(9455),l=a(30671),d=a(49407),i=a(89600),c=a(74157),o=e([c]);c=(o.then?(await o)():o)[0];let p=(0,l.M)(c,"default"),u=(0,l.M)(c,"getStaticProps"),h=(0,l.M)(c,"getStaticPaths"),x=(0,l.M)(c,"getServerSideProps"),y=(0,l.M)(c,"config"),m=(0,l.M)(c,"reportWebVitals"),b=(0,l.M)(c,"unstable_getStaticProps"),g=(0,l.M)(c,"unstable_getStaticPaths"),A=(0,l.M)(c,"unstable_getStaticParams"),f=(0,l.M)(c,"unstable_getServerProps"),k=(0,l.M)(c,"unstable_getServerSideProps"),v=new s.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/edit-database",pathname:"/admin/[user_id]/databases/[single]/edit-database",bundlePath:"",filename:""},components:{App:i.default,Document:d.default},userland:c});r()}catch(e){r(e)}})},22622:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.d(t,{A:()=>h});var s=a(8732),n=a(82015),l=a.n(n),d=a(74157),i=a(46437),c=a(58548);a(55312);var o=a(14591),p=a(86571),u=e([d,o]);function h(e){let{database:t,user:a}=l().useContext(d.EditDatabaseContext);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:["Edit"," ",(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})]})]}),(0,s.jsx)(c.A,{user:a})]}),t?.active_clone&&a?(0,s.jsx)(p.A,{database:t,user:a}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.A,{})]})}[d,o]=u.then?(await u)():u,r()}catch(e){r(e)}})},14591:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.d(t,{A:()=>u});var s=a(8732),n=a(82015),l=a.n(n),d=a(32415),i=a(74157),c=a(56987),o=a(12042),p=e([i]);function u(e){let{user:t,dbImage:a,setDbImage:r,database:n}=l().useContext(i.EditDatabaseContext),[p,u]=l().useState(!1);return l().useRef(),(0,s.jsx)("section",{className:"paper",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[p&&(0,s.jsx)(d.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),t&&a?(0,s.jsx)(c.A,{user:t,dbImage:a,setDbImage:r,database:n,setLoading:u}):(0,s.jsx)("span",{children:"No User and Database Image present"})]}),t&&a&&r?(0,s.jsx)(o.A,{user:t,dbImage:a,setDbImage:r,database:n}):(0,s.jsx)("span",{children:"Database Image could not be rendered"})]})})}i=(p.then?(await p)():p)[0],r()}catch(e){r(e)}})},86571:(e,t,a)=>{a.d(t,{A:()=>s});var r=a(8732);function s({database:e,user:t}){let a=e.active_clone_parent_db?.replace(/datasquirel_user_\d+_/,""),s=`/admin/${t?.id}/databases/${a}`;return(0,r.jsx)("div",{className:"info green",children:(0,r.jsxs)("span",{className:"text font-normal",children:["This database is an active clone of"," ",(0,r.jsx)("b",{children:(0,r.jsx)("a",{href:s,target:"_blank",className:"query-url",children:a})})]})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>d,PB:()=>i,fs:()=>c});var r=a(8732),s=a(58150),n=a(82015),l=a.n(n);function d({children:e,title:t,data:a,fullPage:n,wrapperClasses:d,closePopupDispatch:i,wrapperStyle:o,noContainer:p}){return n?(0,r.jsxs)("div",{className:"popup-bg overflow-hidden "+(d||""),"data-popupid":t||null,style:o,children:[p?(0,r.jsx)(l().Fragment,{children:e}):(0,r.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,r.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),i&&i()},children:(0,r.jsx)(s.A,{color:"white",size:20})}),(0,r.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]}):(0,r.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[p?(0,r.jsx)(l().Fragment,{children:e}):(0,r.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,r.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,r.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,r.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,r.jsx)("span",{className:"font-normal",children:"✖"})}),(0,r.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:()=>l});var r=a(8732),s=a(82015),n=a.n(s);function l({children:e,column:t,className:a}){let s=n().useRef();return(0,r.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:s,children:e})}},23293:(e,t,a)=>{a.d(t,{A:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},74157:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.r(t),a.d(t,{EditDatabaseContext:()=>g,default:()=>m,getServerSideProps:()=>b});var s=a(8732),n=a(82015),l=a.n(n),d=a(95222),i=a(20048),c=a.n(i),o=a(42105),p=a(22622),u=a(64098),h=a(67216),x=a.n(h),y=e([p,u]);[p,u]=y.then?(await y)():y;let g=l().createContext({});function m({user:e,database:t,query:a}){let r=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[n,i]=l().useState(t.db_image);return(0,s.jsx)(d.A,{head:r,user:e,extraHeaderContent:(0,s.jsx)(u.A,{database:t,query:a,user:e}),children:(0,s.jsxs)(g.Provider,{value:{user:e,database:t,dbImage:n,setDbImage:i},children:[(0,s.jsx)(p.A,{}),(0,s.jsx)(o.A,{setDbImage:i})]})})}async function b({req:e,res:t,query:a}){let r=await c()(e,t);if(!r?.logged_in_status||!r?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await x()(`SELECT * FROM user_databases WHERE user_id='${r.id}' AND db_slug='${a.single}'`);return s&&s[0]?{props:{user:r,database:s[0],query:a}}:{redirect:{destination:`/admin/${r?.id}/databases`,permanent:!1}}}r()}catch(e){r(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={}))},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),r=t.X(0,[883,9821,9600,7070,5134,3737,8613,2996],()=>a(52973));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4076,e.ids=[4076],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}}})},52973:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.r(t),a.d(t,{config:()=>y,default:()=>p,getServerSideProps:()=>x,getStaticPaths:()=>h,getStaticProps:()=>u,reportWebVitals:()=>m,routeModule:()=>v,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>k,unstable_getStaticParams:()=>A,unstable_getStaticPaths:()=>g,unstable_getStaticProps:()=>b});var s=a(63865),n=a(9455),l=a(30671),d=a(49407),i=a(89600),c=a(74157),o=e([c]);c=(o.then?(await o)():o)[0];let p=(0,l.M)(c,"default"),u=(0,l.M)(c,"getStaticProps"),h=(0,l.M)(c,"getStaticPaths"),x=(0,l.M)(c,"getServerSideProps"),y=(0,l.M)(c,"config"),m=(0,l.M)(c,"reportWebVitals"),b=(0,l.M)(c,"unstable_getStaticProps"),g=(0,l.M)(c,"unstable_getStaticPaths"),A=(0,l.M)(c,"unstable_getStaticParams"),f=(0,l.M)(c,"unstable_getServerProps"),k=(0,l.M)(c,"unstable_getServerSideProps"),v=new s.PagesRouteModule({definition:{kind:n.A.PAGES,page:"/admin/[user_id]/databases/[single]/edit-database",pathname:"/admin/[user_id]/databases/[single]/edit-database",bundlePath:"",filename:""},components:{App:i.default,Document:d.default},userland:c});r()}catch(e){r(e)}})},22622:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.d(t,{A:()=>h});var s=a(8732),n=a(82015),l=a.n(n),d=a(74157),i=a(46437),c=a(58548);a(55312);var o=a(14591),p=a(86571),u=e([d,o]);function h(e){let{database:t,user:a}=l().useContext(d.EditDatabaseContext);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:["Edit"," ",(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})]})]}),(0,s.jsx)(c.A,{user:a})]}),t?.active_clone&&a?(0,s.jsx)(p.A,{database:t,user:a}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.A,{})]})}[d,o]=u.then?(await u)():u,r()}catch(e){r(e)}})},14591:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.d(t,{A:()=>u});var s=a(8732),n=a(82015),l=a.n(n),d=a(32415),i=a(74157),c=a(56987),o=a(12042),p=e([i]);function u(e){let{user:t,dbImage:a,setDbImage:r,database:n}=l().useContext(i.EditDatabaseContext),[p,u]=l().useState(!1);return l().useRef(),(0,s.jsx)("section",{className:"paper",children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 xl:grid-cols-2 gap-6 items-stretch",children:[p&&(0,s.jsx)(d.A,{}),(0,s.jsxs)("div",{className:"flex-col items-start w-full xl:w-auto",children:[(0,s.jsx)("h2",{className:"text-xl m-0 text-left w-full",children:"Update Database Information"}),t&&a?(0,s.jsx)(c.A,{user:t,dbImage:a,setDbImage:r,database:n,setLoading:u}):(0,s.jsx)("span",{children:"No User and Database Image present"})]}),t&&a&&r?(0,s.jsx)(o.A,{user:t,dbImage:a,setDbImage:r,database:n}):(0,s.jsx)("span",{children:"Database Image could not be rendered"})]})})}i=(p.then?(await p)():p)[0],r()}catch(e){r(e)}})},86571:(e,t,a)=>{a.d(t,{A:()=>s});var r=a(8732);function s({database:e,user:t}){let a=e.active_clone_parent_db?.replace(/datasquirel_user_\d+_/,""),s=`/admin/${t?.id}/databases/${a}`;return(0,r.jsx)("div",{className:"info green",children:(0,r.jsxs)("span",{className:"text font-normal",children:["This database is an active clone of"," ",(0,r.jsx)("b",{children:(0,r.jsx)("a",{href:s,target:"_blank",className:"query-url",children:a})})]})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>d,PB:()=>i,fs:()=>c});var r=a(8732),s=a(58150),n=a(82015),l=a.n(n);function d({children:e,title:t,data:a,fullPage:n,wrapperClasses:d,closePopupDispatch:i,wrapperStyle:o,noContainer:p}){return n?(0,r.jsxs)("div",{className:"popup-bg overflow-hidden "+(d||""),"data-popupid":t||null,style:o,children:[p?(0,r.jsx)(l().Fragment,{children:e}):(0,r.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,r.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),i&&i()},children:(0,r.jsx)(s.A,{color:"white",size:20})}),(0,r.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),i&&i()}})]}):(0,r.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[p?(0,r.jsx)(l().Fragment,{children:e}):(0,r.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,r.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,r.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,r.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),i&&i()},children:(0,r.jsx)("span",{className:"font-normal",children:"✖"})}),(0,r.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:()=>l});var r=a(8732),s=a(82015),n=a.n(s);function l({children:e,column:t,className:a}){let s=n().useRef();return(0,r.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:s,children:e})}},23293:(e,t,a)=>{a.d(t,{A:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(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:()=>r});let r=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},74157:(e,t,a)=>{a.a(e,async(e,r)=>{try{a.r(t),a.d(t,{EditDatabaseContext:()=>g,default:()=>m,getServerSideProps:()=>b});var s=a(8732),n=a(82015),l=a.n(n),d=a(95222),i=a(20048),c=a.n(i),o=a(42105),p=a(22622),u=a(64098),h=a(67216),x=a.n(h),y=e([p,u]);[p,u]=y.then?(await y)():y;let g=l().createContext({});function m({user:e,database:t,query:a}){let r=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("title",{children:"Add Database | Datasquirel"}),(0,s.jsx)("meta",{name:"description",content:"Add a database"})]}),[n,i]=l().useState(t.db_image);return(0,s.jsx)(g.Provider,{value:{user:e,database:t,dbImage:n,setDbImage:i},children:(0,s.jsxs)(l().Fragment,{children:[(0,s.jsx)(d.A,{head:r,user:e,extraHeaderContent:(0,s.jsx)(u.A,{database:t,query:a,user:e}),children:(0,s.jsx)(p.A,{})}),(0,s.jsx)(o.A,{setDbImage:i})]})})}async function b({req:e,res:t,query:a}){let r=await c()(e,t);if(!r?.logged_in_status||!r?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let s=await x()(`SELECT * FROM user_databases WHERE user_id='${r.id}' AND db_slug='${a.single}'`);return s&&s[0]?{props:{user:r,database:s[0],query:a}}:{redirect:{destination:`/admin/${r?.id}/databases`,permanent:!1}}}r()}catch(e){r(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={}))},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),r=t.X(0,[883,9821,9600,7070,5134,3737,8613,2996],()=>a(52973));module.exports=r})(); \ 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 c9b772f..c0f12ba 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)=>{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 +"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)(f.Provider,{value:{user:e,database:t,dbImage:n,setDbImage:c},children:(0,r.jsxs)(l().Fragment,{children:[(0,r.jsx)(i.A,{head:s,user:e,extraHeaderContent:(0,r.jsx)(m.A,{database:t,query:a,user:e}),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]/tables.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables.js index 7469737..447efd7 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var e={};e.id=5405,e.ids=[5405],e.modules={15560:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.r(a),t.d(a,{config:()=>m,default:()=>c,getServerSideProps:()=>g,getStaticPaths:()=>p,getStaticProps:()=>b,reportWebVitals:()=>x,routeModule:()=>S,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>h,unstable_getStaticProps:()=>_});var r=t(63865),l=t(9455),d=t(30671),i=t(49407),n=t(89600),o=t(65445),u=e([o]);o=(u.then?(await u)():u)[0];let c=(0,d.M)(o,"default"),b=(0,d.M)(o,"getStaticProps"),p=(0,d.M)(o,"getStaticPaths"),g=(0,d.M)(o,"getServerSideProps"),m=(0,d.M)(o,"config"),x=(0,d.M)(o,"reportWebVitals"),_=(0,d.M)(o,"unstable_getStaticProps"),h=(0,d.M)(o,"unstable_getStaticPaths"),j=(0,d.M)(o,"unstable_getStaticParams"),f=(0,d.M)(o,"unstable_getServerProps"),v=(0,d.M)(o,"unstable_getServerSideProps"),S=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables",pathname:"/admin/[user_id]/databases/[single]/tables",bundlePath:"",filename:""},components:{App:n.default,Document:i.default},userland:o});s()}catch(e){s(e)}})},34033:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),r=t(82015),l=t.n(r),d=t(63715),i=t(55158),n=t(32415);function o({targetDatabase:e}){let[a,t]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-database-confirmation",children:[a&&(0,s.jsx)(n.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}t(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):t(!1)},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},73972:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),r=t(82015),l=t.n(r),d=t(63715);t(58548);var i=t(55158),n=t(32415);function o({targetTable:e,database:a}){let[t,r]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[t&&(0,s.jsx)(n.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"+(t?" pointer-events-none opacity-40":""),onClick:t=>{r(!0),(0,d.A)("/api/deleteUserTable",{method:"post",body:{database:a,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"})})]})]})}},80558:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.d(a,{A:()=>x});var r=t(8732),l=t(82015),d=t.n(l),i=t(65445),n=t(46437),o=t(58548),u=t(94010),c=t(59621),b=t(48241),p=t(62506),g=t(86571),m=e([i,u,c,b]);function x(e){let{tables:a,setTargetTable:t,database:s,query:l,confirmedDelegetedUser:m,user:x}=d().useContext(i.TablesContext),_=m?.delegated;m?.priviledges?.match(/Edit Tables/i),m?.priviledges?.match(/Delete Tables/i);let h=m?.priviledges?.match(/Create Tables/i),{active_clone:j,active_clone_parent_db:f,remote_connected:v}=s;return(0,r.jsxs)(d().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-2 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap gap-6",children:[(0,r.jsxs)("div",{className:"flex-wrap",children:[(0,r.jsx)(n.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0 flex flex-wrap gap-2",children:[(0,r.jsx)("span",{className:"inline",children:"All Tables in"}),(0,r.jsx)("span",{className:"inline relative",children:(0,r.jsxs)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 text-primary hover:text-primary_dark relative inline",onClick:e=>{e.target.closest(".copy-slug-span")&&e.preventDefault()},style:{wordBreak:"break-all"},children:[s.db_name,(0,r.jsx)("div",{className:"absolute -top-4 -right-4",children:(0,r.jsx)(u.A,{slugText:s.db_slug,justIcon:!0})})]})})]})]}),(0,r.jsx)("div",{className:"w-full md:w-auto",children:(0,r.jsxs)(p.A,{children:[(!_||_&&h)&&!f&&!v&&(0,r.jsxs)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}/tables/add-table`,className:"button flex items-center gap-2 w-full",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Table"})]}),!_&&(0,r.jsx)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}/users`,className:"button dark",children:"Users"})]})})]}),(0,r.jsx)(o.A,{confirmedDelegetedUser:l?.delegated,user:x})]}),s.active_clone?(0,r.jsx)(g.A,{database:s,user:x}):(0,r.jsx)(r.Fragment,{}),s.remote_connected?(0,r.jsx)(c.p,{database:s}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(b.A,{database:s,tables:a,setTargetTable:t,confirmedDelegetedUser:m,query:l,user:x})]})}[i,u,c,b]=m.then?(await m)():m,s()}catch(e){s(e)}})},31651:(e,a,t)=>{t(81630);let s=t(77463);e.exports=async function({request:e,databaseSlug:a,user:t,query:r}){try{let l=t.id,d=null;if(!r?.delegated)return{dbUserId:l};let i=r.dbUserId,n=`${process.env.DSQL_USER_DB_PREFIX}${i}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[o]});if(!t)throw Error("Invalid Token");if((d=JSON.parse(t)).databaseSlug===a)return{dbUserId:l=d.rootUserId,rootUserId:d.rootUserId,rootUserName:d.rootUserName,rootUserEmail:d.rootUserEmail,rootUserImage:d.rootUserImage,databaseFullName:d.databaseFullName,databaseSlug:d.databaseSlug,allowedTables:d.allowedTables,priviledges:d.priviledges,database:d.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},65445:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.r(a),t.d(a,{TablesContext:()=>v,default:()=>j,getServerSideProps:()=>f});var r=t(8732),l=t(82015),d=t.n(l),i=t(20048),n=t.n(i),o=t(95222),u=t(34033),c=t(80558),b=t(73972),p=t(64098),g=t(31651),m=t.n(g),x=t(67216),_=t.n(x),h=e([c,p]);[c,p]=h.then?(await h)():h;let v=d().createContext({});function j({user:e,database:a,tables:t,query:s,confirmedDelegetedUser:l}){let i=`Tables For ${a.db_name} Database | Datasquirel`,n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[g,m]=d().useState(null);return(0,r.jsx)(o.A,{head:n,user:e,extraHeaderContent:(0,r.jsx)(p.A,{database:a,query:s,confirmedDelegetedUser:l,user:e}),children:(0,r.jsxs)(v.Provider,{value:{user:e,database:a,tables:t,targetTable:g,setTargetTable:m,query:s,confirmedDelegetedUser:l},children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(u.A,{targetDatabase:a}),(0,r.jsx)(b.A,{database:a,targetTable:g})]})})}async function f({req:e,res:a,query:t}){let s=await n()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await m()({request:e,user:s,databaseSlug:t.single?.toString()||"",query:t});if(!r)return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let{dbUserId:l,rootUserId:d}=r,i=await _()(`SELECT * FROM user_databases WHERE user_id='${l}' AND db_slug='${t.single}'`);if(!i||!i[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let o=d?await _()(` +"use strict";(()=>{var e={};e.id=5405,e.ids=[5405],e.modules={15560:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.r(a),t.d(a,{config:()=>m,default:()=>c,getServerSideProps:()=>g,getStaticPaths:()=>p,getStaticProps:()=>b,reportWebVitals:()=>x,routeModule:()=>S,unstable_getServerProps:()=>f,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>j,unstable_getStaticPaths:()=>h,unstable_getStaticProps:()=>_});var r=t(63865),l=t(9455),d=t(30671),i=t(49407),n=t(89600),o=t(65445),u=e([o]);o=(u.then?(await u)():u)[0];let c=(0,d.M)(o,"default"),b=(0,d.M)(o,"getStaticProps"),p=(0,d.M)(o,"getStaticPaths"),g=(0,d.M)(o,"getServerSideProps"),m=(0,d.M)(o,"config"),x=(0,d.M)(o,"reportWebVitals"),_=(0,d.M)(o,"unstable_getStaticProps"),h=(0,d.M)(o,"unstable_getStaticPaths"),j=(0,d.M)(o,"unstable_getStaticParams"),f=(0,d.M)(o,"unstable_getServerProps"),v=(0,d.M)(o,"unstable_getServerSideProps"),S=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/databases/[single]/tables",pathname:"/admin/[user_id]/databases/[single]/tables",bundlePath:"",filename:""},components:{App:n.default,Document:i.default},userland:o});s()}catch(e){s(e)}})},34033:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),r=t(82015),l=t.n(r),d=t(63715),i=t(55158),n=t(32415);function o({targetDatabase:e}){let[a,t]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-database-confirmation",children:[a&&(0,s.jsx)(n.A,{width:"20px"}),(0,s.jsxs)("h4",{className:"m-0",children:["Delete '",e?.db_name?e.db_name:"This Database","' database?"]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("button",{className:"outlined"+(a?" pointer-events-none opacity-40":""),onClick:a=>{if(!e){alert("No Target Database Selected!");return}t(!0),window.confirm("Note that you will loose all data in this database. Continue?")?(0,d.A)("/api/deleteUserDatabase",{method:"post",body:e},!0).then(e=>{e.success&&window.location.reload()}):t(!1)},children:(0,s.jsx)("span",{children:"Yes"})}),(0,s.jsx)("button",{onClick:e=>{(0,i.fs)()},children:(0,s.jsx)("span",{children:"Cancel"})})]})]})}},73972:(e,a,t)=>{t.d(a,{A:()=>o});var s=t(8732),r=t(82015),l=t.n(r),d=t(63715);t(58548);var i=t(55158),n=t(32415);function o({targetTable:e,database:a}){let[t,r]=l().useState(!1);return(0,s.jsxs)(i.Ay,{title:"delete-table-confirmation",children:[t&&(0,s.jsx)(n.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"+(t?" pointer-events-none opacity-40":""),onClick:t=>{r(!0),(0,d.A)("/api/deleteUserTable",{method:"post",body:{database:a,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"})})]})]})}},80558:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.d(a,{A:()=>x});var r=t(8732),l=t(82015),d=t.n(l),i=t(65445),n=t(46437),o=t(58548),u=t(94010),c=t(59621),b=t(48241),p=t(62506),g=t(86571),m=e([i,u,c,b]);function x(e){let{tables:a,setTargetTable:t,database:s,query:l,confirmedDelegetedUser:m,user:x}=d().useContext(i.TablesContext),_=m?.delegated;m?.priviledges?.match(/Edit Tables/i),m?.priviledges?.match(/Delete Tables/i);let h=m?.priviledges?.match(/Create Tables/i),{active_clone:j,active_clone_parent_db:f,remote_connected:v}=s;return(0,r.jsxs)(d().Fragment,{children:[(0,r.jsxs)("div",{className:"flex-col items-start gap-2 w-full",children:[(0,r.jsxs)("div",{className:"w-full justify-between flex-wrap gap-6",children:[(0,r.jsxs)("div",{className:"flex-wrap",children:[(0,r.jsx)(n.A,{}),(0,r.jsxs)("h1",{className:"text-3xl m-0 flex flex-wrap gap-2",children:[(0,r.jsx)("span",{className:"inline",children:"All Tables in"}),(0,r.jsx)("span",{className:"inline relative",children:(0,r.jsxs)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}`,className:"p-2 bg-white dark:bg-slate-800 rounded border border-solid border-slate-200 dark:border-slate-600 text-primary hover:text-primary_dark relative inline",onClick:e=>{e.target.closest(".copy-slug-span")&&e.preventDefault()},style:{wordBreak:"break-all"},children:[s.db_name,(0,r.jsx)("div",{className:"absolute -top-4 -right-4",children:(0,r.jsx)(u.A,{slugText:s.db_slug,justIcon:!0})})]})})]})]}),(0,r.jsx)("div",{className:"w-full md:w-auto",children:(0,r.jsxs)(p.A,{children:[(!_||_&&h)&&!f&&!v&&(0,r.jsxs)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}/tables/add-table`,className:"button flex items-center gap-2 w-full",children:[(0,r.jsx)("span",{className:"symbol",children:"+"}),(0,r.jsx)("span",{children:"Add Table"})]}),!_&&(0,r.jsx)("a",{href:`/admin/${x?.id}/databases/${s.db_slug}/users`,className:"button dark",children:"Users"})]})})]}),(0,r.jsx)(o.A,{confirmedDelegetedUser:l?.delegated,user:x})]}),s.active_clone?(0,r.jsx)(g.A,{database:s,user:x}):(0,r.jsx)(r.Fragment,{}),s.remote_connected?(0,r.jsx)(c.p,{database:s}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(b.A,{database:s,tables:a,setTargetTable:t,confirmedDelegetedUser:m,query:l,user:x})]})}[i,u,c,b]=m.then?(await m)():m,s()}catch(e){s(e)}})},31651:(e,a,t)=>{t(81630);let s=t(77463);e.exports=async function({request:e,databaseSlug:a,user:t,query:r}){try{let l=t.id,d=null;if(!r?.delegated)return{dbUserId:l};let i=r.dbUserId,n=`${process.env.DSQL_USER_DB_PREFIX}${i}_${a}`,o=`${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${n}`;try{if(!e.cookies?.[o])throw Error("Cookie not present");let t=s({encryptedString:e.cookies[o]});if(!t)throw Error("Invalid Token");if((d=JSON.parse(t)).databaseSlug===a)return{dbUserId:l=d.rootUserId,rootUserId:d.rootUserId,rootUserName:d.rootUserName,rootUserEmail:d.rootUserEmail,rootUserImage:d.rootUserImage,databaseFullName:d.databaseFullName,databaseSlug:d.databaseSlug,allowedTables:d.allowedTables,priviledges:d.priviledges,database:d.databaseSlug,delegated:!0}}catch(e){}return{dbUserId:l}}catch(e){return null}}},65445:(e,a,t)=>{t.a(e,async(e,s)=>{try{t.r(a),t.d(a,{TablesContext:()=>v,default:()=>j,getServerSideProps:()=>f});var r=t(8732),l=t(82015),d=t.n(l),i=t(20048),n=t.n(i),o=t(95222),u=t(34033),c=t(80558),b=t(73972),p=t(64098),g=t(31651),m=t.n(g),x=t(67216),_=t.n(x),h=e([c,p]);[c,p]=h.then?(await h)():h;let v=d().createContext({});function j({user:e,database:a,tables:t,query:s,confirmedDelegetedUser:l}){let i=`Tables For ${a.db_name} Database | Datasquirel`,n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:i}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[g,m]=d().useState(null);return(0,r.jsx)(v.Provider,{value:{user:e,database:a,tables:t,targetTable:g,setTargetTable:m,query:s,confirmedDelegetedUser:l},children:(0,r.jsxs)(d().Fragment,{children:[(0,r.jsx)(o.A,{head:n,user:e,extraHeaderContent:(0,r.jsx)(p.A,{database:a,query:s,confirmedDelegetedUser:l,user:e}),children:(0,r.jsx)(c.A,{})}),(0,r.jsx)(u.A,{targetDatabase:a}),(0,r.jsx)(b.A,{database:a,targetTable:g})]})})}async function f({req:e,res:a,query:t}){let s=await n()(e,a);if(!s?.logged_in_status)return{redirect:{destination:"/login",permanent:!1}};let r=await m()({request:e,user:s,databaseSlug:t.single?.toString()||"",query:t});if(!r)return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let{dbUserId:l,rootUserId:d}=r,i=await _()(`SELECT * FROM user_databases WHERE user_id='${l}' AND db_slug='${t.single}'`);if(!i||!i[0])return{redirect:{destination:`/admin/${s?.id}/databases`,permanent:!1}};let o=d?await _()(` SELECT delegated_user_tables.database,delegated_user_tables.table,user_database_tables.* FROM 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 15a0321..f027726 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: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 +"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)(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)(c.A,{head:g,user:e,extraHeaderContent:(0,s.jsx)(x.A,{database:a,query:d,confirmedDelegetedUser:p,user:e}),children:(0,s.jsxs)(n().Fragment,{children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(b.A,{snug:!0}),(0,s.jsx)(o.A,{database:a,targetTable:l})]})})})}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]/fields.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js index 056019d..d6e8d22 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:()=>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 +"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)(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.jsxs)(n().Fragment,{children:[(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.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 c99422b..567f022 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:()=>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 +"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)(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.jsxs)(d().Fragment,{children:[(0,s.jsx)(n.A,{head:m,user:e,extraHeaderContent:(0,s.jsx)(p.A,{database:t,query:i,user:e}),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]/databases/[single]/users.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/users.js index 72ce874..ce7e94a 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/users.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/databases/[single]/users.js @@ -13,4 +13,4 @@ Date: ${l.toDateString()} -${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,s,t)=>{t(29021);let r=t(89545),a=t(22373),n=t(67216),l=t(1231),i=t(88896);e.exports=async function({queryString:e,queryValuesArray:s,database:t,tableSchema:o,useLocal:d}){let c;let u=!!d||!!t?.match(/^datasquirel$/),m=d?i:u?n:l;try{c=e&&s&&Array.isArray(s)&&s[0]?u?await m(e,s):await m({paradigm:"Full Access",database:t,queryString:e,queryValues:s}):u?await m(e):await m({paradigm:"Full Access",database:t,queryString:e})}catch(e){a({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&o)try{let e=c;return await r({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),a({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},1231:(e,s,t)=>{let r=t(29021);t(33873);let a=t(9973),n=t(31976),l=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:s,queryString:t,queryValues:i}){try{return new Promise((o,d)=>{let c=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),o(JSON.parse(JSON.stringify(e)))}function m(e){l.end(),o({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}l=c?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:s,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:s,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(t,i).then(u).catch(m):l.query(t).then(u).catch(m)}catch(e){r.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,s,t)=>{let r=t(9973),a=t(31976);async function n(...e){let s=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()},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 s.query(...e);return await s.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},53702:(e,s,t)=>{t.a(e,async(e,r)=>{try{t.r(s),t.d(s,{UsersContext:()=>D,default:()=>f,getServerSideProps:()=>v});var a=t(8732),n=t(82015),l=t.n(n),i=t(95222),o=t(20048),d=t.n(o),c=t(84312),u=t(90378),m=t.n(u),p=t(25969),g=t(64098),b=t(31651),h=t.n(b),x=t(67216),_=t.n(x),S=e([p,g]);[p,g]=S.then?(await S)():S;let y=t(29021),D=l().createContext({});function f({user:e,database:s,table:t,dbSchemaData:r,users:n,query:o,confirmedDelegetedUser:d}){let u=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"Users | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[m,b]=l().useState(null),[h,x]=l().useState(null);return(0,a.jsx)(i.A,{head:u,user:e,extraHeaderContent:(0,a.jsx)(g.A,{database:s,query:o,confirmedDelegetedUser:d,user:e}),children:(0,a.jsxs)(D.Provider,{value:{user:e,users:n,targetUser:h,setTargetUser:x,database:s,table:t,dbSchemaData:r,query:o,confirmedDelegetedUser:d},children:[(0,a.jsx)(p.A,{}),(0,a.jsx)(c.A,{targetUser:h,user:e,setTargetUser:x})]})})}async function v({req:e,res:s,query:t}){try{let r=await d()(e,s);if(!r?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let a=await h()({request:e,user:r,databaseSlug:t.single,query:t});if(!a)throw Error("No Db Object Found!");let{dbUserId:n,rootUserId:l}=a,i=await _()(`SELECT * FROM user_databases WHERE user_id='${n}' AND db_slug='${t.single}'`);if(!i||!i[0])return{redirect:{destination:`/admin/${r?.id}/databases`,permanent:!1}};let o=JSON.parse(y.readFileSync(`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${n}/main.json`,"utf-8")),c=(o.filter(e=>e.dbFullName===i[0].db_full_name)[0]?.tables).filter(e=>"users"===e.tableName)[0],u=await m()({database:i[0].db_full_name,queryString:"SELECT * FROM users LIMIT 20",tableSchema:c});return{props:{user:r,database:i[0],table:c||{},dbSchemaData:o,users:u?.error?[]:u,query:t,confirmedDelegetedUser:a}}}catch(e){return console.log("Db Users Error =>",e.message),{redirect:{destination:"/admin",permanent:!1}}}}r()}catch(e){r(e)}})},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 s=require("../../../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[883,9821,6521,9600,7070,5134,9621,4312],()=>t(74468));module.exports=r})(); \ No newline at end of file +${o}`)}catch(e){console.log("Server Error Reporting Error:",e.message)}}},90378:(e,s,t)=>{t(29021);let r=t(89545),a=t(22373),n=t(67216),l=t(1231),i=t(88896);e.exports=async function({queryString:e,queryValuesArray:s,database:t,tableSchema:o,useLocal:d}){let c;let u=!!d||!!t?.match(/^datasquirel$/),m=d?i:u?n:l;try{c=e&&s&&Array.isArray(s)&&s[0]?u?await m(e,s):await m({paradigm:"Full Access",database:t,queryString:e,queryValues:s}):u?await m(e):await m({paradigm:"Full Access",database:t,queryString:e})}catch(e){a({component:"varDatabaseDbHandler/lines-29-32",message:e.message})}if(c&&o)try{let e=c;return await r({unparsedResults:e,tableSchema:o})}catch(e){return console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>",t,e),a({component:"varDatabaseDbHandler/lines-52-53",message:e.message}),null}else if(c)return c;else return null}},1231:(e,s,t)=>{let r=t(29021);t(33873);let a=t(9973),n=t(31976),l=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:s,queryString:t,queryValues:i}){try{return new Promise((o,d)=>{let c=!!e?.match(/full.access|^fa$/i);try{function u(e){l.end(),o(JSON.parse(JSON.stringify(e)))}function m(e){l.end(),o({error:e.message,queryStringGenerated:t,queryValuesGenerated:i,sql:e.sql})}l=c?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:s,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:s,ssl:n()}}),i&&Array.isArray(i)&&i[0]?l.query(t,i).then(u).catch(m):l.query(t).then(u).catch(m)}catch(e){r.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,s,t)=>{let r=t(9973),a=t(31976);async function n(...e){let s=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()},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 s.query(...e);return await s.end(),JSON.parse(JSON.stringify(t))}catch(e){return console.log("DB Error =>",e.message),{success:!1,error:e.message}}}e.exports=n},53702:(e,s,t)=>{t.a(e,async(e,r)=>{try{t.r(s),t.d(s,{UsersContext:()=>D,default:()=>f,getServerSideProps:()=>v});var a=t(8732),n=t(82015),l=t.n(n),i=t(95222),o=t(20048),d=t.n(o),c=t(84312),u=t(90378),m=t.n(u),p=t(25969),g=t(64098),b=t(31651),h=t.n(b),x=t(67216),_=t.n(x),S=e([p,g]);[p,g]=S.then?(await S)():S;let y=t(29021),D=l().createContext({});function f({user:e,database:s,table:t,dbSchemaData:r,users:n,query:o,confirmedDelegetedUser:d}){let u=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("title",{children:"Users | Datasquirel"}),(0,a.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[m,b]=l().useState(null),[h,x]=l().useState(null);return(0,a.jsx)(D.Provider,{value:{user:e,users:n,targetUser:h,setTargetUser:x,database:s,table:t,dbSchemaData:r,query:o,confirmedDelegetedUser:d},children:(0,a.jsxs)(l().Fragment,{children:[(0,a.jsx)(i.A,{head:u,user:e,extraHeaderContent:(0,a.jsx)(g.A,{database:s,query:o,confirmedDelegetedUser:d,user:e}),children:(0,a.jsx)(p.A,{})}),(0,a.jsx)(c.A,{targetUser:h,user:e,setTargetUser:x})]})})}async function v({req:e,res:s,query:t}){try{let r=await d()(e,s);if(!r?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let a=await h()({request:e,user:r,databaseSlug:t.single,query:t});if(!a)throw Error("No Db Object Found!");let{dbUserId:n,rootUserId:l}=a,i=await _()(`SELECT * FROM user_databases WHERE user_id='${n}' AND db_slug='${t.single}'`);if(!i||!i[0])return{redirect:{destination:`/admin/${r?.id}/databases`,permanent:!1}};let o=JSON.parse(y.readFileSync(`${process.env.DSQL_USER_DB_SCHEMA_PATH}/user-${n}/main.json`,"utf-8")),c=(o.filter(e=>e.dbFullName===i[0].db_full_name)[0]?.tables).filter(e=>"users"===e.tableName)[0],u=await m()({database:i[0].db_full_name,queryString:"SELECT * FROM users LIMIT 20",tableSchema:c});return{props:{user:r,database:i[0],table:c||{},dbSchemaData:o,users:u?.error?[]:u,query:t,confirmedDelegetedUser:a}}}catch(e){return console.log("Db Users Error =>",e.message),{redirect:{destination:"/admin",permanent:!1}}}}r()}catch(e){r(e)}})},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 s=require("../../../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[883,9821,6521,9600,7070,5134,9621,4312],()=>t(74468));module.exports=r})(); \ 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 54e9667..29d9ff6 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.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 +"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)(T.Provider,{value:{user:e,media:t,targetMedia:S,setTargetMedia:j,folders:s,staticHost:r},children:(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)(p.A,{head:a,user:e,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 a5242d3..d4c893a 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:()=>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 +"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.jsx)(V.Provider,{value:{user:e,media:t,targetMedia:A,setTargetMedia:P,folders:r,query:s,staticHost:i,folder:a},children:(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)(p.A,{head:n,user:e,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/admin/[user_id]/users.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/users.js index 9e38cfa..c8b59bf 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/users.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/users.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5662,e.ids=[5662],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}}})},67777:(e,t,s)=>{s.r(t),s.d(t,{config:()=>C,default:()=>P,getServerSideProps:()=>q,getStaticPaths:()=>E,getStaticProps:()=>M,reportWebVitals:()=>O,routeModule:()=>$,unstable_getServerProps:()=>R,unstable_getServerSideProps:()=>T,unstable_getStaticParams:()=>I,unstable_getStaticPaths:()=>F,unstable_getStaticProps:()=>U});var a={};s.r(a),s.d(a,{UsersContext:()=>w,default:()=>k,getServerSideProps:()=>S});var i=s(63865),r=s(9455),n=s(30671),l=s(49407),d=s(89600),c=s(8732),o=s(82015),u=s.n(o),m=s(95222),p=s(20048),x=s.n(p),h=s(84312),v=s(58548),f=s(21347);function y({user:e,setTargetUser:t,users:s,adminUsers:a,invitedAccounts:i}){return(0,c.jsx)(u().Fragment,{children:(0,c.jsxs)("section",{className:"paper",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Users List"}),(0,c.jsxs)("div",{className:"card no-hover items-center w-full justify-between",children:[(0,c.jsxs)("div",{className:"gap-2",children:[(0,c.jsx)("div",{className:"w-10 h-10 rounded-full overflow-hidden",children:(0,c.jsx)("img",{src:e.image_thumbnail,alt:"Main User Image",width:40,className:"w-full h-full object-cover"})}),(0,c.jsxs)("span",{className:"font-semibold",children:[e.first_name," ",e.last_name]})]}),(0,c.jsx)("span",{className:"text-sm font-semibold",children:"Super User (Owner)"})]}),(0,c.jsxs)("div",{className:"w-full flex-col items-stretch",children:[i&&i[0]&&(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)("h4",{className:"m-0 text-sm font-semibold text-slate-400",children:"Accounts that Invited you"}),i.map((e,s)=>(0,c.jsx)(f.A,{userObject:e,setTargetUser:t,paradigm:"invited"},s+1))]}),a&&a[0]&&(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)("h4",{className:"m-0 text-sm font-semibold text-slate-400",children:"Accounts you Invited"}),a.map((e,s)=>(0,c.jsx)(f.A,{userObject:e,setTargetUser:t},s+1))]})]})]})})}var j=s(63715),g=s(32415);function b({invitationObject:e}){let[t,s]=u().useState(!1);return(0,c.jsxs)("div",{className:"bg-slate-100 px-4 py-2 rounded w-full justify-between relative",children:[t&&(0,c.jsx)(g.A,{width:"20px"}),(0,c.jsxs)("span",{className:"text-sm font-semibold",children:[e.first_name," ",e.last_name," (",e.email,")"]}),(0,c.jsx)("button",{className:"py-1.5 px-3 text-sm secondary",onClick:t=>{s(!0),(0,j.A)("/api/acceptUserInvitation",{method:"post",body:{...e}},!0).then(e=>{e.success&&(window.alert("Invitation Accepted!"),window.location.reload()),setTimeout(()=>{s(!1)},500)})},children:"Accept Invitation"})]},e.id)}function A(e){let{user:t,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n,setTargetUser:l}=u().useContext(w),[d,o]=u().useState(!1);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsx)("h1",{className:"text-3xl m-0",children:"Users"}),(0,c.jsxs)("a",{href:`/admin/${t?.id}/users/add-user`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(v.A,{user:t})]}),(0,c.jsxs)("div",{className:"w-full grid grid-cols-1 items-start justify-start",children:[(0,c.jsx)("div",{className:"flex-col items-stretch justify-start",children:(0,c.jsx)(y,{setTargetUser:l,user:t,adminUsers:r,invitedAccounts:n})}),(0,c.jsxs)("div",{className:"flex-col items-stretch justify-start",children:[a&&a[0]&&(0,c.jsx)(u().Fragment,{children:(0,c.jsx)("section",{className:"p-4 items-start gap-4 overflow-visible",children:(0,c.jsxs)("div",{className:"flex-col w-full items-start",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Invitations Sent"}),a.map((e,t)=>(0,c.jsxs)("div",{className:"bg-slate-100 px-4 py-2 rounded w-full justify-between",children:[(0,c.jsx)("span",{className:"text-sm font-semibold",children:e.invited_user_email}),(0,c.jsxs)("div",{children:[(0,c.jsx)("span",{className:"text-sm text-slate-400",children:"Pending"}),(0,c.jsx)("span",{className:"text-sm text-orange-600 hover:opacity-50 cursor-pointer",onClick:t=>{window.confirm("Delete this invitation?")&&(0,j.A)("/api/deleteInvitation",{method:"POST",body:{id:e.id}},!0).finally(()=>{window.location.reload()})},children:"Delete Invitation"})]})]},e.id))]})})}),i&&i[0]&&(0,c.jsx)(u().Fragment,{children:(0,c.jsx)("section",{className:"p-4 items-start gap-4 overflow-visible",children:(0,c.jsxs)("div",{className:"flex-col w-full items-start",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Pending Invitations Received"}),i.map((e,t)=>(0,c.jsx)(b,{invitationObject:e},t+1))]})})})]})]})]})}var N=s(67216),_=s.n(N);let w=u().createContext({});function k({user:e,users:t,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n}){let l=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Users | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[d,o]=u().useState(null),[p,x]=u().useState(null),[v,f]=u().useState(null);return(0,c.jsx)(m.A,{head:l,user:e,children:(0,c.jsxs)(w.Provider,{value:{user:e,users:t,targetUser:p,setTargetUser:x,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n},children:[(0,c.jsx)(A,{}),(0,c.jsx)(h.A,{targetUser:p,user:e,setTargetUser:x})]})})}async function S({req:e,res:t,query:s}){let a=await x()(e,t);if(!a?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let i=await _()(`SELECT * FROM delegated_users WHERE user_id='${a.id}'`),r=await _()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${a.id}'`),n=await _()(`SELECT * FROM invitations WHERE inviting_user_id='${a.id}' AND invitation_status='Pending'`),l=await _()(`SELECT invitations.*,users.first_name,users.last_name,users.email FROM invitations JOIN users ON users.id=invitations.inviting_user_id WHERE invited_user_email='${a.email}' AND invitation_status='Pending'`),d=await _()(`SELECT * FROM user_users WHERE user_id='${a.id}' AND user_type='admin'`),c=await _()(`SELECT user_users.*,users.first_name AS inviteeFirstName,users.last_name AS inviteeLastName,users.email AS inviteeEmail, users.image_thumbnail AS inviteeImage FROM user_users JOIN users ON users.id=user_users.user_id WHERE user_users.email='${a.email}' AND user_users.user_type='admin'`);return{props:{user:a,users:i,databases:r,pendingInvitations:n,pendingInvitationsReceived:l,adminUsers:d,invitedAccounts:c}}}let P=(0,n.M)(a,"default"),M=(0,n.M)(a,"getStaticProps"),E=(0,n.M)(a,"getStaticPaths"),q=(0,n.M)(a,"getServerSideProps"),C=(0,n.M)(a,"config"),O=(0,n.M)(a,"reportWebVitals"),U=(0,n.M)(a,"unstable_getStaticProps"),F=(0,n.M)(a,"unstable_getStaticPaths"),I=(0,n.M)(a,"unstable_getStaticParams"),R=(0,n.M)(a,"unstable_getServerProps"),T=(0,n.M)(a,"unstable_getServerSideProps"),$=new i.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/users",pathname:"/admin/[user_id]/users",bundlePath:"",filename:""},components:{App:d.default,Document:l.default},userland:a})},21347:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(8732),i=s(82015),r=s.n(i),n=s(55158),l=s(63715),d=s(32415),c=s(62506);function o({userObject:e,setTargetUser:t,paradigm:s}){let i=s?.match(/invited/)?`${e.inviteeFirstName} ${e.inviteeLastName} (${e.inviteeEmail})`:`${e.first_name} ${e.last_name} (${e.email})`,o=s?.match(/invited/)?`${e.inviteeImage}`:`${e.image_thumbnail}`,[u,m]=r().useState(!1);return(0,a.jsxs)("div",{className:"card no-hover items-center "+(s?.match(/invited/)?" green green-bg":" primary"),children:[u&&(0,a.jsx)(d.A,{}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("img",{src:o,className:"w-8 h-8 rounded-full object-cover bg-slate-200",onError:e=>{e.target.src="/images/user-preset-thumbnail.png"}}),(0,a.jsx)("span",{className:"text-sm font-semibold",children:i}),e?.user_priviledge?.match(/./)&&(0,a.jsxs)("span",{className:"text-sm ml-auto text-slate-900/50",children:["Priviledges:"," ",(0,a.jsx)("span",{className:"text-slate-600 font-semibold",children:e.user_priviledge.split("|").join(" | ")})]}),!s?.match(/invited/)&&(0,a.jsx)(r().Fragment,{children:(0,a.jsxs)(c.A,{children:[(0,a.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:s=>{t(e),setTimeout(()=>{(0,n.PB)("target-user-popup")},200)},children:"Edit User Access"}),(0,a.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:t=>{m(!0),window.confirm("Delete this user")&&(0,l.A)("/api/deleteUserUser",{method:"post",body:{...e}},!0).then(e=>{setTimeout(()=>{m(!1)},500),window.location.reload()})},children:"Delete User"})]})})]})]})}},55158:(e,t,s)=>{s.d(t,{Ay:()=>l,PB:()=>d,fs:()=>c});var a=s(8732),i=s(58150),r=s(82015),n=s.n(r);function l({children:e,title:t,data:s,fullPage:r,wrapperClasses:l,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return r?(0,a.jsxs)("div",{className:"popup-bg overflow-hidden "+(l||""),"data-popupid":t||null,style:o,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsx)("div",{className:"relative w-full h-full z-50","data-data":s?JSON.stringify(s):"",children:e}),(0,a.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,a.jsx)(i.A,{color:"white",size:20})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,a.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":s?JSON.stringify(s):"",children:[e,(0,a.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,a.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(e,t){let s=document.querySelector(`[data-popupid='${e}']`);s&&(s.style.display="flex",t&&t(s))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},62506:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(8732),i=s(82015),r=s.n(i);function n({children:e,column:t,className:s}){let i=r().useRef();return(0,a.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(s?" "+s:""),ref:i,children:e})}},23293:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},34637:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},29743:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},10643:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},25294:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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),a=t.X(0,[883,9821,9600,7070,4312],()=>s(67777));module.exports=a})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=5662,e.ids=[5662],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}}})},67777:(e,t,s)=>{s.r(t),s.d(t,{config:()=>C,default:()=>P,getServerSideProps:()=>q,getStaticPaths:()=>E,getStaticProps:()=>M,reportWebVitals:()=>O,routeModule:()=>$,unstable_getServerProps:()=>R,unstable_getServerSideProps:()=>T,unstable_getStaticParams:()=>I,unstable_getStaticPaths:()=>F,unstable_getStaticProps:()=>U});var a={};s.r(a),s.d(a,{UsersContext:()=>w,default:()=>k,getServerSideProps:()=>S});var i=s(63865),r=s(9455),n=s(30671),l=s(49407),d=s(89600),c=s(8732),o=s(82015),u=s.n(o),m=s(95222),p=s(20048),x=s.n(p),h=s(84312),v=s(58548),f=s(21347);function y({user:e,setTargetUser:t,users:s,adminUsers:a,invitedAccounts:i}){return(0,c.jsx)(u().Fragment,{children:(0,c.jsxs)("section",{className:"paper",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Users List"}),(0,c.jsxs)("div",{className:"card no-hover items-center w-full justify-between",children:[(0,c.jsxs)("div",{className:"gap-2",children:[(0,c.jsx)("div",{className:"w-10 h-10 rounded-full overflow-hidden",children:(0,c.jsx)("img",{src:e.image_thumbnail,alt:"Main User Image",width:40,className:"w-full h-full object-cover"})}),(0,c.jsxs)("span",{className:"font-semibold",children:[e.first_name," ",e.last_name]})]}),(0,c.jsx)("span",{className:"text-sm font-semibold",children:"Super User (Owner)"})]}),(0,c.jsxs)("div",{className:"w-full flex-col items-stretch",children:[i&&i[0]&&(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)("h4",{className:"m-0 text-sm font-semibold text-slate-400",children:"Accounts that Invited you"}),i.map((e,s)=>(0,c.jsx)(f.A,{userObject:e,setTargetUser:t,paradigm:"invited"},s+1))]}),a&&a[0]&&(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)("h4",{className:"m-0 text-sm font-semibold text-slate-400",children:"Accounts you Invited"}),a.map((e,s)=>(0,c.jsx)(f.A,{userObject:e,setTargetUser:t},s+1))]})]})]})})}var j=s(63715),g=s(32415);function b({invitationObject:e}){let[t,s]=u().useState(!1);return(0,c.jsxs)("div",{className:"bg-slate-100 px-4 py-2 rounded w-full justify-between relative",children:[t&&(0,c.jsx)(g.A,{width:"20px"}),(0,c.jsxs)("span",{className:"text-sm font-semibold",children:[e.first_name," ",e.last_name," (",e.email,")"]}),(0,c.jsx)("button",{className:"py-1.5 px-3 text-sm secondary",onClick:t=>{s(!0),(0,j.A)("/api/acceptUserInvitation",{method:"post",body:{...e}},!0).then(e=>{e.success&&(window.alert("Invitation Accepted!"),window.location.reload()),setTimeout(()=>{s(!1)},500)})},children:"Accept Invitation"})]},e.id)}function A(e){let{user:t,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n,setTargetUser:l}=u().useContext(w),[d,o]=u().useState(!1);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsx)("h1",{className:"text-3xl m-0",children:"Users"}),(0,c.jsxs)("a",{href:`/admin/${t?.id}/users/add-user`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(v.A,{user:t})]}),(0,c.jsxs)("div",{className:"w-full grid grid-cols-1 items-start justify-start",children:[(0,c.jsx)("div",{className:"flex-col items-stretch justify-start",children:(0,c.jsx)(y,{setTargetUser:l,user:t,adminUsers:r,invitedAccounts:n})}),(0,c.jsxs)("div",{className:"flex-col items-stretch justify-start",children:[a&&a[0]&&(0,c.jsx)(u().Fragment,{children:(0,c.jsx)("section",{className:"p-4 items-start gap-4 overflow-visible",children:(0,c.jsxs)("div",{className:"flex-col w-full items-start",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Invitations Sent"}),a.map((e,t)=>(0,c.jsxs)("div",{className:"bg-slate-100 px-4 py-2 rounded w-full justify-between",children:[(0,c.jsx)("span",{className:"text-sm font-semibold",children:e.invited_user_email}),(0,c.jsxs)("div",{children:[(0,c.jsx)("span",{className:"text-sm text-slate-400",children:"Pending"}),(0,c.jsx)("span",{className:"text-sm text-orange-600 hover:opacity-50 cursor-pointer",onClick:t=>{window.confirm("Delete this invitation?")&&(0,j.A)("/api/deleteInvitation",{method:"POST",body:{id:e.id}},!0).finally(()=>{window.location.reload()})},children:"Delete Invitation"})]})]},e.id))]})})}),i&&i[0]&&(0,c.jsx)(u().Fragment,{children:(0,c.jsx)("section",{className:"p-4 items-start gap-4 overflow-visible",children:(0,c.jsxs)("div",{className:"flex-col w-full items-start",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Pending Invitations Received"}),i.map((e,t)=>(0,c.jsx)(b,{invitationObject:e},t+1))]})})})]})]})]})}var N=s(67216),_=s.n(N);let w=u().createContext({});function k({user:e,users:t,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n}){let l=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Users | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[d,o]=u().useState(null),[p,x]=u().useState(null),[v,f]=u().useState(null);return(0,c.jsx)(w.Provider,{value:{user:e,users:t,targetUser:p,setTargetUser:x,databases:s,pendingInvitations:a,pendingInvitationsReceived:i,adminUsers:r,invitedAccounts:n},children:(0,c.jsxs)(u().Fragment,{children:[(0,c.jsx)(m.A,{head:l,user:e,children:(0,c.jsx)(A,{})}),(0,c.jsx)(h.A,{targetUser:p,user:e,setTargetUser:x})]})})}async function S({req:e,res:t,query:s}){let a=await x()(e,t);if(!a?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let i=await _()(`SELECT * FROM delegated_users WHERE user_id='${a.id}'`),r=await _()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${a.id}'`),n=await _()(`SELECT * FROM invitations WHERE inviting_user_id='${a.id}' AND invitation_status='Pending'`),l=await _()(`SELECT invitations.*,users.first_name,users.last_name,users.email FROM invitations JOIN users ON users.id=invitations.inviting_user_id WHERE invited_user_email='${a.email}' AND invitation_status='Pending'`),d=await _()(`SELECT * FROM user_users WHERE user_id='${a.id}' AND user_type='admin'`),c=await _()(`SELECT user_users.*,users.first_name AS inviteeFirstName,users.last_name AS inviteeLastName,users.email AS inviteeEmail, users.image_thumbnail AS inviteeImage FROM user_users JOIN users ON users.id=user_users.user_id WHERE user_users.email='${a.email}' AND user_users.user_type='admin'`);return{props:{user:a,users:i,databases:r,pendingInvitations:n,pendingInvitationsReceived:l,adminUsers:d,invitedAccounts:c}}}let P=(0,n.M)(a,"default"),M=(0,n.M)(a,"getStaticProps"),E=(0,n.M)(a,"getStaticPaths"),q=(0,n.M)(a,"getServerSideProps"),C=(0,n.M)(a,"config"),O=(0,n.M)(a,"reportWebVitals"),U=(0,n.M)(a,"unstable_getStaticProps"),F=(0,n.M)(a,"unstable_getStaticPaths"),I=(0,n.M)(a,"unstable_getStaticParams"),R=(0,n.M)(a,"unstable_getServerProps"),T=(0,n.M)(a,"unstable_getServerSideProps"),$=new i.PagesRouteModule({definition:{kind:r.A.PAGES,page:"/admin/[user_id]/users",pathname:"/admin/[user_id]/users",bundlePath:"",filename:""},components:{App:d.default,Document:l.default},userland:a})},21347:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(8732),i=s(82015),r=s.n(i),n=s(55158),l=s(63715),d=s(32415),c=s(62506);function o({userObject:e,setTargetUser:t,paradigm:s}){let i=s?.match(/invited/)?`${e.inviteeFirstName} ${e.inviteeLastName} (${e.inviteeEmail})`:`${e.first_name} ${e.last_name} (${e.email})`,o=s?.match(/invited/)?`${e.inviteeImage}`:`${e.image_thumbnail}`,[u,m]=r().useState(!1);return(0,a.jsxs)("div",{className:"card no-hover items-center "+(s?.match(/invited/)?" green green-bg":" primary"),children:[u&&(0,a.jsx)(d.A,{}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("img",{src:o,className:"w-8 h-8 rounded-full object-cover bg-slate-200",onError:e=>{e.target.src="/images/user-preset-thumbnail.png"}}),(0,a.jsx)("span",{className:"text-sm font-semibold",children:i}),e?.user_priviledge?.match(/./)&&(0,a.jsxs)("span",{className:"text-sm ml-auto text-slate-900/50",children:["Priviledges:"," ",(0,a.jsx)("span",{className:"text-slate-600 font-semibold",children:e.user_priviledge.split("|").join(" | ")})]}),!s?.match(/invited/)&&(0,a.jsx)(r().Fragment,{children:(0,a.jsxs)(c.A,{children:[(0,a.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:s=>{t(e),setTimeout(()=>{(0,n.PB)("target-user-popup")},200)},children:"Edit User Access"}),(0,a.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:t=>{m(!0),window.confirm("Delete this user")&&(0,l.A)("/api/deleteUserUser",{method:"post",body:{...e}},!0).then(e=>{setTimeout(()=>{m(!1)},500),window.location.reload()})},children:"Delete User"})]})})]})]})}},55158:(e,t,s)=>{s.d(t,{Ay:()=>l,PB:()=>d,fs:()=>c});var a=s(8732),i=s(58150),r=s(82015),n=s.n(r);function l({children:e,title:t,data:s,fullPage:r,wrapperClasses:l,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return r?(0,a.jsxs)("div",{className:"popup-bg overflow-hidden "+(l||""),"data-popupid":t||null,style:o,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsx)("div",{className:"relative w-full h-full z-50","data-data":s?JSON.stringify(s):"",children:e}),(0,a.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,a.jsx)(i.A,{color:"white",size:20})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,a.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,a.jsx)(n().Fragment,{children:e}):(0,a.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":s?JSON.stringify(s):"",children:[e,(0,a.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,a.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,a.jsx)("span",{className:"font-normal",children:"✖"})}),(0,a.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(e,t){let s=document.querySelector(`[data-popupid='${e}']`);s&&(s.style.display="flex",t&&t(s))}function c(e){document.querySelectorAll("[data-popupid]").forEach(e=>{e.style.display="none"}),e&&e()}},62506:(e,t,s)=>{s.d(t,{A:()=>n});var a=s(8732),i=s(82015),r=s.n(i);function n({children:e,column:t,className:s}){let i=r().useRef();return(0,a.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(s?" "+s:""),ref:i,children:e})}},23293:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(82544).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},92441:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},34637:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},29743:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},10643:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(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"}]])},25294:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(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,s)=>{s.d(t,{A:()=>a});let a=(0,s(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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),a=t.X(0,[883,9821,9600,7070,4312],()=>s(67777));module.exports=a})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases.js b/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases.js index a0e690e..b745ca0 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases.js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3681,e.ids=[3681],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}}})},31702:(e,t,a)=>{a.r(t),a.d(t,{config:()=>N,default:()=>P,getServerSideProps:()=>w,getStaticPaths:()=>_,getStaticProps:()=>S,reportWebVitals:()=>q,routeModule:()=>U,unstable_getServerProps:()=>z,unstable_getServerSideProps:()=>G,unstable_getStaticParams:()=>H,unstable_getStaticPaths:()=>C,unstable_getStaticProps:()=>E});var s={};a.r(s),a.d(s,{AllDatabasesUsersContext:()=>j,default:()=>k,getServerSideProps:()=>M});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),c=a(8732),o=a(82015),p=a.n(o),u=a(95222),h=a(20048),x=a.n(h),m=a(84312),y=a(58548);function f({databases:e,user:t}){return(0,c.jsx)(p().Fragment,{children:(0,c.jsxs)("section",{className:"p-4 items-start gap-4 overflow-visible",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Database Users"}),(0,c.jsx)("div",{className:"flex flex-wrap gap-6",children:e&&e[0]?e.map((e,a)=>(0,c.jsxs)("a",{href:`/admin/${t?.id}/users/databases/${e.db_slug}`,className:"border border-slate-200 border-solid rounded px-6 py-4 hover:border-primary flex items-center gap-2",children:[(0,c.jsx)("img",{src:e.db_image,className:"w-8 h-8 rounded-full object-cover",alt:""}),e.db_name]},a+1)):(0,c.jsx)("span",{children:"No Databases Yet"})})]})})}var b=a(46437);function g(e){let{databases:t,user:a}=p().useContext(j);return(0,c.jsxs)(p().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(b.A,{}),(0,c.jsx)("h1",{className:"text-3xl m-0",children:"All Databases Users"})]}),(0,c.jsxs)("a",{href:`/admin/${a?.id}/users/add-user`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(y.A,{user:a})]}),(0,c.jsx)(f,{databases:t,user:a})]})}var A=a(67216),v=a.n(A);let j=p().createContext({});function k({user:e,users:t,databases:a}){let s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Users | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[r,l]=p().useState(null),[n,i]=p().useState(null);return(0,c.jsx)(u.A,{head:s,user:e,children:(0,c.jsxs)(j.Provider,{value:{user:e,users:t,targetUser:n,setTargetUser:i,databases:a},children:[(0,c.jsx)(g,{}),(0,c.jsx)(m.A,{targetUser:n,user:e,setTargetUser:i})]})})}async function M({req:e,res:t,query:a}){let s=await x()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let r=await v()(`SELECT * FROM delegated_users WHERE user_id='${s.id}'`),l=await v()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${s.id}'`);return{props:{user:s,users:r,databases:l}}}let P=(0,n.M)(s,"default"),S=(0,n.M)(s,"getStaticProps"),_=(0,n.M)(s,"getStaticPaths"),w=(0,n.M)(s,"getServerSideProps"),N=(0,n.M)(s,"config"),q=(0,n.M)(s,"reportWebVitals"),E=(0,n.M)(s,"unstable_getStaticProps"),C=(0,n.M)(s,"unstable_getStaticPaths"),H=(0,n.M)(s,"unstable_getStaticParams"),z=(0,n.M)(s,"unstable_getServerProps"),G=(0,n.M)(s,"unstable_getServerSideProps"),U=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/users/databases",pathname:"/admin/[user_id]/users/databases",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:s})},46437:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732),r=a(23293);function l(){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)(r.A,{})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>i,PB:()=>d,fs:()=>c});var s=a(8732),r=a(58150),l=a(82015),n=a.n(l);function i({children:e,title:t,data:a,fullPage:l,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:p}){return l?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":t||null,style:o,children:[p?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,s.jsx)(r.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[p?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(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()}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,4312],()=>a(31702));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=3681,e.ids=[3681],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}}})},31702:(e,t,a)=>{a.r(t),a.d(t,{config:()=>N,default:()=>P,getServerSideProps:()=>w,getStaticPaths:()=>_,getStaticProps:()=>S,reportWebVitals:()=>q,routeModule:()=>U,unstable_getServerProps:()=>z,unstable_getServerSideProps:()=>G,unstable_getStaticParams:()=>H,unstable_getStaticPaths:()=>C,unstable_getStaticProps:()=>E});var s={};a.r(s),a.d(s,{AllDatabasesUsersContext:()=>j,default:()=>k,getServerSideProps:()=>M});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),c=a(8732),o=a(82015),p=a.n(o),u=a(95222),h=a(20048),x=a.n(h),m=a(84312),y=a(58548);function f({databases:e,user:t}){return(0,c.jsx)(p().Fragment,{children:(0,c.jsxs)("section",{className:"p-4 items-start gap-4 overflow-visible",children:[(0,c.jsx)("h2",{className:"text-xl m-0",children:"Database Users"}),(0,c.jsx)("div",{className:"flex flex-wrap gap-6",children:e&&e[0]?e.map((e,a)=>(0,c.jsxs)("a",{href:`/admin/${t?.id}/users/databases/${e.db_slug}`,className:"border border-slate-200 border-solid rounded px-6 py-4 hover:border-primary flex items-center gap-2",children:[(0,c.jsx)("img",{src:e.db_image,className:"w-8 h-8 rounded-full object-cover",alt:""}),e.db_name]},a+1)):(0,c.jsx)("span",{children:"No Databases Yet"})})]})})}var b=a(46437);function g(e){let{databases:t,user:a}=p().useContext(j);return(0,c.jsxs)(p().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(b.A,{}),(0,c.jsx)("h1",{className:"text-3xl m-0",children:"All Databases Users"})]}),(0,c.jsxs)("a",{href:`/admin/${a?.id}/users/add-user`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(y.A,{user:a})]}),(0,c.jsx)(f,{databases:t,user:a})]})}var A=a(67216),v=a.n(A);let j=p().createContext({});function k({user:e,users:t,databases:a}){let s=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:"Users | Datasquirel"}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[r,l]=p().useState(null),[n,i]=p().useState(null);return(0,c.jsx)(j.Provider,{value:{user:e,users:t,targetUser:n,setTargetUser:i,databases:a},children:(0,c.jsxs)(p().Fragment,{children:[(0,c.jsx)(u.A,{head:s,user:e,children:(0,c.jsx)(g,{})}),(0,c.jsx)(m.A,{targetUser:n,user:e,setTargetUser:i})]})})}async function M({req:e,res:t,query:a}){let s=await x()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let r=await v()(`SELECT * FROM delegated_users WHERE user_id='${s.id}'`),l=await v()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${s.id}'`);return{props:{user:s,users:r,databases:l}}}let P=(0,n.M)(s,"default"),S=(0,n.M)(s,"getStaticProps"),_=(0,n.M)(s,"getStaticPaths"),w=(0,n.M)(s,"getServerSideProps"),N=(0,n.M)(s,"config"),q=(0,n.M)(s,"reportWebVitals"),E=(0,n.M)(s,"unstable_getStaticProps"),C=(0,n.M)(s,"unstable_getStaticPaths"),H=(0,n.M)(s,"unstable_getStaticParams"),z=(0,n.M)(s,"unstable_getServerProps"),G=(0,n.M)(s,"unstable_getServerSideProps"),U=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/users/databases",pathname:"/admin/[user_id]/users/databases",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:s})},46437:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732),r=a(23293);function l(){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)(r.A,{})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>i,PB:()=>d,fs:()=>c});var s=a(8732),r=a(58150),l=a(82015),n=a.n(l);function i({children:e,title:t,data:a,fullPage:l,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:p}){return l?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":t||null,style:o,children:[p?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,s.jsx)(r.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[p?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),p&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(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()}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,4312],()=>a(31702));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases/[database].js b/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases/[database].js index 46b33b0..31b66bb 100644 --- a/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases/[database].js +++ b/dsql-app/.local_dist/server/pages/admin/[user_id]/users/databases/[database].js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4397,e.ids=[4397],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}}})},59950:(e,t,a)=>{a.r(t),a.d(t,{config:()=>S,default:()=>P,getServerSideProps:()=>M,getStaticPaths:()=>_,getStaticProps:()=>N,reportWebVitals:()=>w,routeModule:()=>H,unstable_getServerProps:()=>C,unstable_getServerSideProps:()=>U,unstable_getStaticParams:()=>$,unstable_getStaticPaths:()=>q,unstable_getStaticProps:()=>E});var s={};a.r(s),a.d(s,{SingleDatabaseUsersContext:()=>j,default:()=>A,getServerSideProps:()=>k});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),c=a(8732),o=a(82015),u=a.n(o),p=a(95222),m=a(20048),h=a.n(m),x=a(84312),y=a(58548);a(21347);var f=a(46437);function b(e){let{database:t,users:a,user:s}=u().useContext(j);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(f.A,{}),(0,c.jsxs)("h1",{className:"text-3xl m-0",children:[t.db_name," Users"]})]}),(0,c.jsxs)("a",{href:`/admin/${s?.id}/users/add-user?db=${t.db_slug}`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(y.A,{user:s})]}),(0,c.jsx)("div",{className:"paper w-full flex-col items-stretch",children:a&&a[0]?a.map(e=>(0,c.jsxs)("a",{href:`/admin/${s?.id}/users/databases/${t.db_slug}/${e.id}`,className:"w-full flex items-center gap-2 p-4 border border-solid border-slate-200 rounded cursor-pointer hover:border-slate-400 flex-wrap",onClick:e=>{if(e.target.closest("button"))return e.preventDefault()},children:[(0,c.jsx)("img",{src:e.image_thumbnail,alt:"",className:"w-10 h-10 rounded-full object-cover bg-slate-200"}),(0,c.jsxs)("div",{className:"flex-col items-start gap-1",children:[(0,c.jsxs)("span",{className:"font-bold",children:[e.first_name," ",e.last_name]}),(0,c.jsx)("span",{className:"text-xs text-slate-500",children:e.date_created?.substring(0,16)})]}),(0,c.jsx)("button",{className:"ml-auto outlined gray pointer-events-none",children:"Edit User"})]})):(0,c.jsx)("span",{children:"No Users for this database yet"})})]})}var g=a(67216),v=a.n(g);let j=u().createContext({});function A({user:e,users:t,database:a}){let s=`${a.db_name} Users | Datasquirel"`,r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:s}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[l,n]=u().useState(null),[i,d]=u().useState(null);return(0,c.jsx)(p.A,{head:r,user:e,children:(0,c.jsxs)(j.Provider,{value:{user:e,users:t,targetUser:i,setTargetUser:d,database:a},children:[(0,c.jsx)(b,{}),(0,c.jsx)(x.A,{targetUser:i,user:e,setTargetUser:d})]})})}async function k({req:e,res:t,query:a}){let s=await h()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let r=await v()(`SELECT * FROM user_users WHERE user_id='${s.id}' AND \`database\`='${a.database}'`),l=await v()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.database}'`);return l&&l[0]?{props:{user:s,users:r,database:l[0]}}:{redirect:{destination:`/admin/${s?.id}/users`,permanent:!1}}}let P=(0,n.M)(s,"default"),N=(0,n.M)(s,"getStaticProps"),_=(0,n.M)(s,"getStaticPaths"),M=(0,n.M)(s,"getServerSideProps"),S=(0,n.M)(s,"config"),w=(0,n.M)(s,"reportWebVitals"),E=(0,n.M)(s,"unstable_getStaticProps"),q=(0,n.M)(s,"unstable_getStaticPaths"),$=(0,n.M)(s,"unstable_getStaticParams"),C=(0,n.M)(s,"unstable_getServerProps"),U=(0,n.M)(s,"unstable_getServerSideProps"),H=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/users/databases/[database]",pathname:"/admin/[user_id]/users/databases/[database]",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:s})},21347:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(8732),r=a(82015),l=a.n(r),n=a(55158),i=a(63715),d=a(32415),c=a(62506);function o({userObject:e,setTargetUser:t,paradigm:a}){let r=a?.match(/invited/)?`${e.inviteeFirstName} ${e.inviteeLastName} (${e.inviteeEmail})`:`${e.first_name} ${e.last_name} (${e.email})`,o=a?.match(/invited/)?`${e.inviteeImage}`:`${e.image_thumbnail}`,[u,p]=l().useState(!1);return(0,s.jsxs)("div",{className:"card no-hover items-center "+(a?.match(/invited/)?" green green-bg":" primary"),children:[u&&(0,s.jsx)(d.A,{}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("img",{src:o,className:"w-8 h-8 rounded-full object-cover bg-slate-200",onError:e=>{e.target.src="/images/user-preset-thumbnail.png"}}),(0,s.jsx)("span",{className:"text-sm font-semibold",children:r}),e?.user_priviledge?.match(/./)&&(0,s.jsxs)("span",{className:"text-sm ml-auto text-slate-900/50",children:["Priviledges:"," ",(0,s.jsx)("span",{className:"text-slate-600 font-semibold",children:e.user_priviledge.split("|").join(" | ")})]}),!a?.match(/invited/)&&(0,s.jsx)(l().Fragment,{children:(0,s.jsxs)(c.A,{children:[(0,s.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:a=>{t(e),setTimeout(()=>{(0,n.PB)("target-user-popup")},200)},children:"Edit User Access"}),(0,s.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:t=>{p(!0),window.confirm("Delete this user")&&(0,i.A)("/api/deleteUserUser",{method:"post",body:{...e}},!0).then(e=>{setTimeout(()=>{p(!1)},500),window.location.reload()})},children:"Delete User"})]})})]})]})}},46437:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732),r=a(23293);function l(){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)(r.A,{})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>i,PB:()=>d,fs:()=>c});var s=a(8732),r=a(58150),l=a(82015),n=a.n(l);function i({children:e,title:t,data:a,fullPage:l,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return l?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":t||null,style:o,children:[u?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,s.jsx)(r.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(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:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({children:e,column:t,className:a}){let r=l().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:r,children:e})}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,4312],()=>a(59950));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var e={};e.id=4397,e.ids=[4397],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}}})},59950:(e,t,a)=>{a.r(t),a.d(t,{config:()=>S,default:()=>P,getServerSideProps:()=>M,getStaticPaths:()=>_,getStaticProps:()=>N,reportWebVitals:()=>w,routeModule:()=>H,unstable_getServerProps:()=>C,unstable_getServerSideProps:()=>U,unstable_getStaticParams:()=>$,unstable_getStaticPaths:()=>q,unstable_getStaticProps:()=>E});var s={};a.r(s),a.d(s,{SingleDatabaseUsersContext:()=>j,default:()=>A,getServerSideProps:()=>k});var r=a(63865),l=a(9455),n=a(30671),i=a(49407),d=a(89600),c=a(8732),o=a(82015),u=a.n(o),p=a(95222),m=a(20048),h=a.n(m),x=a(84312),y=a(58548);a(21347);var f=a(46437);function b(e){let{database:t,users:a,user:s}=u().useContext(j);return(0,c.jsxs)(u().Fragment,{children:[(0,c.jsxs)("div",{className:"flex-col items-start gap-0 w-full",children:[(0,c.jsxs)("div",{className:"w-full justify-between flex-wrap",children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(f.A,{}),(0,c.jsxs)("h1",{className:"text-3xl m-0",children:[t.db_name," Users"]})]}),(0,c.jsxs)("a",{href:`/admin/${s?.id}/users/add-user?db=${t.db_slug}`,className:"flex items-center gap-2 whitespace-normal button",children:[(0,c.jsx)("span",{className:"symbol",children:"+"}),(0,c.jsx)("span",{children:"Add New User"})]})]}),(0,c.jsx)(y.A,{user:s})]}),(0,c.jsx)("div",{className:"paper w-full flex-col items-stretch",children:a&&a[0]?a.map(e=>(0,c.jsxs)("a",{href:`/admin/${s?.id}/users/databases/${t.db_slug}/${e.id}`,className:"w-full flex items-center gap-2 p-4 border border-solid border-slate-200 rounded cursor-pointer hover:border-slate-400 flex-wrap",onClick:e=>{if(e.target.closest("button"))return e.preventDefault()},children:[(0,c.jsx)("img",{src:e.image_thumbnail,alt:"",className:"w-10 h-10 rounded-full object-cover bg-slate-200"}),(0,c.jsxs)("div",{className:"flex-col items-start gap-1",children:[(0,c.jsxs)("span",{className:"font-bold",children:[e.first_name," ",e.last_name]}),(0,c.jsx)("span",{className:"text-xs text-slate-500",children:e.date_created?.substring(0,16)})]}),(0,c.jsx)("button",{className:"ml-auto outlined gray pointer-events-none",children:"Edit User"})]})):(0,c.jsx)("span",{children:"No Users for this database yet"})})]})}var g=a(67216),v=a.n(g);let j=u().createContext({});function A({user:e,users:t,database:a}){let s=`${a.db_name} Users | Datasquirel"`,r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("title",{children:s}),(0,c.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),[l,n]=u().useState(null),[i,d]=u().useState(null);return(0,c.jsx)(j.Provider,{value:{user:e,users:t,targetUser:i,setTargetUser:d,database:a},children:(0,c.jsx)(u().Fragment,{children:(0,c.jsxs)(p.A,{head:r,user:e,children:[(0,c.jsx)(b,{}),(0,c.jsx)(x.A,{targetUser:i,user:e,setTargetUser:d})]})})})}async function k({req:e,res:t,query:a}){let s=await h()(e,t);if(!s?.logged_in_status)return{redirect:{destination:"/logout",permanent:!1}};let r=await v()(`SELECT * FROM user_users WHERE user_id='${s.id}' AND \`database\`='${a.database}'`),l=await v()(`SELECT db_name,db_slug,db_image FROM user_databases WHERE user_id='${s.id}' AND db_slug='${a.database}'`);return l&&l[0]?{props:{user:s,users:r,database:l[0]}}:{redirect:{destination:`/admin/${s?.id}/users`,permanent:!1}}}let P=(0,n.M)(s,"default"),N=(0,n.M)(s,"getStaticProps"),_=(0,n.M)(s,"getStaticPaths"),M=(0,n.M)(s,"getServerSideProps"),S=(0,n.M)(s,"config"),w=(0,n.M)(s,"reportWebVitals"),E=(0,n.M)(s,"unstable_getStaticProps"),q=(0,n.M)(s,"unstable_getStaticPaths"),$=(0,n.M)(s,"unstable_getStaticParams"),C=(0,n.M)(s,"unstable_getServerProps"),U=(0,n.M)(s,"unstable_getServerSideProps"),H=new r.PagesRouteModule({definition:{kind:l.A.PAGES,page:"/admin/[user_id]/users/databases/[database]",pathname:"/admin/[user_id]/users/databases/[database]",bundlePath:"",filename:""},components:{App:d.default,Document:i.default},userland:s})},21347:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(8732),r=a(82015),l=a.n(r),n=a(55158),i=a(63715),d=a(32415),c=a(62506);function o({userObject:e,setTargetUser:t,paradigm:a}){let r=a?.match(/invited/)?`${e.inviteeFirstName} ${e.inviteeLastName} (${e.inviteeEmail})`:`${e.first_name} ${e.last_name} (${e.email})`,o=a?.match(/invited/)?`${e.inviteeImage}`:`${e.image_thumbnail}`,[u,p]=l().useState(!1);return(0,s.jsxs)("div",{className:"card no-hover items-center "+(a?.match(/invited/)?" green green-bg":" primary"),children:[u&&(0,s.jsx)(d.A,{}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("img",{src:o,className:"w-8 h-8 rounded-full object-cover bg-slate-200",onError:e=>{e.target.src="/images/user-preset-thumbnail.png"}}),(0,s.jsx)("span",{className:"text-sm font-semibold",children:r}),e?.user_priviledge?.match(/./)&&(0,s.jsxs)("span",{className:"text-sm ml-auto text-slate-900/50",children:["Priviledges:"," ",(0,s.jsx)("span",{className:"text-slate-600 font-semibold",children:e.user_priviledge.split("|").join(" | ")})]}),!a?.match(/invited/)&&(0,s.jsx)(l().Fragment,{children:(0,s.jsxs)(c.A,{children:[(0,s.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:a=>{t(e),setTimeout(()=>{(0,n.PB)("target-user-popup")},200)},children:"Edit User Access"}),(0,s.jsx)("button",{className:"outlined text-xs px-3 py-1",onClick:t=>{p(!0),window.confirm("Delete this user")&&(0,i.A)("/api/deleteUserUser",{method:"post",body:{...e}},!0).then(e=>{setTimeout(()=>{p(!1)},500),window.location.reload()})},children:"Delete User"})]})})]})]})}},46437:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(8732),r=a(23293);function l(){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)(r.A,{})})}a(82015)},55158:(e,t,a)=>{a.d(t,{Ay:()=>i,PB:()=>d,fs:()=>c});var s=a(8732),r=a(58150),l=a(82015),n=a.n(l);function i({children:e,title:t,data:a,fullPage:l,wrapperClasses:i,closePopupDispatch:d,wrapperStyle:o,noContainer:u}){return l?(0,s.jsxs)("div",{className:"popup-bg overflow-hidden "+(i||""),"data-popupid":t||null,style:o,children:[u?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsx)("div",{className:"relative w-full h-full z-50","data-data":a?JSON.stringify(a):"",children:e}),(0,s.jsx)("button",{className:"popup-cancel-button fixed outlined gray",onClick:e=>{c(),d&&d()},children:(0,s.jsx)(r.A,{color:"white",size:20})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]}):(0,s.jsxs)("div",{className:"popup-bg","data-popupid":t||null,children:[u?(0,s.jsx)(n().Fragment,{children:e}):(0,s.jsxs)("div",{className:"popup-content-container minimal-scrollbars","data-data":a?JSON.stringify(a):"",children:[e,(0,s.jsx)("button",{className:"outlined gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})})]}),u&&(0,s.jsx)("button",{className:"gray popup-cancel-button",onClick:e=>{c(),d&&d()},children:(0,s.jsx)("span",{className:"font-normal",children:"✖"})}),(0,s.jsx)("div",{className:"popup-canceller",onClick:e=>{c(),d&&d()}})]})}function d(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:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({children:e,column:t,className:a}){let r=l().useRef();return(0,s.jsx)("div",{className:"items-stretch gap-0"+(t?" flex-col":" flex-wrap xl:flex-nowrap")+(a?" "+a:""),ref:r,children:e})}},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"}]])},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"}]])},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"}]])},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"}]])},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"}]])},58150:(e,t,a)=>{a.d(t,{A:()=>s});let s=(0,a(82544).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},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")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),s=t.X(0,[883,9821,9600,7070,4312],()=>a(59950));module.exports=s})(); \ No newline at end of file diff --git a/dsql-app/.local_dist/server/pages/blog.html b/dsql-app/.local_dist/server/pages/blog.html index b66775b..b35b9ce 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 28cadbe..b82adc4 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/docs/api-reference.html b/dsql-app/.local_dist/server/pages/docs/api-reference.html index 603fa3d..6e56fed 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 ed721b8..2f8616b 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 425b3f0..2a8b3ad 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 1cc3609..1b7218b 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 56f8021..969908b 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 edef000..31bb239 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 2199aea..e011375 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 7607f25..129a870 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 8b46de7..dfaf9b3 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 dfc9af9..ed558fe 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 63de4e1..2e51056 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/index.html b/dsql-app/.local_dist/server/pages/index.html index 383a7a0..7a96065 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/privacy.html b/dsql-app/.local_dist/server/pages/privacy.html index b819ede..b024637 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 9a2fb80..438b5c1 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/terms.html b/dsql-app/.local_dist/server/pages/terms.html index a4c6d01..4bea594 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/vendor-chunks/lucide-react.js b/dsql-app/.local_dist/server/vendor-chunks/lucide-react.js new file mode 100644 index 0000000..79d0222 --- /dev/null +++ b/dsql-app/.local_dist/server/vendor-chunks/lucide-react.js @@ -0,0 +1,385 @@ +"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/). + */ +exports.id = "vendor-chunks/lucide-react"; +exports.ids = ["vendor-chunks/lucide-react"]; +exports.modules = { + +/***/ "./node_modules/lucide-react/dist/esm/createLucideIcon.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/createLucideIcon.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ createLucideIcon)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"react\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _defaultAttributes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultAttributes.js */ \"./node_modules/lucide-react/dist/esm/defaultAttributes.js\");\n/* harmony import */ var _shared_src_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./shared/src/utils.js */ \"./node_modules/lucide-react/dist/esm/shared/src/utils.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \n\n\nconst createLucideIcon = (iconName, iconNode)=>{\n const Component = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(({ color = \"currentColor\", size = 24, strokeWidth = 2, absoluteStrokeWidth, className = \"\", children, ...rest }, ref)=>{\n return /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(\"svg\", {\n ref,\n ..._defaultAttributes_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n width: size,\n height: size,\n stroke: color,\n strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,\n className: [\n \"lucide\",\n `lucide-${(0,_shared_src_utils_js__WEBPACK_IMPORTED_MODULE_2__.toKebabCase)(iconName)}`,\n className\n ].join(\" \"),\n ...rest\n }, [\n ...iconNode.map(([tag, attrs])=>/*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(tag, attrs)),\n ...Array.isArray(children) ? children : [\n children\n ]\n ]);\n });\n Component.displayName = `${iconName}`;\n return Component;\n};\n //# sourceMappingURL=createLucideIcon.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2NyZWF0ZUx1Y2lkZUljb24uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQXVCTSx1QkFBbUIsR0FBQyxVQUFrQixRQUFtQztJQUM3RSxNQUFNLENBQVksNEVBRWQsRUFDRSxLQUFRLG1CQUNSLElBQU8sT0FDUCxXQUFjLE1BQ2QscUJBQ0EsU0FBWSxPQUNaLFVBQ0EsR0FBRyxRQUVMLEdBQ0c7UUFDSSwyRUFDTCxNQUNBO1lBQ0U7WUFDQSxHQUFHO1lBQ0gsS0FBTztZQUNQLE1BQVE7WUFDUixNQUFRO1lBQ1IsWUFBYSxxQkFDUixRQUFPLEVBQVcsWUFBSSxJQUFNLFVBQU8sQ0FBSSxJQUN4QztZQUNKLFdBQVc7Z0JBQUM7Z0JBQVUsQ0FBVSwyRUFBWSxRQUFRLENBQUMsQ0FBSTtnQkFBQSxTQUFTO2FBQUUsTUFBSyxHQUFHO1lBQzVFLEdBQUc7UUFDTCxHQUNBO2VBQ0ssQ0FBUyxZQUFJLENBQUMsQ0FBQyxDQUFLLEtBQUssS0FBTSxzRUFBYyxHQUFLLE9BQUssQ0FBQztlQUN2RCxLQUFNLFNBQVEsUUFBUSxDQUFJLGNBQVc7Z0JBQUMsUUFBUTthQUFBO1NBQ3BEO0lBRUo7SUFHUSx3QkFBYyxFQUFHLFNBQVE7SUFFNUI7QUFDVCIsInNvdXJjZXMiOlsiL3NyYy9jcmVhdGVMdWNpZGVJY29uLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIGZvcndhcmRSZWYsXG4gIGNyZWF0ZUVsZW1lbnQsXG4gIFJlYWN0U1ZHLFxuICBTVkdQcm9wcyxcbiAgRm9yd2FyZFJlZkV4b3RpY0NvbXBvbmVudCxcbiAgUmVmQXR0cmlidXRlcyxcbn0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IGRlZmF1bHRBdHRyaWJ1dGVzIGZyb20gJy4vZGVmYXVsdEF0dHJpYnV0ZXMnO1xuaW1wb3J0IHsgdG9LZWJhYkNhc2UgfSBmcm9tICdAbHVjaWRlL3NoYXJlZCc7XG5cbmV4cG9ydCB0eXBlIEljb25Ob2RlID0gW2VsZW1lbnROYW1lOiBrZXlvZiBSZWFjdFNWRywgYXR0cnM6IFJlY29yZDxzdHJpbmcsIHN0cmluZz5dW107XG5cbmV4cG9ydCB0eXBlIFNWR0F0dHJpYnV0ZXMgPSBQYXJ0aWFsPFNWR1Byb3BzPFNWR1NWR0VsZW1lbnQ+PjtcbnR5cGUgQ29tcG9uZW50QXR0cmlidXRlcyA9IFJlZkF0dHJpYnV0ZXM8U1ZHU1ZHRWxlbWVudD4gJiBTVkdBdHRyaWJ1dGVzO1xuXG5leHBvcnQgaW50ZXJmYWNlIEx1Y2lkZVByb3BzIGV4dGVuZHMgQ29tcG9uZW50QXR0cmlidXRlcyB7XG4gIHNpemU/OiBzdHJpbmcgfCBudW1iZXI7XG4gIGFic29sdXRlU3Ryb2tlV2lkdGg/OiBib29sZWFuO1xufVxuXG5leHBvcnQgdHlwZSBMdWNpZGVJY29uID0gRm9yd2FyZFJlZkV4b3RpY0NvbXBvbmVudDxMdWNpZGVQcm9wcz47XG5cbmNvbnN0IGNyZWF0ZUx1Y2lkZUljb24gPSAoaWNvbk5hbWU6IHN0cmluZywgaWNvbk5vZGU6IEljb25Ob2RlKTogTHVjaWRlSWNvbiA9PiB7XG4gIGNvbnN0IENvbXBvbmVudCA9IGZvcndhcmRSZWY8U1ZHU1ZHRWxlbWVudCwgTHVjaWRlUHJvcHM+KFxuICAgIChcbiAgICAgIHtcbiAgICAgICAgY29sb3IgPSAnY3VycmVudENvbG9yJyxcbiAgICAgICAgc2l6ZSA9IDI0LFxuICAgICAgICBzdHJva2VXaWR0aCA9IDIsXG4gICAgICAgIGFic29sdXRlU3Ryb2tlV2lkdGgsXG4gICAgICAgIGNsYXNzTmFtZSA9ICcnLFxuICAgICAgICBjaGlsZHJlbixcbiAgICAgICAgLi4ucmVzdFxuICAgICAgfSxcbiAgICAgIHJlZixcbiAgICApID0+IHtcbiAgICAgIHJldHVybiBjcmVhdGVFbGVtZW50KFxuICAgICAgICAnc3ZnJyxcbiAgICAgICAge1xuICAgICAgICAgIHJlZixcbiAgICAgICAgICAuLi5kZWZhdWx0QXR0cmlidXRlcyxcbiAgICAgICAgICB3aWR0aDogc2l6ZSxcbiAgICAgICAgICBoZWlnaHQ6IHNpemUsXG4gICAgICAgICAgc3Ryb2tlOiBjb2xvcixcbiAgICAgICAgICBzdHJva2VXaWR0aDogYWJzb2x1dGVTdHJva2VXaWR0aFxuICAgICAgICAgICAgPyAoTnVtYmVyKHN0cm9rZVdpZHRoKSAqIDI0KSAvIE51bWJlcihzaXplKVxuICAgICAgICAgICAgOiBzdHJva2VXaWR0aCxcbiAgICAgICAgICBjbGFzc05hbWU6IFsnbHVjaWRlJywgYGx1Y2lkZS0ke3RvS2ViYWJDYXNlKGljb25OYW1lKX1gLCBjbGFzc05hbWVdLmpvaW4oJyAnKSxcbiAgICAgICAgICAuLi5yZXN0LFxuICAgICAgICB9LFxuICAgICAgICBbXG4gICAgICAgICAgLi4uaWNvbk5vZGUubWFwKChbdGFnLCBhdHRyc10pID0+IGNyZWF0ZUVsZW1lbnQodGFnLCBhdHRycykpLFxuICAgICAgICAgIC4uLihBcnJheS5pc0FycmF5KGNoaWxkcmVuKSA/IGNoaWxkcmVuIDogW2NoaWxkcmVuXSksXG4gICAgICAgIF0sXG4gICAgICApO1xuICAgIH0sXG4gICk7XG5cbiAgQ29tcG9uZW50LmRpc3BsYXlOYW1lID0gYCR7aWNvbk5hbWV9YDtcblxuICByZXR1cm4gQ29tcG9uZW50O1xufTtcblxuZXhwb3J0IGRlZmF1bHQgY3JlYXRlTHVjaWRlSWNvbjtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/createLucideIcon.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/defaultAttributes.js": +/*!*****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/defaultAttributes.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ defaultAttributes)\n/* harmony export */ });\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ var defaultAttributes = {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: \"currentColor\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n};\n //# sourceMappingURL=defaultAttributes.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2RlZmF1bHRBdHRyaWJ1dGVzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztJQUFBLENBQWU7SUFDYixLQUFPO0lBQ1AsS0FBTztJQUNQLE1BQVE7SUFDUixPQUFTO0lBQ1QsSUFBTTtJQUNOLE1BQVE7SUFDUixXQUFhO0lBQ2IsYUFBZTtJQUNmLGNBQWdCO0FBQ2xCIiwic291cmNlcyI6WyIvc3JjL2RlZmF1bHRBdHRyaWJ1dGVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcbiAgeG1sbnM6ICdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycsXG4gIHdpZHRoOiAyNCxcbiAgaGVpZ2h0OiAyNCxcbiAgdmlld0JveDogJzAgMCAyNCAyNCcsXG4gIGZpbGw6ICdub25lJyxcbiAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgc3Ryb2tlV2lkdGg6IDIsXG4gIHN0cm9rZUxpbmVjYXA6ICdyb3VuZCcsXG4gIHN0cm9rZUxpbmVqb2luOiAncm91bmQnLFxufTtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/defaultAttributes.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/arrow-left.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/arrow-left.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ArrowLeft)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ArrowLeft = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ArrowLeft\", [\n [\n \"path\",\n {\n d: \"m12 19-7-7 7-7\",\n key: \"1l729n\"\n }\n ],\n [\n \"path\",\n {\n d: \"M19 12H5\",\n key: \"x3x0zl\"\n }\n ]\n]);\n //# sourceMappingURL=arrow-left.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2Fycm93LWxlZnQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxrQkFBWSxnRUFBZ0IsQ0FBQyxXQUFhO0lBQzlDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFrQjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDL0M7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVk7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzFDIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2Fycm93LWxlZnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBBcnJvd0xlZnRcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKdE1USWdNVGt0TnkwM0lEY3ROeUlnTHo0S0lDQThjR0YwYUNCa1BTSk5NVGtnTVRKSU5TSWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9hcnJvdy1sZWZ0XG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgQXJyb3dMZWZ0ID0gY3JlYXRlTHVjaWRlSWNvbignQXJyb3dMZWZ0JywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdtMTIgMTktNy03IDctNycsIGtleTogJzFsNzI5bicgfV0sXG4gIFsncGF0aCcsIHsgZDogJ00xOSAxMkg1Jywga2V5OiAneDN4MHpsJyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBBcnJvd0xlZnQ7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/arrow-left.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/blocks.js": +/*!************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/blocks.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Blocks)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Blocks = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Blocks\", [\n [\n \"rect\",\n {\n width: \"7\",\n height: \"7\",\n x: \"14\",\n y: \"3\",\n rx: \"1\",\n key: \"6d4xhi\"\n }\n ],\n [\n \"path\",\n {\n d: \"M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3\",\n key: \"1fpvtg\"\n }\n ]\n]);\n //# sourceMappingURL=blocks.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2Jsb2Nrcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGVBQVMsZ0VBQWdCLENBQUMsUUFBVTtJQUN4QztRQUFDLE9BQVE7UUFBQTtZQUFFLE9BQU87WUFBSyxDQUFRO1lBQUssQ0FBRztZQUFNLEdBQUcsQ0FBSztZQUFBLElBQUksQ0FBSztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDN0U7UUFDRTtRQUNBO1lBQ0UsQ0FBRztZQUNILEdBQUs7UUFDUDtLQUNGO0NBQ0QiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMvYmxvY2tzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgQmxvY2tzXG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjbVZqZENCM2FXUjBhRDBpTnlJZ2FHVnBaMmgwUFNJM0lpQjRQU0l4TkNJZ2VUMGlNeUlnY25nOUlqRWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaVRURXdJREl4VmpoaE1TQXhJREFnTUNBd0xURXRNVWcwWVRFZ01TQXdJREFnTUMweElERjJNVEpoTVNBeElEQWdNQ0F3SURFZ01XZ3hNbUV4SURFZ01DQXdJREFnTVMweGRpMDFZVEVnTVNBd0lEQWdNQzB4TFRGSU15SWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9ibG9ja3NcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBCbG9ja3MgPSBjcmVhdGVMdWNpZGVJY29uKCdCbG9ja3MnLCBbXG4gIFsncmVjdCcsIHsgd2lkdGg6ICc3JywgaGVpZ2h0OiAnNycsIHg6ICcxNCcsIHk6ICczJywgcng6ICcxJywga2V5OiAnNmQ0eGhpJyB9XSxcbiAgW1xuICAgICdwYXRoJyxcbiAgICB7XG4gICAgICBkOiAnTTEwIDIxVjhhMSAxIDAgMCAwLTEtMUg0YTEgMSAwIDAgMC0xIDF2MTJhMSAxIDAgMCAwIDEgMWgxMmExIDEgMCAwIDAgMS0xdi01YTEgMSAwIDAgMC0xLTFIMycsXG4gICAgICBrZXk6ICcxZnB2dGcnLFxuICAgIH0sXG4gIF0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgQmxvY2tzO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/blocks.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/book-text.js": +/*!***************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/book-text.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ BookText)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst BookText = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"BookText\", [\n [\n \"path\",\n {\n d: \"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20\",\n key: \"t4utmx\"\n }\n ],\n [\n \"path\",\n {\n d: \"M8 7h6\",\n key: \"1f0q6e\"\n }\n ],\n [\n \"path\",\n {\n d: \"M8 11h8\",\n key: \"vwpz6n\"\n }\n ]\n]);\n //# sourceMappingURL=book-text.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2Jvb2stdGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGlCQUFXLGdFQUFnQixDQUFDLFVBQVk7SUFDNUM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWtFO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMvRjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBVTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDdkM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVc7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3pDIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2Jvb2stdGV4dC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIEJvb2tUZXh0XG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjR0YwYUNCa1BTSk5OQ0F4T1M0MWRpMHhOVUV5TGpVZ01pNDFJREFnTUNBeElEWXVOU0F5U0RJd2RqSXdTRFl1TldFeUxqVWdNaTQxSURBZ01DQXhJREF0TlVneU1DSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk9DQTNhRFlpSUM4K0NpQWdQSEJoZEdnZ1pEMGlUVGdnTVRGb09DSWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9ib29rLXRleHRcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBCb29rVGV4dCA9IGNyZWF0ZUx1Y2lkZUljb24oJ0Jvb2tUZXh0JywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdNNCAxOS41di0xNUEyLjUgMi41IDAgMCAxIDYuNSAySDIwdjIwSDYuNWEyLjUgMi41IDAgMCAxIDAtNUgyMCcsIGtleTogJ3Q0dXRteCcgfV0sXG4gIFsncGF0aCcsIHsgZDogJ004IDdoNicsIGtleTogJzFmMHE2ZScgfV0sXG4gIFsncGF0aCcsIHsgZDogJ004IDExaDgnLCBrZXk6ICd2d3B6Nm4nIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IEJvb2tUZXh0O1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/book-text.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/chevron-down.js": +/*!******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/chevron-down.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ChevronDown)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ChevronDown = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ChevronDown\", [\n [\n \"path\",\n {\n d: \"m6 9 6 6 6-6\",\n key: \"qrunsl\"\n }\n ]\n]);\n //# sourceMappingURL=chevron-down.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NoZXZyb24tZG93bi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLG9CQUFjLGdFQUFnQixDQUFDLGFBQWU7SUFDbEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWdCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUM5QyIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9jaGV2cm9uLWRvd24udHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDaGV2cm9uRG93blxuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0p0TmlBNUlEWWdOaUEyTFRZaUlDOCtDand2YzNablBnbz0pIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2NoZXZyb24tZG93blxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IENoZXZyb25Eb3duID0gY3JlYXRlTHVjaWRlSWNvbignQ2hldnJvbkRvd24nLCBbXG4gIFsncGF0aCcsIHsgZDogJ202IDkgNiA2IDYtNicsIGtleTogJ3FydW5zbCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgQ2hldnJvbkRvd247XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/chevron-down.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/chevron-left.js": +/*!******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/chevron-left.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ChevronLeft)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ChevronLeft = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ChevronLeft\", [\n [\n \"path\",\n {\n d: \"m15 18-6-6 6-6\",\n key: \"1wnfg3\"\n }\n ]\n]);\n //# sourceMappingURL=chevron-left.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NoZXZyb24tbGVmdC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLG9CQUFjLGdFQUFnQixDQUFDLGFBQWU7SUFDbEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWtCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUNoRCIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9jaGV2cm9uLWxlZnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDaGV2cm9uTGVmdFxuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0p0TVRVZ01UZ3ROaTAySURZdE5pSWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9jaGV2cm9uLWxlZnRcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBDaGV2cm9uTGVmdCA9IGNyZWF0ZUx1Y2lkZUljb24oJ0NoZXZyb25MZWZ0JywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdtMTUgMTgtNi02IDYtNicsIGtleTogJzF3bmZnMycgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgQ2hldnJvbkxlZnQ7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/chevron-left.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/chevron-right.js": +/*!*******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/chevron-right.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ChevronRight)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ChevronRight = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ChevronRight\", [\n [\n \"path\",\n {\n d: \"m9 18 6-6-6-6\",\n key: \"mthhwq\"\n }\n ]\n]);\n //# sourceMappingURL=chevron-right.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NoZXZyb24tcmlnaHQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxxQkFBZSxnRUFBZ0IsQ0FBQyxjQUFnQjtJQUNwRDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBaUI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQy9DIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2NoZXZyb24tcmlnaHQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDaGV2cm9uUmlnaHRcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKdE9TQXhPQ0EyTFRZdE5pMDJJaUF2UGdvOEwzTjJaejRLKSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9jaGV2cm9uLXJpZ2h0XG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgQ2hldnJvblJpZ2h0ID0gY3JlYXRlTHVjaWRlSWNvbignQ2hldnJvblJpZ2h0JywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdtOSAxOCA2LTYtNi02Jywga2V5OiAnbXRoaHdxJyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBDaGV2cm9uUmlnaHQ7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/chevron-right.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/chevron-up.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/chevron-up.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ChevronUp)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ChevronUp = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ChevronUp\", [\n [\n \"path\",\n {\n d: \"m18 15-6-6-6 6\",\n key: \"153udz\"\n }\n ]\n]);\n //# sourceMappingURL=chevron-up.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NoZXZyb24tdXAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhQSxDQUFNLGNBQVksb0VBQWlCLFdBQWE7SUFBQztRQUFDO1FBQVE7WUFBRSxHQUFHLGdCQUFrQjtZQUFBLEtBQUssQ0FBUztRQUFBLENBQUM7S0FBQztDQUFDIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2NoZXZyb24tdXAudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDaGV2cm9uVXBcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKdE1UZ2dNVFV0TmkwMkxUWWdOaUlnTHo0S1BDOXpkbWMrQ2c9PSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvY2hldnJvbi11cFxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IENoZXZyb25VcCA9IGNyZWF0ZUx1Y2lkZUljb24oJ0NoZXZyb25VcCcsIFtbJ3BhdGgnLCB7IGQ6ICdtMTggMTUtNi02LTYgNicsIGtleTogJzE1M3VkeicgfV1dKTtcblxuZXhwb3J0IGRlZmF1bHQgQ2hldnJvblVwO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/chevron-up.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/circle-gauge.js": +/*!******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/circle-gauge.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ CircleGauge)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst CircleGauge = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"CircleGauge\", [\n [\n \"path\",\n {\n d: \"M15.6 2.7a10 10 0 1 0 5.7 5.7\",\n key: \"1e0p6d\"\n }\n ],\n [\n \"circle\",\n {\n cx: \"12\",\n cy: \"12\",\n r: \"2\",\n key: \"1c9p78\"\n }\n ],\n [\n \"path\",\n {\n d: \"M13.4 10.6 19 5\",\n key: \"1kr7tw\"\n }\n ]\n]);\n //# sourceMappingURL=circle-gauge.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NpcmNsZS1nYXVnZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLG9CQUFjLGdFQUFnQixDQUFDLGFBQWU7SUFDbEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWlDO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUM5RDtRQUFDLFFBQVU7UUFBQTtZQUFFLEVBQUk7WUFBTSxDQUFJLFFBQU07WUFBQSxDQUFHO1lBQUssR0FBSztRQUFBLENBQVU7S0FBQTtJQUN4RDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBbUI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ2pEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2NpcmNsZS1nYXVnZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIENpcmNsZUdhdWdlXG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjR0YwYUNCa1BTSk5NVFV1TmlBeUxqZGhNVEFnTVRBZ01DQXhJREFnTlM0M0lEVXVOeUlnTHo0S0lDQThZMmx5WTJ4bElHTjRQU0l4TWlJZ1kzazlJakV5SWlCeVBTSXlJaUF2UGdvZ0lEeHdZWFJvSUdROUlrMHhNeTQwSURFd0xqWWdNVGtnTlNJZ0x6NEtQQzl6ZG1jK0NnPT0pIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2NpcmNsZS1nYXVnZVxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IENpcmNsZUdhdWdlID0gY3JlYXRlTHVjaWRlSWNvbignQ2lyY2xlR2F1Z2UnLCBbXG4gIFsncGF0aCcsIHsgZDogJ00xNS42IDIuN2ExMCAxMCAwIDEgMCA1LjcgNS43Jywga2V5OiAnMWUwcDZkJyB9XSxcbiAgWydjaXJjbGUnLCB7IGN4OiAnMTInLCBjeTogJzEyJywgcjogJzInLCBrZXk6ICcxYzlwNzgnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTMuNCAxMC42IDE5IDUnLCBrZXk6ICcxa3I3dHcnIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IENpcmNsZUdhdWdlO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/circle-gauge.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/copy-check.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/copy-check.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ CopyCheck)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst CopyCheck = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"CopyCheck\", [\n [\n \"path\",\n {\n d: \"m12 15 2 2 4-4\",\n key: \"2c609p\"\n }\n ],\n [\n \"rect\",\n {\n width: \"14\",\n height: \"14\",\n x: \"8\",\n y: \"8\",\n rx: \"2\",\n ry: \"2\",\n key: \"17jyea\"\n }\n ],\n [\n \"path\",\n {\n d: \"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\",\n key: \"zix9uf\"\n }\n ]\n]);\n //# sourceMappingURL=copy-check.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NvcHktY2hlY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxrQkFBWSxnRUFBZ0IsQ0FBQyxXQUFhO0lBQzlDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFrQjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDL0M7UUFBQyxNQUFRO1FBQUE7WUFBRSxLQUFPLE9BQU07WUFBQSxPQUFRLEtBQU07WUFBQSxHQUFHLENBQUs7WUFBQSxHQUFHO1lBQUssQ0FBSSxPQUFLO1lBQUEsR0FBSSxJQUFLO1lBQUEsSUFBSztRQUFBLENBQVU7S0FBQTtJQUN2RjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBMkQ7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3pGIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2NvcHktY2hlY2sudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDb3B5Q2hlY2tcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKdE1USWdNVFVnTWlBeUlEUXROQ0lnTHo0S0lDQThjbVZqZENCM2FXUjBhRDBpTVRRaUlHaGxhV2RvZEQwaU1UUWlJSGc5SWpnaUlIazlJamdpSUhKNFBTSXlJaUJ5ZVQwaU1pSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk5DQXhObU10TVM0eElEQXRNaTB1T1MweUxUSldOR013TFRFdU1TNDVMVElnTWkweWFERXdZekV1TVNBd0lESWdMamtnTWlBeUlpQXZQZ284TDNOMlp6NEspIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2NvcHktY2hlY2tcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBDb3B5Q2hlY2sgPSBjcmVhdGVMdWNpZGVJY29uKCdDb3B5Q2hlY2snLCBbXG4gIFsncGF0aCcsIHsgZDogJ20xMiAxNSAyIDIgNC00Jywga2V5OiAnMmM2MDlwJyB9XSxcbiAgWydyZWN0JywgeyB3aWR0aDogJzE0JywgaGVpZ2h0OiAnMTQnLCB4OiAnOCcsIHk6ICc4Jywgcng6ICcyJywgcnk6ICcyJywga2V5OiAnMTdqeWVhJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTQgMTZjLTEuMSAwLTItLjktMi0yVjRjMC0xLjEuOS0yIDItMmgxMGMxLjEgMCAyIC45IDIgMicsIGtleTogJ3ppeDl1ZicgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgQ29weUNoZWNrO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/copy-check.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/copy.js": +/*!**********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/copy.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Copy)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Copy = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Copy\", [\n [\n \"rect\",\n {\n width: \"14\",\n height: \"14\",\n x: \"8\",\n y: \"8\",\n rx: \"2\",\n ry: \"2\",\n key: \"17jyea\"\n }\n ],\n [\n \"path\",\n {\n d: \"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\",\n key: \"zix9uf\"\n }\n ]\n]);\n //# sourceMappingURL=copy.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2NvcHkuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxhQUFPLGdFQUFnQixDQUFDLE1BQVE7SUFDcEM7UUFBQyxNQUFRO1FBQUE7WUFBRSxLQUFPLE9BQU07WUFBQSxPQUFRLEtBQU07WUFBQSxHQUFHLENBQUs7WUFBQSxHQUFHO1lBQUssQ0FBSSxPQUFLO1lBQUEsR0FBSSxJQUFLO1lBQUEsSUFBSztRQUFBLENBQVU7S0FBQTtJQUN2RjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBMkQ7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3pGIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2NvcHkudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBDb3B5XG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjbVZqZENCM2FXUjBhRDBpTVRRaUlHaGxhV2RvZEQwaU1UUWlJSGc5SWpnaUlIazlJamdpSUhKNFBTSXlJaUJ5ZVQwaU1pSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk5DQXhObU10TVM0eElEQXRNaTB1T1MweUxUSldOR013TFRFdU1TNDVMVElnTWkweWFERXdZekV1TVNBd0lESWdMamtnTWlBeUlpQXZQZ284TDNOMlp6NEspIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2NvcHlcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBDb3B5ID0gY3JlYXRlTHVjaWRlSWNvbignQ29weScsIFtcbiAgWydyZWN0JywgeyB3aWR0aDogJzE0JywgaGVpZ2h0OiAnMTQnLCB4OiAnOCcsIHk6ICc4Jywgcng6ICcyJywgcnk6ICcyJywga2V5OiAnMTdqeWVhJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTQgMTZjLTEuMSAwLTItLjktMi0yVjRjMC0xLjEuOS0yIDItMmgxMGMxLjEgMCAyIC45IDIgMicsIGtleTogJ3ppeDl1ZicgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgQ29weTtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/copy.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/database.js": +/*!**************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/database.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Database)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Database = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Database\", [\n [\n \"ellipse\",\n {\n cx: \"12\",\n cy: \"5\",\n rx: \"9\",\n ry: \"3\",\n key: \"msslwz\"\n }\n ],\n [\n \"path\",\n {\n d: \"M3 5V19A9 3 0 0 0 21 19V5\",\n key: \"1wlel7\"\n }\n ],\n [\n \"path\",\n {\n d: \"M3 12A9 3 0 0 0 21 12\",\n key: \"mv7ke4\"\n }\n ]\n]);\n //# sourceMappingURL=database.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2RhdGFiYXNlLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0saUJBQVcsZ0VBQWdCLENBQUMsVUFBWTtJQUM1QztRQUFDO1FBQVcsQ0FBRTtZQUFBLElBQUksQ0FBTTtZQUFBLElBQUksQ0FBSztZQUFBLEdBQUksSUFBSztZQUFBLEdBQUksSUFBSztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDbEU7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQTZCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMxRDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBeUI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3ZEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2RhdGFiYXNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgRGF0YWJhc2VcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOFpXeHNhWEJ6WlNCamVEMGlNVElpSUdONVBTSTFJaUJ5ZUQwaU9TSWdjbms5SWpNaUlDOCtDaUFnUEhCaGRHZ2daRDBpVFRNZ05WWXhPVUU1SURNZ01DQXdJREFnTWpFZ01UbFdOU0lnTHo0S0lDQThjR0YwYUNCa1BTSk5NeUF4TWtFNUlETWdNQ0F3SURBZ01qRWdNVElpSUM4K0Nqd3ZjM1puUGdvPSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvZGF0YWJhc2VcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBEYXRhYmFzZSA9IGNyZWF0ZUx1Y2lkZUljb24oJ0RhdGFiYXNlJywgW1xuICBbJ2VsbGlwc2UnLCB7IGN4OiAnMTInLCBjeTogJzUnLCByeDogJzknLCByeTogJzMnLCBrZXk6ICdtc3Nsd3onIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMyA1VjE5QTkgMyAwIDAgMCAyMSAxOVY1Jywga2V5OiAnMXdsZWw3JyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTMgMTJBOSAzIDAgMCAwIDIxIDEyJywga2V5OiAnbXY3a2U0JyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBEYXRhYmFzZTtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/database.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/earth-lock.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/earth-lock.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EarthLock)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst EarthLock = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"EarthLock\", [\n [\n \"path\",\n {\n d: \"M7 3.34V5a3 3 0 0 0 3 3\",\n key: \"w732o8\"\n }\n ],\n [\n \"path\",\n {\n d: \"M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05\",\n key: \"f02343\"\n }\n ],\n [\n \"path\",\n {\n d: \"M21.54 15H17a2 2 0 0 0-2 2v4.54\",\n key: \"1djwo0\"\n }\n ],\n [\n \"path\",\n {\n d: \"M12 2a10 10 0 1 0 9.54 13\",\n key: \"zjsr6q\"\n }\n ],\n [\n \"path\",\n {\n d: \"M20 6V4a2 2 0 1 0-4 0v2\",\n key: \"1of5e8\"\n }\n ],\n [\n \"rect\",\n {\n width: \"8\",\n height: \"5\",\n x: \"14\",\n y: \"6\",\n rx: \"1\",\n key: \"1fmf51\"\n }\n ]\n]);\n //# sourceMappingURL=earth-lock.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2VhcnRoLWxvY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxrQkFBWSxnRUFBZ0IsQ0FBQyxXQUFhO0lBQzlDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUEyQjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDeEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWtFO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMvRjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBbUM7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ2hFO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUE2QjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDMUQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQTJCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUN4RDtRQUFDLE9BQVE7UUFBQTtZQUFFLE9BQU87WUFBSyxDQUFRO1lBQUssQ0FBRztZQUFNLEdBQUcsQ0FBSztZQUFBLElBQUksQ0FBSztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7Q0FDOUUiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMvZWFydGgtbG9jay50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIEVhcnRoTG9ja1xuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0pOTnlBekxqTTBWalZoTXlBeklEQWdNQ0F3SURNZ015SWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1URWdNakV1T1RWV01UaGhNaUF5SURBZ01DQXdMVEl0TWlBeUlESWdNQ0F3SURFdE1pMHlkaTB4WVRJZ01pQXdJREFnTUMweUxUSklNaTR3TlNJZ0x6NEtJQ0E4Y0dGMGFDQmtQU0pOTWpFdU5UUWdNVFZJTVRkaE1pQXlJREFnTUNBd0xUSWdNblkwTGpVMElpQXZQZ29nSUR4d1lYUm9JR1E5SWsweE1pQXlZVEV3SURFd0lEQWdNU0F3SURrdU5UUWdNVE1pSUM4K0NpQWdQSEJoZEdnZ1pEMGlUVEl3SURaV05HRXlJRElnTUNBeElEQXROQ0F3ZGpJaUlDOCtDaUFnUEhKbFkzUWdkMmxrZEdnOUlqZ2lJR2hsYVdkb2REMGlOU0lnZUQwaU1UUWlJSGs5SWpZaUlISjRQU0l4SWlBdlBnbzhMM04yWno0SykgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvZWFydGgtbG9ja1xuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IEVhcnRoTG9jayA9IGNyZWF0ZUx1Y2lkZUljb24oJ0VhcnRoTG9jaycsIFtcbiAgWydwYXRoJywgeyBkOiAnTTcgMy4zNFY1YTMgMyAwIDAgMCAzIDMnLCBrZXk6ICd3NzMybzgnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTEgMjEuOTVWMThhMiAyIDAgMCAwLTItMiAyIDIgMCAwIDEtMi0ydi0xYTIgMiAwIDAgMC0yLTJIMi4wNScsIGtleTogJ2YwMjM0MycgfV0sXG4gIFsncGF0aCcsIHsgZDogJ00yMS41NCAxNUgxN2EyIDIgMCAwIDAtMiAydjQuNTQnLCBrZXk6ICcxZGp3bzAnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTIgMmExMCAxMCAwIDEgMCA5LjU0IDEzJywga2V5OiAnempzcjZxJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTIwIDZWNGEyIDIgMCAxIDAtNCAwdjInLCBrZXk6ICcxb2Y1ZTgnIH1dLFxuICBbJ3JlY3QnLCB7IHdpZHRoOiAnOCcsIGhlaWdodDogJzUnLCB4OiAnMTQnLCB5OiAnNicsIHJ4OiAnMScsIGtleTogJzFmbWY1MScgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgRWFydGhMb2NrO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/earth-lock.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/file-key-2.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/file-key-2.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FileKey2)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst FileKey2 = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"FileKey2\", [\n [\n \"path\",\n {\n d: \"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v6\",\n key: \"rc0qvx\"\n }\n ],\n [\n \"path\",\n {\n d: \"M14 2v4a2 2 0 0 0 2 2h4\",\n key: \"tnqrlb\"\n }\n ],\n [\n \"circle\",\n {\n cx: \"4\",\n cy: \"16\",\n r: \"2\",\n key: \"1ehqvc\"\n }\n ],\n [\n \"path\",\n {\n d: \"m10 10-4.5 4.5\",\n key: \"7fwrp6\"\n }\n ],\n [\n \"path\",\n {\n d: \"m9 11 1 1\",\n key: \"wa6s5q\"\n }\n ]\n]);\n //# sourceMappingURL=file-key-2.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ZpbGUta2V5LTIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxpQkFBVyxnRUFBZ0IsQ0FBQyxVQUFZO0lBQzVDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFtRDtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDaEY7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQTJCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUN4RDtRQUFDLFFBQVU7UUFBQTtZQUFFLEVBQUk7WUFBSyxDQUFJLFFBQU07WUFBQSxDQUFHO1lBQUssR0FBSztRQUFBLENBQVU7S0FBQTtJQUN2RDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBa0I7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQy9DO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFhO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUMzQyIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9maWxlLWtleS0yLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgRmlsZUtleTJcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk5DQXlNbWd4TkdFeUlESWdNQ0F3SURBZ01pMHlWamRzTFRVdE5VZzJZVElnTWlBd0lEQWdNQzB5SURKMk5pSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1UUWdNblkwWVRJZ01pQXdJREFnTUNBeUlESm9OQ0lnTHo0S0lDQThZMmx5WTJ4bElHTjRQU0kwSWlCamVUMGlNVFlpSUhJOUlqSWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaWJURXdJREV3TFRRdU5TQTBMalVpSUM4K0NpQWdQSEJoZEdnZ1pEMGliVGtnTVRFZ01TQXhJaUF2UGdvOEwzTjJaejRLKSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9maWxlLWtleS0yXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgRmlsZUtleTIgPSBjcmVhdGVMdWNpZGVJY29uKCdGaWxlS2V5MicsIFtcbiAgWydwYXRoJywgeyBkOiAnTTQgMjJoMTRhMiAyIDAgMCAwIDItMlY3bC01LTVINmEyIDIgMCAwIDAtMiAydjYnLCBrZXk6ICdyYzBxdngnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTQgMnY0YTIgMiAwIDAgMCAyIDJoNCcsIGtleTogJ3RucXJsYicgfV0sXG4gIFsnY2lyY2xlJywgeyBjeDogJzQnLCBjeTogJzE2JywgcjogJzInLCBrZXk6ICcxZWhxdmMnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdtMTAgMTAtNC41IDQuNScsIGtleTogJzdmd3JwNicgfV0sXG4gIFsncGF0aCcsIHsgZDogJ205IDExIDEgMScsIGtleTogJ3dhNnM1cScgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgRmlsZUtleTI7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/file-key-2.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/file-video-2.js": +/*!******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/file-video-2.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FileVideo2)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst FileVideo2 = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"FileVideo2\", [\n [\n \"path\",\n {\n d: \"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\",\n key: \"1pf5j1\"\n }\n ],\n [\n \"path\",\n {\n d: \"M14 2v4a2 2 0 0 0 2 2h4\",\n key: \"tnqrlb\"\n }\n ],\n [\n \"rect\",\n {\n width: \"8\",\n height: \"6\",\n x: \"2\",\n y: \"12\",\n rx: \"1\",\n key: \"1a6c1e\"\n }\n ],\n [\n \"path\",\n {\n d: \"m10 15.5 4 2.5v-6l-4 2.5\",\n key: \"t7cp39\"\n }\n ]\n]);\n //# sourceMappingURL=file-video-2.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ZpbGUtdmlkZW8tMi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLG1CQUFhLGdFQUFnQixDQUFDLFlBQWM7SUFDaEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQW1EO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUNoRjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBMkI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3hEO1FBQUMsT0FBUTtRQUFBO1lBQUUsT0FBTztZQUFLLENBQVE7WUFBSyxDQUFHO1lBQUssR0FBRyxDQUFNO1lBQUEsSUFBSSxDQUFLO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUM3RTtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBNEI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzFEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2ZpbGUtdmlkZW8tMi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIEZpbGVWaWRlbzJcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk5DQXlNbWd4TkdFeUlESWdNQ0F3SURBZ01pMHlWamRzTFRVdE5VZzJZVElnTWlBd0lEQWdNQzB5SURKMk5DSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1UUWdNblkwWVRJZ01pQXdJREFnTUNBeUlESm9OQ0lnTHo0S0lDQThjbVZqZENCM2FXUjBhRDBpT0NJZ2FHVnBaMmgwUFNJMklpQjRQU0l5SWlCNVBTSXhNaUlnY25nOUlqRWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaWJURXdJREUxTGpVZ05DQXlMalYyTFRac0xUUWdNaTQxSWlBdlBnbzhMM04yWno0SykgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvZmlsZS12aWRlby0yXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgRmlsZVZpZGVvMiA9IGNyZWF0ZUx1Y2lkZUljb24oJ0ZpbGVWaWRlbzInLCBbXG4gIFsncGF0aCcsIHsgZDogJ000IDIyaDE0YTIgMiAwIDAgMCAyLTJWN2wtNS01SDZhMiAyIDAgMCAwLTIgMnY0Jywga2V5OiAnMXBmNWoxJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTE0IDJ2NGEyIDIgMCAwIDAgMiAyaDQnLCBrZXk6ICd0bnFybGInIH1dLFxuICBbJ3JlY3QnLCB7IHdpZHRoOiAnOCcsIGhlaWdodDogJzYnLCB4OiAnMicsIHk6ICcxMicsIHJ4OiAnMScsIGtleTogJzFhNmMxZScgfV0sXG4gIFsncGF0aCcsIHsgZDogJ20xMCAxNS41IDQgMi41di02bC00IDIuNScsIGtleTogJ3Q3Y3AzOScgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgRmlsZVZpZGVvMjtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/file-video-2.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/files.js": +/*!***********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/files.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Files)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Files = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Files\", [\n [\n \"path\",\n {\n d: \"M20 7h-3a2 2 0 0 1-2-2V2\",\n key: \"x099mo\"\n }\n ],\n [\n \"path\",\n {\n d: \"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z\",\n key: \"18t6ie\"\n }\n ],\n [\n \"path\",\n {\n d: \"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8\",\n key: \"1nja0z\"\n }\n ]\n]);\n //# sourceMappingURL=files.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ZpbGVzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0sY0FBUSxnRUFBZ0IsQ0FBQyxPQUFTO0lBQ3RDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUE0QjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDekQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQStEO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUM1RjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBd0M7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3RFIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2ZpbGVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgRmlsZXNcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk1qQWdOMmd0TTJFeUlESWdNQ0F3SURFdE1pMHlWaklpSUM4K0NpQWdQSEJoZEdnZ1pEMGlUVGtnTVRoaE1pQXlJREFnTUNBeExUSXRNbFkwWVRJZ01pQXdJREFnTVNBeUxUSm9OMncwSURSMk1UQmhNaUF5SURBZ01DQXhMVElnTWxvaUlDOCtDaUFnUEhCaGRHZ2daRDBpVFRNZ055NDJkakV5TGpoQk1TNDJJREV1TmlBd0lEQWdNQ0EwTGpZZ01qSm9PUzQ0SWlBdlBnbzhMM04yWno0SykgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvZmlsZXNcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBGaWxlcyA9IGNyZWF0ZUx1Y2lkZUljb24oJ0ZpbGVzJywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdNMjAgN2gtM2EyIDIgMCAwIDEtMi0yVjInLCBrZXk6ICd4MDk5bW8nIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNOSAxOGEyIDIgMCAwIDEtMi0yVjRhMiAyIDAgMCAxIDItMmg3bDQgNHYxMGEyIDIgMCAwIDEtMiAyWicsIGtleTogJzE4dDZpZScgfV0sXG4gIFsncGF0aCcsIHsgZDogJ00zIDcuNnYxMi44QTEuNiAxLjYgMCAwIDAgNC42IDIyaDkuOCcsIGtleTogJzFuamEweicgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgRmlsZXM7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/files.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/folder-output.js": +/*!*******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/folder-output.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FolderOutput)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst FolderOutput = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"FolderOutput\", [\n [\n \"path\",\n {\n 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\",\n key: \"1yk7aj\"\n }\n ],\n [\n \"path\",\n {\n d: \"M2 13h10\",\n key: \"pgb2dq\"\n }\n ],\n [\n \"path\",\n {\n d: \"m5 10-3 3 3 3\",\n key: \"1r8ie0\"\n }\n ]\n]);\n //# sourceMappingURL=folder-output.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ZvbGRlci1vdXRwdXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxxQkFBZSxnRUFBZ0IsQ0FBQyxjQUFnQjtJQUNwRDtRQUNFO1FBQ0E7WUFDRSxDQUFHO1lBQ0gsR0FBSztRQUNQO0tBQ0Y7SUFDQTtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBWTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDekM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWlCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUMvQyIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9mb2xkZXItb3V0cHV0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgRm9sZGVyT3V0cHV0XG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjR0YwYUNCa1BTSk5NaUEzTGpWV05XRXlJRElnTUNBd0lERWdNaTB5YURNdU9XRXlJRElnTUNBd0lERWdNUzQyT1M0NWJDNDRNU0F4TGpKaE1pQXlJREFnTUNBd0lERXVOamN1T1VneU1HRXlJRElnTUNBd0lERWdNaUF5ZGpFd1lUSWdNaUF3SURBZ01TMHlJREpJTkdFeUlESWdNQ0F3SURFdE1pMHhMalVpSUM4K0NpQWdQSEJoZEdnZ1pEMGlUVElnTVROb01UQWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaWJUVWdNVEF0TXlBeklETWdNeUlnTHo0S1BDOXpkbWMrQ2c9PSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvZm9sZGVyLW91dHB1dFxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IEZvbGRlck91dHB1dCA9IGNyZWF0ZUx1Y2lkZUljb24oJ0ZvbGRlck91dHB1dCcsIFtcbiAgW1xuICAgICdwYXRoJyxcbiAgICB7XG4gICAgICBkOiAnTTIgNy41VjVhMiAyIDAgMCAxIDItMmgzLjlhMiAyIDAgMCAxIDEuNjkuOWwuODEgMS4yYTIgMiAwIDAgMCAxLjY3LjlIMjBhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDRhMiAyIDAgMCAxLTItMS41JyxcbiAgICAgIGtleTogJzF5azdhaicsXG4gICAgfSxcbiAgXSxcbiAgWydwYXRoJywgeyBkOiAnTTIgMTNoMTAnLCBrZXk6ICdwZ2IyZHEnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdtNSAxMC0zIDMgMyAzJywga2V5OiAnMXI4aWUwJyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBGb2xkZXJPdXRwdXQ7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/folder-output.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/folder.js": +/*!************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/folder.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Folder)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Folder = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Folder\", [\n [\n \"path\",\n {\n d: \"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\",\n key: \"1kt360\"\n }\n ]\n]);\n //# sourceMappingURL=folder.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ZvbGRlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGVBQVMsZ0VBQWdCLENBQUMsUUFBVTtJQUN4QztRQUNFO1FBQ0E7WUFDRSxDQUFHO1lBQ0gsR0FBSztRQUNQO0tBQ0Y7Q0FDRCIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9mb2xkZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBGb2xkZXJcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk1qQWdNakJoTWlBeUlEQWdNQ0F3SURJdE1sWTRZVElnTWlBd0lEQWdNQzB5TFRKb0xUY3VPV0V5SURJZ01DQXdJREV0TVM0Mk9TMHVPVXc1TGpZZ015NDVRVElnTWlBd0lEQWdNQ0EzTGpreklETklOR0V5SURJZ01DQXdJREF0TWlBeWRqRXpZVElnTWlBd0lEQWdNQ0F5SURKYUlpQXZQZ284TDNOMlp6NEspIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2ZvbGRlclxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IEZvbGRlciA9IGNyZWF0ZUx1Y2lkZUljb24oJ0ZvbGRlcicsIFtcbiAgW1xuICAgICdwYXRoJyxcbiAgICB7XG4gICAgICBkOiAnTTIwIDIwYTIgMiAwIDAgMCAyLTJWOGEyIDIgMCAwIDAtMi0yaC03LjlhMiAyIDAgMCAxLTEuNjktLjlMOS42IDMuOUEyIDIgMCAwIDAgNy45MyAzSDRhMiAyIDAgMCAwLTIgMnYxM2EyIDIgMCAwIDAgMiAyWicsXG4gICAgICBrZXk6ICcxa3QzNjAnLFxuICAgIH0sXG4gIF0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgRm9sZGVyO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/folder.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/globe.js": +/*!***********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/globe.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Globe)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Globe = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Globe\", [\n [\n \"circle\",\n {\n cx: \"12\",\n cy: \"12\",\n r: \"10\",\n key: \"1mglay\"\n }\n ],\n [\n \"path\",\n {\n d: \"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\",\n key: \"13o1zl\"\n }\n ],\n [\n \"path\",\n {\n d: \"M2 12h20\",\n key: \"9i4pu4\"\n }\n ]\n]);\n //# sourceMappingURL=globe.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2dsb2JlLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0sY0FBUSxnRUFBZ0IsQ0FBQyxPQUFTO0lBQ3RDO1FBQUMsUUFBVTtRQUFBO1lBQUUsRUFBSTtZQUFNLENBQUksUUFBTTtZQUFBLENBQUc7WUFBTSxHQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3pEO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFtRDtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDaEY7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVk7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzFDIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2dsb2JlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgR2xvYmVcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOFkybHlZMnhsSUdONFBTSXhNaUlnWTNrOUlqRXlJaUJ5UFNJeE1DSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1USWdNbUV4TkM0MUlERTBMalVnTUNBd0lEQWdNQ0F5TUNBeE5DNDFJREUwTGpVZ01DQXdJREFnTUMweU1DSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1pQXhNbWd5TUNJZ0x6NEtQQzl6ZG1jK0NnPT0pIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2dsb2JlXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgR2xvYmUgPSBjcmVhdGVMdWNpZGVJY29uKCdHbG9iZScsIFtcbiAgWydjaXJjbGUnLCB7IGN4OiAnMTInLCBjeTogJzEyJywgcjogJzEwJywga2V5OiAnMW1nbGF5JyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTEyIDJhMTQuNSAxNC41IDAgMCAwIDAgMjAgMTQuNSAxNC41IDAgMCAwIDAtMjAnLCBrZXk6ICcxM28xemwnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMiAxMmgyMCcsIGtleTogJzlpNHB1NCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgR2xvYmU7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/globe.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/hard-drive.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/hard-drive.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ HardDrive)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst HardDrive = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"HardDrive\", [\n [\n \"line\",\n {\n x1: \"22\",\n x2: \"2\",\n y1: \"12\",\n y2: \"12\",\n key: \"1y58io\"\n }\n ],\n [\n \"path\",\n {\n 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\",\n key: \"oot6mr\"\n }\n ],\n [\n \"line\",\n {\n x1: \"6\",\n x2: \"6.01\",\n y1: \"16\",\n y2: \"16\",\n key: \"sgf278\"\n }\n ],\n [\n \"line\",\n {\n x1: \"10\",\n x2: \"10.01\",\n y1: \"16\",\n y2: \"16\",\n key: \"1l4acy\"\n }\n ]\n]);\n //# sourceMappingURL=hard-drive.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2hhcmQtZHJpdmUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxrQkFBWSxnRUFBZ0IsQ0FBQyxXQUFhO0lBQzlDO1FBQUM7UUFBUSxDQUFFO1lBQUEsSUFBSSxDQUFNO1lBQUEsSUFBSSxDQUFLO1lBQUEsR0FBSSxLQUFNO1lBQUEsR0FBSSxLQUFNO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUNqRTtRQUNFO1FBQ0E7WUFDRSxDQUFHO1lBQ0gsR0FBSztRQUNQO0tBQ0Y7SUFDQTtRQUFDO1FBQVEsQ0FBRTtZQUFBLElBQUksQ0FBSztZQUFBLElBQUksQ0FBUTtZQUFBLEdBQUksS0FBTTtZQUFBLEdBQUksS0FBTTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDbkU7UUFBQztRQUFRLENBQUU7WUFBQSxJQUFJLENBQU07WUFBQSxJQUFJLENBQVM7WUFBQSxHQUFJLEtBQU07WUFBQSxHQUFJLEtBQU07WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3RFIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2hhcmQtZHJpdmUudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBIYXJkRHJpdmVcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGJHbHVaU0I0TVQwaU1qSWlJSGd5UFNJeUlpQjVNVDBpTVRJaUlIa3lQU0l4TWlJZ0x6NEtJQ0E4Y0dGMGFDQmtQU0pOTlM0ME5TQTFMakV4SURJZ01USjJObUV5SURJZ01DQXdJREFnTWlBeWFERTJZVElnTWlBd0lEQWdNQ0F5TFRKMkxUWnNMVE11TkRVdE5pNDRPVUV5SURJZ01DQXdJREFnTVRZdU56WWdORWczTGpJMFlUSWdNaUF3SURBZ01DMHhMamM1SURFdU1URjZJaUF2UGdvZ0lEeHNhVzVsSUhneFBTSTJJaUI0TWowaU5pNHdNU0lnZVRFOUlqRTJJaUI1TWowaU1UWWlJQzgrQ2lBZ1BHeHBibVVnZURFOUlqRXdJaUI0TWowaU1UQXVNREVpSUhreFBTSXhOaUlnZVRJOUlqRTJJaUF2UGdvOEwzTjJaejRLKSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9oYXJkLWRyaXZlXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgSGFyZERyaXZlID0gY3JlYXRlTHVjaWRlSWNvbignSGFyZERyaXZlJywgW1xuICBbJ2xpbmUnLCB7IHgxOiAnMjInLCB4MjogJzInLCB5MTogJzEyJywgeTI6ICcxMicsIGtleTogJzF5NThpbycgfV0sXG4gIFtcbiAgICAncGF0aCcsXG4gICAge1xuICAgICAgZDogJ001LjQ1IDUuMTEgMiAxMnY2YTIgMiAwIDAgMCAyIDJoMTZhMiAyIDAgMCAwIDItMnYtNmwtMy40NS02Ljg5QTIgMiAwIDAgMCAxNi43NiA0SDcuMjRhMiAyIDAgMCAwLTEuNzkgMS4xMXonLFxuICAgICAga2V5OiAnb290Nm1yJyxcbiAgICB9LFxuICBdLFxuICBbJ2xpbmUnLCB7IHgxOiAnNicsIHgyOiAnNi4wMScsIHkxOiAnMTYnLCB5MjogJzE2Jywga2V5OiAnc2dmMjc4JyB9XSxcbiAgWydsaW5lJywgeyB4MTogJzEwJywgeDI6ICcxMC4wMScsIHkxOiAnMTYnLCB5MjogJzE2Jywga2V5OiAnMWw0YWN5JyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBIYXJkRHJpdmU7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/hard-drive.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/images.js": +/*!************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/images.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Images)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Images = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Images\", [\n [\n \"path\",\n {\n d: \"M18 22H4a2 2 0 0 1-2-2V6\",\n key: \"pblm9e\"\n }\n ],\n [\n \"path\",\n {\n d: \"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18\",\n key: \"nf6bnh\"\n }\n ],\n [\n \"circle\",\n {\n cx: \"12\",\n cy: \"8\",\n r: \"2\",\n key: \"1822b1\"\n }\n ],\n [\n \"rect\",\n {\n width: \"16\",\n height: \"16\",\n x: \"6\",\n y: \"2\",\n rx: \"2\",\n key: \"12espp\"\n }\n ]\n]);\n //# sourceMappingURL=images.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2ltYWdlcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGVBQVMsZ0VBQWdCLENBQUMsUUFBVTtJQUN4QztRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBNEI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3pEO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFvRDtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDakY7UUFBQyxRQUFVO1FBQUE7WUFBRSxFQUFJO1lBQU0sQ0FBSSxPQUFLO1lBQUEsQ0FBRztZQUFLLEdBQUs7UUFBQSxDQUFVO0tBQUE7SUFDdkQ7UUFBQyxPQUFRO1FBQUE7WUFBRSxPQUFPO1lBQU0sQ0FBUTtZQUFNLENBQUc7WUFBSyxHQUFHLENBQUs7WUFBQSxJQUFJLENBQUs7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQy9FIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2ltYWdlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIEltYWdlc1xuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0pOTVRnZ01qSklOR0V5SURJZ01DQXdJREV0TWkweVZqWWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaWJUSXlJREV6TFRFdU1qazJMVEV1TWprMllUSXVOREVnTWk0ME1TQXdJREFnTUMwekxqUXdPQ0F3VERFeElERTRJaUF2UGdvZ0lEeGphWEpqYkdVZ1kzZzlJakV5SWlCamVUMGlPQ0lnY2owaU1pSWdMejRLSUNBOGNtVmpkQ0IzYVdSMGFEMGlNVFlpSUdobGFXZG9kRDBpTVRZaUlIZzlJallpSUhrOUlqSWlJSEo0UFNJeUlpQXZQZ284TDNOMlp6NEspIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL2ltYWdlc1xuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IEltYWdlcyA9IGNyZWF0ZUx1Y2lkZUljb24oJ0ltYWdlcycsIFtcbiAgWydwYXRoJywgeyBkOiAnTTE4IDIySDRhMiAyIDAgMCAxLTItMlY2Jywga2V5OiAncGJsbTllJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnbTIyIDEzLTEuMjk2LTEuMjk2YTIuNDEgMi40MSAwIDAgMC0zLjQwOCAwTDExIDE4Jywga2V5OiAnbmY2Ym5oJyB9XSxcbiAgWydjaXJjbGUnLCB7IGN4OiAnMTInLCBjeTogJzgnLCByOiAnMicsIGtleTogJzE4MjJiMScgfV0sXG4gIFsncmVjdCcsIHsgd2lkdGg6ICcxNicsIGhlaWdodDogJzE2JywgeDogJzYnLCB5OiAnMicsIHJ4OiAnMicsIGtleTogJzEyZXNwcCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgSW1hZ2VzO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/images.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/key.js": +/*!*********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/key.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Key)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Key = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Key\", [\n [\n \"circle\",\n {\n cx: \"7.5\",\n cy: \"15.5\",\n r: \"5.5\",\n key: \"yqb3hr\"\n }\n ],\n [\n \"path\",\n {\n d: \"m21 2-9.6 9.6\",\n key: \"1j0ho8\"\n }\n ],\n [\n \"path\",\n {\n d: \"m15.5 7.5 3 3L22 7l-3-3\",\n key: \"1rn1fs\"\n }\n ]\n]);\n //# sourceMappingURL=key.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2tleS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLFlBQU0sZ0VBQWdCLENBQUMsS0FBTztJQUNsQztRQUFDLFFBQVU7UUFBQTtZQUFFLEVBQUk7WUFBTyxDQUFJLFVBQVE7WUFBQSxDQUFHO1lBQU8sR0FBSztRQUFBLENBQVU7S0FBQTtJQUM3RDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBaUI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQzlDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUEyQjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7Q0FDekQiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMva2V5LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgS2V5XG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThZMmx5WTJ4bElHTjRQU0kzTGpVaUlHTjVQU0l4TlM0MUlpQnlQU0kxTGpVaUlDOCtDaUFnUEhCaGRHZ2daRDBpYlRJeElESXRPUzQySURrdU5pSWdMejRLSUNBOGNHRjBhQ0JrUFNKdE1UVXVOU0EzTGpVZ015QXpUREl5SURkc0xUTXRNeUlnTHo0S1BDOXpkbWMrQ2c9PSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMva2V5XG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgS2V5ID0gY3JlYXRlTHVjaWRlSWNvbignS2V5JywgW1xuICBbJ2NpcmNsZScsIHsgY3g6ICc3LjUnLCBjeTogJzE1LjUnLCByOiAnNS41Jywga2V5OiAneXFiM2hyJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnbTIxIDItOS42IDkuNicsIGtleTogJzFqMGhvOCcgfV0sXG4gIFsncGF0aCcsIHsgZDogJ20xNS41IDcuNSAzIDNMMjIgN2wtMy0zJywga2V5OiAnMXJuMWZzJyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBLZXk7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/key.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js": +/*!***********************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LockKeyholeOpen)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst LockKeyholeOpen = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"LockKeyholeOpen\", [\n [\n \"circle\",\n {\n cx: \"12\",\n cy: \"16\",\n r: \"1\",\n key: \"1au0dj\"\n }\n ],\n [\n \"rect\",\n {\n width: \"18\",\n height: \"12\",\n x: \"3\",\n y: \"10\",\n rx: \"2\",\n key: \"l0tzu3\"\n }\n ],\n [\n \"path\",\n {\n d: \"M7 10V7a5 5 0 0 1 9.33-2.5\",\n key: \"car5b7\"\n }\n ]\n]);\n //# sourceMappingURL=lock-keyhole-open.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2xvY2sta2V5aG9sZS1vcGVuLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0sd0JBQWtCLGdFQUFnQixDQUFDLGlCQUFtQjtJQUMxRDtRQUFDLFFBQVU7UUFBQTtZQUFFLEVBQUk7WUFBTSxDQUFJLFFBQU07WUFBQSxDQUFHO1lBQUssR0FBSztRQUFBLENBQVU7S0FBQTtJQUN4RDtRQUFDLE9BQVE7UUFBQTtZQUFFLE9BQU87WUFBTSxDQUFRO1lBQU0sQ0FBRztZQUFLLEdBQUcsQ0FBTTtZQUFBLElBQUksQ0FBSztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDL0U7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQThCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUM1RCIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9sb2NrLWtleWhvbGUtb3Blbi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIExvY2tLZXlob2xlT3BlblxuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4WTJseVkyeGxJR040UFNJeE1pSWdZM2s5SWpFMklpQnlQU0l4SWlBdlBnb2dJRHh5WldOMElIZHBaSFJvUFNJeE9DSWdhR1ZwWjJoMFBTSXhNaUlnZUQwaU15SWdlVDBpTVRBaUlISjRQU0l5SWlBdlBnb2dJRHh3WVhSb0lHUTlJazAzSURFd1ZqZGhOU0ExSURBZ01DQXhJRGt1TXpNdE1pNDFJaUF2UGdvOEwzTjJaejRLKSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9sb2NrLWtleWhvbGUtb3BlblxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IExvY2tLZXlob2xlT3BlbiA9IGNyZWF0ZUx1Y2lkZUljb24oJ0xvY2tLZXlob2xlT3BlbicsIFtcbiAgWydjaXJjbGUnLCB7IGN4OiAnMTInLCBjeTogJzE2JywgcjogJzEnLCBrZXk6ICcxYXUwZGonIH1dLFxuICBbJ3JlY3QnLCB7IHdpZHRoOiAnMTgnLCBoZWlnaHQ6ICcxMicsIHg6ICczJywgeTogJzEwJywgcng6ICcyJywga2V5OiAnbDB0enUzJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTcgMTBWN2E1IDUgMCAwIDEgOS4zMy0yLjUnLCBrZXk6ICdjYXI1YjcnIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IExvY2tLZXlob2xlT3BlbjtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/lock-keyhole-open.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/lock-open.js": +/*!***************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/lock-open.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LockOpen)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst LockOpen = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"LockOpen\", [\n [\n \"rect\",\n {\n width: \"18\",\n height: \"11\",\n x: \"3\",\n y: \"11\",\n rx: \"2\",\n ry: \"2\",\n key: \"1w4ew1\"\n }\n ],\n [\n \"path\",\n {\n d: \"M7 11V7a5 5 0 0 1 9.9-1\",\n key: \"1mm8w8\"\n }\n ]\n]);\n //# sourceMappingURL=lock-open.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2xvY2stb3Blbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGlCQUFXLGdFQUFnQixDQUFDLFVBQVk7SUFDNUM7UUFBQyxNQUFRO1FBQUE7WUFBRSxLQUFPLE9BQU07WUFBQSxPQUFRLEtBQU07WUFBQSxHQUFHLENBQUs7WUFBQSxHQUFHO1lBQU0sQ0FBSSxPQUFLO1lBQUEsR0FBSSxJQUFLO1lBQUEsSUFBSztRQUFBLENBQVU7S0FBQTtJQUN4RjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBMkI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ3pEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2xvY2stb3Blbi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIExvY2tPcGVuXG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjbVZqZENCM2FXUjBhRDBpTVRnaUlHaGxhV2RvZEQwaU1URWlJSGc5SWpNaUlIazlJakV4SWlCeWVEMGlNaUlnY25rOUlqSWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaVRUY2dNVEZXTjJFMUlEVWdNQ0F3SURFZ09TNDVMVEVpSUM4K0Nqd3ZjM1puUGdvPSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvbG9jay1vcGVuXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgTG9ja09wZW4gPSBjcmVhdGVMdWNpZGVJY29uKCdMb2NrT3BlbicsIFtcbiAgWydyZWN0JywgeyB3aWR0aDogJzE4JywgaGVpZ2h0OiAnMTEnLCB4OiAnMycsIHk6ICcxMScsIHJ4OiAnMicsIHJ5OiAnMicsIGtleTogJzF3NGV3MScgfV0sXG4gIFsncGF0aCcsIHsgZDogJ003IDExVjdhNSA1IDAgMCAxIDkuOS0xJywga2V5OiAnMW1tOHc4JyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBMb2NrT3BlbjtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/lock-open.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/lock.js": +/*!**********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/lock.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Lock)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Lock = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Lock\", [\n [\n \"rect\",\n {\n width: \"18\",\n height: \"11\",\n x: \"3\",\n y: \"11\",\n rx: \"2\",\n ry: \"2\",\n key: \"1w4ew1\"\n }\n ],\n [\n \"path\",\n {\n d: \"M7 11V7a5 5 0 0 1 10 0v4\",\n key: \"fwvmzm\"\n }\n ]\n]);\n //# sourceMappingURL=lock.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL2xvY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxhQUFPLGdFQUFnQixDQUFDLE1BQVE7SUFDcEM7UUFBQyxNQUFRO1FBQUE7WUFBRSxLQUFPLE9BQU07WUFBQSxPQUFRLEtBQU07WUFBQSxHQUFHLENBQUs7WUFBQSxHQUFHO1lBQU0sQ0FBSSxPQUFLO1lBQUEsR0FBSSxJQUFLO1lBQUEsSUFBSztRQUFBLENBQVU7S0FBQTtJQUN4RjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBNEI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzFEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL2xvY2sudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBMb2NrXG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjbVZqZENCM2FXUjBhRDBpTVRnaUlHaGxhV2RvZEQwaU1URWlJSGc5SWpNaUlIazlJakV4SWlCeWVEMGlNaUlnY25rOUlqSWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaVRUY2dNVEZXTjJFMUlEVWdNQ0F3SURFZ01UQWdNSFkwSWlBdlBnbzhMM04yWno0SykgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvbG9ja1xuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IExvY2sgPSBjcmVhdGVMdWNpZGVJY29uKCdMb2NrJywgW1xuICBbJ3JlY3QnLCB7IHdpZHRoOiAnMTgnLCBoZWlnaHQ6ICcxMScsIHg6ICczJywgeTogJzExJywgcng6ICcyJywgcnk6ICcyJywga2V5OiAnMXc0ZXcxJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTcgMTFWN2E1IDUgMCAwIDEgMTAgMHY0Jywga2V5OiAnZnd2bXptJyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBMb2NrO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/lock.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/menu.js": +/*!**********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/menu.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Menu)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Menu = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Menu\", [\n [\n \"line\",\n {\n x1: \"4\",\n x2: \"20\",\n y1: \"12\",\n y2: \"12\",\n key: \"1e0a9i\"\n }\n ],\n [\n \"line\",\n {\n x1: \"4\",\n x2: \"20\",\n y1: \"6\",\n y2: \"6\",\n key: \"1owob3\"\n }\n ],\n [\n \"line\",\n {\n x1: \"4\",\n x2: \"20\",\n y1: \"18\",\n y2: \"18\",\n key: \"yk5zj1\"\n }\n ]\n]);\n //# sourceMappingURL=menu.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL21lbnUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxhQUFPLGdFQUFnQixDQUFDLE1BQVE7SUFDcEM7UUFBQztRQUFRLENBQUU7WUFBQSxJQUFJLENBQUs7WUFBQSxJQUFJLENBQU07WUFBQSxHQUFJLEtBQU07WUFBQSxHQUFJLEtBQU07WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ2pFO1FBQUM7UUFBUSxDQUFFO1lBQUEsSUFBSSxDQUFLO1lBQUEsSUFBSSxDQUFNO1lBQUEsR0FBSSxJQUFLO1lBQUEsR0FBSSxJQUFLO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMvRDtRQUFDO1FBQVEsQ0FBRTtZQUFBLElBQUksQ0FBSztZQUFBLElBQUksQ0FBTTtZQUFBLEdBQUksS0FBTTtZQUFBLEdBQUksS0FBTTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7Q0FDbEUiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMvbWVudS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIE1lbnVcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGJHbHVaU0I0TVQwaU5DSWdlREk5SWpJd0lpQjVNVDBpTVRJaUlIa3lQU0l4TWlJZ0x6NEtJQ0E4YkdsdVpTQjRNVDBpTkNJZ2VESTlJakl3SWlCNU1UMGlOaUlnZVRJOUlqWWlJQzgrQ2lBZ1BHeHBibVVnZURFOUlqUWlJSGd5UFNJeU1DSWdlVEU5SWpFNElpQjVNajBpTVRnaUlDOCtDand2YzNablBnbz0pIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL21lbnVcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBNZW51ID0gY3JlYXRlTHVjaWRlSWNvbignTWVudScsIFtcbiAgWydsaW5lJywgeyB4MTogJzQnLCB4MjogJzIwJywgeTE6ICcxMicsIHkyOiAnMTInLCBrZXk6ICcxZTBhOWknIH1dLFxuICBbJ2xpbmUnLCB7IHgxOiAnNCcsIHgyOiAnMjAnLCB5MTogJzYnLCB5MjogJzYnLCBrZXk6ICcxb3dvYjMnIH1dLFxuICBbJ2xpbmUnLCB7IHgxOiAnNCcsIHgyOiAnMjAnLCB5MTogJzE4JywgeTI6ICcxOCcsIGtleTogJ3lrNXpqMScgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgTWVudTtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/menu.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/package-plus.js": +/*!******************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/package-plus.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PackagePlus)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst PackagePlus = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"PackagePlus\", [\n [\n \"path\",\n {\n d: \"M16 16h6\",\n key: \"100bgy\"\n }\n ],\n [\n \"path\",\n {\n d: \"M19 13v6\",\n key: \"85cyf1\"\n }\n ],\n [\n \"path\",\n {\n d: \"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14\",\n key: \"e7tb2h\"\n }\n ],\n [\n \"path\",\n {\n d: \"m7.5 4.27 9 5.15\",\n key: \"1c824w\"\n }\n ],\n [\n \"polyline\",\n {\n points: \"3.29 7 12 12 20.71 7\",\n key: \"ousv84\"\n }\n ],\n [\n \"line\",\n {\n x1: \"12\",\n x2: \"12\",\n y1: \"22\",\n y2: \"12\",\n key: \"a4e8g8\"\n }\n ]\n]);\n //# sourceMappingURL=package-plus.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3BhY2thZ2UtcGx1cy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLG9CQUFjLGdFQUFnQixDQUFDLGFBQWU7SUFDbEQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVk7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3pDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFZO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUN6QztRQUNFO1FBQ0E7WUFDRSxDQUFHO1lBQ0gsR0FBSztRQUNQO0tBQ0Y7SUFDQTtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBb0I7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ2pEO1FBQUMsVUFBWTtRQUFBO1lBQUUsUUFBUSxDQUF3QjtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDOUQ7UUFBQztRQUFRLENBQUU7WUFBQSxJQUFJLENBQU07WUFBQSxJQUFJLENBQU07WUFBQSxHQUFJLEtBQU07WUFBQSxHQUFJLEtBQU07WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ25FIiwic291cmNlcyI6WyIvc3JjL2ljb25zL3BhY2thZ2UtcGx1cy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIFBhY2thZ2VQbHVzXG4gKiBAZGVzY3JpcHRpb24gTHVjaWRlIFNWRyBpY29uIGNvbXBvbmVudCwgcmVuZGVycyBTVkcgRWxlbWVudCB3aXRoIGNoaWxkcmVuLlxuICpcbiAqIEBwcmV2aWV3ICFbaW1nXShkYXRhOmltYWdlL3N2Zyt4bWw7YmFzZTY0LFBITjJaeUFnZUcxc2JuTTlJbWgwZEhBNkx5OTNkM2N1ZHpNdWIzSm5Mekl3TURBdmMzWm5JZ29nSUhkcFpIUm9QU0l5TkNJS0lDQm9aV2xuYUhROUlqSTBJZ29nSUhacFpYZENiM2c5SWpBZ01DQXlOQ0F5TkNJS0lDQm1hV3hzUFNKdWIyNWxJZ29nSUhOMGNtOXJaVDBpSXpBd01DSWdjM1I1YkdVOUltSmhZMnRuY205MWJtUXRZMjlzYjNJNklDTm1abVk3SUdKdmNtUmxjaTF5WVdScGRYTTZJREp3ZUNJS0lDQnpkSEp2YTJVdGQybGtkR2c5SWpJaUNpQWdjM1J5YjJ0bExXeHBibVZqWVhBOUluSnZkVzVrSWdvZ0lITjBjbTlyWlMxc2FXNWxhbTlwYmowaWNtOTFibVFpQ2o0S0lDQThjR0YwYUNCa1BTSk5NVFlnTVRab05pSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1Ua2dNVE4yTmlJZ0x6NEtJQ0E4Y0dGMGFDQmtQU0pOTWpFZ01UQldPR0V5SURJZ01DQXdJREF0TVMweExqY3piQzAzTFRSaE1pQXlJREFnTUNBd0xUSWdNR3d0TnlBMFFUSWdNaUF3SURBZ01DQXpJRGgyT0dFeUlESWdNQ0F3SURBZ01TQXhMamN6YkRjZ05HRXlJRElnTUNBd0lEQWdNaUF3YkRJdE1TNHhOQ0lnTHo0S0lDQThjR0YwYUNCa1BTSnROeTQxSURRdU1qY2dPU0ExTGpFMUlpQXZQZ29nSUR4d2IyeDViR2x1WlNCd2IybHVkSE05SWpNdU1qa2dOeUF4TWlBeE1pQXlNQzQzTVNBM0lpQXZQZ29nSUR4c2FXNWxJSGd4UFNJeE1pSWdlREk5SWpFeUlpQjVNVDBpTWpJaUlIa3lQU0l4TWlJZ0x6NEtQQzl6ZG1jK0NnPT0pIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL3BhY2thZ2UtcGx1c1xuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IFBhY2thZ2VQbHVzID0gY3JlYXRlTHVjaWRlSWNvbignUGFja2FnZVBsdXMnLCBbXG4gIFsncGF0aCcsIHsgZDogJ00xNiAxNmg2Jywga2V5OiAnMTAwYmd5JyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTE5IDEzdjYnLCBrZXk6ICc4NWN5ZjEnIH1dLFxuICBbXG4gICAgJ3BhdGgnLFxuICAgIHtcbiAgICAgIGQ6ICdNMjEgMTBWOGEyIDIgMCAwIDAtMS0xLjczbC03LTRhMiAyIDAgMCAwLTIgMGwtNyA0QTIgMiAwIDAgMCAzIDh2OGEyIDIgMCAwIDAgMSAxLjczbDcgNGEyIDIgMCAwIDAgMiAwbDItMS4xNCcsXG4gICAgICBrZXk6ICdlN3RiMmgnLFxuICAgIH0sXG4gIF0sXG4gIFsncGF0aCcsIHsgZDogJ203LjUgNC4yNyA5IDUuMTUnLCBrZXk6ICcxYzgyNHcnIH1dLFxuICBbJ3BvbHlsaW5lJywgeyBwb2ludHM6ICczLjI5IDcgMTIgMTIgMjAuNzEgNycsIGtleTogJ291c3Y4NCcgfV0sXG4gIFsnbGluZScsIHsgeDE6ICcxMicsIHgyOiAnMTInLCB5MTogJzIyJywgeTI6ICcxMicsIGtleTogJ2E0ZThnOCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgUGFja2FnZVBsdXM7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/package-plus.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/plug-2.js": +/*!************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/plug-2.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Plug2)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Plug2 = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Plug2\", [\n [\n \"path\",\n {\n d: \"M9 2v6\",\n key: \"17ngun\"\n }\n ],\n [\n \"path\",\n {\n d: \"M15 2v6\",\n key: \"s7yy2p\"\n }\n ],\n [\n \"path\",\n {\n d: \"M12 17v5\",\n key: \"bb1du9\"\n }\n ],\n [\n \"path\",\n {\n d: \"M5 8h14\",\n key: \"pcz4l3\"\n }\n ],\n [\n \"path\",\n {\n d: \"M6 11V8h12v3a6 6 0 1 1-12 0v0Z\",\n key: \"nd4hoy\"\n }\n ]\n]);\n //# sourceMappingURL=plug-2.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3BsdWctMi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGNBQVEsZ0VBQWdCLENBQUMsT0FBUztJQUN0QztRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBVTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDdkM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVc7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3hDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFZO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUN6QztRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBVztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDeEM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWtDO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUNoRSIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9wbHVnLTIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNyZWF0ZUx1Y2lkZUljb24gZnJvbSAnLi4vY3JlYXRlTHVjaWRlSWNvbic7XG5cbi8qKlxuICogQGNvbXBvbmVudCBAbmFtZSBQbHVnMlxuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0pOT1NBeWRqWWlJQzgrQ2lBZ1BIQmhkR2dnWkQwaVRURTFJREoyTmlJZ0x6NEtJQ0E4Y0dGMGFDQmtQU0pOTVRJZ01UZDJOU0lnTHo0S0lDQThjR0YwYUNCa1BTSk5OU0E0YURFMElpQXZQZ29nSUR4d1lYUm9JR1E5SWswMklERXhWamhvTVRKMk0yRTJJRFlnTUNBeElERXRNVElnTUhZd1dpSWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9wbHVnLTJcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBQbHVnMiA9IGNyZWF0ZUx1Y2lkZUljb24oJ1BsdWcyJywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdNOSAydjYnLCBrZXk6ICcxN25ndW4nIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTUgMnY2Jywga2V5OiAnczd5eTJwJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTEyIDE3djUnLCBrZXk6ICdiYjFkdTknIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNNSA4aDE0Jywga2V5OiAncGN6NGwzJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTYgMTFWOGgxMnYzYTYgNiAwIDEgMS0xMiAwdjBaJywga2V5OiAnbmQ0aG95JyB9XSxcbl0pO1xuXG5leHBvcnQgZGVmYXVsdCBQbHVnMjtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/plug-2.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/plus.js": +/*!**********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/plus.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Plus)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Plus = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Plus\", [\n [\n \"path\",\n {\n d: \"M5 12h14\",\n key: \"1ays0h\"\n }\n ],\n [\n \"path\",\n {\n d: \"M12 5v14\",\n key: \"s699le\"\n }\n ]\n]);\n //# sourceMappingURL=plus.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3BsdXMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxhQUFPLGdFQUFnQixDQUFDLE1BQVE7SUFDcEM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVk7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQ3pDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFZO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUMxQyIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy9wbHVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgUGx1c1xuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0pOTlNBeE1tZ3hOQ0lnTHo0S0lDQThjR0YwYUNCa1BTSk5NVElnTlhZeE5DSWdMejRLUEM5emRtYytDZz09KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9wbHVzXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgUGx1cyA9IGNyZWF0ZUx1Y2lkZUljb24oJ1BsdXMnLCBbXG4gIFsncGF0aCcsIHsgZDogJ001IDEyaDE0Jywga2V5OiAnMWF5czBoJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTEyIDV2MTQnLCBrZXk6ICdzNjk5bGUnIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IFBsdXM7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/plus.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/rotate-cw.js": +/*!***************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/rotate-cw.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ RotateCw)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst RotateCw = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"RotateCw\", [\n [\n \"path\",\n {\n d: \"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\",\n key: \"1p45f6\"\n }\n ],\n [\n \"path\",\n {\n d: \"M21 3v5h-5\",\n key: \"1q7to0\"\n }\n ]\n]);\n //# sourceMappingURL=rotate-cw.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3JvdGF0ZS1jdy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLGlCQUFXLGdFQUFnQixDQUFDLFVBQVk7SUFDNUM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQXFEO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUNsRjtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBYztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7Q0FDNUMiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMvcm90YXRlLWN3LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgUm90YXRlQ3dcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk1qRWdNVEpoT1NBNUlEQWdNU0F4TFRrdE9XTXlMalV5SURBZ05DNDVNeUF4SURZdU56UWdNaTQzTkV3eU1TQTRJaUF2UGdvZ0lEeHdZWFJvSUdROUlrMHlNU0F6ZGpWb0xUVWlJQzgrQ2p3dmMzWm5QZ289KSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy9yb3RhdGUtY3dcbiAqIEBzZWUgaHR0cHM6Ly9sdWNpZGUuZGV2L2d1aWRlL3BhY2thZ2VzL2x1Y2lkZS1yZWFjdCAtIERvY3VtZW50YXRpb25cbiAqXG4gKiBAcGFyYW0ge09iamVjdH0gcHJvcHMgLSBMdWNpZGUgaWNvbnMgcHJvcHMgYW5kIGFueSB2YWxpZCBTVkcgYXR0cmlidXRlXG4gKiBAcmV0dXJucyB7SlNYLkVsZW1lbnR9IEpTWCBFbGVtZW50XG4gKlxuICovXG5jb25zdCBSb3RhdGVDdyA9IGNyZWF0ZUx1Y2lkZUljb24oJ1JvdGF0ZUN3JywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdNMjEgMTJhOSA5IDAgMSAxLTktOWMyLjUyIDAgNC45MyAxIDYuNzQgMi43NEwyMSA4Jywga2V5OiAnMXA0NWY2JyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTIxIDN2NWgtNScsIGtleTogJzFxN3RvMCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgUm90YXRlQ3c7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/rotate-cw.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/sheet.js": +/*!***********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/sheet.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Sheet)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Sheet = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Sheet\", [\n [\n \"rect\",\n {\n width: \"18\",\n height: \"18\",\n x: \"3\",\n y: \"3\",\n rx: \"2\",\n ry: \"2\",\n key: \"1m3agn\"\n }\n ],\n [\n \"line\",\n {\n x1: \"3\",\n x2: \"21\",\n y1: \"9\",\n y2: \"9\",\n key: \"1vqk6q\"\n }\n ],\n [\n \"line\",\n {\n x1: \"3\",\n x2: \"21\",\n y1: \"15\",\n y2: \"15\",\n key: \"o2sbyz\"\n }\n ],\n [\n \"line\",\n {\n x1: \"9\",\n x2: \"9\",\n y1: \"9\",\n y2: \"21\",\n key: \"1ib60c\"\n }\n ],\n [\n \"line\",\n {\n x1: \"15\",\n x2: \"15\",\n y1: \"9\",\n y2: \"21\",\n key: \"1n26ft\"\n }\n ]\n]);\n //# sourceMappingURL=sheet.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3NoZWV0LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0sY0FBUSxnRUFBZ0IsQ0FBQyxPQUFTO0lBQ3RDO1FBQUMsTUFBUTtRQUFBO1lBQUUsS0FBTyxPQUFNO1lBQUEsT0FBUSxLQUFNO1lBQUEsR0FBRyxDQUFLO1lBQUEsR0FBRztZQUFLLENBQUksT0FBSztZQUFBLEdBQUksSUFBSztZQUFBLElBQUs7UUFBQSxDQUFVO0tBQUE7SUFDdkY7UUFBQztRQUFRLENBQUU7WUFBQSxJQUFJLENBQUs7WUFBQSxJQUFJLENBQU07WUFBQSxHQUFJLElBQUs7WUFBQSxHQUFJLElBQUs7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQy9EO1FBQUM7UUFBUSxDQUFFO1lBQUEsSUFBSSxDQUFLO1lBQUEsSUFBSSxDQUFNO1lBQUEsR0FBSSxLQUFNO1lBQUEsR0FBSSxLQUFNO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUNqRTtRQUFDO1FBQVEsQ0FBRTtZQUFBLElBQUksQ0FBSztZQUFBLElBQUksQ0FBSztZQUFBLEdBQUksSUFBSztZQUFBLEdBQUksS0FBTTtZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDL0Q7UUFBQztRQUFRLENBQUU7WUFBQSxJQUFJLENBQU07WUFBQSxJQUFJLENBQU07WUFBQSxHQUFJLElBQUs7WUFBQSxHQUFJLEtBQU07WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQ2xFIiwic291cmNlcyI6WyIvc3JjL2ljb25zL3NoZWV0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgU2hlZXRcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNtVmpkQ0IzYVdSMGFEMGlNVGdpSUdobGFXZG9kRDBpTVRnaUlIZzlJak1pSUhrOUlqTWlJSEo0UFNJeUlpQnllVDBpTWlJZ0x6NEtJQ0E4YkdsdVpTQjRNVDBpTXlJZ2VESTlJakl4SWlCNU1UMGlPU0lnZVRJOUlqa2lJQzgrQ2lBZ1BHeHBibVVnZURFOUlqTWlJSGd5UFNJeU1TSWdlVEU5SWpFMUlpQjVNajBpTVRVaUlDOCtDaUFnUEd4cGJtVWdlREU5SWpraUlIZ3lQU0k1SWlCNU1UMGlPU0lnZVRJOUlqSXhJaUF2UGdvZ0lEeHNhVzVsSUhneFBTSXhOU0lnZURJOUlqRTFJaUI1TVQwaU9TSWdlVEk5SWpJeElpQXZQZ284TDNOMlp6NEspIC0gaHR0cHM6Ly9sdWNpZGUuZGV2L2ljb25zL3NoZWV0XG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgU2hlZXQgPSBjcmVhdGVMdWNpZGVJY29uKCdTaGVldCcsIFtcbiAgWydyZWN0JywgeyB3aWR0aDogJzE4JywgaGVpZ2h0OiAnMTgnLCB4OiAnMycsIHk6ICczJywgcng6ICcyJywgcnk6ICcyJywga2V5OiAnMW0zYWduJyB9XSxcbiAgWydsaW5lJywgeyB4MTogJzMnLCB4MjogJzIxJywgeTE6ICc5JywgeTI6ICc5Jywga2V5OiAnMXZxazZxJyB9XSxcbiAgWydsaW5lJywgeyB4MTogJzMnLCB4MjogJzIxJywgeTE6ICcxNScsIHkyOiAnMTUnLCBrZXk6ICdvMnNieXonIH1dLFxuICBbJ2xpbmUnLCB7IHgxOiAnOScsIHgyOiAnOScsIHkxOiAnOScsIHkyOiAnMjEnLCBrZXk6ICcxaWI2MGMnIH1dLFxuICBbJ2xpbmUnLCB7IHgxOiAnMTUnLCB4MjogJzE1JywgeTE6ICc5JywgeTI6ICcyMScsIGtleTogJzFuMjZmdCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgU2hlZXQ7XG4iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/sheet.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js": +/*!*********************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ShieldEllipsis)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst ShieldEllipsis = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"ShieldEllipsis\", [\n [\n \"path\",\n {\n 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\",\n key: \"oel41y\"\n }\n ],\n [\n \"path\",\n {\n d: \"M8 12h.01\",\n key: \"czm47f\"\n }\n ],\n [\n \"path\",\n {\n d: \"M12 12h.01\",\n key: \"1mp3jc\"\n }\n ],\n [\n \"path\",\n {\n d: \"M16 12h.01\",\n key: \"1l6xoz\"\n }\n ]\n]);\n //# sourceMappingURL=shield-ellipsis.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3NoaWVsZC1lbGxpcHNpcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLHVCQUFpQixnRUFBZ0IsQ0FBQyxnQkFBa0I7SUFDeEQ7UUFDRTtRQUNBO1lBQ0UsQ0FBRztZQUNILEdBQUs7UUFDUDtLQUNGO0lBQ0E7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWE7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQzFDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFjO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMzQztRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBYztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7Q0FDNUMiLCJzb3VyY2VzIjpbIi9zcmMvaWNvbnMvc2hpZWxkLWVsbGlwc2lzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgU2hpZWxkRWxsaXBzaXNcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk1qQWdNVE5qTUNBMUxUTXVOU0EzTGpVdE55NDJOaUE0TGprMVlURWdNU0F3SURBZ01TMHVOamN0TGpBeFF6Y3VOU0F5TUM0MUlEUWdNVGdnTkNBeE0xWTJZVEVnTVNBd0lEQWdNU0F4TFRGak1pQXdJRFF1TlMweExqSWdOaTR5TkMweUxqY3lZVEV1TVRjZ01TNHhOeUF3SURBZ01TQXhMalV5SURCRE1UUXVOVEVnTXk0NE1TQXhOeUExSURFNUlEVmhNU0F4SURBZ01DQXhJREVnTVhvaUlDOCtDaUFnUEhCaGRHZ2daRDBpVFRnZ01USm9MakF4SWlBdlBnb2dJRHh3WVhSb0lHUTlJazB4TWlBeE1tZ3VNREVpSUM4K0NpQWdQSEJoZEdnZ1pEMGlUVEUySURFeWFDNHdNU0lnTHo0S1BDOXpkbWMrQ2c9PSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvc2hpZWxkLWVsbGlwc2lzXG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgU2hpZWxkRWxsaXBzaXMgPSBjcmVhdGVMdWNpZGVJY29uKCdTaGllbGRFbGxpcHNpcycsIFtcbiAgW1xuICAgICdwYXRoJyxcbiAgICB7XG4gICAgICBkOiAnTTIwIDEzYzAgNS0zLjUgNy41LTcuNjYgOC45NWExIDEgMCAwIDEtLjY3LS4wMUM3LjUgMjAuNSA0IDE4IDQgMTNWNmExIDEgMCAwIDEgMS0xYzIgMCA0LjUtMS4yIDYuMjQtMi43MmExLjE3IDEuMTcgMCAwIDEgMS41MiAwQzE0LjUxIDMuODEgMTcgNSAxOSA1YTEgMSAwIDAgMSAxIDF6JyxcbiAgICAgIGtleTogJ29lbDQxeScsXG4gICAgfSxcbiAgXSxcbiAgWydwYXRoJywgeyBkOiAnTTggMTJoLjAxJywga2V5OiAnY3ptNDdmJyB9XSxcbiAgWydwYXRoJywgeyBkOiAnTTEyIDEyaC4wMScsIGtleTogJzFtcDNqYycgfV0sXG4gIFsncGF0aCcsIHsgZDogJ00xNiAxMmguMDEnLCBrZXk6ICcxbDZ4b3onIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IFNoaWVsZEVsbGlwc2lzO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/shield-ellipsis.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js": +/*!************************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SquareGanttChart)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst SquareGanttChart = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"SquareGanttChart\", [\n [\n \"rect\",\n {\n width: \"18\",\n height: \"18\",\n x: \"3\",\n y: \"3\",\n rx: \"2\",\n key: \"afitv7\"\n }\n ],\n [\n \"path\",\n {\n d: \"M9 8h7\",\n key: \"kbo1nt\"\n }\n ],\n [\n \"path\",\n {\n d: \"M8 12h6\",\n key: \"ikassy\"\n }\n ],\n [\n \"path\",\n {\n d: \"M11 16h5\",\n key: \"oq65wt\"\n }\n ]\n]);\n //# sourceMappingURL=square-gantt-chart.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3NxdWFyZS1nYW50dC1jaGFydC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWFNLHlCQUFtQixnRUFBZ0IsQ0FBQyxrQkFBb0I7SUFDNUQ7UUFBQyxPQUFRO1FBQUE7WUFBRSxPQUFPO1lBQU0sQ0FBUTtZQUFNLENBQUc7WUFBSyxHQUFHLENBQUs7WUFBQSxJQUFJLENBQUs7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQzlFO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFVO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUN2QztRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBVztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDeEM7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQVk7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzFDIiwic291cmNlcyI6WyIvc3JjL2ljb25zL3NxdWFyZS1nYW50dC1jaGFydC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY3JlYXRlTHVjaWRlSWNvbiBmcm9tICcuLi9jcmVhdGVMdWNpZGVJY29uJztcblxuLyoqXG4gKiBAY29tcG9uZW50IEBuYW1lIFNxdWFyZUdhbnR0Q2hhcnRcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNtVmpkQ0IzYVdSMGFEMGlNVGdpSUdobGFXZG9kRDBpTVRnaUlIZzlJak1pSUhrOUlqTWlJSEo0UFNJeUlpQXZQZ29nSUR4d1lYUm9JR1E5SWswNUlEaG9OeUlnTHo0S0lDQThjR0YwYUNCa1BTSk5PQ0F4TW1nMklpQXZQZ29nSUR4d1lYUm9JR1E5SWsweE1TQXhObWcxSWlBdlBnbzhMM04yWno0SykgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMvc3F1YXJlLWdhbnR0LWNoYXJ0XG4gKiBAc2VlIGh0dHBzOi8vbHVjaWRlLmRldi9ndWlkZS9wYWNrYWdlcy9sdWNpZGUtcmVhY3QgLSBEb2N1bWVudGF0aW9uXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IHByb3BzIC0gTHVjaWRlIGljb25zIHByb3BzIGFuZCBhbnkgdmFsaWQgU1ZHIGF0dHJpYnV0ZVxuICogQHJldHVybnMge0pTWC5FbGVtZW50fSBKU1ggRWxlbWVudFxuICpcbiAqL1xuY29uc3QgU3F1YXJlR2FudHRDaGFydCA9IGNyZWF0ZUx1Y2lkZUljb24oJ1NxdWFyZUdhbnR0Q2hhcnQnLCBbXG4gIFsncmVjdCcsIHsgd2lkdGg6ICcxOCcsIGhlaWdodDogJzE4JywgeDogJzMnLCB5OiAnMycsIHJ4OiAnMicsIGtleTogJ2FmaXR2NycgfV0sXG4gIFsncGF0aCcsIHsgZDogJ005IDhoNycsIGtleTogJ2tibzFudCcgfV0sXG4gIFsncGF0aCcsIHsgZDogJ004IDEyaDYnLCBrZXk6ICdpa2Fzc3knIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMTEgMTZoNScsIGtleTogJ29xNjV3dCcgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgU3F1YXJlR2FudHRDaGFydDtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/square-gantt-chart.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/users.js": +/*!***********************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/users.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Users)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst Users = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"Users\", [\n [\n \"path\",\n {\n d: \"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\",\n key: \"1yyitq\"\n }\n ],\n [\n \"circle\",\n {\n cx: \"9\",\n cy: \"7\",\n r: \"4\",\n key: \"nufk8\"\n }\n ],\n [\n \"path\",\n {\n d: \"M22 21v-2a4 4 0 0 0-3-3.87\",\n key: \"kshegd\"\n }\n ],\n [\n \"path\",\n {\n d: \"M16 3.13a4 4 0 0 1 0 7.75\",\n key: \"1da9ce\"\n }\n ]\n]);\n //# sourceMappingURL=users.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3VzZXJzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBYU0sY0FBUSxnRUFBZ0IsQ0FBQyxPQUFTO0lBQ3RDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUE2QztZQUFBLEtBQUs7UUFBQSxDQUFVO0tBQUE7SUFDMUU7UUFBQyxRQUFVO1FBQUE7WUFBRSxFQUFJO1lBQUssQ0FBSSxPQUFLO1lBQUEsQ0FBRztZQUFLLEdBQUs7UUFBQSxDQUFTO0tBQUE7SUFDckQ7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQThCO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtJQUMzRDtRQUFDLE1BQVE7UUFBQTtZQUFFLEdBQUcsQ0FBNkI7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0NBQzNEIiwic291cmNlcyI6WyIvc3JjL2ljb25zL3VzZXJzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgVXNlcnNcbiAqIEBkZXNjcmlwdGlvbiBMdWNpZGUgU1ZHIGljb24gY29tcG9uZW50LCByZW5kZXJzIFNWRyBFbGVtZW50IHdpdGggY2hpbGRyZW4uXG4gKlxuICogQHByZXZpZXcgIVtpbWddKGRhdGE6aW1hZ2Uvc3ZnK3htbDtiYXNlNjQsUEhOMlp5QWdlRzFzYm5NOUltaDBkSEE2THk5M2QzY3Vkek11YjNKbkx6SXdNREF2YzNabklnb2dJSGRwWkhSb1BTSXlOQ0lLSUNCb1pXbG5hSFE5SWpJMElnb2dJSFpwWlhkQ2IzZzlJakFnTUNBeU5DQXlOQ0lLSUNCbWFXeHNQU0p1YjI1bElnb2dJSE4wY205clpUMGlJekF3TUNJZ2MzUjViR1U5SW1KaFkydG5jbTkxYm1RdFkyOXNiM0k2SUNObVptWTdJR0p2Y21SbGNpMXlZV1JwZFhNNklESndlQ0lLSUNCemRISnZhMlV0ZDJsa2RHZzlJaklpQ2lBZ2MzUnliMnRsTFd4cGJtVmpZWEE5SW5KdmRXNWtJZ29nSUhOMGNtOXJaUzFzYVc1bGFtOXBiajBpY205MWJtUWlDajRLSUNBOGNHRjBhQ0JrUFNKTk1UWWdNakYyTFRKaE5DQTBJREFnTUNBd0xUUXRORWcyWVRRZ05DQXdJREFnTUMwMElEUjJNaUlnTHo0S0lDQThZMmx5WTJ4bElHTjRQU0k1SWlCamVUMGlOeUlnY2owaU5DSWdMejRLSUNBOGNHRjBhQ0JrUFNKTk1qSWdNakYyTFRKaE5DQTBJREFnTUNBd0xUTXRNeTQ0TnlJZ0x6NEtJQ0E4Y0dGMGFDQmtQU0pOTVRZZ015NHhNMkUwSURRZ01DQXdJREVnTUNBM0xqYzFJaUF2UGdvOEwzTjJaejRLKSAtIGh0dHBzOi8vbHVjaWRlLmRldi9pY29ucy91c2Vyc1xuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IFVzZXJzID0gY3JlYXRlTHVjaWRlSWNvbignVXNlcnMnLCBbXG4gIFsncGF0aCcsIHsgZDogJ00xNiAyMXYtMmE0IDQgMCAwIDAtNC00SDZhNCA0IDAgMCAwLTQgNHYyJywga2V5OiAnMXl5aXRxJyB9XSxcbiAgWydjaXJjbGUnLCB7IGN4OiAnOScsIGN5OiAnNycsIHI6ICc0Jywga2V5OiAnbnVmazgnIH1dLFxuICBbJ3BhdGgnLCB7IGQ6ICdNMjIgMjF2LTJhNCA0IDAgMCAwLTMtMy44NycsIGtleTogJ2tzaGVnZCcgfV0sXG4gIFsncGF0aCcsIHsgZDogJ00xNiAzLjEzYTQgNCAwIDAgMSAwIDcuNzUnLCBrZXk6ICcxZGE5Y2UnIH1dLFxuXSk7XG5cbmV4cG9ydCBkZWZhdWx0IFVzZXJzO1xuIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/users.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/icons/x.js": +/*!*******************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/icons/x.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ X)\n/* harmony export */ });\n/* harmony import */ var _createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../createLucideIcon.js */ \"./node_modules/lucide-react/dist/esm/createLucideIcon.js\");\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ \nconst X = (0,_createLucideIcon_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"X\", [\n [\n \"path\",\n {\n d: \"M18 6 6 18\",\n key: \"1bl5f8\"\n }\n ],\n [\n \"path\",\n {\n d: \"m6 6 12 12\",\n key: \"d8bk6v\"\n }\n ]\n]);\n //# sourceMappingURL=x.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL2ljb25zL3guanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFhTSxVQUFJLGdFQUFnQixDQUFDLEdBQUs7SUFDOUI7UUFBQyxNQUFRO1FBQUE7WUFBRSxHQUFHLENBQWM7WUFBQSxLQUFLO1FBQUEsQ0FBVTtLQUFBO0lBQzNDO1FBQUMsTUFBUTtRQUFBO1lBQUUsR0FBRyxDQUFjO1lBQUEsS0FBSztRQUFBLENBQVU7S0FBQTtDQUM1QyIsInNvdXJjZXMiOlsiL3NyYy9pY29ucy94LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjcmVhdGVMdWNpZGVJY29uIGZyb20gJy4uL2NyZWF0ZUx1Y2lkZUljb24nO1xuXG4vKipcbiAqIEBjb21wb25lbnQgQG5hbWUgWFxuICogQGRlc2NyaXB0aW9uIEx1Y2lkZSBTVkcgaWNvbiBjb21wb25lbnQsIHJlbmRlcnMgU1ZHIEVsZW1lbnQgd2l0aCBjaGlsZHJlbi5cbiAqXG4gKiBAcHJldmlldyAhW2ltZ10oZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlBZ2VHMXNibk05SW1oMGRIQTZMeTkzZDNjdWR6TXViM0puTHpJd01EQXZjM1puSWdvZ0lIZHBaSFJvUFNJeU5DSUtJQ0JvWldsbmFIUTlJakkwSWdvZ0lIWnBaWGRDYjNnOUlqQWdNQ0F5TkNBeU5DSUtJQ0JtYVd4c1BTSnViMjVsSWdvZ0lITjBjbTlyWlQwaUl6QXdNQ0lnYzNSNWJHVTlJbUpoWTJ0bmNtOTFibVF0WTI5c2IzSTZJQ05tWm1ZN0lHSnZjbVJsY2kxeVlXUnBkWE02SURKd2VDSUtJQ0J6ZEhKdmEyVXRkMmxrZEdnOUlqSWlDaUFnYzNSeWIydGxMV3hwYm1WallYQTlJbkp2ZFc1a0lnb2dJSE4wY205clpTMXNhVzVsYW05cGJqMGljbTkxYm1RaUNqNEtJQ0E4Y0dGMGFDQmtQU0pOTVRnZ05pQTJJREU0SWlBdlBnb2dJRHh3WVhSb0lHUTlJbTAySURZZ01USWdNVElpSUM4K0Nqd3ZjM1puUGdvPSkgLSBodHRwczovL2x1Y2lkZS5kZXYvaWNvbnMveFxuICogQHNlZSBodHRwczovL2x1Y2lkZS5kZXYvZ3VpZGUvcGFja2FnZXMvbHVjaWRlLXJlYWN0IC0gRG9jdW1lbnRhdGlvblxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBwcm9wcyAtIEx1Y2lkZSBpY29ucyBwcm9wcyBhbmQgYW55IHZhbGlkIFNWRyBhdHRyaWJ1dGVcbiAqIEByZXR1cm5zIHtKU1guRWxlbWVudH0gSlNYIEVsZW1lbnRcbiAqXG4gKi9cbmNvbnN0IFggPSBjcmVhdGVMdWNpZGVJY29uKCdYJywgW1xuICBbJ3BhdGgnLCB7IGQ6ICdNMTggNiA2IDE4Jywga2V5OiAnMWJsNWY4JyB9XSxcbiAgWydwYXRoJywgeyBkOiAnbTYgNiAxMiAxMicsIGtleTogJ2Q4Yms2dicgfV0sXG5dKTtcblxuZXhwb3J0IGRlZmF1bHQgWDtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/icons/x.js\n"); + +/***/ }), + +/***/ "./node_modules/lucide-react/dist/esm/shared/src/utils.js": +/*!****************************************************************!*\ + !*** ./node_modules/lucide-react/dist/esm/shared/src/utils.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ toKebabCase: () => (/* binding */ toKebabCase)\n/* harmony export */ });\n/**\n * @license lucide-react v0.366.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */ const toKebabCase = (string)=>string.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n //# sourceMappingURL=utils.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbHVjaWRlLXJlYWN0L2Rpc3QvZXNtL3NoYXJlZC9zcmMvdXRpbHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0lBTWEsb0JBQWMsQ0FBQyxNQUMxQixVQUFPLFFBQVEsQ0FBc0Isc0JBQU8sUUFBRSxDQUFZIiwic291cmNlcyI6WyIvc2hhcmVkL3NyYy91dGlscy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvbnZlcnRzIHN0cmluZyB0byBLZWJhYkNhc2VcbiAqXG4gKiBAcGFyYW0ge3N0cmluZ30gc3RyaW5nXG4gKiBAcmV0dXJucyB7c3RyaW5nfSBBIGtlYmFiaXplZCBzdHJpbmdcbiAqL1xuZXhwb3J0IGNvbnN0IHRvS2ViYWJDYXNlID0gKHN0cmluZzogc3RyaW5nKSA9PlxuICBzdHJpbmcucmVwbGFjZSgvKFthLXowLTldKShbQS1aXSkvZywgJyQxLSQyJykudG9Mb3dlckNhc2UoKTtcbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/lucide-react/dist/esm/shared/src/utils.js\n"); + +/***/ }) + +}; +; \ No newline at end of file diff --git a/dsql-app/.local_dist/server/vendor-chunks/next.js b/dsql-app/.local_dist/server/vendor-chunks/next.js new file mode 100644 index 0000000..b53d4e4 --- /dev/null +++ b/dsql-app/.local_dist/server/vendor-chunks/next.js @@ -0,0 +1,473 @@ +/* + * 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/). + */ +exports.id = "vendor-chunks/next"; +exports.ids = ["vendor-chunks/next"]; +exports.modules = { + +/***/ "./node_modules/next/dist/build/templates/helpers.js": +/*!***********************************************************!*\ + !*** ./node_modules/next/dist/build/templates/helpers.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; +eval("/**\n * Hoists a name from a module or promised module.\n *\n * @param module the module to hoist the name from\n * @param name the name to hoist\n * @returns the value on the module (or promised module)\n */ \nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nObject.defineProperty(exports, \"hoist\", ({\n enumerable: true,\n get: function() {\n return hoist;\n }\n}));\nfunction hoist(module, name) {\n // If the name is available in the module, return it.\n if (name in module) {\n return module[name];\n }\n // If a property called `then` exists, assume it's a promise and\n // return a promise that resolves to the name.\n if ('then' in module && typeof module.then === 'function') {\n return module.then((mod)=>hoist(mod, name));\n }\n // If we're trying to hoise the default export, and the module is a function,\n // return the module itself.\n if (typeof module === 'function' && name === 'default') {\n return module;\n }\n // Otherwise, return undefined.\n return undefined;\n}\n\n//# sourceMappingURL=helpers.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3RlbXBsYXRlcy9oZWxwZXJzLmpzIiwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLElBQWlCO0FBQ2pCLDhDQUE2QztBQUM3QztBQUNBLENBQUMsRUFBQztBQUNGLHlDQUF3QztBQUN4QztBQUNBO0FBQ0E7QUFDQTtBQUNBLENBQUMsRUFBQztBQUNGO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQSIsInNvdXJjZXMiOlsiL2FwcC9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3RlbXBsYXRlcy9oZWxwZXJzLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSG9pc3RzIGEgbmFtZSBmcm9tIGEgbW9kdWxlIG9yIHByb21pc2VkIG1vZHVsZS5cbiAqXG4gKiBAcGFyYW0gbW9kdWxlIHRoZSBtb2R1bGUgdG8gaG9pc3QgdGhlIG5hbWUgZnJvbVxuICogQHBhcmFtIG5hbWUgdGhlIG5hbWUgdG8gaG9pc3RcbiAqIEByZXR1cm5zIHRoZSB2YWx1ZSBvbiB0aGUgbW9kdWxlIChvciBwcm9taXNlZCBtb2R1bGUpXG4gKi8gXCJ1c2Ugc3RyaWN0XCI7XG5PYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgXCJfX2VzTW9kdWxlXCIsIHtcbiAgICB2YWx1ZTogdHJ1ZVxufSk7XG5PYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgXCJob2lzdFwiLCB7XG4gICAgZW51bWVyYWJsZTogdHJ1ZSxcbiAgICBnZXQ6IGZ1bmN0aW9uKCkge1xuICAgICAgICByZXR1cm4gaG9pc3Q7XG4gICAgfVxufSk7XG5mdW5jdGlvbiBob2lzdChtb2R1bGUsIG5hbWUpIHtcbiAgICAvLyBJZiB0aGUgbmFtZSBpcyBhdmFpbGFibGUgaW4gdGhlIG1vZHVsZSwgcmV0dXJuIGl0LlxuICAgIGlmIChuYW1lIGluIG1vZHVsZSkge1xuICAgICAgICByZXR1cm4gbW9kdWxlW25hbWVdO1xuICAgIH1cbiAgICAvLyBJZiBhIHByb3BlcnR5IGNhbGxlZCBgdGhlbmAgZXhpc3RzLCBhc3N1bWUgaXQncyBhIHByb21pc2UgYW5kXG4gICAgLy8gcmV0dXJuIGEgcHJvbWlzZSB0aGF0IHJlc29sdmVzIHRvIHRoZSBuYW1lLlxuICAgIGlmICgndGhlbicgaW4gbW9kdWxlICYmIHR5cGVvZiBtb2R1bGUudGhlbiA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICByZXR1cm4gbW9kdWxlLnRoZW4oKG1vZCk9PmhvaXN0KG1vZCwgbmFtZSkpO1xuICAgIH1cbiAgICAvLyBJZiB3ZSdyZSB0cnlpbmcgdG8gaG9pc2UgdGhlIGRlZmF1bHQgZXhwb3J0LCBhbmQgdGhlIG1vZHVsZSBpcyBhIGZ1bmN0aW9uLFxuICAgIC8vIHJldHVybiB0aGUgbW9kdWxlIGl0c2VsZi5cbiAgICBpZiAodHlwZW9mIG1vZHVsZSA9PT0gJ2Z1bmN0aW9uJyAmJiBuYW1lID09PSAnZGVmYXVsdCcpIHtcbiAgICAgICAgcmV0dXJuIG1vZHVsZTtcbiAgICB9XG4gICAgLy8gT3RoZXJ3aXNlLCByZXR1cm4gdW5kZWZpbmVkLlxuICAgIHJldHVybiB1bmRlZmluZWQ7XG59XG5cbi8vIyBzb3VyY2VNYXBwaW5nVVJMPWhlbHBlcnMuanMubWFwIl0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./node_modules/next/dist/build/templates/helpers.js\n"); + +/***/ }), + +/***/ "./node_modules/next/dist/client/request-idle-callback.js": +/*!****************************************************************!*\ + !*** ./node_modules/next/dist/client/request-idle-callback.js ***! + \****************************************************************/ +/***/ ((module, exports) => { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\n0 && (0);\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n cancelIdleCallback: function() {\n return cancelIdleCallback;\n },\n requestIdleCallback: function() {\n return requestIdleCallback;\n }\n});\nconst requestIdleCallback = typeof self !== 'undefined' && self.requestIdleCallback && self.requestIdleCallback.bind(window) || function(cb) {\n let start = Date.now();\n return self.setTimeout(function() {\n cb({\n didTimeout: false,\n timeRemaining: function() {\n return Math.max(0, 50 - (Date.now() - start));\n }\n });\n }, 1);\n};\nconst cancelIdleCallback = typeof self !== 'undefined' && self.cancelIdleCallback && self.cancelIdleCallback.bind(window) || function(id) {\n return clearTimeout(id);\n};\nif ((typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', {\n value: true\n });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n} //# sourceMappingURL=request-idle-callback.js.map\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2NsaWVudC9yZXF1ZXN0LWlkbGUtY2FsbGJhY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0lBZ0JhQSxrQkFBa0I7ZUFBbEJBOztJQWhCQUMsbUJBQW1CO2VBQW5CQTs7O0FBQU4sTUFBTUEsc0JBQ1YsT0FBT0MsU0FBUyxlQUNmQSxLQUFLRCxtQkFBbUIsSUFDeEJDLEtBQUtELG1CQUFtQixDQUFDRSxJQUFJLENBQUNDLFdBQ2hDLFNBQVVDLEVBQXVCO0lBQy9CLElBQUlDLFFBQVFDLEtBQUtDLEdBQUc7SUFDcEIsT0FBT04sS0FBS08sVUFBVSxDQUFDO1FBQ3JCSixHQUFHO1lBQ0RLLFlBQVk7WUFDWkMsZUFBZTtnQkFDYixPQUFPQyxLQUFLQyxHQUFHLENBQUMsR0FBRyxLQUFNTixDQUFBQSxLQUFLQyxHQUFHLEtBQUtGLEtBQUFBLENBQUk7WUFDNUM7UUFDRjtJQUNGLEdBQUc7QUFDTDtBQUVLLE1BQU1OLHFCQUNWLE9BQU9FLFNBQVMsZUFDZkEsS0FBS0Ysa0JBQWtCLElBQ3ZCRSxLQUFLRixrQkFBa0IsQ0FBQ0csSUFBSSxDQUFDQyxXQUMvQixTQUFVVSxFQUFVO0lBQ2xCLE9BQU9DLGFBQWFEO0FBQ3RCIiwic291cmNlcyI6WyIvc3JjL2NsaWVudC9yZXF1ZXN0LWlkbGUtY2FsbGJhY2sudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IHJlcXVlc3RJZGxlQ2FsbGJhY2sgPVxuICAodHlwZW9mIHNlbGYgIT09ICd1bmRlZmluZWQnICYmXG4gICAgc2VsZi5yZXF1ZXN0SWRsZUNhbGxiYWNrICYmXG4gICAgc2VsZi5yZXF1ZXN0SWRsZUNhbGxiYWNrLmJpbmQod2luZG93KSkgfHxcbiAgZnVuY3Rpb24gKGNiOiBJZGxlUmVxdWVzdENhbGxiYWNrKTogbnVtYmVyIHtcbiAgICBsZXQgc3RhcnQgPSBEYXRlLm5vdygpXG4gICAgcmV0dXJuIHNlbGYuc2V0VGltZW91dChmdW5jdGlvbiAoKSB7XG4gICAgICBjYih7XG4gICAgICAgIGRpZFRpbWVvdXQ6IGZhbHNlLFxuICAgICAgICB0aW1lUmVtYWluaW5nOiBmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgcmV0dXJuIE1hdGgubWF4KDAsIDUwIC0gKERhdGUubm93KCkgLSBzdGFydCkpXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgIH0sIDEpXG4gIH1cblxuZXhwb3J0IGNvbnN0IGNhbmNlbElkbGVDYWxsYmFjayA9XG4gICh0eXBlb2Ygc2VsZiAhPT0gJ3VuZGVmaW5lZCcgJiZcbiAgICBzZWxmLmNhbmNlbElkbGVDYWxsYmFjayAmJlxuICAgIHNlbGYuY2FuY2VsSWRsZUNhbGxiYWNrLmJpbmQod2luZG93KSkgfHxcbiAgZnVuY3Rpb24gKGlkOiBudW1iZXIpIHtcbiAgICByZXR1cm4gY2xlYXJUaW1lb3V0KGlkKVxuICB9XG4iXSwibmFtZXMiOlsiY2FuY2VsSWRsZUNhbGxiYWNrIiwicmVxdWVzdElkbGVDYWxsYmFjayIsInNlbGYiLCJiaW5kIiwid2luZG93IiwiY2IiLCJzdGFydCIsIkRhdGUiLCJub3ciLCJzZXRUaW1lb3V0IiwiZGlkVGltZW91dCIsInRpbWVSZW1haW5pbmciLCJNYXRoIiwibWF4IiwiaWQiLCJjbGVhclRpbWVvdXQiXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./node_modules/next/dist/client/request-idle-callback.js\n"); + +/***/ }), + +/***/ "./node_modules/next/dist/client/script.js": +/*!*************************************************!*\ + !*** ./node_modules/next/dist/client/script.js ***! + \*************************************************/ +/***/ ((module, exports, __webpack_require__) => { + +"use strict"; +eval("/* __next_internal_client_entry_do_not_use__ cjs */ \nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\n0 && (0);\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n default: function() {\n return _default;\n },\n handleClientScriptLoad: function() {\n return handleClientScriptLoad;\n },\n initScriptLoader: function() {\n return initScriptLoader;\n }\n});\nconst _interop_require_default = __webpack_require__(/*! @swc/helpers/_/_interop_require_default */ \"./node_modules/@swc/helpers/cjs/_interop_require_default.cjs\");\nconst _interop_require_wildcard = __webpack_require__(/*! @swc/helpers/_/_interop_require_wildcard */ \"./node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs\");\nconst _jsxruntime = __webpack_require__(/*! react/jsx-runtime */ \"react/jsx-runtime\");\nconst _reactdom = /*#__PURE__*/ _interop_require_default._(__webpack_require__(/*! react-dom */ \"react-dom\"));\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(__webpack_require__(/*! react */ \"react\"));\nconst _headmanagercontextsharedruntime = __webpack_require__(/*! ../shared/lib/head-manager-context.shared-runtime */ \"./node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js\");\nconst _setattributesfromprops = __webpack_require__(/*! ./set-attributes-from-props */ \"./node_modules/next/dist/client/set-attributes-from-props.js\");\nconst _requestidlecallback = __webpack_require__(/*! ./request-idle-callback */ \"./node_modules/next/dist/client/request-idle-callback.js\");\nconst ScriptCache = new Map();\nconst LoadCache = new Set();\nconst insertStylesheets = (stylesheets)=>{\n // Case 1: Styles for afterInteractive/lazyOnload with appDir injected via handleClientScriptLoad\n //\n // Using ReactDOM.preinit to feature detect appDir and inject styles\n // Stylesheets might have already been loaded if initialized with Script component\n // Re-inject styles here to handle scripts loaded via handleClientScriptLoad\n // ReactDOM.preinit handles dedup and ensures the styles are loaded only once\n if (_reactdom.default.preinit) {\n stylesheets.forEach((stylesheet)=>{\n _reactdom.default.preinit(stylesheet, {\n as: 'style'\n });\n });\n return;\n }\n // Case 2: Styles for afterInteractive/lazyOnload with pages injected via handleClientScriptLoad\n //\n // We use this function to load styles when appdir is not detected\n // TODO: Use React float APIs to load styles once available for pages dir\n if (false) {}\n};\nconst loadScript = (props)=>{\n const { src, id, onLoad = ()=>{}, onReady = null, dangerouslySetInnerHTML, children = '', strategy = 'afterInteractive', onError, stylesheets } = props;\n const cacheKey = id || src;\n // Script has already loaded\n if (cacheKey && LoadCache.has(cacheKey)) {\n return;\n }\n // Contents of this script are already loading/loaded\n if (ScriptCache.has(src)) {\n LoadCache.add(cacheKey);\n // It is possible that multiple `next/script` components all have same \"src\", but has different \"onLoad\"\n // This is to make sure the same remote script will only load once, but \"onLoad\" are executed in order\n ScriptCache.get(src).then(onLoad, onError);\n return;\n }\n /** Execute after the script first loaded */ const afterLoad = ()=>{\n // Run onReady for the first time after load event\n if (onReady) {\n onReady();\n }\n // add cacheKey to LoadCache when load successfully\n LoadCache.add(cacheKey);\n };\n const el = document.createElement('script');\n const loadPromise = new Promise((resolve, reject)=>{\n el.addEventListener('load', function(e) {\n resolve();\n if (onLoad) {\n onLoad.call(this, e);\n }\n afterLoad();\n });\n el.addEventListener('error', function(e) {\n reject(e);\n });\n }).catch(function(e) {\n if (onError) {\n onError(e);\n }\n });\n if (dangerouslySetInnerHTML) {\n // Casting since lib.dom.d.ts doesn't have TrustedHTML yet.\n el.innerHTML = dangerouslySetInnerHTML.__html || '';\n afterLoad();\n } else if (children) {\n el.textContent = typeof children === 'string' ? children : Array.isArray(children) ? children.join('') : '';\n afterLoad();\n } else if (src) {\n el.src = src;\n // do not add cacheKey into LoadCache for remote script here\n // cacheKey will be added to LoadCache when it is actually loaded (see loadPromise above)\n ScriptCache.set(src, loadPromise);\n }\n (0, _setattributesfromprops.setAttributesFromProps)(el, props);\n if (strategy === 'worker') {\n el.setAttribute('type', 'text/partytown');\n }\n el.setAttribute('data-nscript', strategy);\n // Load styles associated with this script\n if (stylesheets) {\n insertStylesheets(stylesheets);\n }\n document.body.appendChild(el);\n};\nfunction handleClientScriptLoad(props) {\n const { strategy = 'afterInteractive' } = props;\n if (strategy === 'lazyOnload') {\n window.addEventListener('load', ()=>{\n (0, _requestidlecallback.requestIdleCallback)(()=>loadScript(props));\n });\n } else {\n loadScript(props);\n }\n}\nfunction loadLazyScript(props) {\n if (document.readyState === 'complete') {\n (0, _requestidlecallback.requestIdleCallback)(()=>loadScript(props));\n } else {\n window.addEventListener('load', ()=>{\n (0, _requestidlecallback.requestIdleCallback)(()=>loadScript(props));\n });\n }\n}\nfunction addBeforeInteractiveToCache() {\n const scripts = [\n ...document.querySelectorAll('[data-nscript=\"beforeInteractive\"]'),\n ...document.querySelectorAll('[data-nscript=\"beforePageRender\"]')\n ];\n scripts.forEach((script)=>{\n const cacheKey = script.id || script.getAttribute('src');\n LoadCache.add(cacheKey);\n });\n}\nfunction initScriptLoader(scriptLoaderItems) {\n scriptLoaderItems.forEach(handleClientScriptLoad);\n addBeforeInteractiveToCache();\n}\n/**\n * Load a third-party scripts in an optimized way.\n *\n * Read more: [Next.js Docs: `next/script`](https://nextjs.org/docs/app/api-reference/components/script)\n */ function Script(props) {\n const { id, src = '', onLoad = ()=>{}, onReady = null, strategy = 'afterInteractive', onError, stylesheets, ...restProps } = props;\n // Context is available only during SSR\n const { updateScripts, scripts, getIsSsr, appDir, nonce } = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext);\n /**\n * - First mount:\n * 1. The useEffect for onReady executes\n * 2. hasOnReadyEffectCalled.current is false, but the script hasn't loaded yet (not in LoadCache)\n * onReady is skipped, set hasOnReadyEffectCalled.current to true\n * 3. The useEffect for loadScript executes\n * 4. hasLoadScriptEffectCalled.current is false, loadScript executes\n * Once the script is loaded, the onLoad and onReady will be called by then\n * [If strict mode is enabled / is wrapped in component]\n * 5. The useEffect for onReady executes again\n * 6. hasOnReadyEffectCalled.current is true, so entire effect is skipped\n * 7. The useEffect for loadScript executes again\n * 8. hasLoadScriptEffectCalled.current is true, so entire effect is skipped\n *\n * - Second mount:\n * 1. The useEffect for onReady executes\n * 2. hasOnReadyEffectCalled.current is false, but the script has already loaded (found in LoadCache)\n * onReady is called, set hasOnReadyEffectCalled.current to true\n * 3. The useEffect for loadScript executes\n * 4. The script is already loaded, loadScript bails out\n * [If strict mode is enabled / is wrapped in component]\n * 5. The useEffect for onReady executes again\n * 6. hasOnReadyEffectCalled.current is true, so entire effect is skipped\n * 7. The useEffect for loadScript executes again\n * 8. hasLoadScriptEffectCalled.current is true, so entire effect is skipped\n */ const hasOnReadyEffectCalled = (0, _react.useRef)(false);\n (0, _react.useEffect)(()=>{\n const cacheKey = id || src;\n if (!hasOnReadyEffectCalled.current) {\n // Run onReady if script has loaded before but component is re-mounted\n if (onReady && cacheKey && LoadCache.has(cacheKey)) {\n onReady();\n }\n hasOnReadyEffectCalled.current = true;\n }\n }, [\n onReady,\n id,\n src\n ]);\n const hasLoadScriptEffectCalled = (0, _react.useRef)(false);\n (0, _react.useEffect)(()=>{\n if (!hasLoadScriptEffectCalled.current) {\n if (strategy === 'afterInteractive') {\n loadScript(props);\n } else if (strategy === 'lazyOnload') {\n loadLazyScript(props);\n }\n hasLoadScriptEffectCalled.current = true;\n }\n }, [\n props,\n strategy\n ]);\n if (strategy === 'beforeInteractive' || strategy === 'worker') {\n if (updateScripts) {\n scripts[strategy] = (scripts[strategy] || []).concat([\n {\n id,\n src,\n onLoad,\n onReady,\n onError,\n ...restProps\n }\n ]);\n updateScripts(scripts);\n } else if (getIsSsr && getIsSsr()) {\n // Script has already loaded during SSR\n LoadCache.add(id || src);\n } else if (getIsSsr && !getIsSsr()) {\n loadScript(props);\n }\n }\n // For the app directory, we need React Float to preload these scripts.\n if (appDir) {\n // Injecting stylesheets here handles beforeInteractive and worker scripts correctly\n // For other strategies injecting here ensures correct stylesheet order\n // ReactDOM.preinit handles loading the styles in the correct order,\n // also ensures the stylesheet is loaded only once and in a consistent manner\n //\n // Case 1: Styles for beforeInteractive/worker with appDir - handled here\n // Case 2: Styles for beforeInteractive/worker with pages dir - Not handled yet\n // Case 3: Styles for afterInteractive/lazyOnload with appDir - handled here\n // Case 4: Styles for afterInteractive/lazyOnload with pages dir - handled in insertStylesheets function\n if (stylesheets) {\n stylesheets.forEach((styleSrc)=>{\n _reactdom.default.preinit(styleSrc, {\n as: 'style'\n });\n });\n }\n // Before interactive scripts need to be loaded by Next.js' runtime instead\n // of native