@semiont/frontend 0.2.36 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/standalone/apps/frontend/.next/BUILD_ID +1 -1
- package/standalone/apps/frontend/.next/app-build-manifest.json +122 -122
- package/standalone/apps/frontend/.next/app-path-routes-manifest.json +8 -8
- package/standalone/apps/frontend/.next/build-manifest.json +6 -6
- package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
- package/standalone/apps/frontend/.next/required-server-files.json +4 -4
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js +35 -35
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js +49 -49
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js +69 -69
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js +158 -158
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js +121 -121
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js +440 -440
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js +62 -62
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js +25 -25
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js +270 -270
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js +250 -250
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +46 -46
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js +18 -18
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js +135 -135
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js +1454 -1454
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js +1440 -1440
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js +632 -632
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js +79 -79
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js +1613 -1613
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js +262 -262
- package/standalone/apps/frontend/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js +125 -125
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js +604 -604
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found/page.js +358 -358
- package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
- package/standalone/apps/frontend/.next/server/app/_not-found.rsc +3 -3
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js +113 -113
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js +64 -64
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js +42 -42
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/cookies/export/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js +111 -111
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js.nft.json +1 -1
- package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route_client-reference-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/app-paths-manifest.json +8 -8
- package/standalone/apps/frontend/.next/server/chunks/1037.js +4 -4
- package/standalone/apps/frontend/.next/server/chunks/1854.js +55 -55
- package/standalone/apps/frontend/.next/server/chunks/1940.js +388 -388
- package/standalone/apps/frontend/.next/server/chunks/{5137.js → 5015.js} +20 -20
- package/standalone/apps/frontend/.next/server/chunks/{4331.js → 5919.js} +12 -12
- package/standalone/apps/frontend/.next/server/chunks/7912.js +195 -195
- package/standalone/apps/frontend/.next/server/chunks/{255.js → 8387.js} +127 -127
- package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/middleware-manifest.json +5 -5
- package/standalone/apps/frontend/.next/server/next-font-manifest.js +1 -1
- package/standalone/apps/frontend/.next/server/next-font-manifest.json +1 -1
- package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
- package/standalone/apps/frontend/.next/server/pages/500.html +1 -1
- package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
- package/standalone/apps/frontend/.next/server/src/middleware.js +10636 -10636
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/about/page-28023b5ae5e22ad9.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/devops/{page-a9093490466b2b37.js → page-da9614b9f1606d7b.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/{layout-5af3f431ec0b3338.js → layout-62ef934e6bcc18b1.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/page-fc5e1da86912c64f.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/security/page-8031d11e8dccef6c.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/users/{page-1952f839f1e5aec3.js → page-a978206777229291.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/error/{page-c72ec26a8cc98e35.js → page-4e5ee1553c6d8ebe.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/mcp-setup/route-e1d196e7f8d38edd.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/signin/{page-180f998c19826597.js → page-c878d25b0ae5069c.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/signup/{page-f1ccc995126a89a8.js → page-1292f2664ce93b63.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/welcome/{page-f57e39b176753cc4.js → page-7e79cf1f705618db.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/compose/{page-9b4223dae15c8d0c.js → page-7c16ece328eb4a91.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/discover/{page-926f8f5f5569695e.js → page-f9d0032f45241437.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{layout-5ab3b200e60ffd91.js → layout-83fe577a1460d915.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{page-55d3c0928a59e55f.js → page-5349aaee3976e1bb.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/resource/[id]/page-4cb67f9bf8be8f1a.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{layout-a298c8dc1488a191.js → layout-2f6c82f89ff0fb38.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/entity-tags/page-f76e2312764ebe0c.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{layout-fceb080211969ed7.js → layout-63abc0b7153c03d3.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{page-3d971aeb0ca1324a.js → page-7bc1b2215ffcdde0.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/recent/{page-3a7a7a375c4338f5.js → page-a00695b21e364495.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/tag-schemas/{page-47f0c2c1cfb3e969.js → page-874ddff1c67dd96a.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{not-found-cd4d3962209aaa67.js → not-found-9338290efe925a85.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{page-e6857bdeef2ade5e.js → page-46fad01f54cffcaf.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/privacy/{page-2018e48e55ecea79.js → page-7034c8af05b702cd.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/terms/{page-87dc1af32b067913.js → page-fbfecd018ce6acdd.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/api/auth/[...nextauth]/route-24502971e8577474.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/consent/route-680f8e085df19751.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/export/route-5c5bd56c39187fd1.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/app/api/resources/[id]/{route-41d8347af9354a15.js → route-e5f4f3f1353c7a86.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/{error-092a0e51a706052b.js → error-4ec2f52abc66bc6c.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/global-error-c894441824fc03d1.js +1 -0
- package/standalone/apps/frontend/.next/static/chunks/{common-cafbbd01b1c3775d.js → common-d8e3aad4ef182cd5.js} +1 -1
- package/standalone/apps/frontend/.next/static/chunks/main-app-4616290e0bdaf4ae.js +1 -0
- package/standalone/apps/frontend/package.json +3 -3
- package/standalone/apps/frontend/server.js +1 -1
- package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib → sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3} +0 -0
- package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/package.json +11 -5
- package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
- package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
- package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
- package/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/standalone/node_modules/@img/{sharp-darwin-arm64 → sharp-linux-x64}/package.json +13 -7
- package/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +191 -0
- package/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
- package/standalone/package.json +4 -2
- package/standalone/packages/core/package.json +1 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/about/page-d8aed1a2b6034adb.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/page-b8a11ecf0fc92f87.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/security/page-d36785d6e4d45d3a.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/mcp-setup/route-d3c1c9e26edf790a.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/resource/[id]/page-0de67bf833ae4a3f.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/entity-tags/page-a245859e2ddd4e05.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/api/auth/[...nextauth]/route-7469fd42a9044d71.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/consent/route-b6458d3daaa96918.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/export/route-78e35b60a682d097.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/app/global-error-6d117072fb9faa75.js +0 -1
- package/standalone/apps/frontend/.next/static/chunks/main-app-49c62e2894aa25dd.js +0 -1
- package/standalone/apps/frontend/public/android-chrome-192x192.png +0 -0
- package/standalone/apps/frontend/public/android-chrome-512x512.png +0 -0
- package/standalone/apps/frontend/public/apple-touch-icon.png +0 -0
- package/standalone/apps/frontend/public/favicon-128x128.png +0 -0
- package/standalone/apps/frontend/public/favicon-16x16.png +0 -0
- package/standalone/apps/frontend/public/favicon-32x32.png +0 -0
- package/standalone/apps/frontend/public/favicon-48x48.png +0 -0
- package/standalone/apps/frontend/public/favicon-64x64.png +0 -0
- package/standalone/apps/frontend/public/favicon-96x96.png +0 -0
- package/standalone/apps/frontend/public/favicon.ico +0 -0
- package/standalone/apps/frontend/public/favicon.svg +0 -47
- package/standalone/apps/frontend/public/site.webmanifest +0 -19
- package/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- /package/standalone/apps/frontend/.next/static/{OpFkYY-cw7w7h5hHBfiKG → guJTVgKDvrNJVGaUPYdEy}/_buildManifest.js +0 -0
- /package/standalone/apps/frontend/.next/static/{OpFkYY-cw7w7h5hHBfiKG → guJTVgKDvrNJVGaUPYdEy}/_ssgManifest.js +0 -0
- /package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/lib/index.js +0 -0
- /package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/versions.json +0 -0
- /package/standalone/node_modules/@img/{sharp-darwin-arm64 → sharp-linux-x64}/LICENSE +0 -0
|
@@ -12,1507 +12,320 @@ module.exports = require("next/dist/shared/lib/router/utils/app-paths");
|
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ ((__unused_webpack_module,
|
|
17
|
-
|
|
18
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/***/ }),
|
|
22
|
-
|
|
23
|
-
/***/ 3295:
|
|
24
|
-
/***/ ((module) => {
|
|
15
|
+
/***/ 1257:
|
|
16
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
25
17
|
|
|
26
18
|
"use strict";
|
|
27
|
-
|
|
19
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21
|
+
/* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
22
|
+
/* harmony export */ __next_app__: () => (/* binding */ __next_app__),
|
|
23
|
+
/* harmony export */ handler: () => (/* binding */ handler),
|
|
24
|
+
/* harmony export */ pages: () => (/* binding */ pages),
|
|
25
|
+
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
26
|
+
/* harmony export */ tree: () => (/* binding */ tree)
|
|
27
|
+
/* harmony export */ });
|
|
28
|
+
/* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73653);
|
|
29
|
+
/* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);
|
|
30
|
+
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97714);
|
|
31
|
+
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85250);
|
|
32
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37587);
|
|
33
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__);
|
|
34
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22369);
|
|
35
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__);
|
|
36
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1889);
|
|
37
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__);
|
|
38
|
+
/* harmony import */ var next_dist_server_app_render_interop_default__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(96232);
|
|
39
|
+
/* harmony import */ var next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22841);
|
|
40
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46537);
|
|
41
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__);
|
|
42
|
+
/* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(46027);
|
|
43
|
+
/* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__);
|
|
44
|
+
/* harmony import */ var next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(78559);
|
|
45
|
+
/* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(75928);
|
|
46
|
+
/* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__);
|
|
47
|
+
/* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19374);
|
|
48
|
+
/* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__);
|
|
49
|
+
/* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(65971);
|
|
50
|
+
/* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__);
|
|
51
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(261);
|
|
52
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__);
|
|
53
|
+
/* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79898);
|
|
54
|
+
/* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__);
|
|
55
|
+
/* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(32967);
|
|
56
|
+
/* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__);
|
|
57
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26713);
|
|
58
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__);
|
|
59
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40139);
|
|
60
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__);
|
|
61
|
+
/* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(14248);
|
|
62
|
+
/* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__);
|
|
63
|
+
/* harmony import */ var next_dist_server_render_result__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59580);
|
|
64
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57749);
|
|
65
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__);
|
|
66
|
+
/* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(53123);
|
|
67
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(89745);
|
|
68
|
+
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
|
|
69
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
|
|
70
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
|
|
71
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(90488);
|
|
72
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(18283);
|
|
73
|
+
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__);
|
|
74
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(39818);
|
|
75
|
+
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__);
|
|
76
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
77
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__) if(["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__[__WEBPACK_IMPORT_KEY__]
|
|
78
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
79
|
+
const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 47570));
|
|
80
|
+
const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26412));
|
|
81
|
+
const module2 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 90488));
|
|
82
|
+
const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33506));
|
|
83
|
+
const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 15034, 23));
|
|
84
|
+
const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 54693, 23));
|
|
85
|
+
const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 82778));
|
|
86
|
+
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71743));
|
|
87
|
+
const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
|
|
88
|
+
const page9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 78474));
|
|
28
89
|
|
|
29
|
-
/***/ }),
|
|
30
90
|
|
|
31
|
-
/***/ 3591:
|
|
32
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
33
91
|
|
|
34
|
-
"use strict";
|
|
35
92
|
|
|
36
|
-
// EXPORTS
|
|
37
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
38
|
-
t: () => (/* binding */ ToolbarPanels)
|
|
39
|
-
});
|
|
40
93
|
|
|
41
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
42
|
-
var react_jsx_runtime = __webpack_require__(78157);
|
|
43
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
44
|
-
var react = __webpack_require__(31768);
|
|
45
|
-
// EXTERNAL MODULE: ../../packages/react-ui/dist/index.mjs + 27 modules
|
|
46
|
-
var dist = __webpack_require__(30658);
|
|
47
|
-
;// __barrel_optimize__?names=ResizeHandle,SettingsPanel,useEventSubscriptions,usePanelWidth!=!../../packages/react-ui/dist/index.mjs
|
|
48
94
|
|
|
49
95
|
|
|
50
|
-
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
51
|
-
var next_auth_react = __webpack_require__(16422);
|
|
52
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/api/image.js
|
|
53
|
-
var api_image = __webpack_require__(91712);
|
|
54
|
-
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
55
|
-
var react_client = __webpack_require__(72668);
|
|
56
|
-
;// __barrel_optimize__?names=formatTime,sanitizeImageURL,useSessionExpiry!=!../../packages/react-ui/dist/index.mjs
|
|
57
96
|
|
|
58
97
|
|
|
59
|
-
// EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
|
|
60
|
-
var useAuth = __webpack_require__(3919);
|
|
61
|
-
;// ./src/components/UserPanel.tsx
|
|
62
|
-
/* __next_internal_client_entry_do_not_use__ UserPanel auto */
|
|
63
98
|
|
|
64
99
|
|
|
65
100
|
|
|
66
101
|
|
|
67
102
|
|
|
68
103
|
|
|
69
|
-
// Fallback avatar when image fails to load or is invalid
|
|
70
|
-
const FALLBACK_AVATAR = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTYiIGN5PSIxNiIgcj0iMTYiIGZpbGw9IiM2QjcyODAiLz4KPHBhdGggZD0iTTE2IDE2QzE4LjIwOTEgMTYgMjAgMTQuMjA5MSAyMCAxMkMyMCA5Ljc5MDg2IDE4LjIwOTEgOCAxNiA4QzEzLjc5MDkgOCAxMiA5Ljc5MDg2IDEyIDEyQzEyIDE0LjIwOTEgMTMuNzkwOSAxNiAxNiAxNloiIGZpbGw9IiNFNUU3RUIiLz4KPHBhdGggZD0iTTI0IDI1QzI0IDIxLjY4NjMgMjAuNDE4MyAxOSAxNiAxOUMxMS41ODE3IDE5IDggMjEuNjg2MyA4IDI1IiBzdHJva2U9IiNFNUU3RUIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPg==';
|
|
71
|
-
function UserPanel() {
|
|
72
|
-
const t = (0,react_client/* useTranslations */.c)('UserPanel');
|
|
73
|
-
const { displayName, avatarUrl, userDomain, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
|
|
74
|
-
const [imageError, setImageError] = (0,react.useState)(false);
|
|
75
|
-
const { timeRemaining } = (0,dist.useSessionExpiry)();
|
|
76
|
-
const sessionTimeFormatted = (0,dist.formatTime)(timeRemaining) ?? 'Unknown';
|
|
77
|
-
// Sanitize and validate the profile image URL
|
|
78
|
-
const profileImageUrl = (()=>{
|
|
79
|
-
if (!avatarUrl || imageError) {
|
|
80
|
-
return FALLBACK_AVATAR;
|
|
81
|
-
}
|
|
82
|
-
const sanitized = (0,dist.sanitizeImageURL)(avatarUrl);
|
|
83
|
-
if (!sanitized) {
|
|
84
|
-
console.warn('Invalid profile image URL detected, using fallback');
|
|
85
|
-
return FALLBACK_AVATAR;
|
|
86
|
-
}
|
|
87
|
-
return sanitized;
|
|
88
|
-
})();
|
|
89
|
-
const handleSignOut = async ()=>{
|
|
90
|
-
await (0,next_auth_react.signOut)({
|
|
91
|
-
callbackUrl: '/'
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
95
|
-
className: "semiont-user-panel",
|
|
96
|
-
children: [
|
|
97
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("h3", {
|
|
98
|
-
className: "semiont-user-panel__title",
|
|
99
|
-
children: t('account')
|
|
100
|
-
}),
|
|
101
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
102
|
-
className: "space-y-4",
|
|
103
|
-
children: [
|
|
104
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
105
|
-
className: "flex items-center gap-3",
|
|
106
|
-
children: [
|
|
107
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(api_image["default"], {
|
|
108
|
-
src: profileImageUrl,
|
|
109
|
-
alt: t('profileAlt', {
|
|
110
|
-
name: displayName || t('user')
|
|
111
|
-
}),
|
|
112
|
-
width: 48,
|
|
113
|
-
height: 48,
|
|
114
|
-
className: "w-12 h-12 rounded-full object-cover",
|
|
115
|
-
onError: ()=>setImageError(true),
|
|
116
|
-
unoptimized: profileImageUrl === FALLBACK_AVATAR,
|
|
117
|
-
sizes: "48px",
|
|
118
|
-
quality: 85
|
|
119
|
-
}),
|
|
120
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
121
|
-
className: "flex-1 min-w-0",
|
|
122
|
-
children: [
|
|
123
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
124
|
-
className: "semiont-panel-text",
|
|
125
|
-
children: displayName || t('user')
|
|
126
|
-
}),
|
|
127
|
-
userDomain && /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
128
|
-
className: "semiont-panel-text-secondary",
|
|
129
|
-
children: [
|
|
130
|
-
"@",
|
|
131
|
-
userDomain
|
|
132
|
-
]
|
|
133
|
-
})
|
|
134
|
-
]
|
|
135
|
-
})
|
|
136
|
-
]
|
|
137
|
-
}),
|
|
138
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
139
|
-
children: [
|
|
140
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("label", {
|
|
141
|
-
className: "semiont-panel-label",
|
|
142
|
-
children: t('session')
|
|
143
|
-
}),
|
|
144
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
145
|
-
className: "semiont-session-box",
|
|
146
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
147
|
-
className: "semiont-panel-hint",
|
|
148
|
-
children: t('expiresIn', {
|
|
149
|
-
time: sessionTimeFormatted
|
|
150
|
-
})
|
|
151
|
-
})
|
|
152
|
-
})
|
|
153
|
-
]
|
|
154
|
-
}),
|
|
155
|
-
(isAdmin || isModerator) && /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
156
|
-
children: [
|
|
157
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("label", {
|
|
158
|
-
className: "semiont-panel-label",
|
|
159
|
-
children: t('privileges')
|
|
160
|
-
}),
|
|
161
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
162
|
-
className: "space-y-1",
|
|
163
|
-
children: [
|
|
164
|
-
isAdmin && /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
165
|
-
className: "semiont-privilege-badge semiont-privilege-badge--admin",
|
|
166
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("span", {
|
|
167
|
-
className: "semiont-privilege-text",
|
|
168
|
-
children: t('administrator')
|
|
169
|
-
})
|
|
170
|
-
}),
|
|
171
|
-
isModerator && /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
172
|
-
className: "semiont-privilege-badge semiont-privilege-badge--moderator",
|
|
173
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("span", {
|
|
174
|
-
className: "semiont-privilege-text",
|
|
175
|
-
children: t('moderator')
|
|
176
|
-
})
|
|
177
|
-
})
|
|
178
|
-
]
|
|
179
|
-
})
|
|
180
|
-
]
|
|
181
|
-
}),
|
|
182
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
183
|
-
className: "semiont-panel-divider",
|
|
184
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("button", {
|
|
185
|
-
onClick: handleSignOut,
|
|
186
|
-
className: "semiont-signout-button",
|
|
187
|
-
children: t('signOut')
|
|
188
|
-
})
|
|
189
|
-
})
|
|
190
|
-
]
|
|
191
|
-
})
|
|
192
|
-
]
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
104
|
|
|
196
|
-
// EXTERNAL MODULE: ../../node_modules/use-intl/dist/esm/production/react.js + 17 modules
|
|
197
|
-
var production_react = __webpack_require__(16917);
|
|
198
|
-
// EXTERNAL MODULE: ./src/i18n/routing.ts
|
|
199
|
-
var routing = __webpack_require__(1915);
|
|
200
|
-
;// __barrel_optimize__?names=COMMON_PANELS!=!../../packages/react-ui/dist/index.mjs
|
|
201
105
|
|
|
202
106
|
|
|
203
|
-
;// ./src/components/toolbar/ToolbarPanels.tsx
|
|
204
|
-
/* __next_internal_client_entry_do_not_use__ ToolbarPanels auto */
|
|
205
107
|
|
|
206
108
|
|
|
207
109
|
|
|
208
110
|
|
|
209
111
|
|
|
210
112
|
|
|
211
|
-
/**
|
|
212
|
-
* Renders the toolbar panel container with common panels (user, settings)
|
|
213
|
-
* and any context-specific panels passed as children.
|
|
214
|
-
*
|
|
215
|
-
* Settings changes are handled via GlobalSettingsEventBus - no callbacks needed.
|
|
216
|
-
*
|
|
217
|
-
* @example
|
|
218
|
-
* // Simple context (compose, discover, moderate, admin pages)
|
|
219
|
-
* <ToolbarPanels
|
|
220
|
-
* activePanel={activePanel}
|
|
221
|
-
* theme={theme}
|
|
222
|
-
* showLineNumbers={showLineNumbers}
|
|
223
|
-
* />
|
|
224
|
-
*
|
|
225
|
-
* @example
|
|
226
|
-
* // Document context with custom panels
|
|
227
|
-
* <ToolbarPanels
|
|
228
|
-
* activePanel={activePanel}
|
|
229
|
-
* theme={theme}
|
|
230
|
-
* showLineNumbers={showLineNumbers}
|
|
231
|
-
* >
|
|
232
|
-
* {activePanel === 'annotations' && <UnifiedAnnotationsPanel ... />}
|
|
233
|
-
* {activePanel === 'history' && <AnnotationHistory ... />}
|
|
234
|
-
* {activePanel === 'info' && <ResourceInfoPanel ... />}
|
|
235
|
-
* {activePanel === 'collaboration' && <CollaborationPanel ... />}
|
|
236
|
-
* {activePanel === 'jsonld' && <JsonLdPanel ... />}
|
|
237
|
-
* </ToolbarPanels>
|
|
238
|
-
*/ function ToolbarPanels({ activePanel, theme, showLineNumbers, hoverDelayMs, children }) {
|
|
239
|
-
const locale = (0,production_react/* useLocale */.Ym)();
|
|
240
|
-
const router = (0,routing/* useRouter */.rd)();
|
|
241
|
-
const pathname = (0,routing/* usePathname */.a8)();
|
|
242
|
-
const [isPending, startTransition] = (0,react.useTransition)();
|
|
243
|
-
// Panel width management with localStorage persistence
|
|
244
|
-
const { width, setWidth, minWidth, maxWidth } = (0,dist.usePanelWidth)();
|
|
245
|
-
// Handle locale change events
|
|
246
|
-
const handleLocaleChanged = (0,react.useCallback)(({ locale: newLocale })=>{
|
|
247
|
-
if (!pathname) return;
|
|
248
|
-
startTransition(()=>{
|
|
249
|
-
// The router from @/i18n/routing is locale-aware and will handle the locale prefix
|
|
250
|
-
router.replace(pathname, {
|
|
251
|
-
locale: newLocale
|
|
252
|
-
});
|
|
253
|
-
});
|
|
254
|
-
}, [
|
|
255
|
-
pathname,
|
|
256
|
-
router,
|
|
257
|
-
startTransition
|
|
258
|
-
]);
|
|
259
|
-
// Subscribe to locale change events
|
|
260
|
-
(0,dist.useEventSubscriptions)({
|
|
261
|
-
'settings:locale-changed': handleLocaleChanged
|
|
262
|
-
});
|
|
263
|
-
// Don't render container if no panel is active
|
|
264
|
-
if (!activePanel) {
|
|
265
|
-
return null;
|
|
266
|
-
}
|
|
267
|
-
// In simple context (no children), only user and settings panels are valid.
|
|
268
|
-
// If a resource-specific panel is still active from a previous route, hide the container.
|
|
269
|
-
if (!children && !dist.COMMON_PANELS.includes(activePanel)) {
|
|
270
|
-
return null;
|
|
271
|
-
}
|
|
272
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
273
|
-
className: "semiont-toolbar-panels",
|
|
274
|
-
style: {
|
|
275
|
-
width: `${width}px`,
|
|
276
|
-
position: 'relative'
|
|
277
|
-
},
|
|
278
|
-
children: [
|
|
279
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.ResizeHandle, {
|
|
280
|
-
onResize: setWidth,
|
|
281
|
-
minWidth: minWidth,
|
|
282
|
-
maxWidth: maxWidth,
|
|
283
|
-
position: "left",
|
|
284
|
-
ariaLabel: "Resize right panel"
|
|
285
|
-
}),
|
|
286
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
287
|
-
className: "semiont-toolbar-panels__content",
|
|
288
|
-
children: [
|
|
289
|
-
children,
|
|
290
|
-
activePanel === 'user' && /*#__PURE__*/ (0,react_jsx_runtime.jsx)(UserPanel, {}),
|
|
291
|
-
activePanel === 'settings' && /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.SettingsPanel, {
|
|
292
|
-
showLineNumbers: showLineNumbers,
|
|
293
|
-
theme: theme,
|
|
294
|
-
hoverDelayMs: hoverDelayMs,
|
|
295
|
-
locale: locale,
|
|
296
|
-
isPendingLocaleChange: isPending
|
|
297
|
-
})
|
|
298
|
-
]
|
|
299
|
-
})
|
|
300
|
-
]
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
/***/ }),
|
|
306
|
-
|
|
307
|
-
/***/ 3919:
|
|
308
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
309
|
-
|
|
310
|
-
"use strict";
|
|
311
|
-
|
|
312
|
-
// EXPORTS
|
|
313
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
314
|
-
As: () => (/* binding */ useAuth)
|
|
315
|
-
});
|
|
316
|
-
|
|
317
|
-
// UNUSED EXPORTS: usePermissions, useUserPreferences
|
|
318
|
-
|
|
319
|
-
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
320
|
-
var react = __webpack_require__(16422);
|
|
321
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
322
|
-
var ssr_react = __webpack_require__(31768);
|
|
323
|
-
// EXTERNAL MODULE: ../../packages/api-client/dist/index.js
|
|
324
|
-
var dist = __webpack_require__(19208);
|
|
325
|
-
;// __barrel_optimize__?names=JWTTokenSchema,validateData!=!../../packages/api-client/dist/index.js
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
;// ./src/hooks/useAuth.ts
|
|
329
|
-
/* __next_internal_client_entry_do_not_use__ useAuth,useUserPreferences,usePermissions auto */
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Enhanced authentication hook with validation and user information
|
|
334
|
-
*/ function useAuth() {
|
|
335
|
-
const { data: session, status } = (0,react.useSession)();
|
|
336
|
-
const authInfo = (0,ssr_react.useMemo)(()=>{
|
|
337
|
-
const isLoading = status === 'loading';
|
|
338
|
-
const isAuthenticated = !!session?.user;
|
|
339
|
-
// Validate backend token if present
|
|
340
|
-
const hasValidBackendToken = session?.backendToken ? (0,dist/* validateData */.lv)(dist/* JWTTokenSchema */.k3, session.backendToken).success : false;
|
|
341
|
-
return {
|
|
342
|
-
// Session data
|
|
343
|
-
session,
|
|
344
|
-
user: session?.user,
|
|
345
|
-
backendUser: session?.backendUser,
|
|
346
|
-
// Status flags
|
|
347
|
-
isLoading,
|
|
348
|
-
isAuthenticated,
|
|
349
|
-
hasValidBackendToken,
|
|
350
|
-
// Computed properties
|
|
351
|
-
userDomain: session?.backendUser?.domain || session?.user?.email?.split('@')[1],
|
|
352
|
-
displayName: session?.user?.name || session?.user?.email?.split('@')[0] || 'User',
|
|
353
|
-
avatarUrl: session?.user?.image,
|
|
354
|
-
isAdmin: session?.backendUser?.isAdmin || false,
|
|
355
|
-
isModerator: session?.backendUser?.isModerator || false,
|
|
356
|
-
// Combined auth status
|
|
357
|
-
isFullyAuthenticated: isAuthenticated && hasValidBackendToken
|
|
358
|
-
};
|
|
359
|
-
}, [
|
|
360
|
-
session,
|
|
361
|
-
status
|
|
362
|
-
]);
|
|
363
|
-
return authInfo;
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
* Hook for getting user preferences and settings
|
|
367
|
-
*/ function useUserPreferences() {
|
|
368
|
-
const { session } = useAuth();
|
|
369
|
-
return useMemo(()=>{
|
|
370
|
-
// In the future, this could fetch user preferences from backend
|
|
371
|
-
// For now, return defaults
|
|
372
|
-
return {
|
|
373
|
-
theme: 'system',
|
|
374
|
-
language: 'en',
|
|
375
|
-
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
376
|
-
emailNotifications: true
|
|
377
|
-
};
|
|
378
|
-
}, [
|
|
379
|
-
session
|
|
380
|
-
]);
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Hook for checking user permissions (future expansion)
|
|
384
|
-
*/ function usePermissions() {
|
|
385
|
-
const { backendUser, isFullyAuthenticated } = useAuth();
|
|
386
|
-
return useMemo(()=>{
|
|
387
|
-
if (!isFullyAuthenticated || !backendUser) {
|
|
388
|
-
return {
|
|
389
|
-
canRead: false,
|
|
390
|
-
canWrite: false,
|
|
391
|
-
canAdmin: false,
|
|
392
|
-
canManageUsers: false
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
// Basic permissions - in the future this would come from backend
|
|
396
|
-
return {
|
|
397
|
-
canRead: true,
|
|
398
|
-
canWrite: true,
|
|
399
|
-
canAdmin: false,
|
|
400
|
-
canManageUsers: false
|
|
401
|
-
};
|
|
402
|
-
}, [
|
|
403
|
-
backendUser,
|
|
404
|
-
isFullyAuthenticated
|
|
405
|
-
]);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
/***/ }),
|
|
410
|
-
|
|
411
|
-
/***/ 10846:
|
|
412
|
-
/***/ ((module) => {
|
|
413
|
-
|
|
414
|
-
"use strict";
|
|
415
|
-
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
416
|
-
|
|
417
|
-
/***/ }),
|
|
418
|
-
|
|
419
|
-
/***/ 19121:
|
|
420
|
-
/***/ ((module) => {
|
|
421
113
|
|
|
422
|
-
|
|
423
|
-
module.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
114
|
+
// We inject the tree and pages here so that we can use them in the route
|
|
115
|
+
// module.
|
|
116
|
+
const tree = {
|
|
117
|
+
children: [
|
|
118
|
+
'',
|
|
119
|
+
{
|
|
120
|
+
children: [
|
|
121
|
+
'[locale]',
|
|
122
|
+
{
|
|
123
|
+
children: [
|
|
124
|
+
'moderate',
|
|
125
|
+
{
|
|
126
|
+
children: [
|
|
127
|
+
'tag-schemas',
|
|
128
|
+
{
|
|
129
|
+
children: ['__PAGE__', {}, {
|
|
130
|
+
page: [page9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx"],
|
|
131
|
+
|
|
132
|
+
}]
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
'layout': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx"],
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
|
|
148
|
+
'not-found': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
'layout': [module0, "/home/runner/work/semiont/semiont/apps/frontend/src/app/layout.tsx"],
|
|
155
|
+
'error': [module1, "/home/runner/work/semiont/semiont/apps/frontend/src/app/error.tsx"],
|
|
156
|
+
'global-error': [module2, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
157
|
+
'not-found': [module3, "/home/runner/work/semiont/semiont/apps/frontend/src/app/not-found.tsx"],
|
|
158
|
+
'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
|
|
159
|
+
'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
}.children;
|
|
164
|
+
const pages = ["/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx"];
|
|
432
165
|
|
|
433
|
-
/***/ }),
|
|
434
166
|
|
|
435
|
-
/***/ 22430:
|
|
436
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
437
167
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
168
|
+
const __next_app_require__ = __webpack_require__
|
|
169
|
+
const __next_app_load_chunk__ = () => Promise.resolve()
|
|
170
|
+
const __next_app__ = {
|
|
171
|
+
require: __next_app_require__,
|
|
172
|
+
loadChunk: __next_app_load_chunk__
|
|
173
|
+
};
|
|
443
174
|
|
|
444
175
|
|
|
445
176
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
/***/ 28354:
|
|
457
|
-
/***/ ((module) => {
|
|
458
|
-
|
|
459
|
-
"use strict";
|
|
460
|
-
module.exports = require("util");
|
|
461
|
-
|
|
462
|
-
/***/ }),
|
|
463
|
-
|
|
464
|
-
/***/ 29294:
|
|
465
|
-
/***/ ((module) => {
|
|
466
|
-
|
|
467
|
-
"use strict";
|
|
468
|
-
module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
|
|
469
|
-
|
|
470
|
-
/***/ }),
|
|
471
|
-
|
|
472
|
-
/***/ 31967:
|
|
473
|
-
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
474
|
-
|
|
475
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71642));
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
/***/ }),
|
|
479
|
-
|
|
480
|
-
/***/ 33873:
|
|
481
|
-
/***/ ((module) => {
|
|
482
|
-
|
|
483
|
-
"use strict";
|
|
484
|
-
module.exports = require("path");
|
|
485
|
-
|
|
486
|
-
/***/ }),
|
|
487
|
-
|
|
488
|
-
/***/ 33886:
|
|
489
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
490
|
-
|
|
491
|
-
"use strict";
|
|
492
|
-
// ESM COMPAT FLAG
|
|
493
|
-
__webpack_require__.r(__webpack_exports__);
|
|
494
|
-
|
|
495
|
-
// EXPORTS
|
|
496
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
497
|
-
"default": () => (/* binding */ TagSchemasPageWrapper)
|
|
498
|
-
});
|
|
499
|
-
|
|
500
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
501
|
-
var react_jsx_runtime = __webpack_require__(78157);
|
|
502
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/api/navigation.js
|
|
503
|
-
var navigation = __webpack_require__(71159);
|
|
504
|
-
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
505
|
-
var react = __webpack_require__(16422);
|
|
506
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
507
|
-
var ssr_react = __webpack_require__(31768);
|
|
508
|
-
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
509
|
-
var react_client = __webpack_require__(72668);
|
|
510
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=Toolbar!=!../../packages/react-ui/dist/index.mjs
|
|
511
|
-
var dist = __webpack_require__(61740);
|
|
512
|
-
// EXTERNAL MODULE: ./src/components/toolbar/ToolbarPanels.tsx + 4 modules
|
|
513
|
-
var ToolbarPanels = __webpack_require__(3591);
|
|
514
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=useTheme!=!../../packages/react-ui/dist/index.mjs
|
|
515
|
-
var react_ui_dist = __webpack_require__(74407);
|
|
516
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=usePanelBrowse!=!../../packages/react-ui/dist/index.mjs
|
|
517
|
-
var _barrel_optimize_names_usePanelBrowse_packages_react_ui_dist = __webpack_require__(22430);
|
|
518
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=useLineNumbers!=!../../packages/react-ui/dist/index.mjs
|
|
519
|
-
var _barrel_optimize_names_useLineNumbers_packages_react_ui_dist = __webpack_require__(81294);
|
|
520
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
|
|
521
|
-
var _barrel_optimize_names_useEventSubscriptions_packages_react_ui_dist = __webpack_require__(54450);
|
|
522
|
-
;// ../../packages/ontology/dist/index.js
|
|
523
|
-
// src/entity-types.ts
|
|
524
|
-
var DEFAULT_ENTITY_TYPES = (/* unused pure expression or super */ null && ([
|
|
525
|
-
"Person",
|
|
526
|
-
"Organization",
|
|
527
|
-
"Location",
|
|
528
|
-
"Event",
|
|
529
|
-
"Concept",
|
|
530
|
-
"Product",
|
|
531
|
-
"Technology",
|
|
532
|
-
"Date",
|
|
533
|
-
"Author"
|
|
534
|
-
]));
|
|
535
|
-
// src/tag-schemas.ts
|
|
536
|
-
var TAG_SCHEMAS = {
|
|
537
|
-
"legal-irac": {
|
|
538
|
-
id: "legal-irac",
|
|
539
|
-
name: "Legal Analysis (IRAC)",
|
|
540
|
-
description: "Issue, Rule, Application, Conclusion framework for legal reasoning",
|
|
541
|
-
domain: "legal",
|
|
542
|
-
tags: [
|
|
543
|
-
{
|
|
544
|
-
name: "Issue",
|
|
545
|
-
description: "The legal question or problem to be resolved",
|
|
546
|
-
examples: [
|
|
547
|
-
"What is the central legal question?",
|
|
548
|
-
"What must the court decide?",
|
|
549
|
-
"What is the dispute about?"
|
|
550
|
-
]
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
name: "Rule",
|
|
554
|
-
description: "The relevant law, statute, or legal principle",
|
|
555
|
-
examples: [
|
|
556
|
-
"What law applies?",
|
|
557
|
-
"What is the legal standard?",
|
|
558
|
-
"What statute governs this case?"
|
|
559
|
-
]
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
name: "Application",
|
|
563
|
-
description: "How the rule applies to the specific facts",
|
|
564
|
-
examples: [
|
|
565
|
-
"How does the law apply to these facts?",
|
|
566
|
-
"Analysis of the case",
|
|
567
|
-
"How do the facts satisfy the legal standard?"
|
|
568
|
-
]
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
name: "Conclusion",
|
|
572
|
-
description: "The resolution or outcome based on the analysis",
|
|
573
|
-
examples: [
|
|
574
|
-
"What is the court's decision?",
|
|
575
|
-
"What is the final judgment?",
|
|
576
|
-
"What is the holding?"
|
|
577
|
-
]
|
|
578
|
-
}
|
|
579
|
-
]
|
|
177
|
+
// Create and export the route module that will be consumed.
|
|
178
|
+
const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
|
|
179
|
+
definition: {
|
|
180
|
+
kind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_PAGE,
|
|
181
|
+
page: "/[locale]/moderate/tag-schemas/page",
|
|
182
|
+
pathname: "/[locale]/moderate/tag-schemas",
|
|
183
|
+
// The following aren't used in production.
|
|
184
|
+
bundlePath: '',
|
|
185
|
+
filename: '',
|
|
186
|
+
appPaths: []
|
|
580
187
|
},
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
name: "Scientific Paper (IMRAD)",
|
|
584
|
-
description: "Introduction, Methods, Results, Discussion structure for research papers",
|
|
585
|
-
domain: "scientific",
|
|
586
|
-
tags: [
|
|
587
|
-
{
|
|
588
|
-
name: "Introduction",
|
|
589
|
-
description: "Background, context, and research question",
|
|
590
|
-
examples: [
|
|
591
|
-
"What is the research question?",
|
|
592
|
-
"Why is this important?",
|
|
593
|
-
"What is the hypothesis?"
|
|
594
|
-
]
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
name: "Methods",
|
|
598
|
-
description: "Experimental design and procedures",
|
|
599
|
-
examples: [
|
|
600
|
-
"How was the study conducted?",
|
|
601
|
-
"What methods were used?",
|
|
602
|
-
"What was the experimental design?"
|
|
603
|
-
]
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
name: "Results",
|
|
607
|
-
description: "Findings and observations",
|
|
608
|
-
examples: [
|
|
609
|
-
"What did the study find?",
|
|
610
|
-
"What are the data?",
|
|
611
|
-
"What were the observations?"
|
|
612
|
-
]
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
name: "Discussion",
|
|
616
|
-
description: "Interpretation and implications of results",
|
|
617
|
-
examples: [
|
|
618
|
-
"What do the results mean?",
|
|
619
|
-
"What are the implications?",
|
|
620
|
-
"How do these findings relate to prior work?"
|
|
621
|
-
]
|
|
622
|
-
}
|
|
623
|
-
]
|
|
188
|
+
userland: {
|
|
189
|
+
loaderTree: tree
|
|
624
190
|
},
|
|
625
|
-
"
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
"What position is being taken?"
|
|
638
|
-
]
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
name: "Evidence",
|
|
642
|
-
description: "Data or facts supporting the claim",
|
|
643
|
-
examples: [
|
|
644
|
-
"What supports this claim?",
|
|
645
|
-
"What are the facts?",
|
|
646
|
-
"What data is provided?"
|
|
647
|
-
]
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
name: "Warrant",
|
|
651
|
-
description: "Reasoning connecting evidence to claim",
|
|
652
|
-
examples: [
|
|
653
|
-
"Why does this evidence support the claim?",
|
|
654
|
-
"What is the logic?",
|
|
655
|
-
"How does this reasoning work?"
|
|
656
|
-
]
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
name: "Counterargument",
|
|
660
|
-
description: "Opposing viewpoints or objections",
|
|
661
|
-
examples: [
|
|
662
|
-
"What are the objections?",
|
|
663
|
-
"What do critics say?",
|
|
664
|
-
"What are alternative views?"
|
|
665
|
-
]
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
name: "Rebuttal",
|
|
669
|
-
description: "Response to counterarguments",
|
|
670
|
-
examples: [
|
|
671
|
-
"How is the objection addressed?",
|
|
672
|
-
"Why is the counterargument wrong?",
|
|
673
|
-
"How is the criticism answered?"
|
|
674
|
-
]
|
|
675
|
-
}
|
|
676
|
-
]
|
|
191
|
+
distDir: ".next" || 0,
|
|
192
|
+
relativeProjectDir: false || ''
|
|
193
|
+
});
|
|
194
|
+
async function handler(req, res, ctx) {
|
|
195
|
+
var _this;
|
|
196
|
+
let srcPage = "/[locale]/moderate/tag-schemas/page";
|
|
197
|
+
// turbopack doesn't normalize `/index` in the page name
|
|
198
|
+
// so we need to to process dynamic routes properly
|
|
199
|
+
// TODO: fix turbopack providing differing value from webpack
|
|
200
|
+
if (false) {} else if (srcPage === '/index') {
|
|
201
|
+
// we always normalize /index specifically
|
|
202
|
+
srcPage = '/';
|
|
677
203
|
}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
return schema.tags.some((tag)=>tag.name === categoryName);
|
|
692
|
-
}
|
|
693
|
-
function getSchemaCategory(schemaId, categoryName) {
|
|
694
|
-
const schema = getTagSchema(schemaId);
|
|
695
|
-
if (!schema) return null;
|
|
696
|
-
return schema.tags.find((tag)=>tag.name === categoryName) || null;
|
|
697
|
-
}
|
|
698
|
-
// src/entity-extraction.ts
|
|
699
|
-
function getEntityTypes(annotation) {
|
|
700
|
-
if (Array.isArray(annotation.body)) {
|
|
701
|
-
const entityTags = [];
|
|
702
|
-
for (const item of annotation.body){
|
|
703
|
-
if (typeof item === "object" && item !== null && "type" in item && "value" in item && "purpose" in item) {
|
|
704
|
-
const itemType = item.type;
|
|
705
|
-
const itemValue = item.value;
|
|
706
|
-
const itemPurpose = item.purpose;
|
|
707
|
-
if (itemType === "TextualBody" && itemPurpose === "tagging" && typeof itemValue === "string" && itemValue.length > 0) {
|
|
708
|
-
entityTags.push(itemValue);
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
return entityTags;
|
|
204
|
+
const multiZoneDraftMode = false;
|
|
205
|
+
const initialPostponed = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed');
|
|
206
|
+
// TODO: replace with more specific flags
|
|
207
|
+
const minimalMode = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode');
|
|
208
|
+
const prepareResult = await routeModule.prepare(req, res, {
|
|
209
|
+
srcPage,
|
|
210
|
+
multiZoneDraftMode
|
|
211
|
+
});
|
|
212
|
+
if (!prepareResult) {
|
|
213
|
+
res.statusCode = 400;
|
|
214
|
+
res.end('Bad Request');
|
|
215
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
216
|
+
return null;
|
|
713
217
|
}
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
const
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
218
|
+
const { buildId, query, params, parsedUrl, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, interceptionRoutePatterns } = prepareResult;
|
|
219
|
+
const pathname = parsedUrl.pathname || '/';
|
|
220
|
+
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__.normalizeAppPath)(srcPage);
|
|
221
|
+
let { isOnDemandRevalidate } = prepareResult;
|
|
222
|
+
const prerenderInfo = routeModule.match(pathname, prerenderManifest);
|
|
223
|
+
const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
|
|
224
|
+
let isSSG = Boolean(prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]);
|
|
225
|
+
const userAgent = req.headers['user-agent'] || '';
|
|
226
|
+
const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__.getBotType)(userAgent);
|
|
227
|
+
const isHtmlBot = (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.isHtmlBotRequest)(req);
|
|
228
|
+
/**
|
|
229
|
+
* If true, this indicates that the request being made is for an app
|
|
230
|
+
* prefetch request.
|
|
231
|
+
*/ const isPrefetchRSCRequest = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'isPrefetchRSCRequest') ?? req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__.NEXT_ROUTER_PREFETCH_HEADER] === '1' // exclude runtime prefetches, which use '2'
|
|
232
|
+
;
|
|
233
|
+
// NOTE: Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later
|
|
234
|
+
const isRSCRequest = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'isRSCRequest') ?? Boolean(req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__.RSC_HEADER]);
|
|
235
|
+
const isPossibleServerAction = (0,next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__.getIsPossibleServerAction)(req);
|
|
236
|
+
/**
|
|
237
|
+
* If the route being rendered is an app page, and the ppr feature has been
|
|
238
|
+
* enabled, then the given route _could_ support PPR.
|
|
239
|
+
*/ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
|
|
240
|
+
// When enabled, this will allow the use of the `?__nextppronly` query to
|
|
241
|
+
// enable debugging of the static shell.
|
|
242
|
+
const hasDebugStaticShellQuery = false && 0;
|
|
243
|
+
// When enabled, this will allow the use of the `?__nextppronly` query
|
|
244
|
+
// to enable debugging of the fallback shell.
|
|
245
|
+
const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
|
|
246
|
+
// This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
|
|
247
|
+
// prerender manifest and this is an app page.
|
|
248
|
+
const isRoutePPREnabled = couldSupportPPR && (((_this = prerenderManifest.routes[normalizedSrcPage] ?? prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _this.renderingMode) === 'PARTIALLY_STATIC' || // Ideally we'd want to check the appConfig to see if this page has PPR
|
|
249
|
+
// enabled or not, but that would require plumbing the appConfig through
|
|
250
|
+
// to the server during development. We assume that the page supports it
|
|
251
|
+
// but only during development.
|
|
252
|
+
hasDebugStaticShellQuery && (routeModule.isDev === true || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
|
|
253
|
+
const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
|
|
254
|
+
// We should enable debugging dynamic accesses when the static shell
|
|
255
|
+
// debugging has been enabled and we're also in development mode.
|
|
256
|
+
const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
|
|
257
|
+
const isDebugFallbackShell = hasDebugFallbackShellQuery && isRoutePPREnabled;
|
|
258
|
+
// If we're in minimal mode, then try to get the postponed information from
|
|
259
|
+
// the request metadata. If available, use it for resuming the postponed
|
|
260
|
+
// render.
|
|
261
|
+
const minimalPostponed = isRoutePPREnabled ? initialPostponed : undefined;
|
|
262
|
+
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
263
|
+
// we can use this fact to only generate the flight data for the request
|
|
264
|
+
// because we can't cache the HTML (as it's also dynamic).
|
|
265
|
+
const isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest;
|
|
266
|
+
// Need to read this before it's stripped by stripFlightHeaders. We don't
|
|
267
|
+
// need to transfer it to the request meta because it's only read
|
|
268
|
+
// within this function; the static segment data should have already been
|
|
269
|
+
// generated, so we will always either return a static response or a 404.
|
|
270
|
+
const segmentPrefetchHeader = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'segmentPrefetchRSCRequest');
|
|
271
|
+
// TODO: investigate existing bug with shouldServeStreamingMetadata always
|
|
272
|
+
// being true for a revalidate due to modifying the base-server this.renderOpts
|
|
273
|
+
// when fixing this to correct logic it causes hydration issue since we set
|
|
274
|
+
// serveStreamingMetadata to true during export
|
|
275
|
+
let serveStreamingMetadata = !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
|
|
276
|
+
if (isHtmlBot && isRoutePPREnabled) {
|
|
277
|
+
isSSG = false;
|
|
278
|
+
serveStreamingMetadata = false;
|
|
728
279
|
}
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
280
|
+
// In development, we always want to generate dynamic HTML.
|
|
281
|
+
let supportsDynamicResponse = // If we're in development, we always support dynamic HTML, unless it's
|
|
282
|
+
// a data request, in which case we only produce static HTML.
|
|
283
|
+
routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports
|
|
284
|
+
// dynamic HTML.
|
|
285
|
+
!isSSG || // If this request has provided postponed data, it supports dynamic
|
|
286
|
+
// HTML.
|
|
287
|
+
typeof initialPostponed === 'string' || // If this is a dynamic RSC request, then this render supports dynamic
|
|
288
|
+
// HTML (it's dynamic).
|
|
289
|
+
isDynamicRSCRequest;
|
|
290
|
+
// When html bots request PPR page, perform the full dynamic rendering.
|
|
291
|
+
const shouldWaitOnAllReady = isHtmlBot && isRoutePPREnabled;
|
|
292
|
+
let ssgCacheKey = null;
|
|
293
|
+
if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
294
|
+
ssgCacheKey = resolvedPathname;
|
|
739
295
|
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
}, [
|
|
774
|
-
setTheme
|
|
775
|
-
]);
|
|
776
|
-
// Handle line numbers toggle events
|
|
777
|
-
const handleLineNumbersToggled = (0,ssr_react.useCallback)(()=>{
|
|
778
|
-
toggleLineNumbers();
|
|
779
|
-
}, [
|
|
780
|
-
toggleLineNumbers
|
|
781
|
-
]);
|
|
782
|
-
(0,_barrel_optimize_names_useEventSubscriptions_packages_react_ui_dist/* useEventSubscriptions */.C$z)({
|
|
783
|
-
'settings:theme-changed': handleThemeChanged,
|
|
784
|
-
'settings:line-numbers-toggled': handleLineNumbersToggled
|
|
785
|
-
});
|
|
786
|
-
// Get all tag schemas
|
|
787
|
-
const schemas = getAllTagSchemas();
|
|
788
|
-
// Check authentication and moderator/admin status
|
|
789
|
-
process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,ssr_react.useEffect)(()=>{
|
|
790
|
-
if (status === 'loading') return;
|
|
791
|
-
if (status === 'unauthenticated') {
|
|
792
|
-
(0,navigation.notFound)();
|
|
793
|
-
}
|
|
794
|
-
if (!session?.backendUser?.isModerator && !session?.backendUser?.isAdmin) {
|
|
795
|
-
(0,navigation.notFound)();
|
|
796
|
-
}
|
|
797
|
-
}, [
|
|
798
|
-
status,
|
|
799
|
-
session
|
|
800
|
-
]);
|
|
801
|
-
// Show loading while checking session
|
|
802
|
-
if (status === 'loading') {
|
|
803
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
804
|
-
className: "flex items-center justify-center py-20",
|
|
805
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("p", {
|
|
806
|
-
className: "text-gray-600 dark:text-gray-300",
|
|
807
|
-
children: t('loading')
|
|
808
|
-
})
|
|
809
|
-
});
|
|
810
|
-
}
|
|
811
|
-
// Show nothing if not moderator/admin (will be handled by notFound)
|
|
812
|
-
if (!session?.backendUser?.isModerator && !session?.backendUser?.isAdmin) {
|
|
813
|
-
return null;
|
|
814
|
-
}
|
|
815
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(packages_react_ui_dist.TagSchemasPage, {
|
|
816
|
-
schemas: schemas,
|
|
817
|
-
isLoading: false,
|
|
818
|
-
theme: theme,
|
|
819
|
-
showLineNumbers: showLineNumbers,
|
|
820
|
-
activePanel: activePanel,
|
|
821
|
-
translations: {
|
|
822
|
-
pageTitle: t('pageTitle'),
|
|
823
|
-
pageDescription: t('pageDescription'),
|
|
824
|
-
categories: t('categories'),
|
|
825
|
-
loading: t('loading')
|
|
826
|
-
},
|
|
827
|
-
ToolbarPanels: ToolbarPanels/* ToolbarPanels */.t,
|
|
828
|
-
Toolbar: dist/* Toolbar */.M7E
|
|
829
|
-
});
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
/***/ }),
|
|
834
|
-
|
|
835
|
-
/***/ 39659:
|
|
836
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
837
|
-
|
|
838
|
-
"use strict";
|
|
839
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
840
|
-
/* harmony export */ Ef3: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.LeftSidebar),
|
|
841
|
-
/* harmony export */ ffs: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.AuthTokenProvider),
|
|
842
|
-
/* harmony export */ pqI: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.ApiClientProvider),
|
|
843
|
-
/* harmony export */ wi6: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Footer)
|
|
844
|
-
/* harmony export */ });
|
|
845
|
-
/* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
/***/ }),
|
|
850
|
-
|
|
851
|
-
/***/ 41025:
|
|
852
|
-
/***/ ((module) => {
|
|
853
|
-
|
|
854
|
-
"use strict";
|
|
855
|
-
module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
|
|
856
|
-
|
|
857
|
-
/***/ }),
|
|
858
|
-
|
|
859
|
-
/***/ 58208:
|
|
860
|
-
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
861
|
-
|
|
862
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33886));
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
/***/ }),
|
|
866
|
-
|
|
867
|
-
/***/ 61740:
|
|
868
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
869
|
-
|
|
870
|
-
"use strict";
|
|
871
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
872
|
-
/* harmony export */ M7E: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Toolbar)
|
|
873
|
-
/* harmony export */ });
|
|
874
|
-
/* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
/***/ }),
|
|
879
|
-
|
|
880
|
-
/***/ 63033:
|
|
881
|
-
/***/ ((module) => {
|
|
882
|
-
|
|
883
|
-
"use strict";
|
|
884
|
-
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
885
|
-
|
|
886
|
-
/***/ }),
|
|
887
|
-
|
|
888
|
-
/***/ 71642:
|
|
889
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
890
|
-
|
|
891
|
-
"use strict";
|
|
892
|
-
// ESM COMPAT FLAG
|
|
893
|
-
__webpack_require__.r(__webpack_exports__);
|
|
894
|
-
|
|
895
|
-
// EXPORTS
|
|
896
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
897
|
-
"default": () => (/* binding */ ModerateLayout)
|
|
898
|
-
});
|
|
899
|
-
|
|
900
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
901
|
-
var react_jsx_runtime = __webpack_require__(78157);
|
|
902
|
-
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
903
|
-
var react = __webpack_require__(31768);
|
|
904
|
-
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
905
|
-
var react_client = __webpack_require__(72668);
|
|
906
|
-
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
907
|
-
var next_auth_react = __webpack_require__(16422);
|
|
908
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=ApiClientProvider,AuthTokenProvider,Footer,LeftSidebar!=!../../packages/react-ui/dist/index.mjs
|
|
909
|
-
var dist = __webpack_require__(39659);
|
|
910
|
-
// EXTERNAL MODULE: ./src/i18n/routing.ts
|
|
911
|
-
var routing = __webpack_require__(1915);
|
|
912
|
-
// EXTERNAL MODULE: __barrel_optimize__?names=SimpleNavigation,useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
|
|
913
|
-
var react_ui_dist = __webpack_require__(93346);
|
|
914
|
-
;// ../../node_modules/@heroicons/react/24/outline/esm/ClockIcon.js
|
|
915
|
-
|
|
916
|
-
function ClockIcon({ title, titleId, ...props }, svgRef) {
|
|
917
|
-
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
918
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
919
|
-
fill: "none",
|
|
920
|
-
viewBox: "0 0 24 24",
|
|
921
|
-
strokeWidth: 1.5,
|
|
922
|
-
stroke: "currentColor",
|
|
923
|
-
"aria-hidden": "true",
|
|
924
|
-
"data-slot": "icon",
|
|
925
|
-
ref: svgRef,
|
|
926
|
-
"aria-labelledby": titleId
|
|
927
|
-
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
928
|
-
id: titleId
|
|
929
|
-
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
930
|
-
strokeLinecap: "round",
|
|
931
|
-
strokeLinejoin: "round",
|
|
932
|
-
d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
933
|
-
}));
|
|
934
|
-
}
|
|
935
|
-
const ForwardRef = /*#__PURE__*/ react.forwardRef(ClockIcon);
|
|
936
|
-
/* harmony default export */ const esm_ClockIcon = (ForwardRef);
|
|
937
|
-
|
|
938
|
-
;// ../../node_modules/@heroicons/react/24/outline/esm/TagIcon.js
|
|
939
|
-
|
|
940
|
-
function TagIcon({ title, titleId, ...props }, svgRef) {
|
|
941
|
-
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
942
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
943
|
-
fill: "none",
|
|
944
|
-
viewBox: "0 0 24 24",
|
|
945
|
-
strokeWidth: 1.5,
|
|
946
|
-
stroke: "currentColor",
|
|
947
|
-
"aria-hidden": "true",
|
|
948
|
-
"data-slot": "icon",
|
|
949
|
-
ref: svgRef,
|
|
950
|
-
"aria-labelledby": titleId
|
|
951
|
-
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
952
|
-
id: titleId
|
|
953
|
-
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
954
|
-
strokeLinecap: "round",
|
|
955
|
-
strokeLinejoin: "round",
|
|
956
|
-
d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
|
|
957
|
-
}), /*#__PURE__*/ react.createElement("path", {
|
|
958
|
-
strokeLinecap: "round",
|
|
959
|
-
strokeLinejoin: "round",
|
|
960
|
-
d: "M6 6h.008v.008H6V6Z"
|
|
961
|
-
}));
|
|
962
|
-
}
|
|
963
|
-
const TagIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(TagIcon);
|
|
964
|
-
/* harmony default export */ const esm_TagIcon = (TagIcon_ForwardRef);
|
|
965
|
-
|
|
966
|
-
;// ../../node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js
|
|
967
|
-
|
|
968
|
-
function BookOpenIcon({ title, titleId, ...props }, svgRef) {
|
|
969
|
-
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
970
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
971
|
-
fill: "none",
|
|
972
|
-
viewBox: "0 0 24 24",
|
|
973
|
-
strokeWidth: 1.5,
|
|
974
|
-
stroke: "currentColor",
|
|
975
|
-
"aria-hidden": "true",
|
|
976
|
-
"data-slot": "icon",
|
|
977
|
-
ref: svgRef,
|
|
978
|
-
"aria-labelledby": titleId
|
|
979
|
-
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
980
|
-
id: titleId
|
|
981
|
-
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
982
|
-
strokeLinecap: "round",
|
|
983
|
-
strokeLinejoin: "round",
|
|
984
|
-
d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"
|
|
985
|
-
}));
|
|
986
|
-
}
|
|
987
|
-
const BookOpenIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(BookOpenIcon);
|
|
988
|
-
/* harmony default export */ const esm_BookOpenIcon = (BookOpenIcon_ForwardRef);
|
|
989
|
-
|
|
990
|
-
// EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js
|
|
991
|
-
var ChevronLeftIcon = __webpack_require__(18689);
|
|
992
|
-
// EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js
|
|
993
|
-
var Bars3Icon = __webpack_require__(24768);
|
|
994
|
-
;// ./src/components/moderation/ModerationNavigation.tsx
|
|
995
|
-
/* __next_internal_client_entry_do_not_use__ ModerationNavigation auto */
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
function ModerationNavigation({ isCollapsed, toggleCollapsed, navigationMenu }) {
|
|
1003
|
-
const t = (0,react_client/* useTranslations */.c)('Moderation');
|
|
1004
|
-
const tSidebar = (0,react_client/* useTranslations */.c)('Sidebar');
|
|
1005
|
-
const pathname = (0,routing/* usePathname */.a8)();
|
|
1006
|
-
// Handle sidebar toggle events
|
|
1007
|
-
const handleSidebarToggle = (0,react.useCallback)(()=>{
|
|
1008
|
-
toggleCollapsed();
|
|
1009
|
-
}, [
|
|
1010
|
-
toggleCollapsed
|
|
1011
|
-
]);
|
|
1012
|
-
// Subscribe to sidebar toggle events
|
|
1013
|
-
(0,react_ui_dist/* useEventSubscriptions */.C$z)({
|
|
1014
|
-
'browse:sidebar-toggle': handleSidebarToggle
|
|
1015
|
-
});
|
|
1016
|
-
const navigation = [
|
|
1017
|
-
{
|
|
1018
|
-
name: t('recentResources'),
|
|
1019
|
-
href: '/moderate/recent',
|
|
1020
|
-
icon: esm_ClockIcon,
|
|
1021
|
-
description: t('recentResourcesDescription')
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
name: t('entityTags'),
|
|
1025
|
-
href: '/moderate/entity-tags',
|
|
1026
|
-
icon: esm_TagIcon,
|
|
1027
|
-
description: t('entityTagsDescription')
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
name: t('tagSchemas'),
|
|
1031
|
-
href: '/moderate/tag-schemas',
|
|
1032
|
-
icon: esm_BookOpenIcon,
|
|
1033
|
-
description: t('tagSchemasDescription')
|
|
1034
|
-
}
|
|
1035
|
-
];
|
|
1036
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react_ui_dist/* SimpleNavigation */.TbX, {
|
|
1037
|
-
title: t('title'),
|
|
1038
|
-
items: navigation,
|
|
1039
|
-
currentPath: pathname,
|
|
1040
|
-
LinkComponent: routing/* Link */.N_,
|
|
1041
|
-
...navigationMenu && {
|
|
1042
|
-
dropdownContent: navigationMenu
|
|
1043
|
-
},
|
|
1044
|
-
isCollapsed: isCollapsed,
|
|
1045
|
-
icons: {
|
|
1046
|
-
chevronLeft: ChevronLeftIcon/* default */.A,
|
|
1047
|
-
bars: Bars3Icon/* default */.A
|
|
1048
|
-
},
|
|
1049
|
-
collapseSidebarLabel: tSidebar('collapseSidebar'),
|
|
1050
|
-
expandSidebarLabel: tSidebar('expandSidebar')
|
|
1051
|
-
});
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
// EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
|
|
1055
|
-
var CookiePreferences = __webpack_require__(76159);
|
|
1056
|
-
// EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
|
|
1057
|
-
var KeyboardShortcutsContext = __webpack_require__(99192);
|
|
1058
|
-
// EXTERNAL MODULE: ./src/lib/routing.ts
|
|
1059
|
-
var lib_routing = __webpack_require__(32302);
|
|
1060
|
-
// EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
|
|
1061
|
-
var useAuth = __webpack_require__(3919);
|
|
1062
|
-
;// ./src/app/[locale]/moderate/layout.tsx
|
|
1063
|
-
/* __next_internal_client_entry_do_not_use__ default auto */
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
// Note: Authentication is handled by middleware.ts for all moderate routes
|
|
1074
|
-
// This ensures centralized security and returns 404 for unauthorized users
|
|
1075
|
-
function ModerateLayout({ children }) {
|
|
1076
|
-
const t = (0,react_client/* useTranslations */.c)('Footer');
|
|
1077
|
-
const tNav = (0,react_client/* useTranslations */.c)('Navigation');
|
|
1078
|
-
const tHome = (0,react_client/* useTranslations */.c)('Home');
|
|
1079
|
-
const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
|
|
1080
|
-
const { isAuthenticated, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
|
|
1081
|
-
const { data: session } = (0,next_auth_react.useSession)();
|
|
1082
|
-
// Extract auth token from session
|
|
1083
|
-
const authToken = session?.backendToken || null;
|
|
1084
|
-
// Middleware has already verified moderator/admin access
|
|
1085
|
-
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* AuthTokenProvider */.ffs, {
|
|
1086
|
-
token: authToken,
|
|
1087
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* ApiClientProvider */.pqI, {
|
|
1088
|
-
baseUrl: "",
|
|
1089
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1090
|
-
className: "min-h-screen bg-gray-50 dark:bg-gray-900 flex flex-col",
|
|
1091
|
-
children: [
|
|
1092
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1093
|
-
className: "flex flex-1",
|
|
1094
|
-
children: [
|
|
1095
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* LeftSidebar */.Ef3, {
|
|
1096
|
-
Link: lib_routing/* Link */.N,
|
|
1097
|
-
routes: lib_routing/* routes */.J,
|
|
1098
|
-
t: tNav,
|
|
1099
|
-
tHome: tHome,
|
|
1100
|
-
brandingLink: "/",
|
|
1101
|
-
collapsible: true,
|
|
1102
|
-
storageKey: "moderation-sidebar-collapsed",
|
|
1103
|
-
isAuthenticated: isAuthenticated,
|
|
1104
|
-
isAdmin: isAdmin,
|
|
1105
|
-
isModerator: isModerator,
|
|
1106
|
-
children: (isCollapsed, toggleCollapsed, navigationMenu)=>/*#__PURE__*/ (0,react_jsx_runtime.jsx)(ModerationNavigation, {
|
|
1107
|
-
isCollapsed: isCollapsed,
|
|
1108
|
-
toggleCollapsed: toggleCollapsed,
|
|
1109
|
-
navigationMenu: navigationMenu
|
|
1110
|
-
})
|
|
1111
|
-
}),
|
|
1112
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("main", {
|
|
1113
|
-
className: "flex-1 p-6 flex flex-col",
|
|
1114
|
-
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1115
|
-
className: "max-w-7xl mx-auto flex-1 flex flex-col w-full",
|
|
1116
|
-
children: children
|
|
1117
|
-
})
|
|
1118
|
-
})
|
|
1119
|
-
]
|
|
1120
|
-
}),
|
|
1121
|
-
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* Footer */.wi6, {
|
|
1122
|
-
Link: lib_routing/* Link */.N,
|
|
1123
|
-
routes: lib_routing/* routes */.J,
|
|
1124
|
-
t: t,
|
|
1125
|
-
CookiePreferences: CookiePreferences/* CookiePreferences */.f,
|
|
1126
|
-
...keyboardContext?.openKeyboardHelp && {
|
|
1127
|
-
onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
|
|
1128
|
-
}
|
|
1129
|
-
})
|
|
1130
|
-
]
|
|
1131
|
-
})
|
|
1132
|
-
})
|
|
1133
|
-
});
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
/***/ }),
|
|
1138
|
-
|
|
1139
|
-
/***/ 74407:
|
|
1140
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1141
|
-
|
|
1142
|
-
"use strict";
|
|
1143
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1144
|
-
/* harmony export */ DPo: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useTheme)
|
|
1145
|
-
/* harmony export */ });
|
|
1146
|
-
/* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
/***/ }),
|
|
1151
|
-
|
|
1152
|
-
/***/ 75555:
|
|
1153
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1154
|
-
|
|
1155
|
-
"use strict";
|
|
1156
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1157
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1158
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1159
|
-
/* harmony export */ });
|
|
1160
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
|
|
1161
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
1162
|
-
// This file is generated by the Webpack next-flight-loader.
|
|
1163
|
-
|
|
1164
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
1165
|
-
function() { throw new Error("Attempted to call the default export of \"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
1166
|
-
"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx",
|
|
1167
|
-
"default",
|
|
1168
|
-
));
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
/***/ }),
|
|
1172
|
-
|
|
1173
|
-
/***/ 78474:
|
|
1174
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1175
|
-
|
|
1176
|
-
"use strict";
|
|
1177
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1178
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1179
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1180
|
-
/* harmony export */ });
|
|
1181
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
|
|
1182
|
-
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
1183
|
-
// This file is generated by the Webpack next-flight-loader.
|
|
1184
|
-
|
|
1185
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
1186
|
-
function() { throw new Error("Attempted to call the default export of \"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
1187
|
-
"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx",
|
|
1188
|
-
"default",
|
|
1189
|
-
));
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
/***/ }),
|
|
1193
|
-
|
|
1194
|
-
/***/ 79551:
|
|
1195
|
-
/***/ ((module) => {
|
|
1196
|
-
|
|
1197
|
-
"use strict";
|
|
1198
|
-
module.exports = require("url");
|
|
1199
|
-
|
|
1200
|
-
/***/ }),
|
|
1201
|
-
|
|
1202
|
-
/***/ 81190:
|
|
1203
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1204
|
-
|
|
1205
|
-
"use strict";
|
|
1206
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1207
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1208
|
-
/* harmony export */ GlobalError: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
|
|
1209
|
-
/* harmony export */ __next_app__: () => (/* binding */ __next_app__),
|
|
1210
|
-
/* harmony export */ handler: () => (/* binding */ handler),
|
|
1211
|
-
/* harmony export */ pages: () => (/* binding */ pages),
|
|
1212
|
-
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
1213
|
-
/* harmony export */ tree: () => (/* binding */ tree)
|
|
1214
|
-
/* harmony export */ });
|
|
1215
|
-
/* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73653);
|
|
1216
|
-
/* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);
|
|
1217
|
-
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97714);
|
|
1218
|
-
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85250);
|
|
1219
|
-
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37587);
|
|
1220
|
-
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__);
|
|
1221
|
-
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22369);
|
|
1222
|
-
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__);
|
|
1223
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1889);
|
|
1224
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__);
|
|
1225
|
-
/* harmony import */ var next_dist_server_app_render_interop_default__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(96232);
|
|
1226
|
-
/* harmony import */ var next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22841);
|
|
1227
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46537);
|
|
1228
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__);
|
|
1229
|
-
/* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(46027);
|
|
1230
|
-
/* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__);
|
|
1231
|
-
/* harmony import */ var next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(78559);
|
|
1232
|
-
/* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(75928);
|
|
1233
|
-
/* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__);
|
|
1234
|
-
/* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19374);
|
|
1235
|
-
/* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__);
|
|
1236
|
-
/* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(65971);
|
|
1237
|
-
/* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__);
|
|
1238
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(261);
|
|
1239
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__);
|
|
1240
|
-
/* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79898);
|
|
1241
|
-
/* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__);
|
|
1242
|
-
/* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(32967);
|
|
1243
|
-
/* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__);
|
|
1244
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26713);
|
|
1245
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__);
|
|
1246
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40139);
|
|
1247
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__);
|
|
1248
|
-
/* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(14248);
|
|
1249
|
-
/* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__);
|
|
1250
|
-
/* harmony import */ var next_dist_server_render_result__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59580);
|
|
1251
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57749);
|
|
1252
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__);
|
|
1253
|
-
/* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(53123);
|
|
1254
|
-
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(89745);
|
|
1255
|
-
/* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
|
|
1256
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
|
|
1257
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
|
|
1258
|
-
/* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(90488);
|
|
1259
|
-
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(18283);
|
|
1260
|
-
/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__);
|
|
1261
|
-
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(39818);
|
|
1262
|
-
/* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__);
|
|
1263
|
-
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
1264
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__) if(["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__[__WEBPACK_IMPORT_KEY__]
|
|
1265
|
-
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
1266
|
-
const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 47570));
|
|
1267
|
-
const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26412));
|
|
1268
|
-
const module2 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 90488));
|
|
1269
|
-
const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33506));
|
|
1270
|
-
const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 15034, 23));
|
|
1271
|
-
const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 54693, 23));
|
|
1272
|
-
const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 82778));
|
|
1273
|
-
const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71743));
|
|
1274
|
-
const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
|
|
1275
|
-
const page9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 78474));
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
// We inject the tree and pages here so that we can use them in the route
|
|
1302
|
-
// module.
|
|
1303
|
-
const tree = {
|
|
1304
|
-
children: [
|
|
1305
|
-
'',
|
|
1306
|
-
{
|
|
1307
|
-
children: [
|
|
1308
|
-
'[locale]',
|
|
1309
|
-
{
|
|
1310
|
-
children: [
|
|
1311
|
-
'moderate',
|
|
1312
|
-
{
|
|
1313
|
-
children: [
|
|
1314
|
-
'tag-schemas',
|
|
1315
|
-
{
|
|
1316
|
-
children: ['__PAGE__', {}, {
|
|
1317
|
-
page: [page9, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx"],
|
|
1318
|
-
|
|
1319
|
-
}]
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
}
|
|
1325
|
-
]
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
'layout': [module8, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx"],
|
|
1329
|
-
|
|
1330
|
-
}
|
|
1331
|
-
]
|
|
1332
|
-
},
|
|
1333
|
-
{
|
|
1334
|
-
'layout': [module6, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
|
|
1335
|
-
'not-found': [module7, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
|
|
1336
|
-
|
|
1337
|
-
}
|
|
1338
|
-
]
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
'layout': [module0, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/layout.tsx"],
|
|
1342
|
-
'error': [module1, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/error.tsx"],
|
|
1343
|
-
'global-error': [module2, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/global-error.tsx"],
|
|
1344
|
-
'not-found': [module3, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/not-found.tsx"],
|
|
1345
|
-
'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
|
|
1346
|
-
'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
|
|
1347
|
-
|
|
1348
|
-
}
|
|
1349
|
-
]
|
|
1350
|
-
}.children;
|
|
1351
|
-
const pages = ["/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx"];
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
const __next_app_require__ = __webpack_require__
|
|
1356
|
-
const __next_app_load_chunk__ = () => Promise.resolve()
|
|
1357
|
-
const __next_app__ = {
|
|
1358
|
-
require: __next_app_require__,
|
|
1359
|
-
loadChunk: __next_app_load_chunk__
|
|
1360
|
-
};
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
// Create and export the route module that will be consumed.
|
|
1365
|
-
const routeModule = new next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({
|
|
1366
|
-
definition: {
|
|
1367
|
-
kind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_PAGE,
|
|
1368
|
-
page: "/[locale]/moderate/tag-schemas/page",
|
|
1369
|
-
pathname: "/[locale]/moderate/tag-schemas",
|
|
1370
|
-
// The following aren't used in production.
|
|
1371
|
-
bundlePath: '',
|
|
1372
|
-
filename: '',
|
|
1373
|
-
appPaths: []
|
|
1374
|
-
},
|
|
1375
|
-
userland: {
|
|
1376
|
-
loaderTree: tree
|
|
1377
|
-
},
|
|
1378
|
-
distDir: ".next" || 0,
|
|
1379
|
-
relativeProjectDir: false || ''
|
|
1380
|
-
});
|
|
1381
|
-
async function handler(req, res, ctx) {
|
|
1382
|
-
var _this;
|
|
1383
|
-
let srcPage = "/[locale]/moderate/tag-schemas/page";
|
|
1384
|
-
// turbopack doesn't normalize `/index` in the page name
|
|
1385
|
-
// so we need to to process dynamic routes properly
|
|
1386
|
-
// TODO: fix turbopack providing differing value from webpack
|
|
1387
|
-
if (false) {} else if (srcPage === '/index') {
|
|
1388
|
-
// we always normalize /index specifically
|
|
1389
|
-
srcPage = '/';
|
|
1390
|
-
}
|
|
1391
|
-
const multiZoneDraftMode = false;
|
|
1392
|
-
const initialPostponed = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'postponed');
|
|
1393
|
-
// TODO: replace with more specific flags
|
|
1394
|
-
const minimalMode = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'minimalMode');
|
|
1395
|
-
const prepareResult = await routeModule.prepare(req, res, {
|
|
1396
|
-
srcPage,
|
|
1397
|
-
multiZoneDraftMode
|
|
1398
|
-
});
|
|
1399
|
-
if (!prepareResult) {
|
|
1400
|
-
res.statusCode = 400;
|
|
1401
|
-
res.end('Bad Request');
|
|
1402
|
-
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
1403
|
-
return null;
|
|
1404
|
-
}
|
|
1405
|
-
const { buildId, query, params, parsedUrl, pageIsDynamic, buildManifest, nextFontManifest, reactLoadableManifest, serverActionsManifest, clientReferenceManifest, subresourceIntegrityManifest, prerenderManifest, isDraftMode, resolvedPathname, revalidateOnlyGenerated, routerServerContext, nextConfig, interceptionRoutePatterns } = prepareResult;
|
|
1406
|
-
const pathname = parsedUrl.pathname || '/';
|
|
1407
|
-
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__.normalizeAppPath)(srcPage);
|
|
1408
|
-
let { isOnDemandRevalidate } = prepareResult;
|
|
1409
|
-
const prerenderInfo = routeModule.match(pathname, prerenderManifest);
|
|
1410
|
-
const isPrerendered = !!prerenderManifest.routes[resolvedPathname];
|
|
1411
|
-
let isSSG = Boolean(prerenderInfo || isPrerendered || prerenderManifest.routes[normalizedSrcPage]);
|
|
1412
|
-
const userAgent = req.headers['user-agent'] || '';
|
|
1413
|
-
const botType = (0,next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__.getBotType)(userAgent);
|
|
1414
|
-
const isHtmlBot = (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.isHtmlBotRequest)(req);
|
|
1415
|
-
/**
|
|
1416
|
-
* If true, this indicates that the request being made is for an app
|
|
1417
|
-
* prefetch request.
|
|
1418
|
-
*/ const isPrefetchRSCRequest = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'isPrefetchRSCRequest') ?? req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__.NEXT_ROUTER_PREFETCH_HEADER] === '1' // exclude runtime prefetches, which use '2'
|
|
1419
|
-
;
|
|
1420
|
-
// NOTE: Don't delete headers[RSC] yet, it still needs to be used in renderToHTML later
|
|
1421
|
-
const isRSCRequest = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'isRSCRequest') ?? Boolean(req.headers[next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__.RSC_HEADER]);
|
|
1422
|
-
const isPossibleServerAction = (0,next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__.getIsPossibleServerAction)(req);
|
|
1423
|
-
/**
|
|
1424
|
-
* If the route being rendered is an app page, and the ppr feature has been
|
|
1425
|
-
* enabled, then the given route _could_ support PPR.
|
|
1426
|
-
*/ const couldSupportPPR = (0,next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__.checkIsAppPPREnabled)(nextConfig.experimental.ppr);
|
|
1427
|
-
// When enabled, this will allow the use of the `?__nextppronly` query to
|
|
1428
|
-
// enable debugging of the static shell.
|
|
1429
|
-
const hasDebugStaticShellQuery = false && 0;
|
|
1430
|
-
// When enabled, this will allow the use of the `?__nextppronly` query
|
|
1431
|
-
// to enable debugging of the fallback shell.
|
|
1432
|
-
const hasDebugFallbackShellQuery = hasDebugStaticShellQuery && query.__nextppronly === 'fallback';
|
|
1433
|
-
// This page supports PPR if it is marked as being `PARTIALLY_STATIC` in the
|
|
1434
|
-
// prerender manifest and this is an app page.
|
|
1435
|
-
const isRoutePPREnabled = couldSupportPPR && (((_this = prerenderManifest.routes[normalizedSrcPage] ?? prerenderManifest.dynamicRoutes[normalizedSrcPage]) == null ? void 0 : _this.renderingMode) === 'PARTIALLY_STATIC' || // Ideally we'd want to check the appConfig to see if this page has PPR
|
|
1436
|
-
// enabled or not, but that would require plumbing the appConfig through
|
|
1437
|
-
// to the server during development. We assume that the page supports it
|
|
1438
|
-
// but only during development.
|
|
1439
|
-
hasDebugStaticShellQuery && (routeModule.isDev === true || (routerServerContext == null ? void 0 : routerServerContext.experimentalTestProxy) === true));
|
|
1440
|
-
const isDebugStaticShell = hasDebugStaticShellQuery && isRoutePPREnabled;
|
|
1441
|
-
// We should enable debugging dynamic accesses when the static shell
|
|
1442
|
-
// debugging has been enabled and we're also in development mode.
|
|
1443
|
-
const isDebugDynamicAccesses = isDebugStaticShell && routeModule.isDev === true;
|
|
1444
|
-
const isDebugFallbackShell = hasDebugFallbackShellQuery && isRoutePPREnabled;
|
|
1445
|
-
// If we're in minimal mode, then try to get the postponed information from
|
|
1446
|
-
// the request metadata. If available, use it for resuming the postponed
|
|
1447
|
-
// render.
|
|
1448
|
-
const minimalPostponed = isRoutePPREnabled ? initialPostponed : undefined;
|
|
1449
|
-
// If PPR is enabled, and this is a RSC request (but not a prefetch), then
|
|
1450
|
-
// we can use this fact to only generate the flight data for the request
|
|
1451
|
-
// because we can't cache the HTML (as it's also dynamic).
|
|
1452
|
-
const isDynamicRSCRequest = isRoutePPREnabled && isRSCRequest && !isPrefetchRSCRequest;
|
|
1453
|
-
// Need to read this before it's stripped by stripFlightHeaders. We don't
|
|
1454
|
-
// need to transfer it to the request meta because it's only read
|
|
1455
|
-
// within this function; the static segment data should have already been
|
|
1456
|
-
// generated, so we will always either return a static response or a 404.
|
|
1457
|
-
const segmentPrefetchHeader = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__.getRequestMeta)(req, 'segmentPrefetchRSCRequest');
|
|
1458
|
-
// TODO: investigate existing bug with shouldServeStreamingMetadata always
|
|
1459
|
-
// being true for a revalidate due to modifying the base-server this.renderOpts
|
|
1460
|
-
// when fixing this to correct logic it causes hydration issue since we set
|
|
1461
|
-
// serveStreamingMetadata to true during export
|
|
1462
|
-
let serveStreamingMetadata = !userAgent ? true : (0,next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__.shouldServeStreamingMetadata)(userAgent, nextConfig.htmlLimitedBots);
|
|
1463
|
-
if (isHtmlBot && isRoutePPREnabled) {
|
|
1464
|
-
isSSG = false;
|
|
1465
|
-
serveStreamingMetadata = false;
|
|
1466
|
-
}
|
|
1467
|
-
// In development, we always want to generate dynamic HTML.
|
|
1468
|
-
let supportsDynamicResponse = // If we're in development, we always support dynamic HTML, unless it's
|
|
1469
|
-
// a data request, in which case we only produce static HTML.
|
|
1470
|
-
routeModule.isDev === true || // If this is not SSG or does not have static paths, then it supports
|
|
1471
|
-
// dynamic HTML.
|
|
1472
|
-
!isSSG || // If this request has provided postponed data, it supports dynamic
|
|
1473
|
-
// HTML.
|
|
1474
|
-
typeof initialPostponed === 'string' || // If this is a dynamic RSC request, then this render supports dynamic
|
|
1475
|
-
// HTML (it's dynamic).
|
|
1476
|
-
isDynamicRSCRequest;
|
|
1477
|
-
// When html bots request PPR page, perform the full dynamic rendering.
|
|
1478
|
-
const shouldWaitOnAllReady = isHtmlBot && isRoutePPREnabled;
|
|
1479
|
-
let ssgCacheKey = null;
|
|
1480
|
-
if (!isDraftMode && isSSG && !supportsDynamicResponse && !isPossibleServerAction && !minimalPostponed && !isDynamicRSCRequest) {
|
|
1481
|
-
ssgCacheKey = resolvedPathname;
|
|
1482
|
-
}
|
|
1483
|
-
// the staticPathKey differs from ssgCacheKey since
|
|
1484
|
-
// ssgCacheKey is null in dev since we're always in "dynamic"
|
|
1485
|
-
// mode in dev to bypass the cache, but we still need to honor
|
|
1486
|
-
// dynamicParams = false in dev mode
|
|
1487
|
-
let staticPathKey = ssgCacheKey;
|
|
1488
|
-
if (!staticPathKey && routeModule.isDev) {
|
|
1489
|
-
staticPathKey = resolvedPathname;
|
|
1490
|
-
}
|
|
1491
|
-
// If this is a request for an app path that should be statically generated
|
|
1492
|
-
// and we aren't in the edge runtime, strip the flight headers so it will
|
|
1493
|
-
// generate the static response.
|
|
1494
|
-
if (!routeModule.isDev && !isDraftMode && isSSG && isRSCRequest && !isDynamicRSCRequest) {
|
|
1495
|
-
(0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
|
|
1496
|
-
}
|
|
1497
|
-
const ComponentMod = {
|
|
1498
|
-
...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__,
|
|
1499
|
-
tree,
|
|
1500
|
-
pages,
|
|
1501
|
-
GlobalError: _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
1502
|
-
handler,
|
|
1503
|
-
routeModule,
|
|
1504
|
-
__next_app__
|
|
1505
|
-
};
|
|
1506
|
-
// Before rendering (which initializes component tree modules), we have to
|
|
1507
|
-
// set the reference manifests to our global store so Server Action's
|
|
1508
|
-
// encryption util can access to them at the top level of the page module.
|
|
1509
|
-
if (serverActionsManifest && clientReferenceManifest) {
|
|
1510
|
-
(0,next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__.setReferenceManifestsSingleton)({
|
|
1511
|
-
page: srcPage,
|
|
1512
|
-
clientReferenceManifest,
|
|
1513
|
-
serverActionsManifest,
|
|
1514
|
-
serverModuleMap: (0,next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__.createServerModuleMap)({
|
|
1515
|
-
serverActionsManifest
|
|
296
|
+
// the staticPathKey differs from ssgCacheKey since
|
|
297
|
+
// ssgCacheKey is null in dev since we're always in "dynamic"
|
|
298
|
+
// mode in dev to bypass the cache, but we still need to honor
|
|
299
|
+
// dynamicParams = false in dev mode
|
|
300
|
+
let staticPathKey = ssgCacheKey;
|
|
301
|
+
if (!staticPathKey && routeModule.isDev) {
|
|
302
|
+
staticPathKey = resolvedPathname;
|
|
303
|
+
}
|
|
304
|
+
// If this is a request for an app path that should be statically generated
|
|
305
|
+
// and we aren't in the edge runtime, strip the flight headers so it will
|
|
306
|
+
// generate the static response.
|
|
307
|
+
if (!routeModule.isDev && !isDraftMode && isSSG && isRSCRequest && !isDynamicRSCRequest) {
|
|
308
|
+
(0,next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__/* .stripFlightHeaders */ .d)(req.headers);
|
|
309
|
+
}
|
|
310
|
+
const ComponentMod = {
|
|
311
|
+
...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__,
|
|
312
|
+
tree,
|
|
313
|
+
pages,
|
|
314
|
+
GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
|
|
315
|
+
handler,
|
|
316
|
+
routeModule,
|
|
317
|
+
__next_app__
|
|
318
|
+
};
|
|
319
|
+
// Before rendering (which initializes component tree modules), we have to
|
|
320
|
+
// set the reference manifests to our global store so Server Action's
|
|
321
|
+
// encryption util can access to them at the top level of the page module.
|
|
322
|
+
if (serverActionsManifest && clientReferenceManifest) {
|
|
323
|
+
(0,next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__.setReferenceManifestsSingleton)({
|
|
324
|
+
page: srcPage,
|
|
325
|
+
clientReferenceManifest,
|
|
326
|
+
serverActionsManifest,
|
|
327
|
+
serverModuleMap: (0,next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__.createServerModuleMap)({
|
|
328
|
+
serverActionsManifest
|
|
1516
329
|
})
|
|
1517
330
|
});
|
|
1518
331
|
}
|
|
@@ -2060,197 +873,1384 @@ async function handler(req, res, ctx) {
|
|
|
2060
873
|
cacheControl: cacheEntry.cacheControl
|
|
2061
874
|
});
|
|
2062
875
|
}
|
|
2063
|
-
// This is a request for HTML data.
|
|
2064
|
-
let body = cachedData.html;
|
|
2065
|
-
// If there's no postponed state, we should just serve the HTML. This
|
|
2066
|
-
// should also be the case for a resume request because it's completed
|
|
2067
|
-
// as a server render (rather than a static render).
|
|
2068
|
-
if (!didPostpone || minimalMode || isRSCRequest) {
|
|
2069
|
-
// If we're in test mode, we should add a sentinel chunk to the response
|
|
2070
|
-
// that's between the static and dynamic parts so we can compare the
|
|
2071
|
-
// chunks and add assertions.
|
|
2072
|
-
if (false) {}
|
|
2073
|
-
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
2074
|
-
req,
|
|
2075
|
-
res,
|
|
2076
|
-
generateEtags: nextConfig.generateEtags,
|
|
2077
|
-
poweredByHeader: nextConfig.poweredByHeader,
|
|
2078
|
-
result: body,
|
|
2079
|
-
cacheControl: cacheEntry.cacheControl
|
|
2080
|
-
});
|
|
876
|
+
// This is a request for HTML data.
|
|
877
|
+
let body = cachedData.html;
|
|
878
|
+
// If there's no postponed state, we should just serve the HTML. This
|
|
879
|
+
// should also be the case for a resume request because it's completed
|
|
880
|
+
// as a server render (rather than a static render).
|
|
881
|
+
if (!didPostpone || minimalMode || isRSCRequest) {
|
|
882
|
+
// If we're in test mode, we should add a sentinel chunk to the response
|
|
883
|
+
// that's between the static and dynamic parts so we can compare the
|
|
884
|
+
// chunks and add assertions.
|
|
885
|
+
if (false) {}
|
|
886
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
887
|
+
req,
|
|
888
|
+
res,
|
|
889
|
+
generateEtags: nextConfig.generateEtags,
|
|
890
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
891
|
+
result: body,
|
|
892
|
+
cacheControl: cacheEntry.cacheControl
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
// If we're debugging the static shell or the dynamic API accesses, we
|
|
896
|
+
// should just serve the HTML without resuming the render. The returned
|
|
897
|
+
// HTML will be the static shell so all the Dynamic API's will be used
|
|
898
|
+
// during static generation.
|
|
899
|
+
if (isDebugStaticShell || isDebugDynamicAccesses) {
|
|
900
|
+
// Since we're not resuming the render, we need to at least add the
|
|
901
|
+
// closing body and html tags to create valid HTML.
|
|
902
|
+
body.push(new ReadableStream({
|
|
903
|
+
start (controller) {
|
|
904
|
+
controller.enqueue(next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_22__.ENCODED_TAGS.CLOSED.BODY_AND_HTML);
|
|
905
|
+
controller.close();
|
|
906
|
+
}
|
|
907
|
+
}));
|
|
908
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
909
|
+
req,
|
|
910
|
+
res,
|
|
911
|
+
generateEtags: nextConfig.generateEtags,
|
|
912
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
913
|
+
result: body,
|
|
914
|
+
cacheControl: {
|
|
915
|
+
revalidate: 0,
|
|
916
|
+
expire: undefined
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
// If we're in test mode, we should add a sentinel chunk to the response
|
|
921
|
+
// that's between the static and dynamic parts so we can compare the
|
|
922
|
+
// chunks and add assertions.
|
|
923
|
+
if (false) {}
|
|
924
|
+
// This request has postponed, so let's create a new transformer that the
|
|
925
|
+
// dynamic data can pipe to that will attach the dynamic data to the end
|
|
926
|
+
// of the response.
|
|
927
|
+
const transformer = new TransformStream();
|
|
928
|
+
body.push(transformer.readable);
|
|
929
|
+
// Perform the render again, but this time, provide the postponed state.
|
|
930
|
+
// We don't await because we want the result to start streaming now, and
|
|
931
|
+
// we've already chained the transformer's readable to the render result.
|
|
932
|
+
doRender({
|
|
933
|
+
span,
|
|
934
|
+
postponed: cachedData.postponed,
|
|
935
|
+
// This is a resume render, not a fallback render, so we don't need to
|
|
936
|
+
// set this.
|
|
937
|
+
fallbackRouteParams: null
|
|
938
|
+
}).then(async (result)=>{
|
|
939
|
+
var _result_value;
|
|
940
|
+
if (!result) {
|
|
941
|
+
throw Object.defineProperty(new Error('Invariant: expected a result to be returned'), "__NEXT_ERROR_CODE", {
|
|
942
|
+
value: "E463",
|
|
943
|
+
enumerable: false,
|
|
944
|
+
configurable: true
|
|
945
|
+
});
|
|
946
|
+
}
|
|
947
|
+
if (((_result_value = result.value) == null ? void 0 : _result_value.kind) !== next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__.CachedRouteKind.APP_PAGE) {
|
|
948
|
+
var _result_value1;
|
|
949
|
+
throw Object.defineProperty(new Error(`Invariant: expected a page response, got ${(_result_value1 = result.value) == null ? void 0 : _result_value1.kind}`), "__NEXT_ERROR_CODE", {
|
|
950
|
+
value: "E305",
|
|
951
|
+
enumerable: false,
|
|
952
|
+
configurable: true
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
// Pipe the resume result to the transformer.
|
|
956
|
+
await result.value.html.pipeTo(transformer.writable);
|
|
957
|
+
}).catch((err)=>{
|
|
958
|
+
// An error occurred during piping or preparing the render, abort
|
|
959
|
+
// the transformers writer so we can terminate the stream.
|
|
960
|
+
transformer.writable.abort(err).catch((e)=>{
|
|
961
|
+
console.error("couldn't abort transformer", e);
|
|
962
|
+
});
|
|
963
|
+
});
|
|
964
|
+
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
965
|
+
req,
|
|
966
|
+
res,
|
|
967
|
+
generateEtags: nextConfig.generateEtags,
|
|
968
|
+
poweredByHeader: nextConfig.poweredByHeader,
|
|
969
|
+
result: body,
|
|
970
|
+
// We don't want to cache the response if it has postponed data because
|
|
971
|
+
// the response being sent to the client it's dynamic parts are streamed
|
|
972
|
+
// to the client on the same request.
|
|
973
|
+
cacheControl: {
|
|
974
|
+
revalidate: 0,
|
|
975
|
+
expire: undefined
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
};
|
|
979
|
+
// TODO: activeSpan code path is for when wrapped by
|
|
980
|
+
// next-server can be removed when this is no longer used
|
|
981
|
+
if (activeSpan) {
|
|
982
|
+
await handleResponse(activeSpan);
|
|
983
|
+
} else {
|
|
984
|
+
return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
|
|
985
|
+
spanName: `${method} ${req.url}`,
|
|
986
|
+
kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
|
|
987
|
+
attributes: {
|
|
988
|
+
'http.method': method,
|
|
989
|
+
'http.target': req.url
|
|
990
|
+
}
|
|
991
|
+
}, handleResponse));
|
|
992
|
+
}
|
|
993
|
+
} catch (err) {
|
|
994
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__.NoFallbackError)) {
|
|
995
|
+
await routeModule.onRequestError(req, err, {
|
|
996
|
+
routerKind: 'App Router',
|
|
997
|
+
routePath: srcPage,
|
|
998
|
+
routeType: 'render',
|
|
999
|
+
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_2__/* .getRevalidateReason */ .c)({
|
|
1000
|
+
isRevalidate: isSSG,
|
|
1001
|
+
isOnDemandRevalidate
|
|
1002
|
+
})
|
|
1003
|
+
}, routerServerContext);
|
|
1004
|
+
}
|
|
1005
|
+
// rethrow so that we can handle serving error page
|
|
1006
|
+
throw err;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
// TODO: omit this from production builds, only test builds should include it
|
|
1010
|
+
/**
|
|
1011
|
+
* Creates a readable stream that emits a PPR boundary sentinel.
|
|
1012
|
+
*
|
|
1013
|
+
* @returns A readable stream that emits a PPR boundary sentinel.
|
|
1014
|
+
*/ function createPPRBoundarySentinel() {
|
|
1015
|
+
return new ReadableStream({
|
|
1016
|
+
start (controller) {
|
|
1017
|
+
controller.enqueue(new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->'));
|
|
1018
|
+
controller.close();
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
//# sourceMappingURL=app-page.js.map
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
/***/ }),
|
|
1027
|
+
|
|
1028
|
+
/***/ 3295:
|
|
1029
|
+
/***/ ((module) => {
|
|
1030
|
+
|
|
1031
|
+
"use strict";
|
|
1032
|
+
module.exports = require("next/dist/server/app-render/after-task-async-storage.external.js");
|
|
1033
|
+
|
|
1034
|
+
/***/ }),
|
|
1035
|
+
|
|
1036
|
+
/***/ 3591:
|
|
1037
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1038
|
+
|
|
1039
|
+
"use strict";
|
|
1040
|
+
|
|
1041
|
+
// EXPORTS
|
|
1042
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1043
|
+
t: () => (/* binding */ ToolbarPanels)
|
|
1044
|
+
});
|
|
1045
|
+
|
|
1046
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
1047
|
+
var react_jsx_runtime = __webpack_require__(78157);
|
|
1048
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
1049
|
+
var react = __webpack_require__(31768);
|
|
1050
|
+
// EXTERNAL MODULE: ../../packages/react-ui/dist/index.mjs + 27 modules
|
|
1051
|
+
var dist = __webpack_require__(30658);
|
|
1052
|
+
;// __barrel_optimize__?names=ResizeHandle,SettingsPanel,useEventSubscriptions,usePanelWidth!=!../../packages/react-ui/dist/index.mjs
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
1056
|
+
var next_auth_react = __webpack_require__(16422);
|
|
1057
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/api/image.js
|
|
1058
|
+
var api_image = __webpack_require__(91712);
|
|
1059
|
+
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
1060
|
+
var react_client = __webpack_require__(72668);
|
|
1061
|
+
;// __barrel_optimize__?names=formatTime,sanitizeImageURL,useSessionExpiry!=!../../packages/react-ui/dist/index.mjs
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
// EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
|
|
1065
|
+
var useAuth = __webpack_require__(3919);
|
|
1066
|
+
;// ./src/components/UserPanel.tsx
|
|
1067
|
+
/* __next_internal_client_entry_do_not_use__ UserPanel auto */
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
// Fallback avatar when image fails to load or is invalid
|
|
1075
|
+
const FALLBACK_AVATAR = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTYiIGN5PSIxNiIgcj0iMTYiIGZpbGw9IiM2QjcyODAiLz4KPHBhdGggZD0iTTE2IDE2QzE4LjIwOTEgMTYgMjAgMTQuMjA5MSAyMCAxMkMyMCA5Ljc5MDg2IDE4LjIwOTEgOCAxNiA4QzEzLjc5MDkgOCAxMiA5Ljc5MDg2IDEyIDEyQzEyIDE0LjIwOTEgMTMuNzkwOSAxNiAxNiAxNloiIGZpbGw9IiNFNUU3RUIiLz4KPHBhdGggZD0iTTI0IDI1QzI0IDIxLjY4NjMgMjAuNDE4MyAxOSAxNiAxOUMxMS41ODE3IDE5IDggMjEuNjg2MyA4IDI1IiBzdHJva2U9IiNFNUU3RUIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPg==';
|
|
1076
|
+
function UserPanel() {
|
|
1077
|
+
const t = (0,react_client/* useTranslations */.c)('UserPanel');
|
|
1078
|
+
const { displayName, avatarUrl, userDomain, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
|
|
1079
|
+
const [imageError, setImageError] = (0,react.useState)(false);
|
|
1080
|
+
const { timeRemaining } = (0,dist.useSessionExpiry)();
|
|
1081
|
+
const sessionTimeFormatted = (0,dist.formatTime)(timeRemaining) ?? 'Unknown';
|
|
1082
|
+
// Sanitize and validate the profile image URL
|
|
1083
|
+
const profileImageUrl = (()=>{
|
|
1084
|
+
if (!avatarUrl || imageError) {
|
|
1085
|
+
return FALLBACK_AVATAR;
|
|
1086
|
+
}
|
|
1087
|
+
const sanitized = (0,dist.sanitizeImageURL)(avatarUrl);
|
|
1088
|
+
if (!sanitized) {
|
|
1089
|
+
console.warn('Invalid profile image URL detected, using fallback');
|
|
1090
|
+
return FALLBACK_AVATAR;
|
|
1091
|
+
}
|
|
1092
|
+
return sanitized;
|
|
1093
|
+
})();
|
|
1094
|
+
const handleSignOut = async ()=>{
|
|
1095
|
+
await (0,next_auth_react.signOut)({
|
|
1096
|
+
callbackUrl: '/'
|
|
1097
|
+
});
|
|
1098
|
+
};
|
|
1099
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1100
|
+
className: "semiont-user-panel",
|
|
1101
|
+
children: [
|
|
1102
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("h3", {
|
|
1103
|
+
className: "semiont-user-panel__title",
|
|
1104
|
+
children: t('account')
|
|
1105
|
+
}),
|
|
1106
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1107
|
+
className: "space-y-4",
|
|
1108
|
+
children: [
|
|
1109
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1110
|
+
className: "flex items-center gap-3",
|
|
1111
|
+
children: [
|
|
1112
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(api_image["default"], {
|
|
1113
|
+
src: profileImageUrl,
|
|
1114
|
+
alt: t('profileAlt', {
|
|
1115
|
+
name: displayName || t('user')
|
|
1116
|
+
}),
|
|
1117
|
+
width: 48,
|
|
1118
|
+
height: 48,
|
|
1119
|
+
className: "w-12 h-12 rounded-full object-cover",
|
|
1120
|
+
onError: ()=>setImageError(true),
|
|
1121
|
+
unoptimized: profileImageUrl === FALLBACK_AVATAR,
|
|
1122
|
+
sizes: "48px",
|
|
1123
|
+
quality: 85
|
|
1124
|
+
}),
|
|
1125
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1126
|
+
className: "flex-1 min-w-0",
|
|
1127
|
+
children: [
|
|
1128
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1129
|
+
className: "semiont-panel-text",
|
|
1130
|
+
children: displayName || t('user')
|
|
1131
|
+
}),
|
|
1132
|
+
userDomain && /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1133
|
+
className: "semiont-panel-text-secondary",
|
|
1134
|
+
children: [
|
|
1135
|
+
"@",
|
|
1136
|
+
userDomain
|
|
1137
|
+
]
|
|
1138
|
+
})
|
|
1139
|
+
]
|
|
1140
|
+
})
|
|
1141
|
+
]
|
|
1142
|
+
}),
|
|
1143
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1144
|
+
children: [
|
|
1145
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("label", {
|
|
1146
|
+
className: "semiont-panel-label",
|
|
1147
|
+
children: t('session')
|
|
1148
|
+
}),
|
|
1149
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1150
|
+
className: "semiont-session-box",
|
|
1151
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1152
|
+
className: "semiont-panel-hint",
|
|
1153
|
+
children: t('expiresIn', {
|
|
1154
|
+
time: sessionTimeFormatted
|
|
1155
|
+
})
|
|
1156
|
+
})
|
|
1157
|
+
})
|
|
1158
|
+
]
|
|
1159
|
+
}),
|
|
1160
|
+
(isAdmin || isModerator) && /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1161
|
+
children: [
|
|
1162
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("label", {
|
|
1163
|
+
className: "semiont-panel-label",
|
|
1164
|
+
children: t('privileges')
|
|
1165
|
+
}),
|
|
1166
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1167
|
+
className: "space-y-1",
|
|
1168
|
+
children: [
|
|
1169
|
+
isAdmin && /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1170
|
+
className: "semiont-privilege-badge semiont-privilege-badge--admin",
|
|
1171
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("span", {
|
|
1172
|
+
className: "semiont-privilege-text",
|
|
1173
|
+
children: t('administrator')
|
|
1174
|
+
})
|
|
1175
|
+
}),
|
|
1176
|
+
isModerator && /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1177
|
+
className: "semiont-privilege-badge semiont-privilege-badge--moderator",
|
|
1178
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("span", {
|
|
1179
|
+
className: "semiont-privilege-text",
|
|
1180
|
+
children: t('moderator')
|
|
1181
|
+
})
|
|
1182
|
+
})
|
|
1183
|
+
]
|
|
1184
|
+
})
|
|
1185
|
+
]
|
|
1186
|
+
}),
|
|
1187
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1188
|
+
className: "semiont-panel-divider",
|
|
1189
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("button", {
|
|
1190
|
+
onClick: handleSignOut,
|
|
1191
|
+
className: "semiont-signout-button",
|
|
1192
|
+
children: t('signOut')
|
|
1193
|
+
})
|
|
1194
|
+
})
|
|
1195
|
+
]
|
|
1196
|
+
})
|
|
1197
|
+
]
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
// EXTERNAL MODULE: ../../node_modules/use-intl/dist/esm/production/react.js + 17 modules
|
|
1202
|
+
var production_react = __webpack_require__(16917);
|
|
1203
|
+
// EXTERNAL MODULE: ./src/i18n/routing.ts
|
|
1204
|
+
var routing = __webpack_require__(1915);
|
|
1205
|
+
;// __barrel_optimize__?names=COMMON_PANELS!=!../../packages/react-ui/dist/index.mjs
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
;// ./src/components/toolbar/ToolbarPanels.tsx
|
|
1209
|
+
/* __next_internal_client_entry_do_not_use__ ToolbarPanels auto */
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Renders the toolbar panel container with common panels (user, settings)
|
|
1218
|
+
* and any context-specific panels passed as children.
|
|
1219
|
+
*
|
|
1220
|
+
* Settings changes are handled via GlobalSettingsEventBus - no callbacks needed.
|
|
1221
|
+
*
|
|
1222
|
+
* @example
|
|
1223
|
+
* // Simple context (compose, discover, moderate, admin pages)
|
|
1224
|
+
* <ToolbarPanels
|
|
1225
|
+
* activePanel={activePanel}
|
|
1226
|
+
* theme={theme}
|
|
1227
|
+
* showLineNumbers={showLineNumbers}
|
|
1228
|
+
* />
|
|
1229
|
+
*
|
|
1230
|
+
* @example
|
|
1231
|
+
* // Document context with custom panels
|
|
1232
|
+
* <ToolbarPanels
|
|
1233
|
+
* activePanel={activePanel}
|
|
1234
|
+
* theme={theme}
|
|
1235
|
+
* showLineNumbers={showLineNumbers}
|
|
1236
|
+
* >
|
|
1237
|
+
* {activePanel === 'annotations' && <UnifiedAnnotationsPanel ... />}
|
|
1238
|
+
* {activePanel === 'history' && <AnnotationHistory ... />}
|
|
1239
|
+
* {activePanel === 'info' && <ResourceInfoPanel ... />}
|
|
1240
|
+
* {activePanel === 'collaboration' && <CollaborationPanel ... />}
|
|
1241
|
+
* {activePanel === 'jsonld' && <JsonLdPanel ... />}
|
|
1242
|
+
* </ToolbarPanels>
|
|
1243
|
+
*/ function ToolbarPanels({ activePanel, theme, showLineNumbers, hoverDelayMs, children }) {
|
|
1244
|
+
const locale = (0,production_react/* useLocale */.Ym)();
|
|
1245
|
+
const router = (0,routing/* useRouter */.rd)();
|
|
1246
|
+
const pathname = (0,routing/* usePathname */.a8)();
|
|
1247
|
+
const [isPending, startTransition] = (0,react.useTransition)();
|
|
1248
|
+
// Panel width management with localStorage persistence
|
|
1249
|
+
const { width, setWidth, minWidth, maxWidth } = (0,dist.usePanelWidth)();
|
|
1250
|
+
// Handle locale change events
|
|
1251
|
+
const handleLocaleChanged = (0,react.useCallback)(({ locale: newLocale })=>{
|
|
1252
|
+
if (!pathname) return;
|
|
1253
|
+
startTransition(()=>{
|
|
1254
|
+
// The router from @/i18n/routing is locale-aware and will handle the locale prefix
|
|
1255
|
+
router.replace(pathname, {
|
|
1256
|
+
locale: newLocale
|
|
1257
|
+
});
|
|
1258
|
+
});
|
|
1259
|
+
}, [
|
|
1260
|
+
pathname,
|
|
1261
|
+
router,
|
|
1262
|
+
startTransition
|
|
1263
|
+
]);
|
|
1264
|
+
// Subscribe to locale change events
|
|
1265
|
+
(0,dist.useEventSubscriptions)({
|
|
1266
|
+
'settings:locale-changed': handleLocaleChanged
|
|
1267
|
+
});
|
|
1268
|
+
// Don't render container if no panel is active
|
|
1269
|
+
if (!activePanel) {
|
|
1270
|
+
return null;
|
|
1271
|
+
}
|
|
1272
|
+
// In simple context (no children), only user and settings panels are valid.
|
|
1273
|
+
// If a resource-specific panel is still active from a previous route, hide the container.
|
|
1274
|
+
if (!children && !dist.COMMON_PANELS.includes(activePanel)) {
|
|
1275
|
+
return null;
|
|
1276
|
+
}
|
|
1277
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1278
|
+
className: "semiont-toolbar-panels",
|
|
1279
|
+
style: {
|
|
1280
|
+
width: `${width}px`,
|
|
1281
|
+
position: 'relative'
|
|
1282
|
+
},
|
|
1283
|
+
children: [
|
|
1284
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.ResizeHandle, {
|
|
1285
|
+
onResize: setWidth,
|
|
1286
|
+
minWidth: minWidth,
|
|
1287
|
+
maxWidth: maxWidth,
|
|
1288
|
+
position: "left",
|
|
1289
|
+
ariaLabel: "Resize right panel"
|
|
1290
|
+
}),
|
|
1291
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
1292
|
+
className: "semiont-toolbar-panels__content",
|
|
1293
|
+
children: [
|
|
1294
|
+
children,
|
|
1295
|
+
activePanel === 'user' && /*#__PURE__*/ (0,react_jsx_runtime.jsx)(UserPanel, {}),
|
|
1296
|
+
activePanel === 'settings' && /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist.SettingsPanel, {
|
|
1297
|
+
showLineNumbers: showLineNumbers,
|
|
1298
|
+
theme: theme,
|
|
1299
|
+
hoverDelayMs: hoverDelayMs,
|
|
1300
|
+
locale: locale,
|
|
1301
|
+
isPendingLocaleChange: isPending
|
|
1302
|
+
})
|
|
1303
|
+
]
|
|
1304
|
+
})
|
|
1305
|
+
]
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/***/ }),
|
|
1311
|
+
|
|
1312
|
+
/***/ 3919:
|
|
1313
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1314
|
+
|
|
1315
|
+
"use strict";
|
|
1316
|
+
|
|
1317
|
+
// EXPORTS
|
|
1318
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1319
|
+
As: () => (/* binding */ useAuth)
|
|
1320
|
+
});
|
|
1321
|
+
|
|
1322
|
+
// UNUSED EXPORTS: usePermissions, useUserPreferences
|
|
1323
|
+
|
|
1324
|
+
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
1325
|
+
var react = __webpack_require__(16422);
|
|
1326
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
1327
|
+
var ssr_react = __webpack_require__(31768);
|
|
1328
|
+
// EXTERNAL MODULE: ../../packages/api-client/dist/index.js
|
|
1329
|
+
var dist = __webpack_require__(19208);
|
|
1330
|
+
;// __barrel_optimize__?names=JWTTokenSchema,validateData!=!../../packages/api-client/dist/index.js
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
;// ./src/hooks/useAuth.ts
|
|
1334
|
+
/* __next_internal_client_entry_do_not_use__ useAuth,useUserPreferences,usePermissions auto */
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* Enhanced authentication hook with validation and user information
|
|
1339
|
+
*/ function useAuth() {
|
|
1340
|
+
const { data: session, status } = (0,react.useSession)();
|
|
1341
|
+
const authInfo = (0,ssr_react.useMemo)(()=>{
|
|
1342
|
+
const isLoading = status === 'loading';
|
|
1343
|
+
const isAuthenticated = !!session?.user;
|
|
1344
|
+
// Validate backend token if present
|
|
1345
|
+
const hasValidBackendToken = session?.backendToken ? (0,dist/* validateData */.lv)(dist/* JWTTokenSchema */.k3, session.backendToken).success : false;
|
|
1346
|
+
return {
|
|
1347
|
+
// Session data
|
|
1348
|
+
session,
|
|
1349
|
+
user: session?.user,
|
|
1350
|
+
backendUser: session?.backendUser,
|
|
1351
|
+
// Status flags
|
|
1352
|
+
isLoading,
|
|
1353
|
+
isAuthenticated,
|
|
1354
|
+
hasValidBackendToken,
|
|
1355
|
+
// Computed properties
|
|
1356
|
+
userDomain: session?.backendUser?.domain || session?.user?.email?.split('@')[1],
|
|
1357
|
+
displayName: session?.user?.name || session?.user?.email?.split('@')[0] || 'User',
|
|
1358
|
+
avatarUrl: session?.user?.image,
|
|
1359
|
+
isAdmin: session?.backendUser?.isAdmin || false,
|
|
1360
|
+
isModerator: session?.backendUser?.isModerator || false,
|
|
1361
|
+
// Combined auth status
|
|
1362
|
+
isFullyAuthenticated: isAuthenticated && hasValidBackendToken
|
|
1363
|
+
};
|
|
1364
|
+
}, [
|
|
1365
|
+
session,
|
|
1366
|
+
status
|
|
1367
|
+
]);
|
|
1368
|
+
return authInfo;
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* Hook for getting user preferences and settings
|
|
1372
|
+
*/ function useUserPreferences() {
|
|
1373
|
+
const { session } = useAuth();
|
|
1374
|
+
return useMemo(()=>{
|
|
1375
|
+
// In the future, this could fetch user preferences from backend
|
|
1376
|
+
// For now, return defaults
|
|
1377
|
+
return {
|
|
1378
|
+
theme: 'system',
|
|
1379
|
+
language: 'en',
|
|
1380
|
+
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
1381
|
+
emailNotifications: true
|
|
1382
|
+
};
|
|
1383
|
+
}, [
|
|
1384
|
+
session
|
|
1385
|
+
]);
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* Hook for checking user permissions (future expansion)
|
|
1389
|
+
*/ function usePermissions() {
|
|
1390
|
+
const { backendUser, isFullyAuthenticated } = useAuth();
|
|
1391
|
+
return useMemo(()=>{
|
|
1392
|
+
if (!isFullyAuthenticated || !backendUser) {
|
|
1393
|
+
return {
|
|
1394
|
+
canRead: false,
|
|
1395
|
+
canWrite: false,
|
|
1396
|
+
canAdmin: false,
|
|
1397
|
+
canManageUsers: false
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1400
|
+
// Basic permissions - in the future this would come from backend
|
|
1401
|
+
return {
|
|
1402
|
+
canRead: true,
|
|
1403
|
+
canWrite: true,
|
|
1404
|
+
canAdmin: false,
|
|
1405
|
+
canManageUsers: false
|
|
1406
|
+
};
|
|
1407
|
+
}, [
|
|
1408
|
+
backendUser,
|
|
1409
|
+
isFullyAuthenticated
|
|
1410
|
+
]);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
/***/ }),
|
|
1415
|
+
|
|
1416
|
+
/***/ 6867:
|
|
1417
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
1418
|
+
|
|
1419
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 78474));
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
/***/ }),
|
|
1423
|
+
|
|
1424
|
+
/***/ 10846:
|
|
1425
|
+
/***/ ((module) => {
|
|
1426
|
+
|
|
1427
|
+
"use strict";
|
|
1428
|
+
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
1429
|
+
|
|
1430
|
+
/***/ }),
|
|
1431
|
+
|
|
1432
|
+
/***/ 19121:
|
|
1433
|
+
/***/ ((module) => {
|
|
1434
|
+
|
|
1435
|
+
"use strict";
|
|
1436
|
+
module.exports = require("next/dist/server/app-render/action-async-storage.external.js");
|
|
1437
|
+
|
|
1438
|
+
/***/ }),
|
|
1439
|
+
|
|
1440
|
+
/***/ 19771:
|
|
1441
|
+
/***/ ((module) => {
|
|
1442
|
+
|
|
1443
|
+
"use strict";
|
|
1444
|
+
module.exports = require("process");
|
|
1445
|
+
|
|
1446
|
+
/***/ }),
|
|
1447
|
+
|
|
1448
|
+
/***/ 20400:
|
|
1449
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
1450
|
+
|
|
1451
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71642));
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
/***/ }),
|
|
1455
|
+
|
|
1456
|
+
/***/ 22430:
|
|
1457
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1458
|
+
|
|
1459
|
+
"use strict";
|
|
1460
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1461
|
+
/* harmony export */ ySJ: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.usePanelBrowse)
|
|
1462
|
+
/* harmony export */ });
|
|
1463
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
/***/ }),
|
|
1468
|
+
|
|
1469
|
+
/***/ 26713:
|
|
1470
|
+
/***/ ((module) => {
|
|
1471
|
+
|
|
1472
|
+
"use strict";
|
|
1473
|
+
module.exports = require("next/dist/shared/lib/router/utils/is-bot");
|
|
1474
|
+
|
|
1475
|
+
/***/ }),
|
|
1476
|
+
|
|
1477
|
+
/***/ 28354:
|
|
1478
|
+
/***/ ((module) => {
|
|
1479
|
+
|
|
1480
|
+
"use strict";
|
|
1481
|
+
module.exports = require("util");
|
|
1482
|
+
|
|
1483
|
+
/***/ }),
|
|
1484
|
+
|
|
1485
|
+
/***/ 29294:
|
|
1486
|
+
/***/ ((module) => {
|
|
1487
|
+
|
|
1488
|
+
"use strict";
|
|
1489
|
+
module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
|
|
1490
|
+
|
|
1491
|
+
/***/ }),
|
|
1492
|
+
|
|
1493
|
+
/***/ 33873:
|
|
1494
|
+
/***/ ((module) => {
|
|
1495
|
+
|
|
1496
|
+
"use strict";
|
|
1497
|
+
module.exports = require("path");
|
|
1498
|
+
|
|
1499
|
+
/***/ }),
|
|
1500
|
+
|
|
1501
|
+
/***/ 33886:
|
|
1502
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1503
|
+
|
|
1504
|
+
"use strict";
|
|
1505
|
+
// ESM COMPAT FLAG
|
|
1506
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1507
|
+
|
|
1508
|
+
// EXPORTS
|
|
1509
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1510
|
+
"default": () => (/* binding */ TagSchemasPageWrapper)
|
|
1511
|
+
});
|
|
1512
|
+
|
|
1513
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
1514
|
+
var react_jsx_runtime = __webpack_require__(78157);
|
|
1515
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/api/navigation.js
|
|
1516
|
+
var navigation = __webpack_require__(71159);
|
|
1517
|
+
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
1518
|
+
var react = __webpack_require__(16422);
|
|
1519
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
1520
|
+
var ssr_react = __webpack_require__(31768);
|
|
1521
|
+
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
1522
|
+
var react_client = __webpack_require__(72668);
|
|
1523
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=Toolbar!=!../../packages/react-ui/dist/index.mjs
|
|
1524
|
+
var dist = __webpack_require__(61740);
|
|
1525
|
+
// EXTERNAL MODULE: ./src/components/toolbar/ToolbarPanels.tsx + 4 modules
|
|
1526
|
+
var ToolbarPanels = __webpack_require__(3591);
|
|
1527
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=useTheme!=!../../packages/react-ui/dist/index.mjs
|
|
1528
|
+
var react_ui_dist = __webpack_require__(74407);
|
|
1529
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=usePanelBrowse!=!../../packages/react-ui/dist/index.mjs
|
|
1530
|
+
var _barrel_optimize_names_usePanelBrowse_packages_react_ui_dist = __webpack_require__(22430);
|
|
1531
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=useLineNumbers!=!../../packages/react-ui/dist/index.mjs
|
|
1532
|
+
var _barrel_optimize_names_useLineNumbers_packages_react_ui_dist = __webpack_require__(81294);
|
|
1533
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
|
|
1534
|
+
var _barrel_optimize_names_useEventSubscriptions_packages_react_ui_dist = __webpack_require__(54450);
|
|
1535
|
+
;// ../../packages/ontology/dist/index.js
|
|
1536
|
+
// src/entity-types.ts
|
|
1537
|
+
var DEFAULT_ENTITY_TYPES = (/* unused pure expression or super */ null && ([
|
|
1538
|
+
"Person",
|
|
1539
|
+
"Organization",
|
|
1540
|
+
"Location",
|
|
1541
|
+
"Event",
|
|
1542
|
+
"Concept",
|
|
1543
|
+
"Product",
|
|
1544
|
+
"Technology",
|
|
1545
|
+
"Date",
|
|
1546
|
+
"Author"
|
|
1547
|
+
]));
|
|
1548
|
+
// src/tag-schemas.ts
|
|
1549
|
+
var TAG_SCHEMAS = {
|
|
1550
|
+
"legal-irac": {
|
|
1551
|
+
id: "legal-irac",
|
|
1552
|
+
name: "Legal Analysis (IRAC)",
|
|
1553
|
+
description: "Issue, Rule, Application, Conclusion framework for legal reasoning",
|
|
1554
|
+
domain: "legal",
|
|
1555
|
+
tags: [
|
|
1556
|
+
{
|
|
1557
|
+
name: "Issue",
|
|
1558
|
+
description: "The legal question or problem to be resolved",
|
|
1559
|
+
examples: [
|
|
1560
|
+
"What is the central legal question?",
|
|
1561
|
+
"What must the court decide?",
|
|
1562
|
+
"What is the dispute about?"
|
|
1563
|
+
]
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: "Rule",
|
|
1567
|
+
description: "The relevant law, statute, or legal principle",
|
|
1568
|
+
examples: [
|
|
1569
|
+
"What law applies?",
|
|
1570
|
+
"What is the legal standard?",
|
|
1571
|
+
"What statute governs this case?"
|
|
1572
|
+
]
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
name: "Application",
|
|
1576
|
+
description: "How the rule applies to the specific facts",
|
|
1577
|
+
examples: [
|
|
1578
|
+
"How does the law apply to these facts?",
|
|
1579
|
+
"Analysis of the case",
|
|
1580
|
+
"How do the facts satisfy the legal standard?"
|
|
1581
|
+
]
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
name: "Conclusion",
|
|
1585
|
+
description: "The resolution or outcome based on the analysis",
|
|
1586
|
+
examples: [
|
|
1587
|
+
"What is the court's decision?",
|
|
1588
|
+
"What is the final judgment?",
|
|
1589
|
+
"What is the holding?"
|
|
1590
|
+
]
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
"scientific-imrad": {
|
|
1595
|
+
id: "scientific-imrad",
|
|
1596
|
+
name: "Scientific Paper (IMRAD)",
|
|
1597
|
+
description: "Introduction, Methods, Results, Discussion structure for research papers",
|
|
1598
|
+
domain: "scientific",
|
|
1599
|
+
tags: [
|
|
1600
|
+
{
|
|
1601
|
+
name: "Introduction",
|
|
1602
|
+
description: "Background, context, and research question",
|
|
1603
|
+
examples: [
|
|
1604
|
+
"What is the research question?",
|
|
1605
|
+
"Why is this important?",
|
|
1606
|
+
"What is the hypothesis?"
|
|
1607
|
+
]
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
name: "Methods",
|
|
1611
|
+
description: "Experimental design and procedures",
|
|
1612
|
+
examples: [
|
|
1613
|
+
"How was the study conducted?",
|
|
1614
|
+
"What methods were used?",
|
|
1615
|
+
"What was the experimental design?"
|
|
1616
|
+
]
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
name: "Results",
|
|
1620
|
+
description: "Findings and observations",
|
|
1621
|
+
examples: [
|
|
1622
|
+
"What did the study find?",
|
|
1623
|
+
"What are the data?",
|
|
1624
|
+
"What were the observations?"
|
|
1625
|
+
]
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
name: "Discussion",
|
|
1629
|
+
description: "Interpretation and implications of results",
|
|
1630
|
+
examples: [
|
|
1631
|
+
"What do the results mean?",
|
|
1632
|
+
"What are the implications?",
|
|
1633
|
+
"How do these findings relate to prior work?"
|
|
1634
|
+
]
|
|
2081
1635
|
}
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
1636
|
+
]
|
|
1637
|
+
},
|
|
1638
|
+
"argument-toulmin": {
|
|
1639
|
+
id: "argument-toulmin",
|
|
1640
|
+
name: "Argument Structure (Toulmin)",
|
|
1641
|
+
description: "Claim, Evidence, Warrant, Counterargument, Rebuttal framework for argumentation",
|
|
1642
|
+
domain: "general",
|
|
1643
|
+
tags: [
|
|
1644
|
+
{
|
|
1645
|
+
name: "Claim",
|
|
1646
|
+
description: "The main assertion or thesis",
|
|
1647
|
+
examples: [
|
|
1648
|
+
"What is being argued?",
|
|
1649
|
+
"What is the main point?",
|
|
1650
|
+
"What position is being taken?"
|
|
1651
|
+
]
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
name: "Evidence",
|
|
1655
|
+
description: "Data or facts supporting the claim",
|
|
1656
|
+
examples: [
|
|
1657
|
+
"What supports this claim?",
|
|
1658
|
+
"What are the facts?",
|
|
1659
|
+
"What data is provided?"
|
|
1660
|
+
]
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
name: "Warrant",
|
|
1664
|
+
description: "Reasoning connecting evidence to claim",
|
|
1665
|
+
examples: [
|
|
1666
|
+
"Why does this evidence support the claim?",
|
|
1667
|
+
"What is the logic?",
|
|
1668
|
+
"How does this reasoning work?"
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
name: "Counterargument",
|
|
1673
|
+
description: "Opposing viewpoints or objections",
|
|
1674
|
+
examples: [
|
|
1675
|
+
"What are the objections?",
|
|
1676
|
+
"What do critics say?",
|
|
1677
|
+
"What are alternative views?"
|
|
1678
|
+
]
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
name: "Rebuttal",
|
|
1682
|
+
description: "Response to counterarguments",
|
|
1683
|
+
examples: [
|
|
1684
|
+
"How is the objection addressed?",
|
|
1685
|
+
"Why is the counterargument wrong?",
|
|
1686
|
+
"How is the criticism answered?"
|
|
1687
|
+
]
|
|
1688
|
+
}
|
|
1689
|
+
]
|
|
1690
|
+
}
|
|
1691
|
+
};
|
|
1692
|
+
function getTagSchema(schemaId) {
|
|
1693
|
+
return TAG_SCHEMAS[schemaId] || null;
|
|
1694
|
+
}
|
|
1695
|
+
function getAllTagSchemas() {
|
|
1696
|
+
return Object.values(TAG_SCHEMAS);
|
|
1697
|
+
}
|
|
1698
|
+
function getTagSchemasByDomain(domain) {
|
|
1699
|
+
return Object.values(TAG_SCHEMAS).filter((schema)=>schema.domain === domain);
|
|
1700
|
+
}
|
|
1701
|
+
function isValidCategory(schemaId, categoryName) {
|
|
1702
|
+
const schema = getTagSchema(schemaId);
|
|
1703
|
+
if (!schema) return false;
|
|
1704
|
+
return schema.tags.some((tag)=>tag.name === categoryName);
|
|
1705
|
+
}
|
|
1706
|
+
function getSchemaCategory(schemaId, categoryName) {
|
|
1707
|
+
const schema = getTagSchema(schemaId);
|
|
1708
|
+
if (!schema) return null;
|
|
1709
|
+
return schema.tags.find((tag)=>tag.name === categoryName) || null;
|
|
1710
|
+
}
|
|
1711
|
+
// src/entity-extraction.ts
|
|
1712
|
+
function getEntityTypes(annotation) {
|
|
1713
|
+
if (Array.isArray(annotation.body)) {
|
|
1714
|
+
const entityTags = [];
|
|
1715
|
+
for (const item of annotation.body){
|
|
1716
|
+
if (typeof item === "object" && item !== null && "type" in item && "value" in item && "purpose" in item) {
|
|
1717
|
+
const itemType = item.type;
|
|
1718
|
+
const itemValue = item.value;
|
|
1719
|
+
const itemPurpose = item.purpose;
|
|
1720
|
+
if (itemType === "TextualBody" && itemPurpose === "tagging" && typeof itemValue === "string" && itemValue.length > 0) {
|
|
1721
|
+
entityTags.push(itemValue);
|
|
1722
|
+
}
|
|
2106
1723
|
}
|
|
2107
|
-
// If we're in test mode, we should add a sentinel chunk to the response
|
|
2108
|
-
// that's between the static and dynamic parts so we can compare the
|
|
2109
|
-
// chunks and add assertions.
|
|
2110
|
-
if (false) {}
|
|
2111
|
-
// This request has postponed, so let's create a new transformer that the
|
|
2112
|
-
// dynamic data can pipe to that will attach the dynamic data to the end
|
|
2113
|
-
// of the response.
|
|
2114
|
-
const transformer = new TransformStream();
|
|
2115
|
-
body.push(transformer.readable);
|
|
2116
|
-
// Perform the render again, but this time, provide the postponed state.
|
|
2117
|
-
// We don't await because we want the result to start streaming now, and
|
|
2118
|
-
// we've already chained the transformer's readable to the render result.
|
|
2119
|
-
doRender({
|
|
2120
|
-
span,
|
|
2121
|
-
postponed: cachedData.postponed,
|
|
2122
|
-
// This is a resume render, not a fallback render, so we don't need to
|
|
2123
|
-
// set this.
|
|
2124
|
-
fallbackRouteParams: null
|
|
2125
|
-
}).then(async (result)=>{
|
|
2126
|
-
var _result_value;
|
|
2127
|
-
if (!result) {
|
|
2128
|
-
throw Object.defineProperty(new Error('Invariant: expected a result to be returned'), "__NEXT_ERROR_CODE", {
|
|
2129
|
-
value: "E463",
|
|
2130
|
-
enumerable: false,
|
|
2131
|
-
configurable: true
|
|
2132
|
-
});
|
|
2133
|
-
}
|
|
2134
|
-
if (((_result_value = result.value) == null ? void 0 : _result_value.kind) !== next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__.CachedRouteKind.APP_PAGE) {
|
|
2135
|
-
var _result_value1;
|
|
2136
|
-
throw Object.defineProperty(new Error(`Invariant: expected a page response, got ${(_result_value1 = result.value) == null ? void 0 : _result_value1.kind}`), "__NEXT_ERROR_CODE", {
|
|
2137
|
-
value: "E305",
|
|
2138
|
-
enumerable: false,
|
|
2139
|
-
configurable: true
|
|
2140
|
-
});
|
|
2141
|
-
}
|
|
2142
|
-
// Pipe the resume result to the transformer.
|
|
2143
|
-
await result.value.html.pipeTo(transformer.writable);
|
|
2144
|
-
}).catch((err)=>{
|
|
2145
|
-
// An error occurred during piping or preparing the render, abort
|
|
2146
|
-
// the transformers writer so we can terminate the stream.
|
|
2147
|
-
transformer.writable.abort(err).catch((e)=>{
|
|
2148
|
-
console.error("couldn't abort transformer", e);
|
|
2149
|
-
});
|
|
2150
|
-
});
|
|
2151
|
-
return (0,next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__.sendRenderResult)({
|
|
2152
|
-
req,
|
|
2153
|
-
res,
|
|
2154
|
-
generateEtags: nextConfig.generateEtags,
|
|
2155
|
-
poweredByHeader: nextConfig.poweredByHeader,
|
|
2156
|
-
result: body,
|
|
2157
|
-
// We don't want to cache the response if it has postponed data because
|
|
2158
|
-
// the response being sent to the client it's dynamic parts are streamed
|
|
2159
|
-
// to the client on the same request.
|
|
2160
|
-
cacheControl: {
|
|
2161
|
-
revalidate: 0,
|
|
2162
|
-
expire: undefined
|
|
2163
|
-
}
|
|
2164
|
-
});
|
|
2165
|
-
};
|
|
2166
|
-
// TODO: activeSpan code path is for when wrapped by
|
|
2167
|
-
// next-server can be removed when this is no longer used
|
|
2168
|
-
if (activeSpan) {
|
|
2169
|
-
await handleResponse(activeSpan);
|
|
2170
|
-
} else {
|
|
2171
|
-
return await tracer.withPropagatedContext(req.headers, ()=>tracer.trace(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__.BaseServerSpan.handleRequest, {
|
|
2172
|
-
spanName: `${method} ${req.url}`,
|
|
2173
|
-
kind: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__.SpanKind.SERVER,
|
|
2174
|
-
attributes: {
|
|
2175
|
-
'http.method': method,
|
|
2176
|
-
'http.target': req.url
|
|
2177
|
-
}
|
|
2178
|
-
}, handleResponse));
|
|
2179
1724
|
}
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
1725
|
+
return entityTags;
|
|
1726
|
+
}
|
|
1727
|
+
return [];
|
|
1728
|
+
}
|
|
1729
|
+
// src/tag-extraction.ts
|
|
1730
|
+
function isTag(annotation) {
|
|
1731
|
+
return annotation.motivation === "tagging";
|
|
1732
|
+
}
|
|
1733
|
+
function getTagCategory(annotation) {
|
|
1734
|
+
if (!isTag(annotation)) return void 0;
|
|
1735
|
+
const bodies = Array.isArray(annotation.body) ? annotation.body : [
|
|
1736
|
+
annotation.body
|
|
1737
|
+
];
|
|
1738
|
+
const taggingBody = bodies.find((b)=>b !== null && typeof b === "object" && "purpose" in b && b.purpose === "tagging");
|
|
1739
|
+
if (taggingBody && "value" in taggingBody) {
|
|
1740
|
+
return taggingBody.value;
|
|
1741
|
+
}
|
|
1742
|
+
return void 0;
|
|
1743
|
+
}
|
|
1744
|
+
function getTagSchemaId(annotation) {
|
|
1745
|
+
if (!isTag(annotation)) return void 0;
|
|
1746
|
+
const bodies = Array.isArray(annotation.body) ? annotation.body : [
|
|
1747
|
+
annotation.body
|
|
1748
|
+
];
|
|
1749
|
+
const classifyingBody = bodies.find((b)=>b !== null && typeof b === "object" && "purpose" in b && b.purpose === "classifying");
|
|
1750
|
+
if (classifyingBody && "value" in classifyingBody) {
|
|
1751
|
+
return classifyingBody.value;
|
|
1752
|
+
}
|
|
1753
|
+
return void 0;
|
|
1754
|
+
}
|
|
1755
|
+
//# sourceMappingURL=index.js.map
|
|
1756
|
+
|
|
1757
|
+
// EXTERNAL MODULE: ../../packages/react-ui/dist/index.mjs + 27 modules
|
|
1758
|
+
var packages_react_ui_dist = __webpack_require__(30658);
|
|
1759
|
+
;// __barrel_optimize__?names=TagSchemasPage!=!../../packages/react-ui/dist/index.mjs
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
;// ./src/app/[locale]/moderate/tag-schemas/page.tsx
|
|
1763
|
+
/* __next_internal_client_entry_do_not_use__ default auto */
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
function TagSchemasPageWrapper() {
|
|
1777
|
+
const t = (0,react_client/* useTranslations */.c)('ModerateTagSchemas');
|
|
1778
|
+
const { data: session, status } = (0,react.useSession)();
|
|
1779
|
+
// Toolbar and settings state
|
|
1780
|
+
const { activePanel } = (0,_barrel_optimize_names_usePanelBrowse_packages_react_ui_dist/* usePanelBrowse */.ySJ)();
|
|
1781
|
+
const { theme, setTheme } = (0,react_ui_dist/* useTheme */.DPo)();
|
|
1782
|
+
const { showLineNumbers, toggleLineNumbers } = (0,_barrel_optimize_names_useLineNumbers_packages_react_ui_dist/* useLineNumbers */.cvF)();
|
|
1783
|
+
// Handle theme change events
|
|
1784
|
+
const handleThemeChanged = (0,ssr_react.useCallback)(({ theme })=>{
|
|
1785
|
+
setTheme(theme);
|
|
1786
|
+
}, [
|
|
1787
|
+
setTheme
|
|
1788
|
+
]);
|
|
1789
|
+
// Handle line numbers toggle events
|
|
1790
|
+
const handleLineNumbersToggled = (0,ssr_react.useCallback)(()=>{
|
|
1791
|
+
toggleLineNumbers();
|
|
1792
|
+
}, [
|
|
1793
|
+
toggleLineNumbers
|
|
1794
|
+
]);
|
|
1795
|
+
(0,_barrel_optimize_names_useEventSubscriptions_packages_react_ui_dist/* useEventSubscriptions */.C$z)({
|
|
1796
|
+
'settings:theme-changed': handleThemeChanged,
|
|
1797
|
+
'settings:line-numbers-toggled': handleLineNumbersToggled
|
|
1798
|
+
});
|
|
1799
|
+
// Get all tag schemas
|
|
1800
|
+
const schemas = getAllTagSchemas();
|
|
1801
|
+
// Check authentication and moderator/admin status
|
|
1802
|
+
process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,ssr_react.useEffect)(()=>{
|
|
1803
|
+
if (status === 'loading') return;
|
|
1804
|
+
if (status === 'unauthenticated') {
|
|
1805
|
+
(0,navigation.notFound)();
|
|
2191
1806
|
}
|
|
2192
|
-
|
|
2193
|
-
|
|
1807
|
+
if (!session?.backendUser?.isModerator && !session?.backendUser?.isAdmin) {
|
|
1808
|
+
(0,navigation.notFound)();
|
|
1809
|
+
}
|
|
1810
|
+
}, [
|
|
1811
|
+
status,
|
|
1812
|
+
session
|
|
1813
|
+
]);
|
|
1814
|
+
// Show loading while checking session
|
|
1815
|
+
if (status === 'loading') {
|
|
1816
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
1817
|
+
className: "flex items-center justify-center py-20",
|
|
1818
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("p", {
|
|
1819
|
+
className: "text-gray-600 dark:text-gray-300",
|
|
1820
|
+
children: t('loading')
|
|
1821
|
+
})
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
// Show nothing if not moderator/admin (will be handled by notFound)
|
|
1825
|
+
if (!session?.backendUser?.isModerator && !session?.backendUser?.isAdmin) {
|
|
1826
|
+
return null;
|
|
2194
1827
|
}
|
|
1828
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(packages_react_ui_dist.TagSchemasPage, {
|
|
1829
|
+
schemas: schemas,
|
|
1830
|
+
isLoading: false,
|
|
1831
|
+
theme: theme,
|
|
1832
|
+
showLineNumbers: showLineNumbers,
|
|
1833
|
+
activePanel: activePanel,
|
|
1834
|
+
translations: {
|
|
1835
|
+
pageTitle: t('pageTitle'),
|
|
1836
|
+
pageDescription: t('pageDescription'),
|
|
1837
|
+
categories: t('categories'),
|
|
1838
|
+
loading: t('loading')
|
|
1839
|
+
},
|
|
1840
|
+
ToolbarPanels: ToolbarPanels/* ToolbarPanels */.t,
|
|
1841
|
+
Toolbar: dist/* Toolbar */.M7E
|
|
1842
|
+
});
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
/***/ }),
|
|
1847
|
+
|
|
1848
|
+
/***/ 39659:
|
|
1849
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1850
|
+
|
|
1851
|
+
"use strict";
|
|
1852
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1853
|
+
/* harmony export */ Ef3: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.LeftSidebar),
|
|
1854
|
+
/* harmony export */ ffs: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.AuthTokenProvider),
|
|
1855
|
+
/* harmony export */ pqI: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.ApiClientProvider),
|
|
1856
|
+
/* harmony export */ wi6: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Footer)
|
|
1857
|
+
/* harmony export */ });
|
|
1858
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/***/ }),
|
|
1863
|
+
|
|
1864
|
+
/***/ 41025:
|
|
1865
|
+
/***/ ((module) => {
|
|
1866
|
+
|
|
1867
|
+
"use strict";
|
|
1868
|
+
module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
|
|
1869
|
+
|
|
1870
|
+
/***/ }),
|
|
1871
|
+
|
|
1872
|
+
/***/ 61740:
|
|
1873
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1874
|
+
|
|
1875
|
+
"use strict";
|
|
1876
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1877
|
+
/* harmony export */ M7E: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Toolbar)
|
|
1878
|
+
/* harmony export */ });
|
|
1879
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
/***/ }),
|
|
1884
|
+
|
|
1885
|
+
/***/ 62256:
|
|
1886
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
1887
|
+
|
|
1888
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
/***/ }),
|
|
1892
|
+
|
|
1893
|
+
/***/ 63033:
|
|
1894
|
+
/***/ ((module) => {
|
|
1895
|
+
|
|
1896
|
+
"use strict";
|
|
1897
|
+
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
1898
|
+
|
|
1899
|
+
/***/ }),
|
|
1900
|
+
|
|
1901
|
+
/***/ 67115:
|
|
1902
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
1903
|
+
|
|
1904
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33886));
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
/***/ }),
|
|
1908
|
+
|
|
1909
|
+
/***/ 71642:
|
|
1910
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1911
|
+
|
|
1912
|
+
"use strict";
|
|
1913
|
+
// ESM COMPAT FLAG
|
|
1914
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1915
|
+
|
|
1916
|
+
// EXPORTS
|
|
1917
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
1918
|
+
"default": () => (/* binding */ ModerateLayout)
|
|
1919
|
+
});
|
|
1920
|
+
|
|
1921
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
|
|
1922
|
+
var react_jsx_runtime = __webpack_require__(78157);
|
|
1923
|
+
// EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
|
|
1924
|
+
var react = __webpack_require__(31768);
|
|
1925
|
+
// EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
|
|
1926
|
+
var react_client = __webpack_require__(72668);
|
|
1927
|
+
// EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
|
|
1928
|
+
var next_auth_react = __webpack_require__(16422);
|
|
1929
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=ApiClientProvider,AuthTokenProvider,Footer,LeftSidebar!=!../../packages/react-ui/dist/index.mjs
|
|
1930
|
+
var dist = __webpack_require__(39659);
|
|
1931
|
+
// EXTERNAL MODULE: ./src/i18n/routing.ts
|
|
1932
|
+
var routing = __webpack_require__(1915);
|
|
1933
|
+
// EXTERNAL MODULE: __barrel_optimize__?names=SimpleNavigation,useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
|
|
1934
|
+
var react_ui_dist = __webpack_require__(93346);
|
|
1935
|
+
;// ../../node_modules/@heroicons/react/24/outline/esm/ClockIcon.js
|
|
1936
|
+
|
|
1937
|
+
function ClockIcon({ title, titleId, ...props }, svgRef) {
|
|
1938
|
+
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
1939
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1940
|
+
fill: "none",
|
|
1941
|
+
viewBox: "0 0 24 24",
|
|
1942
|
+
strokeWidth: 1.5,
|
|
1943
|
+
stroke: "currentColor",
|
|
1944
|
+
"aria-hidden": "true",
|
|
1945
|
+
"data-slot": "icon",
|
|
1946
|
+
ref: svgRef,
|
|
1947
|
+
"aria-labelledby": titleId
|
|
1948
|
+
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
1949
|
+
id: titleId
|
|
1950
|
+
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
1951
|
+
strokeLinecap: "round",
|
|
1952
|
+
strokeLinejoin: "round",
|
|
1953
|
+
d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
|
|
1954
|
+
}));
|
|
1955
|
+
}
|
|
1956
|
+
const ForwardRef = /*#__PURE__*/ react.forwardRef(ClockIcon);
|
|
1957
|
+
/* harmony default export */ const esm_ClockIcon = (ForwardRef);
|
|
1958
|
+
|
|
1959
|
+
;// ../../node_modules/@heroicons/react/24/outline/esm/TagIcon.js
|
|
1960
|
+
|
|
1961
|
+
function TagIcon({ title, titleId, ...props }, svgRef) {
|
|
1962
|
+
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
1963
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1964
|
+
fill: "none",
|
|
1965
|
+
viewBox: "0 0 24 24",
|
|
1966
|
+
strokeWidth: 1.5,
|
|
1967
|
+
stroke: "currentColor",
|
|
1968
|
+
"aria-hidden": "true",
|
|
1969
|
+
"data-slot": "icon",
|
|
1970
|
+
ref: svgRef,
|
|
1971
|
+
"aria-labelledby": titleId
|
|
1972
|
+
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
1973
|
+
id: titleId
|
|
1974
|
+
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
1975
|
+
strokeLinecap: "round",
|
|
1976
|
+
strokeLinejoin: "round",
|
|
1977
|
+
d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
|
|
1978
|
+
}), /*#__PURE__*/ react.createElement("path", {
|
|
1979
|
+
strokeLinecap: "round",
|
|
1980
|
+
strokeLinejoin: "round",
|
|
1981
|
+
d: "M6 6h.008v.008H6V6Z"
|
|
1982
|
+
}));
|
|
2195
1983
|
}
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
return
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
1984
|
+
const TagIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(TagIcon);
|
|
1985
|
+
/* harmony default export */ const esm_TagIcon = (TagIcon_ForwardRef);
|
|
1986
|
+
|
|
1987
|
+
;// ../../node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js
|
|
1988
|
+
|
|
1989
|
+
function BookOpenIcon({ title, titleId, ...props }, svgRef) {
|
|
1990
|
+
return /*#__PURE__*/ react.createElement("svg", Object.assign({
|
|
1991
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1992
|
+
fill: "none",
|
|
1993
|
+
viewBox: "0 0 24 24",
|
|
1994
|
+
strokeWidth: 1.5,
|
|
1995
|
+
stroke: "currentColor",
|
|
1996
|
+
"aria-hidden": "true",
|
|
1997
|
+
"data-slot": "icon",
|
|
1998
|
+
ref: svgRef,
|
|
1999
|
+
"aria-labelledby": titleId
|
|
2000
|
+
}, props), title ? /*#__PURE__*/ react.createElement("title", {
|
|
2001
|
+
id: titleId
|
|
2002
|
+
}, title) : null, /*#__PURE__*/ react.createElement("path", {
|
|
2003
|
+
strokeLinecap: "round",
|
|
2004
|
+
strokeLinejoin: "round",
|
|
2005
|
+
d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"
|
|
2006
|
+
}));
|
|
2007
|
+
}
|
|
2008
|
+
const BookOpenIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(BookOpenIcon);
|
|
2009
|
+
/* harmony default export */ const esm_BookOpenIcon = (BookOpenIcon_ForwardRef);
|
|
2010
|
+
|
|
2011
|
+
// EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js
|
|
2012
|
+
var ChevronLeftIcon = __webpack_require__(18689);
|
|
2013
|
+
// EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js
|
|
2014
|
+
var Bars3Icon = __webpack_require__(24768);
|
|
2015
|
+
;// ./src/components/moderation/ModerationNavigation.tsx
|
|
2016
|
+
/* __next_internal_client_entry_do_not_use__ ModerationNavigation auto */
|
|
2017
|
+
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
function ModerationNavigation({ isCollapsed, toggleCollapsed, navigationMenu }) {
|
|
2024
|
+
const t = (0,react_client/* useTranslations */.c)('Moderation');
|
|
2025
|
+
const tSidebar = (0,react_client/* useTranslations */.c)('Sidebar');
|
|
2026
|
+
const pathname = (0,routing/* usePathname */.a8)();
|
|
2027
|
+
// Handle sidebar toggle events
|
|
2028
|
+
const handleSidebarToggle = (0,react.useCallback)(()=>{
|
|
2029
|
+
toggleCollapsed();
|
|
2030
|
+
}, [
|
|
2031
|
+
toggleCollapsed
|
|
2032
|
+
]);
|
|
2033
|
+
// Subscribe to sidebar toggle events
|
|
2034
|
+
(0,react_ui_dist/* useEventSubscriptions */.C$z)({
|
|
2035
|
+
'browse:sidebar-toggle': handleSidebarToggle
|
|
2036
|
+
});
|
|
2037
|
+
const navigation = [
|
|
2038
|
+
{
|
|
2039
|
+
name: t('recentResources'),
|
|
2040
|
+
href: '/moderate/recent',
|
|
2041
|
+
icon: esm_ClockIcon,
|
|
2042
|
+
description: t('recentResourcesDescription')
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
name: t('entityTags'),
|
|
2046
|
+
href: '/moderate/entity-tags',
|
|
2047
|
+
icon: esm_TagIcon,
|
|
2048
|
+
description: t('entityTagsDescription')
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
name: t('tagSchemas'),
|
|
2052
|
+
href: '/moderate/tag-schemas',
|
|
2053
|
+
icon: esm_BookOpenIcon,
|
|
2054
|
+
description: t('tagSchemasDescription')
|
|
2206
2055
|
}
|
|
2056
|
+
];
|
|
2057
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react_ui_dist/* SimpleNavigation */.TbX, {
|
|
2058
|
+
title: t('title'),
|
|
2059
|
+
items: navigation,
|
|
2060
|
+
currentPath: pathname,
|
|
2061
|
+
LinkComponent: routing/* Link */.N_,
|
|
2062
|
+
...navigationMenu && {
|
|
2063
|
+
dropdownContent: navigationMenu
|
|
2064
|
+
},
|
|
2065
|
+
isCollapsed: isCollapsed,
|
|
2066
|
+
icons: {
|
|
2067
|
+
chevronLeft: ChevronLeftIcon/* default */.A,
|
|
2068
|
+
bars: Bars3Icon/* default */.A
|
|
2069
|
+
},
|
|
2070
|
+
collapseSidebarLabel: tSidebar('collapseSidebar'),
|
|
2071
|
+
expandSidebarLabel: tSidebar('expandSidebar')
|
|
2207
2072
|
});
|
|
2208
2073
|
}
|
|
2209
2074
|
|
|
2210
|
-
|
|
2075
|
+
// EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
|
|
2076
|
+
var CookiePreferences = __webpack_require__(76159);
|
|
2077
|
+
// EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
|
|
2078
|
+
var KeyboardShortcutsContext = __webpack_require__(99192);
|
|
2079
|
+
// EXTERNAL MODULE: ./src/lib/routing.ts
|
|
2080
|
+
var lib_routing = __webpack_require__(32302);
|
|
2081
|
+
// EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
|
|
2082
|
+
var useAuth = __webpack_require__(3919);
|
|
2083
|
+
;// ./src/app/[locale]/moderate/layout.tsx
|
|
2084
|
+
/* __next_internal_client_entry_do_not_use__ default auto */
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
// Note: Authentication is handled by middleware.ts for all moderate routes
|
|
2095
|
+
// This ensures centralized security and returns 404 for unauthorized users
|
|
2096
|
+
function ModerateLayout({ children }) {
|
|
2097
|
+
const t = (0,react_client/* useTranslations */.c)('Footer');
|
|
2098
|
+
const tNav = (0,react_client/* useTranslations */.c)('Navigation');
|
|
2099
|
+
const tHome = (0,react_client/* useTranslations */.c)('Home');
|
|
2100
|
+
const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
|
|
2101
|
+
const { isAuthenticated, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
|
|
2102
|
+
const { data: session } = (0,next_auth_react.useSession)();
|
|
2103
|
+
// Extract auth token from session
|
|
2104
|
+
const authToken = session?.backendToken || null;
|
|
2105
|
+
// Middleware has already verified moderator/admin access
|
|
2106
|
+
return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* AuthTokenProvider */.ffs, {
|
|
2107
|
+
token: authToken,
|
|
2108
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* ApiClientProvider */.pqI, {
|
|
2109
|
+
baseUrl: "",
|
|
2110
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
2111
|
+
className: "min-h-screen bg-gray-50 dark:bg-gray-900 flex flex-col",
|
|
2112
|
+
children: [
|
|
2113
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
|
|
2114
|
+
className: "flex flex-1",
|
|
2115
|
+
children: [
|
|
2116
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* LeftSidebar */.Ef3, {
|
|
2117
|
+
Link: lib_routing/* Link */.N,
|
|
2118
|
+
routes: lib_routing/* routes */.J,
|
|
2119
|
+
t: tNav,
|
|
2120
|
+
tHome: tHome,
|
|
2121
|
+
brandingLink: "/",
|
|
2122
|
+
collapsible: true,
|
|
2123
|
+
storageKey: "moderation-sidebar-collapsed",
|
|
2124
|
+
isAuthenticated: isAuthenticated,
|
|
2125
|
+
isAdmin: isAdmin,
|
|
2126
|
+
isModerator: isModerator,
|
|
2127
|
+
children: (isCollapsed, toggleCollapsed, navigationMenu)=>/*#__PURE__*/ (0,react_jsx_runtime.jsx)(ModerationNavigation, {
|
|
2128
|
+
isCollapsed: isCollapsed,
|
|
2129
|
+
toggleCollapsed: toggleCollapsed,
|
|
2130
|
+
navigationMenu: navigationMenu
|
|
2131
|
+
})
|
|
2132
|
+
}),
|
|
2133
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)("main", {
|
|
2134
|
+
className: "flex-1 p-6 flex flex-col",
|
|
2135
|
+
children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
|
|
2136
|
+
className: "max-w-7xl mx-auto flex-1 flex flex-col w-full",
|
|
2137
|
+
children: children
|
|
2138
|
+
})
|
|
2139
|
+
})
|
|
2140
|
+
]
|
|
2141
|
+
}),
|
|
2142
|
+
/*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* Footer */.wi6, {
|
|
2143
|
+
Link: lib_routing/* Link */.N,
|
|
2144
|
+
routes: lib_routing/* routes */.J,
|
|
2145
|
+
t: t,
|
|
2146
|
+
CookiePreferences: CookiePreferences/* CookiePreferences */.f,
|
|
2147
|
+
...keyboardContext?.openKeyboardHelp && {
|
|
2148
|
+
onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
|
|
2149
|
+
}
|
|
2150
|
+
})
|
|
2151
|
+
]
|
|
2152
|
+
})
|
|
2153
|
+
})
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2211
2156
|
|
|
2212
2157
|
|
|
2213
2158
|
/***/ }),
|
|
2214
2159
|
|
|
2215
|
-
/***/
|
|
2160
|
+
/***/ 74407:
|
|
2216
2161
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2217
2162
|
|
|
2218
2163
|
"use strict";
|
|
2219
2164
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2220
|
-
/* harmony export */
|
|
2165
|
+
/* harmony export */ DPo: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useTheme)
|
|
2221
2166
|
/* harmony export */ });
|
|
2222
|
-
/* harmony import */ var
|
|
2167
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
2223
2168
|
|
|
2224
2169
|
|
|
2225
2170
|
|
|
2226
2171
|
/***/ }),
|
|
2227
2172
|
|
|
2228
|
-
/***/
|
|
2173
|
+
/***/ 75555:
|
|
2174
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2175
|
+
|
|
2176
|
+
"use strict";
|
|
2177
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2178
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2179
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2180
|
+
/* harmony export */ });
|
|
2181
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
|
|
2182
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
2183
|
+
// This file is generated by the Webpack next-flight-loader.
|
|
2184
|
+
|
|
2185
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
2186
|
+
function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
2187
|
+
"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx",
|
|
2188
|
+
"default",
|
|
2189
|
+
));
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
/***/ }),
|
|
2193
|
+
|
|
2194
|
+
/***/ 78474:
|
|
2195
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2196
|
+
|
|
2197
|
+
"use strict";
|
|
2198
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2199
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2200
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2201
|
+
/* harmony export */ });
|
|
2202
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
|
|
2203
|
+
/* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
|
|
2204
|
+
// This file is generated by the Webpack next-flight-loader.
|
|
2205
|
+
|
|
2206
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
|
|
2207
|
+
function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
|
|
2208
|
+
"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/tag-schemas/page.tsx",
|
|
2209
|
+
"default",
|
|
2210
|
+
));
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
/***/ }),
|
|
2214
|
+
|
|
2215
|
+
/***/ 79551:
|
|
2229
2216
|
/***/ ((module) => {
|
|
2230
2217
|
|
|
2231
2218
|
"use strict";
|
|
2232
|
-
module.exports = require("
|
|
2219
|
+
module.exports = require("url");
|
|
2233
2220
|
|
|
2234
2221
|
/***/ }),
|
|
2235
2222
|
|
|
2236
|
-
/***/
|
|
2223
|
+
/***/ 81294:
|
|
2237
2224
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2238
2225
|
|
|
2239
2226
|
"use strict";
|
|
2240
2227
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2241
|
-
/* harmony export */
|
|
2242
|
-
/* harmony export */ TbX: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.SimpleNavigation)
|
|
2228
|
+
/* harmony export */ cvF: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useLineNumbers)
|
|
2243
2229
|
/* harmony export */ });
|
|
2244
|
-
/* harmony import */ var
|
|
2230
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
2245
2231
|
|
|
2246
2232
|
|
|
2247
2233
|
|
|
2248
2234
|
/***/ }),
|
|
2249
2235
|
|
|
2250
|
-
/***/
|
|
2251
|
-
/***/ ((
|
|
2236
|
+
/***/ 86439:
|
|
2237
|
+
/***/ ((module) => {
|
|
2238
|
+
|
|
2239
|
+
"use strict";
|
|
2240
|
+
module.exports = require("next/dist/shared/lib/no-fallback-error.external");
|
|
2241
|
+
|
|
2242
|
+
/***/ }),
|
|
2243
|
+
|
|
2244
|
+
/***/ 93346:
|
|
2245
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2246
|
+
|
|
2247
|
+
"use strict";
|
|
2248
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2249
|
+
/* harmony export */ C$z: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useEventSubscriptions),
|
|
2250
|
+
/* harmony export */ TbX: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.SimpleNavigation)
|
|
2251
|
+
/* harmony export */ });
|
|
2252
|
+
/* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
|
|
2252
2253
|
|
|
2253
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 78474));
|
|
2254
2254
|
|
|
2255
2255
|
|
|
2256
2256
|
/***/ })
|
|
@@ -2262,7 +2262,7 @@ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_re
|
|
|
2262
2262
|
var __webpack_require__ = require("../../../../webpack-runtime.js");
|
|
2263
2263
|
__webpack_require__.C(exports);
|
|
2264
2264
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
2265
|
-
var __webpack_exports__ = __webpack_require__.X(0, [4725,1854,1940,1037,4729,7912,
|
|
2265
|
+
var __webpack_exports__ = __webpack_require__.X(0, [4725,1854,1940,1037,4729,7912,8387,580], () => (__webpack_exec__(1257)));
|
|
2266
2266
|
module.exports = __webpack_exports__;
|
|
2267
2267
|
|
|
2268
2268
|
})();
|