@semiont/frontend 0.3.8 → 0.4.0

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.
Files changed (66) hide show
  1. package/package.json +1 -1
  2. package/standalone/apps/frontend/.next/BUILD_ID +1 -1
  3. package/standalone/apps/frontend/.next/app-path-routes-manifest.json +3 -3
  4. package/standalone/apps/frontend/.next/build-manifest.json +3 -3
  5. package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
  6. package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
  7. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
  8. package/standalone/apps/frontend/.next/server/app/[locale]/admin/exchange/page_client-reference-manifest.js +1 -1
  9. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
  10. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
  11. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
  12. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
  13. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
  14. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
  15. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
  16. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +2 -1
  17. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
  18. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
  19. package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
  20. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
  21. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
  22. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/linked-data/page_client-reference-manifest.js +1 -1
  23. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
  24. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
  25. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
  26. package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
  28. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
  29. package/standalone/apps/frontend/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  30. package/standalone/apps/frontend/.next/server/app/_global-error.html +1 -1
  31. package/standalone/apps/frontend/.next/server/app/_global-error.rsc +1 -1
  32. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  33. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  34. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  35. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  36. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  37. package/standalone/apps/frontend/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  38. package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  39. package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
  40. package/standalone/apps/frontend/.next/server/app/_not-found.rsc +1 -1
  41. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  42. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  43. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  44. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  45. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  46. package/standalone/apps/frontend/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  47. package/standalone/apps/frontend/.next/server/app-paths-manifest.json +3 -3
  48. package/standalone/apps/frontend/.next/server/chunks/3144.js +68 -3
  49. package/standalone/apps/frontend/.next/server/chunks/5015.js +8 -2
  50. package/standalone/apps/frontend/.next/server/chunks/730.js +1 -0
  51. package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
  52. package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
  53. package/standalone/apps/frontend/.next/server/pages/500.html +1 -1
  54. package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
  55. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/compose/page-b4e3b18b2e3563e6.js +1 -0
  56. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/layout-47d133bae7c3824a.js +1 -0
  57. package/standalone/apps/frontend/.next/static/chunks/{common-8bba91ba0e18a846.js → common-1cf094fd8459017a.js} +7 -7
  58. package/standalone/apps/frontend/.next/static/css/05925ad6b995db98.css +1 -0
  59. package/standalone/apps/frontend/package.json +3 -3
  60. package/standalone/package.json +1 -1
  61. package/standalone/packages/core/package.json +1 -1
  62. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/compose/page-8c09eaae74b2bfd1.js +0 -1
  63. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/layout-262d8dd6c6e33738.js +0 -1
  64. package/standalone/apps/frontend/.next/static/css/62efa3db04a0e2c3.css +0 -1
  65. /package/standalone/apps/frontend/.next/static/{_Rs-o7s78Dq1TUdhbWvzJ → yibgFYnIhVW6QZa0gox56}/_buildManifest.js +0 -0
  66. /package/standalone/apps/frontend/.next/static/{_Rs-o7s78Dq1TUdhbWvzJ → yibgFYnIhVW6QZa0gox56}/_ssgManifest.js +0 -0
@@ -58944,6 +58944,7 @@ function SortableResourceTab({ resource, isCollapsed, isActive, href, onClose, o
58944
58944
  };
58945
58945
  const iconEmoji = getResourceIcon(resource.mediaType);
58946
58946
  const isCurrentlyDragging = isSortableDragging || isDragging;
58947
+ const tooltipText = resource.storageUri ? resource.storageUri.replace(/^file:\/\//, "") : resource.name;
58947
58948
  const handleKeyDown = (0,react.useCallback)((e6)=>{
58948
58949
  if (onReorderRef.current && e6.altKey) {
58949
58950
  if (e6.key === "ArrowUp") {
@@ -58971,7 +58972,7 @@ function SortableResourceTab({ resource, isCollapsed, isActive, href, onClose, o
58971
58972
  /* @__PURE__ */ (0,react_jsx_runtime.jsxs)(LinkComponent, {
58972
58973
  href,
58973
58974
  className: "semiont-resource-tab__link",
58974
- title: resource.name,
58975
+ title: tooltipText,
58975
58976
  children: [
58976
58977
  /* @__PURE__ */ (0,react_jsx_runtime.jsx)("span", {
58977
58978
  className: "semiont-resource-tab__icon",
@@ -59691,6 +59692,7 @@ function GatherContextStep({ context, contextLoading, contextError, userHint, on
59691
59692
 
59692
59693
  function ConfigureGenerationStep({ defaultTitle, locale, context, onBack, onCancel, onGenerate, translations: t12 }) {
59693
59694
  const [title, setTitle] = (0,react.useState)(defaultTitle);
59695
+ const [storagePath, setStoragePath] = (0,react.useState)("");
59694
59696
  const [prompt, setPrompt] = (0,react.useState)("");
59695
59697
  const [language2, setLanguage] = (0,react.useState)(locale);
59696
59698
  const [temperature, setTemperature] = (0,react.useState)(0.7);
@@ -59700,6 +59702,7 @@ function ConfigureGenerationStep({ defaultTitle, locale, context, onBack, onCanc
59700
59702
  const trimmedPrompt = prompt.trim();
59701
59703
  onGenerate({
59702
59704
  title,
59705
+ storagePath: `file://${storagePath}`,
59703
59706
  ...trimmedPrompt ? {
59704
59707
  prompt: trimmedPrompt
59705
59708
  } : {},
@@ -59732,6 +59735,34 @@ function ConfigureGenerationStep({ defaultTitle, locale, context, onBack, onCanc
59732
59735
  })
59733
59736
  ]
59734
59737
  }),
59738
+ /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
59739
+ className: "semiont-form__field",
59740
+ children: [
59741
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("label", {
59742
+ htmlFor: "wizard-storagePath",
59743
+ className: "semiont-form__label",
59744
+ children: "Save location"
59745
+ }),
59746
+ /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
59747
+ className: "semiont-input-addon",
59748
+ children: [
59749
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("span", {
59750
+ className: "semiont-input-addon__prefix",
59751
+ children: "file://"
59752
+ }),
59753
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("input", {
59754
+ id: "wizard-storagePath",
59755
+ type: "text",
59756
+ value: storagePath,
59757
+ onChange: (e6)=>setStoragePath(e6.target.value),
59758
+ required: true,
59759
+ className: "semiont-input semiont-input--addon",
59760
+ placeholder: "generated/my-resource.md"
59761
+ })
59762
+ ]
59763
+ })
59764
+ ]
59765
+ }),
59735
59766
  /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
59736
59767
  className: "semiont-form__field",
59737
59768
  children: [
@@ -64550,6 +64581,7 @@ function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext,
64550
64581
  const [selectedFormat, setSelectedFormat] = (0,react.useState)("text/markdown");
64551
64582
  const [selectedLanguage, setSelectedLanguage] = (0,react.useState)(initialLocale);
64552
64583
  const [selectedCharset, setSelectedCharset] = (0,react.useState)("");
64584
+ const [storagePath, setStoragePath] = (0,react.useState)("");
64553
64585
  const [archiveOriginal, setArchiveOriginal] = (0,react.useState)(true);
64554
64586
  process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,react.useEffect)(()=>{
64555
64587
  if (mode === "clone" && cloneData) {
@@ -64606,6 +64638,7 @@ function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext,
64606
64638
  const params = {
64607
64639
  mode,
64608
64640
  name: newResourceName,
64641
+ storageUri: `file://${storagePath}`,
64609
64642
  content: newResourceContent,
64610
64643
  format: uploadedFile ? fileMimeType : selectedFormat,
64611
64644
  entityTypes: selectedEntityTypes,
@@ -64771,6 +64804,35 @@ function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext,
64771
64804
  })
64772
64805
  ]
64773
64806
  }),
64807
+ /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
64808
+ className: "semiont-form__field",
64809
+ children: [
64810
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("label", {
64811
+ htmlFor: "storagePath",
64812
+ className: "semiont-form__label",
64813
+ children: "Save location"
64814
+ }),
64815
+ /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
64816
+ className: "semiont-input-addon",
64817
+ children: [
64818
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("span", {
64819
+ className: "semiont-input-addon__prefix",
64820
+ children: "file://"
64821
+ }),
64822
+ /* @__PURE__ */ (0,react_jsx_runtime.jsx)("input", {
64823
+ id: "storagePath",
64824
+ type: "text",
64825
+ value: storagePath,
64826
+ onChange: (e6)=>setStoragePath(e6.target.value),
64827
+ placeholder: "docs/my-resource.md",
64828
+ required: true,
64829
+ className: "semiont-input semiont-input--addon",
64830
+ disabled: isCreating
64831
+ })
64832
+ ]
64833
+ })
64834
+ ]
64835
+ }),
64774
64836
  (!isReferenceCompletion || selectedEntityTypes.length === 0) && /* @__PURE__ */ (0,react_jsx_runtime.jsxs)("div", {
64775
64837
  className: "semiont-form__field semiont-form__entity-types",
64776
64838
  children: [
@@ -65852,7 +65914,8 @@ function useYieldFlow(locale, resourceId2, clearNewAnnotationId) {
65852
65914
  options: {
65853
65915
  ...options,
65854
65916
  language: options.language || locale,
65855
- context: options.context
65917
+ context: options.context,
65918
+ storageUri: options.storageUri
65856
65919
  }
65857
65920
  });
65858
65921
  }, [
@@ -66047,6 +66110,7 @@ function ResourceViewerPage({ resource, rUri, locale, Link, routes, ToolbarPanel
66047
66110
  const handleWizardGenerateSubmit = (0,react.useCallback)((referenceId, config)=>{
66048
66111
  onGenerateDocument(referenceId, {
66049
66112
  title: config.title,
66113
+ storageUri: config.storagePath,
66050
66114
  prompt: config.prompt,
66051
66115
  language: config.language,
66052
66116
  temperature: config.temperature,
@@ -66100,7 +66164,7 @@ function ResourceViewerPage({ resource, rUri, locale, Link, routes, ToolbarPanel
66100
66164
  (0,react.useEffect)(()=>{
66101
66165
  if (resource && rUri) {
66102
66166
  const mediaType = (0,api_client_dist/* getPrimaryMediaType */.f9)(resource);
66103
- addResource(rUri, resource.name, mediaType || void 0);
66167
+ addResource(rUri, resource.name, mediaType || void 0, resource.storageUri);
66104
66168
  if (typeof localStorage !== "undefined") {
66105
66169
  localStorage.setItem("lastViewedDocumentId", rUri);
66106
66170
  }
@@ -67401,6 +67465,7 @@ var SemiontApiClient = class {
67401
67465
  const formData = new FormData();
67402
67466
  formData.append("name", data.name);
67403
67467
  formData.append("format", data.format);
67468
+ formData.append("storageUri", data.storageUri);
67404
67469
  if (data.file instanceof File) {
67405
67470
  formData.append("file", data.file);
67406
67471
  } else if (Buffer.isBuffer(data.file)) {
@@ -378,16 +378,19 @@ var sortable_esm = __webpack_require__(72117);
378
378
  window.addEventListener('storage', handleStorageChange);
379
379
  return ()=>window.removeEventListener('storage', handleStorageChange);
380
380
  }, []);
381
- const addResource = (0,react.useCallback)((id, name, mediaType)=>{
381
+ const addResource = (0,react.useCallback)((id, name, mediaType, storageUri)=>{
382
382
  setOpenResources((prev)=>{
383
383
  const existing = prev.find((resource)=>resource.id === id);
384
384
  if (existing) {
385
- // Update name and mediaType if resource already exists
385
+ // Update name, mediaType, and storageUri if resource already exists
386
386
  return prev.map((resource)=>resource.id === id ? {
387
387
  ...resource,
388
388
  name,
389
389
  ...mediaType && {
390
390
  mediaType
391
+ },
392
+ ...storageUri && {
393
+ storageUri
391
394
  }
392
395
  } : resource);
393
396
  }
@@ -402,6 +405,9 @@ var sortable_esm = __webpack_require__(72117);
402
405
  order: maxOrder + 1,
403
406
  ...mediaType && {
404
407
  mediaType
408
+ },
409
+ ...storageUri && {
410
+ storageUri
405
411
  }
406
412
  }
407
413
  ];
@@ -769,6 +769,7 @@ var SemiontApiClient = class {
769
769
  const formData = new FormData();
770
770
  formData.append("name", data.name);
771
771
  formData.append("format", data.format);
772
+ formData.append("storageUri", data.storageUri);
772
773
  if (data.file instanceof File) {
773
774
  formData.append("file", data.file);
774
775
  } else if (Buffer.isBuffer(data.file)) {
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/_Rs-o7s78Dq1TUdhbWvzJ/_buildManifest.js","static/_Rs-o7s78Dq1TUdhbWvzJ/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-a0284d55d288650f.js","static/chunks/87c73c54-e11922cda838f8cc.js","static/chunks/common-8bba91ba0e18a846.js","static/css/9ed9607bad31b45e.css","static/chunks/vendors-63213253c18580f4.js","static/chunks/main-app-094b6e4e5016338b.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/yibgFYnIhVW6QZa0gox56/_buildManifest.js","static/yibgFYnIhVW6QZa0gox56/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-a0284d55d288650f.js","static/chunks/87c73c54-e11922cda838f8cc.js","static/chunks/common-1cf094fd8459017a.js","static/css/9ed9607bad31b45e.css","static/chunks/vendors-63213253c18580f4.js","static/chunks/main-app-094b6e4e5016338b.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
@@ -1 +1 @@
1
- <script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a0284d55d288650f.js"/><script src="/_next/static/chunks/87c73c54-e11922cda838f8cc.js" async=""></script><script src="/_next/static/chunks/common-8bba91ba0e18a846.js" async=""></script><script src="/_next/static/css/9ed9607bad31b45e.css" async=""></script><script src="/_next/static/chunks/vendors-63213253c18580f4.js" async=""></script><script src="/_next/static/chunks/main-app-094b6e4e5016338b.js" async=""></script><script src="/_next/static/chunks/app/error-b7b996fcd4c281e1.js" async=""></script><script src="/_next/static/chunks/app/global-error-9a4752b9d60178d7.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><div hidden=""><!--$--><!--/$--></div><div style="display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;font-family:system-ui, -apple-system, sans-serif"><h1 style="font-size:4rem;margin:0">404</h1><p style="font-size:1.5rem;margin-top:1rem">Page not found</p><a href="/en" style="margin-top:2rem;padding:0.75rem 1.5rem;background-color:#0070f3;color:white;text-decoration:none;border-radius:0.5rem;display:inline-block">Go home</a></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a0284d55d288650f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[99630,[],\"\"]\n3:I[46009,[\"8039\",\"static/chunks/app/error-b7b996fcd4c281e1.js\"],\"default\"]\n4:I[1380,[],\"\"]\n5:I[30887,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[30887,[],\"ViewportBoundary\"]\nb:I[30887,[],\"MetadataBoundary\"]\nd:I[25325,[\"4219\",\"static/chunks/app/global-error-9a4752b9d60178d7.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$3\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"_Rs-o7s78Dq1TUdhbWvzJ\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nc:[]\n"])</script></body></html>
1
+ <script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a0284d55d288650f.js"/><script src="/_next/static/chunks/87c73c54-e11922cda838f8cc.js" async=""></script><script src="/_next/static/chunks/common-1cf094fd8459017a.js" async=""></script><script src="/_next/static/css/9ed9607bad31b45e.css" async=""></script><script src="/_next/static/chunks/vendors-63213253c18580f4.js" async=""></script><script src="/_next/static/chunks/main-app-094b6e4e5016338b.js" async=""></script><script src="/_next/static/chunks/app/error-b7b996fcd4c281e1.js" async=""></script><script src="/_next/static/chunks/app/global-error-9a4752b9d60178d7.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><div hidden=""><!--$--><!--/$--></div><div style="display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;font-family:system-ui, -apple-system, sans-serif"><h1 style="font-size:4rem;margin:0">404</h1><p style="font-size:1.5rem;margin-top:1rem">Page not found</p><a href="/en" style="margin-top:2rem;padding:0.75rem 1.5rem;background-color:#0070f3;color:white;text-decoration:none;border-radius:0.5rem;display:inline-block">Go home</a></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a0284d55d288650f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[99630,[],\"\"]\n3:I[46009,[\"8039\",\"static/chunks/app/error-b7b996fcd4c281e1.js\"],\"default\"]\n4:I[1380,[],\"\"]\n5:I[30887,[],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n9:I[30887,[],\"ViewportBoundary\"]\nb:I[30887,[],\"MetadataBoundary\"]\nd:I[25325,[\"4219\",\"static/chunks/app/global-error-9a4752b9d60178d7.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$3\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,null]},null,false,\"$@8\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"yibgFYnIhVW6QZa0gox56\"}\n"])</script><script>self.__next_f.push([1,"e:[]\n8:\"$We\"\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"7:null\nc:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a0284d55d288650f.js"/><script src="/_next/static/chunks/87c73c54-e11922cda838f8cc.js" async=""></script><script src="/_next/static/chunks/common-8bba91ba0e18a846.js" async=""></script><script src="/_next/static/css/9ed9607bad31b45e.css" async=""></script><script src="/_next/static/chunks/vendors-63213253c18580f4.js" async=""></script><script src="/_next/static/chunks/main-app-094b6e4e5016338b.js" async=""></script><script src="/_next/static/chunks/app/error-b7b996fcd4c281e1.js" async=""></script><script src="/_next/static/chunks/app/global-error-9a4752b9d60178d7.js" async=""></script><title>500: This page couldn’t load</title><meta name="next-size-adjust" content=""/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a0284d55d288650f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[99630,[],\"\"]\n3:I[46009,[\"8039\",\"static/chunks/app/error-b7b996fcd4c281e1.js\"],\"default\"]\n4:I[1380,[],\"\"]\n8:I[25325,[\"4219\",\"static/chunks/app/global-error-9a4752b9d60178d7.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$3\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,\"$L5\"]}],{},null,false,null]},null,false,\"$@6\"]},null,false,\"$@6\"],\"$L7\",false]],\"m\":\"$undefined\",\"G\":[\"$8\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"_Rs-o7s78Dq1TUdhbWvzJ\"}\n"])</script><script>self.__next_f.push([1,"9:I[30887,[],\"OutletBoundary\"]\na:\"$Sreact.suspense\"\nd:I[30887,[],\"ViewportBoundary\"]\nf:I[30887,[],\"MetadataBoundary\"]\n5:[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$a\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@b\"}]}]\nc:[]\n6:\"$Wc\"\n7:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$a\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"b:null\n10:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a0284d55d288650f.js"/><script src="/_next/static/chunks/87c73c54-e11922cda838f8cc.js" async=""></script><script src="/_next/static/chunks/common-1cf094fd8459017a.js" async=""></script><script src="/_next/static/css/9ed9607bad31b45e.css" async=""></script><script src="/_next/static/chunks/vendors-63213253c18580f4.js" async=""></script><script src="/_next/static/chunks/main-app-094b6e4e5016338b.js" async=""></script><script src="/_next/static/chunks/app/error-b7b996fcd4c281e1.js" async=""></script><script src="/_next/static/chunks/app/global-error-9a4752b9d60178d7.js" async=""></script><title>500: This page couldn’t load</title><meta name="next-size-adjust" content=""/><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-a0284d55d288650f.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[99630,[],\"\"]\n3:I[46009,[\"8039\",\"static/chunks/app/error-b7b996fcd4c281e1.js\"],\"default\"]\n4:I[1380,[],\"\"]\n8:I[25325,[\"4219\",\"static/chunks/app/global-error-9a4752b9d60178d7.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{}]}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$3\",\"errorStyles\":[],\"errorScripts\":[],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"div\",null,{\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"minHeight\":\"100vh\",\"padding\":\"2rem\",\"fontFamily\":\"system-ui, -apple-system, sans-serif\"},\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"4rem\",\"margin\":0},\"children\":\"404\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"1.5rem\",\"marginTop\":\"1rem\"},\"children\":\"Page not found\"}],[\"$\",\"a\",null,{\"href\":\"/en\",\"style\":{\"marginTop\":\"2rem\",\"padding\":\"0.75rem 1.5rem\",\"backgroundColor\":\"#0070f3\",\"color\":\"white\",\"textDecoration\":\"none\",\"borderRadius\":\"0.5rem\",\"display\":\"inline-block\"},\"children\":\"Go home\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,\"$L5\"]}],{},null,false,null]},null,false,\"$@6\"]},null,false,\"$@6\"],\"$L7\",false]],\"m\":\"$undefined\",\"G\":[\"$8\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"yibgFYnIhVW6QZa0gox56\"}\n"])</script><script>self.__next_f.push([1,"9:I[30887,[],\"OutletBoundary\"]\na:\"$Sreact.suspense\"\nd:I[30887,[],\"ViewportBoundary\"]\nf:I[30887,[],\"MetadataBoundary\"]\n5:[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$a\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@b\"}]}]\nc:[]\n6:\"$Wc\"\n7:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$a\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"b:null\n10:[]\n"])</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"MNAe0Wd8RJgpZNkXEXRJqydsgjIxiLwJdsjD7ZKP4E0="}
1
+ {"node":{},"edge":{},"encryptionKey":"inQ8rV6G1OyeB5KbTt7UBUBBqb4gv6839bA8gXa4U0c="}
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4082],{19200:(e,t,o)=>{Promise.resolve().then(o.bind(o,82812))},82812:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>k});var n=o(54568),r=o(7620),a=o(33971),s=o(47213),i=o(31517),c=o(79748),l=o(21153),u=o(67373),d=o(42065),p=o(29315),m=o(10078),g=o(43077),f=o(74601),y=o(99281);function h(){let e=(0,a.c)("Compose"),t=(0,s.Ym)(),o=(0,i.rd)(),h=(0,c.useSearchParams)(),{data:k,status:C}=(0,l.useSession)(),{showError:R,showSuccess:v}=(0,u.useToast)(),w=h?.get("mode"),T=h?.get("token");(0,r.useEffect)(()=>{"loading"!==C&&(k?.backendToken||o.push("/"))},[k,C,o]);let b=h?.get("annotationUri"),S=h?.get("sourceDocumentId"),D=h?.get("name"),F=h?.get("entityTypes"),[x,I]=(0,r.useState)(!0),[N,P]=(0,r.useState)(null),[E,A]=(0,r.useState)(null),[L,O]=(0,r.useState)(null),{activePanel:U}=(0,u.usePanelBrowse)(),{theme:M,setTheme:_,resolvedTheme:j}=(0,u.useTheme)(),{showLineNumbers:$,toggleLineNumbers:B}=(0,u.useLineNumbers)(),{hoverDelayMs:H}=(0,u.useHoverDelay)();(0,d.C$z)({"settings:theme-changed":({theme:e})=>_(e),"settings:line-numbers-toggled":()=>B()});let Q=(0,u.useResources)(),Y=(0,u.useAnnotations)(),z=(0,u.useEntityTypes)(),J=(0,u.useApiClient)(),q=(0,u.useAuthToken)(),{data:G}=z.list.useQuery(),K=G?.entityTypes||[],V=Q.create.useMutation(),W=Y.updateBody.useMutation(),{data:X}=Q.getByToken.useQuery(T||""),Z=Q.createFromToken.useMutation(),ee=!!(b&&S&&D),et="clone"===w&&!!T;(0,r.useEffect)(()=>{(async()=>{if(ee){A({annotationUri:b,sourceDocumentId:S,name:D,entityTypes:F?F.split(","):[]});let e=`gather-context:${b}`,t=sessionStorage.getItem(e);if(t){try{O(JSON.parse(t))}catch{}sessionStorage.removeItem(e)}I(!1);return}if(et&&X){if(X.sourceResource&&J&&q)try{let e=(0,g.a)(X.sourceResource["@id"]),t=(0,f.f9)(X.sourceResource)||"text/plain",{data:o}=await J.getResourceRepresentation(e,{accept:t,auth:q}),n=(0,y.rv)(o,t);P({sourceResource:X.sourceResource,sourceContent:n})}catch(e){console.error("Failed to fetch representation:",e),R("Failed to load resource representation")}else R("Invalid or expired clone token"),o.push("/know/discover");I(!1)}else et&&!T?(R("Clone token not found. Please try cloning again."),o.push("/know/discover")):I(!1)})()},[w,T,X,b,S,D,F,k?.backendToken]);let eo=async e=>{try{let t;if("clone"===e.mode)t=(await Z.mutateAsync({token:T,name:e.name,content:e.content,archiveOriginal:e.archiveOriginal??!0})).resourceId;else{let o,n;if(e.file)o=e.file,n=e.format??"application/octet-stream";else{let t=new Blob([e.content||""],{type:e.format??"application/octet-stream"}),r="text/plain"===e.format?".txt":"text/html"===e.format?".html":".md";o=new File([t],e.name+r,{type:e.format??"application/octet-stream"}),n=e.format??"application/octet-stream"}let r=e.charset&&!e.file?`${n}; charset=${e.charset}`:n;if(t=(await V.mutateAsync({name:e.name,file:o,format:r,entityTypes:e.entityTypes||[],language:e.language,creationMethod:"ui",storageUri:e.storageUri})).resourceId,"reference"===e.mode&&e.annotationUri&&e.sourceDocumentId)try{await W.mutateAsync({resourceId:(0,g.a)(e.sourceDocumentId),annotationId:(0,g.Hn)(e.annotationUri),data:{resourceId:e.sourceDocumentId,operations:[{op:"add",item:{type:"SpecificResource",source:t,purpose:"linking"}}]}}),v("Reference successfully linked to the new resource")}catch(e){console.error("Failed to update reference:",e),R("Resource created but failed to update reference. You may need to manually link it.")}}o.push(`/know/resource/${encodeURIComponent(t)}`)}catch(e){throw console.error("Failed to save resource:",e),R(e instanceof Error?e.message:"Failed to save resource. Please try again."),e}};return"loading"===C||x?(0,n.jsx)(u.ComposeLoadingState,{message:"loading"===C?"Checking authentication...":"Loading cloned resource..."}):k?.backendToken?(0,n.jsx)(u.ResourceComposePage,{mode:et?"clone":ee?"reference":"new",cloneData:N,referenceData:E,gatheredContext:L,availableEntityTypes:K,initialLocale:t,theme:j,showLineNumbers:$,hoverDelayMs:H,activePanel:U,onSaveResource:eo,onCancel:()=>o.push("/know/discover"),translations:{title:e("title"),titleEditClone:e("titleEditClone"),titleCompleteReference:e("titleCompleteReference"),subtitleClone:e("subtitleClone"),subtitleReference:e("subtitleReference"),linkedNoticePrefix:e("linkedNoticePrefix"),resourceName:e("resourceName"),resourceNamePlaceholder:e("resourceNamePlaceholder"),entityTypes:e("entityTypes"),language:e("language"),contentSource:e("contentSource"),uploadFile:e("uploadFile"),uploadFileDescription:e("uploadFileDescription"),writeContent:e("writeContent"),writeContentDescription:e("writeContentDescription"),dropFileOrClick:e("dropFileOrClick"),supportedFormats:e("supportedFormats"),mediaType:e("mediaType"),autoDetected:e("autoDetected"),format:e("format"),content:e("content"),resourceContent:e("resourceContent"),encoding:e("encoding"),archiveOriginal:e("archiveOriginal"),cancel:e("cancel"),saving:e("saving"),creating:e("creating"),creatingAndLinking:e("creatingAndLinking"),saveClonedResource:e("saveClonedResource"),createAndLinkResource:e("createAndLinkResource"),createResource:e("createResource")},ToolbarPanels:m.t,Toolbar:p.M7E}):null}function k(){let e=(0,a.c)("Compose");return(0,n.jsx)(r.Suspense,{fallback:(0,n.jsx)(u.ComposeLoadingState,{message:e("loading")}),children:(0,n.jsx)(h,{})})}}},e=>{e.O(0,[3473,2076,587,8096,7358],()=>e(e.s=19200)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4686],{40937:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>N});var o=s(54568),n=s(7620),t=s(33971),a=s(21153),l=s(67373),i=s(31517),d=s(42362),c=s(83878),u=s(21911),h=s(61849);let x=({className:e})=>(0,o.jsx)("span",{className:e,style:{fontSize:"1.25rem",lineHeight:"1"},children:"\uD83D\uDD2D"});function m({isCollapsed:e,toggleCollapsed:r,navigationMenu:s}){let a=(0,t.c)("Sidebar"),f=(0,i.a8)(),p=(0,i.rd)(),{openResources:v,removeResource:b,reorderResources:g}=(0,l.useOpenResources)(),k=[{name:a("discover"),href:"/know/discover",icon:x,description:a("searchAndBrowse")},{name:a("compose"),href:"/know/compose",icon:d.A,description:a("composeNewResource")}],w=(0,n.useCallback)(()=>{r()},[r]),j=(0,n.useCallback)(({resourceId:e})=>{b(e),f===`/know/resource/${e}`&&p.push("/know/discover")},[b,f,p]),N=(0,n.useCallback)(({oldIndex:e,newIndex:r})=>{g(e,r)},[g]);return(0,l.useEventSubscriptions)({"browse:sidebar-toggle":w,"browse:resource-close":j,"browse:resource-reorder":N}),(0,o.jsx)(l.CollapsibleResourceNavigation,{fixedItems:k,resources:v,isCollapsed:e,currentPath:f,LinkComponent:i.N_,onNavigate:e=>{p.push(e)},getResourceHref:e=>`/know/resource/${e}`,className:"knowledge-navigation",translations:{title:a("title")},icons:{chevronLeft:c.A,bars:u.A,close:h.A},navigationMenu:s})}var f=s(80889),p=s(23537);function v(){let e=(0,t.c)("Navigation"),r=(0,t.c)("Home"),{isAuthenticated:s,isAdmin:n,isModerator:a}=(0,p.As)();return(0,o.jsx)(l.LeftSidebar,{Link:f.N,routes:f.J,t:e,tHome:r,brandingLink:"/",collapsible:!0,storageKey:"knowledgeNavCollapsed",isAuthenticated:s,isAdmin:n,isModerator:a,children:(e,r,s)=>(0,o.jsx)(m,{isCollapsed:e,toggleCollapsed:r,navigationMenu:s})})}var b=s(11753),g=s(14822),k=s(91143),w=s(68728);function j(){return(0,l.useGlobalEvents)(),null}function N({children:e}){let r,s=(0,t.c)("Footer"),i=(0,n.useContext)(g.GZ),d=function(){let[e,r]=(0,n.useState)([]),[s,o]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=localStorage.getItem("openDocuments");if(e)try{let s=JSON.parse(e);r(s.sort((e,r)=>void 0!==e.order&&void 0!==r.order?e.order-r.order:e.openedAt-r.openedAt))}catch(e){console.error("Failed to parse open resources:",e)}o(!0)},[]),(0,n.useEffect)(()=>{s&&localStorage.setItem("openDocuments",JSON.stringify(e))},[e,s]),(0,n.useEffect)(()=>{let e=e=>{if("openDocuments"===e.key&&e.newValue)try{let s=JSON.parse(e.newValue);r(s.sort((e,r)=>void 0!==e.order&&void 0!==r.order?e.order-r.order:e.openedAt-r.openedAt))}catch(e){console.error("Failed to parse open resources from storage event:",e)}};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]);let t=(0,n.useCallback)((e,s,o,n)=>{r(r=>{if(r.find(r=>r.id===e))return r.map(r=>r.id===e?{...r,name:s,...o&&{mediaType:o},...n&&{storageUri:n}}:r);let t=r.length>0?Math.max(...r.map(e=>e.order??e.openedAt)):0;return[...r,{id:e,name:s,openedAt:Date.now(),order:t+1,...o&&{mediaType:o},...n&&{storageUri:n}}]})},[]),a=(0,n.useCallback)(e=>{r(r=>r.filter(r=>r.id!==e))},[]),l=(0,n.useCallback)((e,s)=>{r(r=>r.map(r=>r.id===e?{...r,name:s}:r))},[]),i=(0,n.useCallback)((e,s)=>{r(r=>(0,k.be)(r,e,s).map((e,r)=>({...e,order:r})))},[]);return(0,n.useMemo)(()=>({openResources:e,addResource:t,removeResource:a,updateResourceName:l,reorderResources:i}),[e,t,a,l,i])}(),c=(r=(0,w.jE)(),(0,n.useMemo)(()=>({invalidateAnnotations:e=>{r.invalidateQueries({queryKey:["resources",e,"annotations"]})},invalidateEvents:e=>{r.invalidateQueries({queryKey:["resources",e,"events"]})}}),[r])),{data:u,status:h}=(0,a.useSession)(),x=u?.backendToken||null;return"loading"===h?(0,o.jsx)("div",{className:"h-screen flex items-center justify-center",children:(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto mb-4"}),(0,o.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:"Loading..."})]})}):"unauthenticated"!==h&&u?.backendToken?(0,o.jsx)(l.AuthTokenProvider,{token:x,children:(0,o.jsx)(l.ApiClientProvider,{baseUrl:"",children:(0,o.jsx)(l.CacheProvider,{cacheManager:c,children:(0,o.jsx)(l.OpenResourcesProvider,{openResourcesManager:d,children:(0,o.jsxs)(l.ResourceAnnotationsProvider,{children:[(0,o.jsx)(j,{}),(0,o.jsxs)("div",{className:"h-screen semiont-knowledge-layout semiont-layout-with-footer flex flex-col overflow-hidden",children:[(0,o.jsxs)("div",{className:"flex flex-1 overflow-hidden",children:[(0,o.jsx)(v,{}),(0,o.jsx)("main",{className:"flex-1 w-full px-2 pb-6 flex flex-col overflow-hidden",children:(0,o.jsx)("div",{className:"w-full mx-auto flex-1 flex flex-col h-full overflow-hidden",children:e})})]}),(0,o.jsx)(l.Footer,{Link:f.N,routes:f.J,t:s,CookiePreferences:b.f,...i?.openKeyboardHelp&&{onOpenKeyboardHelp:i.openKeyboardHelp}})]})]})})})})}):(0,o.jsx)("div",{className:"h-screen flex items-center justify-center p-4",children:(0,o.jsxs)("div",{className:"max-w-md w-full bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6",children:[(0,o.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,o.jsx)("div",{className:"flex-shrink-0 w-10 h-10 bg-blue-100 dark:bg-blue-900/30 rounded-full flex items-center justify-center",children:(0,o.jsx)("svg",{className:"w-6 h-6 text-blue-600 dark:text-blue-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,o.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),(0,o.jsx)("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:"Authentication Required"})]}),(0,o.jsx)("p",{className:"text-gray-600 dark:text-gray-300 mb-6",children:"You need to be signed in to access the knowledge base."}),(0,o.jsx)("button",{onClick:()=>(0,a.signIn)(void 0,{callbackUrl:window.location.pathname}),className:"w-full px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Sign In"})]})})}},92294:(e,r,s)=>{Promise.resolve().then(s.bind(s,40937))}},e=>{e.O(0,[3473,2076,8096,587,7358],()=>e(e.s=92294)),_N_E=e.O()}]);